https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/24640663 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux bos02-arm64-019 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:09:03 UTC 2022 aarch64 Buildd toolchain package versions: launchpad-buildd_223~593~ubuntu20.04.1 python3-lpbuildd_223~593~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git-build-recipe_0.3.6 git_1:2.25.1-1ubuntu3.6 dpkg-dev_1.19.7ubuntu3.2 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 10 Nov 13:41:16 ntpdate[1828]: adjust time server 10.211.37.1 offset -0.008820 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=focal --arch=arm64 PACKAGEBUILD-24640663 --image-type chroot /home/buildd/filecache-default/bb4dbf4bd068f4f4da4a9ba56413a8aa8579df72 Creating target for build PACKAGEBUILD-24640663 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=focal --arch=arm64 PACKAGEBUILD-24640663 Starting target for build PACKAGEBUILD-24640663 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=focal --arch=arm64 PACKAGEBUILD-24640663 'deb http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal main' 'deb http://ftpmaster.internal/ubuntu focal main universe' 'deb http://ftpmaster.internal/ubuntu focal-security main universe' Overriding sources.list in build-PACKAGEBUILD-24640663 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=focal --arch=arm64 PACKAGEBUILD-24640663 Adding trusted keys to build-PACKAGEBUILD-24640663 pub rsa1024/ADCE2AF3A4E0014F 2009-01-22 [SC] Key fingerprint = 1DAB 0B71 FE08 CDC6 BD13 E2C0 ADCE 2AF3 A4E0 014F uid Launchpad PPA for Ubuntu Security Proposed RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=focal --arch=arm64 PACKAGEBUILD-24640663 Updating target for build PACKAGEBUILD-24640663 Get:1 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal InRelease [23.8 kB] Get:2 http://ftpmaster.internal/ubuntu focal InRelease [265 kB] Get:3 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 Packages [28.0 kB] Get:4 http://ftpmaster.internal/ubuntu focal-security InRelease [114 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main arm64 Packages [940 kB] Get:6 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main Translation-en [16.4 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main Translation-en [506 kB] Get:8 http://ftpmaster.internal/ubuntu focal/universe arm64 Packages [8458 kB] Get:9 http://ftpmaster.internal/ubuntu focal/universe Translation-en [5124 kB] Get:10 http://ftpmaster.internal/ubuntu focal-security/main arm64 Packages [1260 kB] Get:11 http://ftpmaster.internal/ubuntu focal-security/main Translation-en [301 kB] Get:12 http://ftpmaster.internal/ubuntu focal-security/universe arm64 Packages [682 kB] Get:13 http://ftpmaster.internal/ubuntu focal-security/universe Translation-en [138 kB] Fetched 17.9 MB in 5s (3494 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages will be upgraded: apt bash binutils binutils-aarch64-linux-gnu binutils-common bsdutils ca-certificates cpp-9 dpkg dpkg-dev e2fsprogs fdisk g++-9 gcc-10-base gcc-9 gcc-9-base gpg gpg-agent gpgconf gpgv gzip libapt-pkg6.0 libasan5 libatomic1 libbinutils libblkid1 libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcom-err2 libcryptsetup12 libctf-nobfd0 libctf0 libdpkg-perl libext2fs2 libfdisk1 libgcc-9-dev libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgomp1 libhogweed5 libitm1 libjson-c4 liblsan0 liblz4-1 liblzma5 libmount1 libnettle7 libp11-kit0 libpcre2-8-0 libpcre3 libperl5.30 libseccomp2 libsepol1 libsmartcols1 libsqlite3-0 libss2 libssl1.1 libstdc++-9-dev libstdc++6 libsystemd0 libtsan0 libubsan1 libudev1 libuuid1 libzstd1 linux-libc-dev logsave mount openssl perl perl-base perl-modules-5.30 systemd systemd-sysv systemd-timesyncd tar tzdata util-linux xz-utils zlib1g 85 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 64.0 MB of archives. After this operation, 28.1 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu focal-security/main arm64 bash arm64 5.0-6ubuntu1.2 [603 kB] Get:2 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 libgmp10 arm64 2:6.2.0+dfsg-4ubuntu0.1 [218 kB] Get:3 http://ftpmaster.internal/ubuntu focal-security/main arm64 bsdutils arm64 1:2.34-0.1ubuntu9.3 [60.1 kB] Get:4 http://ftpmaster.internal/ubuntu focal-security/main arm64 tar arm64 1.30+dfsg-7ubuntu0.20.04.2 [227 kB] Get:5 http://ftpmaster.internal/ubuntu focal-security/main arm64 dpkg arm64 1.19.7ubuntu3.2 [1112 kB] Get:6 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 libctf0 arm64 2.34-6ubuntu1.4 [43.0 kB] Get:7 http://ftpmaster.internal/ubuntu focal-security/main arm64 gzip arm64 1.10-0ubuntu4.1 [92.8 kB] Get:8 http://ftpmaster.internal/ubuntu focal-security/main arm64 libperl5.30 arm64 5.30.0-9ubuntu0.3 [3766 kB] Get:9 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 binutils-aarch64-linux-gnu arm64 2.34-6ubuntu1.4 [1986 kB] Get:10 http://ftpmaster.internal/ubuntu focal-security/main arm64 perl arm64 5.30.0-9ubuntu0.3 [224 kB] Get:11 http://ftpmaster.internal/ubuntu focal-security/main arm64 perl-base arm64 5.30.0-9ubuntu0.3 [1393 kB] Get:12 http://ftpmaster.internal/ubuntu focal-security/main arm64 perl-modules-5.30 all 5.30.0-9ubuntu0.3 [2739 kB] Get:13 http://ftpmaster.internal/ubuntu focal-security/main arm64 libc6-dev arm64 2.31-0ubuntu9.7 [2059 kB] Get:14 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 libbinutils arm64 2.34-6ubuntu1.4 [475 kB] Get:15 http://ftpmaster.internal/ubuntu focal-security/main arm64 libc-dev-bin arm64 2.31-0ubuntu9.7 [64.2 kB] Get:16 http://ftpmaster.internal/ubuntu focal-security/main arm64 linux-libc-dev arm64 5.4.0-131.147 [1089 kB] Get:17 http://ftpmaster.internal/ubuntu focal-security/main arm64 libubsan1 arm64 10.3.0-1ubuntu1~20.04 [765 kB] Get:18 http://ftpmaster.internal/ubuntu focal-security/main arm64 libtsan0 arm64 10.3.0-1ubuntu1~20.04 [1969 kB] Get:19 http://ftpmaster.internal/ubuntu focal-security/main arm64 liblsan0 arm64 10.3.0-1ubuntu1~20.04 [801 kB] Get:20 http://ftpmaster.internal/ubuntu focal-security/main arm64 libitm1 arm64 10.3.0-1ubuntu1~20.04 [24.1 kB] Get:21 http://ftpmaster.internal/ubuntu focal-security/main arm64 libgomp1 arm64 10.3.0-1ubuntu1~20.04 [93.4 kB] Get:22 http://ftpmaster.internal/ubuntu focal-security/main arm64 gcc-10-base arm64 10.3.0-1ubuntu1~20.04 [20.2 kB] Get:23 http://ftpmaster.internal/ubuntu focal-security/main arm64 libgcc-s1 arm64 10.3.0-1ubuntu1~20.04 [34.6 kB] Get:24 http://ftpmaster.internal/ubuntu focal-security/main arm64 libcc1-0 arm64 10.3.0-1ubuntu1~20.04 [46.4 kB] Get:25 http://ftpmaster.internal/ubuntu focal-security/main arm64 libatomic1 arm64 10.3.0-1ubuntu1~20.04 [9820 B] Get:26 http://ftpmaster.internal/ubuntu focal-security/main arm64 libstdc++6 arm64 10.3.0-1ubuntu1~20.04 [461 kB] Get:27 http://ftpmaster.internal/ubuntu focal-security/main arm64 libc6 arm64 2.31-0ubuntu9.7 [2266 kB] Get:28 http://ftpmaster.internal/ubuntu focal-security/main arm64 zlib1g arm64 1:1.2.11.dfsg-2ubuntu1.5 [51.6 kB] Get:29 http://ftpmaster.internal/ubuntu focal-security/main arm64 libblkid1 arm64 2.34-0.1ubuntu9.3 [129 kB] Get:30 http://ftpmaster.internal/ubuntu focal-security/main arm64 libuuid1 arm64 2.34-0.1ubuntu9.3 [19.3 kB] Get:31 http://ftpmaster.internal/ubuntu focal-security/main arm64 libfdisk1 arm64 2.34-0.1ubuntu9.3 [160 kB] Get:32 http://ftpmaster.internal/ubuntu focal-security/main arm64 libmount1 arm64 2.34-0.1ubuntu9.3 [140 kB] Get:33 http://ftpmaster.internal/ubuntu focal-security/main arm64 libsmartcols1 arm64 2.34-0.1ubuntu9.3 [93.0 kB] Get:34 http://ftpmaster.internal/ubuntu focal-security/main arm64 fdisk arm64 2.34-0.1ubuntu9.3 [114 kB] Get:35 http://ftpmaster.internal/ubuntu focal-security/main arm64 util-linux arm64 2.34-0.1ubuntu9.3 [983 kB] Get:36 http://ftpmaster.internal/ubuntu focal-security/main arm64 libc-bin arm64 2.31-0ubuntu9.7 [504 kB] Get:37 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 binutils arm64 2.34-6ubuntu1.4 [3364 B] Get:38 http://ftpmaster.internal/ubuntu focal-security/main arm64 libgcrypt20 arm64 1.8.5-5ubuntu1.1 [349 kB] Get:39 http://ftpmaster.internal/ubuntu focal-security/main arm64 liblz4-1 arm64 1.9.2-2ubuntu0.20.04.1 [53.0 kB] Get:40 http://ftpmaster.internal/ubuntu focal-security/main arm64 liblzma5 arm64 5.2.4-1ubuntu1.1 [88.1 kB] Get:41 http://ftpmaster.internal/ubuntu focal-security/main arm64 systemd-timesyncd arm64 245.4-4ubuntu3.15 [26.3 kB] Get:42 http://ftpmaster.internal/ubuntu focal-security/main arm64 systemd-sysv arm64 245.4-4ubuntu3.15 [10.3 kB] Get:43 http://ftpmaster.internal/ubuntu focal-security/main arm64 libjson-c4 arm64 0.13.1+dfsg-7ubuntu0.3 [28.3 kB] Get:44 http://ftpmaster.internal/ubuntu focal-security/main arm64 libssl1.1 arm64 1.1.1f-1ubuntu2.16 [1156 kB] Get:45 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 binutils-common arm64 2.34-6ubuntu1.4 [207 kB] Get:46 http://ftpmaster.internal/ubuntu focal-security/main arm64 libcryptsetup12 arm64 2:2.2.2-3ubuntu2.4 [152 kB] Get:47 http://ftpmaster.internal/ubuntu focal-security/main arm64 libnettle7 arm64 3.5.1+really3.5.1-2ubuntu0.2 [124 kB] Get:48 http://ftpmaster.internal/ubuntu focal-security/main arm64 libhogweed5 arm64 3.5.1+really3.5.1-2ubuntu0.2 [135 kB] Get:49 http://ftpmaster.internal/ubuntu focal-security/main arm64 libp11-kit0 arm64 0.23.20-1ubuntu0.1 [177 kB] Get:50 http://ftpmaster.internal/ubuntu focal-security/main arm64 libgnutls30 arm64 3.6.13-2ubuntu1.7 [754 kB] Get:51 http://ftpmaster.internal/ubuntu focal-security/main arm64 libpcre2-8-0 arm64 10.34-7ubuntu0.1 [170 kB] Get:52 http://ftpmaster.internal/ubuntu focal-security/main arm64 libseccomp2 arm64 2.5.1-1ubuntu1~20.04.2 [41.4 kB] Get:53 http://ftpmaster.internal/ubuntu focal-security/main arm64 mount arm64 2.34-0.1ubuntu9.3 [112 kB] Get:54 http://ftpmaster.internal/ubuntu focal-security/main arm64 systemd arm64 245.4-4ubuntu3.15 [3499 kB] Get:55 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 libctf-nobfd0 arm64 2.34-6ubuntu1.4 [43.8 kB] Get:56 http://ftpmaster.internal/ubuntu focal-security/main arm64 libsystemd0 arm64 245.4-4ubuntu3.15 [248 kB] Get:57 http://ftpmaster.internal/ubuntu focal-security/main arm64 libudev1 arm64 245.4-4ubuntu3.15 [70.5 kB] Get:58 http://ftpmaster.internal/ubuntu focal-security/main arm64 libzstd1 arm64 1.4.4+dfsg-3ubuntu0.1 [216 kB] Get:59 http://ftpmaster.internal/ubuntu focal-security/main arm64 libapt-pkg6.0 arm64 2.0.2ubuntu0.2 [758 kB] Get:60 http://ftpmaster.internal/ubuntu focal-security/main arm64 gpgv arm64 2.2.19-3ubuntu2.2 [183 kB] Get:61 http://ftpmaster.internal/ubuntu focal-security/main arm64 apt arm64 2.0.2ubuntu0.2 [1239 kB] Get:62 http://ftpmaster.internal/ubuntu focal-security/main arm64 logsave arm64 1.45.5-2ubuntu1.1 [10.1 kB] Get:63 http://ftpmaster.internal/ubuntu focal-security/main arm64 libext2fs2 arm64 1.45.5-2ubuntu1.1 [177 kB] Get:64 http://ftpmaster.internal/ubuntu focal-security/main arm64 e2fsprogs arm64 1.45.5-2ubuntu1.1 [505 kB] Get:65 http://ftpmaster.internal/ubuntu focal-security/main arm64 libpcre3 arm64 2:8.39-12ubuntu0.1 [209 kB] Get:66 http://ftpmaster.internal/ubuntu focal-security/main arm64 libsepol1 arm64 3.0-1ubuntu0.1 [231 kB] Get:67 http://ftpmaster.internal/ubuntu focal-security/main arm64 libcom-err2 arm64 1.45.5-2ubuntu1.1 [9248 B] Get:68 http://ftpmaster.internal/ubuntu focal-security/main arm64 libss2 arm64 1.45.5-2ubuntu1.1 [10.8 kB] Get:69 http://ftpmaster.internal/ubuntu focal-security/main arm64 openssl arm64 1.1.1f-1ubuntu2.16 [600 kB] Get:70 http://ftpmaster.internal/ubuntu focal-security/main arm64 ca-certificates all 20211016~20.04.1 [144 kB] Get:71 http://ftpmaster.internal/ubuntu focal-security/main arm64 libsqlite3-0 arm64 3.31.1-4ubuntu0.5 [506 kB] Get:72 http://ftpmaster.internal/ubuntu focal-security/main arm64 tzdata all 2022f-0ubuntu0.20.04.0 [286 kB] Get:73 http://ftpmaster.internal/ubuntu focal-security/main arm64 xz-utils arm64 5.2.4-1ubuntu1.1 [81.4 kB] Get:74 http://ftpmaster.internal/ubuntu focal-security/main arm64 libasan5 arm64 9.4.0-1ubuntu1~20.04.1 [2692 kB] Get:75 http://ftpmaster.internal/ubuntu focal-security/main arm64 g++-9 arm64 9.4.0-1ubuntu1~20.04.1 [6843 kB] Get:76 http://ftpmaster.internal/ubuntu focal-security/main arm64 libstdc++-9-dev arm64 9.4.0-1ubuntu1~20.04.1 [1688 kB] Get:77 http://ftpmaster.internal/ubuntu focal-security/main arm64 gcc-9 arm64 9.4.0-1ubuntu1~20.04.1 [6738 kB] Get:78 http://ftpmaster.internal/ubuntu focal-security/main arm64 libgcc-9-dev arm64 9.4.0-1ubuntu1~20.04.1 [920 kB] Get:79 http://ftpmaster.internal/ubuntu focal-security/main arm64 cpp-9 arm64 9.4.0-1ubuntu1~20.04.1 [5986 kB] Get:80 http://ftpmaster.internal/ubuntu focal-security/main arm64 gcc-9-base arm64 9.4.0-1ubuntu1~20.04.1 [19.4 kB] Get:81 http://ftpmaster.internal/ubuntu focal-security/main arm64 dpkg-dev all 1.19.7ubuntu3.2 [679 kB] Get:82 http://ftpmaster.internal/ubuntu focal-security/main arm64 libdpkg-perl all 1.19.7ubuntu3.2 [231 kB] Get:83 http://ftpmaster.internal/ubuntu focal-security/main arm64 gpg arm64 2.2.19-3ubuntu2.2 [442 kB] Get:84 http://ftpmaster.internal/ubuntu focal-security/main arm64 gpgconf arm64 2.2.19-3ubuntu2.2 [117 kB] Get:85 http://ftpmaster.internal/ubuntu focal-security/main arm64 gpg-agent arm64 2.2.19-3ubuntu2.2 [216 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 64.0 MB in 18s (3643 kB/s) (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../bash_5.0-6ubuntu1.2_arm64.deb ... Unpacking bash (5.0-6ubuntu1.2) over (5.0-6ubuntu1) ... Setting up bash (5.0-6ubuntu1.2) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.34-0.1ubuntu9.3_arm64.deb ... Unpacking bsdutils (1:2.34-0.1ubuntu9.3) over (1:2.34-0.1ubuntu9) ... Setting up bsdutils (1:2.34-0.1ubuntu9.3) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../tar_1.30+dfsg-7ubuntu0.20.04.2_arm64.deb ... Unpacking tar (1.30+dfsg-7ubuntu0.20.04.2) over (1.30+dfsg-7) ... Setting up tar (1.30+dfsg-7ubuntu0.20.04.2) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.7ubuntu3.2_arm64.deb ... Unpacking dpkg (1.19.7ubuntu3.2) over (1.19.7ubuntu3) ... Setting up dpkg (1.19.7ubuntu3.2) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../gzip_1.10-0ubuntu4.1_arm64.deb ... Unpacking gzip (1.10-0ubuntu4.1) over (1.10-0ubuntu4) ... Setting up gzip (1.10-0ubuntu4.1) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../libperl5.30_5.30.0-9ubuntu0.3_arm64.deb ... Unpacking libperl5.30:arm64 (5.30.0-9ubuntu0.3) over (5.30.0-9build1) ... Preparing to unpack .../perl_5.30.0-9ubuntu0.3_arm64.deb ... Unpacking perl (5.30.0-9ubuntu0.3) over (5.30.0-9build1) ... Preparing to unpack .../perl-base_5.30.0-9ubuntu0.3_arm64.deb ... Unpacking perl-base (5.30.0-9ubuntu0.3) over (5.30.0-9build1) ... Setting up perl-base (5.30.0-9ubuntu0.3) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../0-perl-modules-5.30_5.30.0-9ubuntu0.3_all.deb ... Unpacking perl-modules-5.30 (5.30.0-9ubuntu0.3) over (5.30.0-9build1) ... Preparing to unpack .../1-libc6-dev_2.31-0ubuntu9.7_arm64.deb ... Unpacking libc6-dev:arm64 (2.31-0ubuntu9.7) over (2.31-0ubuntu9) ... Preparing to unpack .../2-libc-dev-bin_2.31-0ubuntu9.7_arm64.deb ... Unpacking libc-dev-bin (2.31-0ubuntu9.7) over (2.31-0ubuntu9) ... Preparing to unpack .../3-linux-libc-dev_5.4.0-131.147_arm64.deb ... Unpacking linux-libc-dev:arm64 (5.4.0-131.147) over (5.4.0-26.30) ... Preparing to unpack .../4-libubsan1_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libubsan1:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../5-libtsan0_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libtsan0:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../6-liblsan0_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking liblsan0:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../7-libitm1_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libitm1:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../8-libgomp1_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libgomp1:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../9-gcc-10-base_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking gcc-10-base:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Setting up gcc-10-base:arm64 (10.3.0-1ubuntu1~20.04) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libgcc-s1_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libgcc-s1:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Setting up libgcc-s1:arm64 (10.3.0-1ubuntu1~20.04) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libcc1-0_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libcc1-0:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../libatomic1_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libatomic1:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Preparing to unpack .../libstdc++6_10.3.0-1ubuntu1~20.04_arm64.deb ... Unpacking libstdc++6:arm64 (10.3.0-1ubuntu1~20.04) over (10-20200411-0ubuntu1) ... Setting up libstdc++6:arm64 (10.3.0-1ubuntu1~20.04) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libc6_2.31-0ubuntu9.7_arm64.deb ... Unpacking libc6:arm64 (2.31-0ubuntu9.7) over (2.31-0ubuntu9) ... Setting up libc6:arm64 (2.31-0ubuntu9.7) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2ubuntu1.5_arm64.deb ... Unpacking zlib1g:arm64 (1:1.2.11.dfsg-2ubuntu1.5) over (1:1.2.11.dfsg-2ubuntu1) ... Setting up zlib1g:arm64 (1:1.2.11.dfsg-2ubuntu1.5) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libblkid1_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking libblkid1:arm64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libblkid1:arm64 (2.34-0.1ubuntu9.3) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libuuid1_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking libuuid1:arm64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libuuid1:arm64 (2.34-0.1ubuntu9.3) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libfdisk1_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking libfdisk1:arm64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Preparing to unpack .../libmount1_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking libmount1:arm64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libmount1:arm64 (2.34-0.1ubuntu9.3) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking libsmartcols1:arm64 (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up libsmartcols1:arm64 (2.34-0.1ubuntu9.3) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../fdisk_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking fdisk (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Preparing to unpack .../util-linux_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking util-linux (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Setting up util-linux (2.34-0.1ubuntu9.3) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libc-bin_2.31-0ubuntu9.7_arm64.deb ... Unpacking libc-bin (2.31-0ubuntu9.7) over (2.31-0ubuntu9) ... Setting up libc-bin (2.31-0ubuntu9.7) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.8.5-5ubuntu1.1_arm64.deb ... Unpacking libgcrypt20:arm64 (1.8.5-5ubuntu1.1) over (1.8.5-5ubuntu1) ... Setting up libgcrypt20:arm64 (1.8.5-5ubuntu1.1) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.2-2ubuntu0.20.04.1_arm64.deb ... Unpacking liblz4-1:arm64 (1.9.2-2ubuntu0.20.04.1) over (1.9.2-2) ... Setting up liblz4-1:arm64 (1.9.2-2ubuntu0.20.04.1) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.4-1ubuntu1.1_arm64.deb ... Unpacking liblzma5:arm64 (5.2.4-1ubuntu1.1) over (5.2.4-1) ... Setting up liblzma5:arm64 (5.2.4-1ubuntu1.1) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../0-systemd-timesyncd_245.4-4ubuntu3.15_arm64.deb ... Unpacking systemd-timesyncd (245.4-4ubuntu3.15) over (245.4-4ubuntu3) ... Preparing to unpack .../1-systemd-sysv_245.4-4ubuntu3.15_arm64.deb ... Unpacking systemd-sysv (245.4-4ubuntu3.15) over (245.4-4ubuntu3) ... Preparing to unpack .../2-libjson-c4_0.13.1+dfsg-7ubuntu0.3_arm64.deb ... Unpacking libjson-c4:arm64 (0.13.1+dfsg-7ubuntu0.3) over (0.13.1+dfsg-7) ... Preparing to unpack .../3-libssl1.1_1.1.1f-1ubuntu2.16_arm64.deb ... Unpacking libssl1.1:arm64 (1.1.1f-1ubuntu2.16) over (1.1.1f-1ubuntu2) ... Preparing to unpack .../4-libcryptsetup12_2%3a2.2.2-3ubuntu2.4_arm64.deb ... Unpacking libcryptsetup12:arm64 (2:2.2.2-3ubuntu2.4) over (2:2.2.2-3ubuntu2) ... Preparing to unpack .../5-libgmp10_2%3a6.2.0+dfsg-4ubuntu0.1_arm64.deb ... Unpacking libgmp10:arm64 (2:6.2.0+dfsg-4ubuntu0.1) over (2:6.2.0+dfsg-4) ... Setting up libgmp10:arm64 (2:6.2.0+dfsg-4ubuntu0.1) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libnettle7_3.5.1+really3.5.1-2ubuntu0.2_arm64.deb ... Unpacking libnettle7:arm64 (3.5.1+really3.5.1-2ubuntu0.2) over (3.5.1+really3.5.1-2) ... Setting up libnettle7:arm64 (3.5.1+really3.5.1-2ubuntu0.2) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libhogweed5_3.5.1+really3.5.1-2ubuntu0.2_arm64.deb ... Unpacking libhogweed5:arm64 (3.5.1+really3.5.1-2ubuntu0.2) over (3.5.1+really3.5.1-2) ... Setting up libhogweed5:arm64 (3.5.1+really3.5.1-2ubuntu0.2) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.23.20-1ubuntu0.1_arm64.deb ... Unpacking libp11-kit0:arm64 (0.23.20-1ubuntu0.1) over (0.23.20-1build1) ... Setting up libp11-kit0:arm64 (0.23.20-1ubuntu0.1) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.13-2ubuntu1.7_arm64.deb ... Unpacking libgnutls30:arm64 (3.6.13-2ubuntu1.7) over (3.6.13-2ubuntu1) ... Setting up libgnutls30:arm64 (3.6.13-2ubuntu1.7) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.34-7ubuntu0.1_arm64.deb ... Unpacking libpcre2-8-0:arm64 (10.34-7ubuntu0.1) over (10.34-7) ... Setting up libpcre2-8-0:arm64 (10.34-7ubuntu0.1) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.1-1ubuntu1~20.04.2_arm64.deb ... Unpacking libseccomp2:arm64 (2.5.1-1ubuntu1~20.04.2) over (2.4.3-1ubuntu1) ... Setting up libseccomp2:arm64 (2.5.1-1ubuntu1~20.04.2) ... (Reading database ... 12808 files and directories currently installed.) Preparing to unpack .../mount_2.34-0.1ubuntu9.3_arm64.deb ... Unpacking mount (2.34-0.1ubuntu9.3) over (2.34-0.1ubuntu9) ... Preparing to unpack .../systemd_245.4-4ubuntu3.15_arm64.deb ... Unpacking systemd (245.4-4ubuntu3.15) over (245.4-4ubuntu3) ... Preparing to unpack .../libsystemd0_245.4-4ubuntu3.15_arm64.deb ... Unpacking libsystemd0:arm64 (245.4-4ubuntu3.15) over (245.4-4ubuntu3) ... Setting up libsystemd0:arm64 (245.4-4ubuntu3.15) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../libudev1_245.4-4ubuntu3.15_arm64.deb ... Unpacking libudev1:arm64 (245.4-4ubuntu3.15) over (245.4-4ubuntu3) ... Setting up libudev1:arm64 (245.4-4ubuntu3.15) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../libzstd1_1.4.4+dfsg-3ubuntu0.1_arm64.deb ... Unpacking libzstd1:arm64 (1.4.4+dfsg-3ubuntu0.1) over (1.4.4+dfsg-3) ... Setting up libzstd1:arm64 (1.4.4+dfsg-3ubuntu0.1) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.0.2ubuntu0.2_arm64.deb ... Unpacking libapt-pkg6.0:arm64 (2.0.2ubuntu0.2) over (2.0.2) ... Setting up libapt-pkg6.0:arm64 (2.0.2ubuntu0.2) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.19-3ubuntu2.2_arm64.deb ... Unpacking gpgv (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Setting up gpgv (2.2.19-3ubuntu2.2) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../apt_2.0.2ubuntu0.2_arm64.deb ... Unpacking apt (2.0.2ubuntu0.2) over (2.0.2) ... Setting up apt (2.0.2ubuntu0.2) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../logsave_1.45.5-2ubuntu1.1_arm64.deb ... Unpacking logsave (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../libext2fs2_1.45.5-2ubuntu1.1_arm64.deb ... Unpacking libext2fs2:arm64 (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Setting up libext2fs2:arm64 (1.45.5-2ubuntu1.1) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.45.5-2ubuntu1.1_arm64.deb ... Unpacking e2fsprogs (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../libpcre3_2%3a8.39-12ubuntu0.1_arm64.deb ... Unpacking libpcre3:arm64 (2:8.39-12ubuntu0.1) over (2:8.39-12build1) ... Setting up libpcre3:arm64 (2:8.39-12ubuntu0.1) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../libsepol1_3.0-1ubuntu0.1_arm64.deb ... Unpacking libsepol1:arm64 (3.0-1ubuntu0.1) over (3.0-1) ... Setting up libsepol1:arm64 (3.0-1ubuntu0.1) ... (Reading database ... 12809 files and directories currently installed.) Preparing to unpack .../00-libcom-err2_1.45.5-2ubuntu1.1_arm64.deb ... Unpacking libcom-err2:arm64 (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../01-libss2_1.45.5-2ubuntu1.1_arm64.deb ... Unpacking libss2:arm64 (1.45.5-2ubuntu1.1) over (1.45.5-2ubuntu1) ... Preparing to unpack .../02-openssl_1.1.1f-1ubuntu2.16_arm64.deb ... Unpacking openssl (1.1.1f-1ubuntu2.16) over (1.1.1f-1ubuntu2) ... Preparing to unpack .../03-ca-certificates_20211016~20.04.1_all.deb ... Unpacking ca-certificates (20211016~20.04.1) over (20190110ubuntu1) ... Preparing to unpack .../04-libsqlite3-0_3.31.1-4ubuntu0.5_arm64.deb ... Unpacking libsqlite3-0:arm64 (3.31.1-4ubuntu0.5) over (3.31.1-4) ... Preparing to unpack .../05-tzdata_2022f-0ubuntu0.20.04.0_all.deb ... Unpacking tzdata (2022f-0ubuntu0.20.04.0) over (2019c-3ubuntu1) ... Preparing to unpack .../06-xz-utils_5.2.4-1ubuntu1.1_arm64.deb ... Unpacking xz-utils (5.2.4-1ubuntu1.1) over (5.2.4-1) ... Preparing to unpack .../07-libctf0_2.34-6ubuntu1.4_arm64.deb ... Unpacking libctf0:arm64 (2.34-6ubuntu1.4) over (2.34-6ubuntu1) ... Preparing to unpack .../08-binutils-aarch64-linux-gnu_2.34-6ubuntu1.4_arm64.deb ... Unpacking binutils-aarch64-linux-gnu (2.34-6ubuntu1.4) over (2.34-6ubuntu1) ... Preparing to unpack .../09-libbinutils_2.34-6ubuntu1.4_arm64.deb ... Unpacking libbinutils:arm64 (2.34-6ubuntu1.4) over (2.34-6ubuntu1) ... Preparing to unpack .../10-binutils_2.34-6ubuntu1.4_arm64.deb ... Unpacking binutils (2.34-6ubuntu1.4) over (2.34-6ubuntu1) ... Preparing to unpack .../11-binutils-common_2.34-6ubuntu1.4_arm64.deb ... Unpacking binutils-common:arm64 (2.34-6ubuntu1.4) over (2.34-6ubuntu1) ... Preparing to unpack .../12-libctf-nobfd0_2.34-6ubuntu1.4_arm64.deb ... Unpacking libctf-nobfd0:arm64 (2.34-6ubuntu1.4) over (2.34-6ubuntu1) ... Preparing to unpack .../13-libasan5_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking libasan5:arm64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../14-g++-9_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking g++-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../15-libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking libstdc++-9-dev:arm64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../16-gcc-9_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking gcc-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../17-libgcc-9-dev_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking libgcc-9-dev:arm64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../18-cpp-9_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking cpp-9 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../19-gcc-9-base_9.4.0-1ubuntu1~20.04.1_arm64.deb ... Unpacking gcc-9-base:arm64 (9.4.0-1ubuntu1~20.04.1) over (9.3.0-10ubuntu2) ... Preparing to unpack .../20-dpkg-dev_1.19.7ubuntu3.2_all.deb ... Unpacking dpkg-dev (1.19.7ubuntu3.2) over (1.19.7ubuntu3) ... Preparing to unpack .../21-libdpkg-perl_1.19.7ubuntu3.2_all.deb ... Unpacking libdpkg-perl (1.19.7ubuntu3.2) over (1.19.7ubuntu3) ... Preparing to unpack .../22-gpg_2.2.19-3ubuntu2.2_arm64.deb ... Unpacking gpg (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Preparing to unpack .../23-gpgconf_2.2.19-3ubuntu2.2_arm64.deb ... Unpacking gpgconf (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Preparing to unpack .../24-gpg-agent_2.2.19-3ubuntu2.2_arm64.deb ... Unpacking gpg-agent (2.2.19-3ubuntu2.2) over (2.2.19-3ubuntu2) ... Setting up perl-modules-5.30 (5.30.0-9ubuntu0.3) ... Setting up libssl1.1:arm64 (1.1.1f-1ubuntu2.16) ... Setting up libsqlite3-0:arm64 (3.31.1-4ubuntu0.5) ... Setting up binutils-common:arm64 (2.34-6ubuntu1.4) ... Setting up linux-libc-dev:arm64 (5.4.0-131.147) ... Setting up libctf-nobfd0:arm64 (2.34-6ubuntu1.4) ... Setting up libcom-err2:arm64 (1.45.5-2ubuntu1.1) ... Setting up libgomp1:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up tzdata (2022f-0ubuntu0.20.04.0) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Nov 10 13:42:16 UTC 2022. Universal Time is now: Thu Nov 10 13:42:16 UTC 2022. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xz-utils (5.2.4-1ubuntu1.1) ... Setting up libatomic1:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up libss2:arm64 (1.45.5-2ubuntu1.1) ... Setting up logsave (1.45.5-2ubuntu1.1) ... Setting up libfdisk1:arm64 (2.34-0.1ubuntu9.3) ... Setting up libubsan1:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up mount (2.34-0.1ubuntu9.3) ... Setting up gpgconf (2.2.19-3ubuntu2.2) ... Setting up libperl5.30:arm64 (5.30.0-9ubuntu0.3) ... Setting up libjson-c4:arm64 (0.13.1+dfsg-7ubuntu0.3) ... Setting up libbinutils:arm64 (2.34-6ubuntu1.4) ... Setting up libc-dev-bin (2.31-0ubuntu9.7) ... Setting up openssl (1.1.1f-1ubuntu2.16) ... Setting up libcc1-0:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up gpg (2.2.19-3ubuntu2.2) ... Setting up liblsan0:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up libitm1:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up gcc-9-base:arm64 (9.4.0-1ubuntu1~20.04.1) ... Setting up libtsan0:arm64 (10.3.0-1ubuntu1~20.04) ... Setting up libctf0:arm64 (2.34-6ubuntu1.4) ... Setting up gpg-agent (2.2.19-3ubuntu2.2) ... Setting up binutils-aarch64-linux-gnu (2.34-6ubuntu1.4) ... Setting up e2fsprogs (1.45.5-2ubuntu1.1) ... Setting up binutils (2.34-6ubuntu1.4) ... Setting up fdisk (2.34-0.1ubuntu9.3) ... Setting up ca-certificates (20211016~20.04.1) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 28 added, 29 removed; done. Setting up libasan5:arm64 (9.4.0-1ubuntu1~20.04.1) ... Setting up perl (5.30.0-9ubuntu0.3) ... Setting up libdpkg-perl (1.19.7ubuntu3.2) ... Setting up cpp-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up libc6-dev:arm64 (2.31-0ubuntu9.7) ... Setting up libcryptsetup12:arm64 (2:2.2.2-3ubuntu2.4) ... Setting up dpkg-dev (1.19.7ubuntu3.2) ... Setting up libgcc-9-dev:arm64 (9.4.0-1ubuntu1~20.04.1) ... Setting up gcc-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up libstdc++-9-dev:arm64 (9.4.0-1ubuntu1~20.04.1) ... Setting up g++-9 (9.4.0-1ubuntu1~20.04.1) ... Setting up systemd-timesyncd (245.4-4ubuntu3.15) ... Setting up systemd (245.4-4ubuntu3.15) ... Installing new version of config file /etc/dhcp/dhclient-enter-hooks.d/resolved ... Installing new version of config file /etc/systemd/resolved.conf ... Initializing machine ID from KVM UUID. Setting up systemd-sysv (245.4-4ubuntu3.15) ... Processing triggers for libc-bin (2.31-0ubuntu9.7) ... Processing triggers for ca-certificates (20211016~20.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-24640663 arm64 focal -c chroot:build-PACKAGEBUILD-24640663 --arch=arm64 --dist=focal --nolog mender-client_2.1.2-2ubuntu0.1.dsc Initiating build PACKAGEBUILD-24640663 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:09:03 UTC 2022 aarch64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on bos02-arm64-019.buildd +==============================================================================+ | mender-client 2.1.2-2ubuntu0.1 (arm64) Thu, 10 Nov 2022 13:42:30 +0000 | +==============================================================================+ Package: mender-client Version: 2.1.2-2ubuntu0.1 Source Version: 2.1.2-2ubuntu0.1 Distribution: focal Machine Architecture: arm64 Host Architecture: arm64 Build Architecture: arm64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-24640663/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/mender-client-AlbxQ3/resolver-xnW9fE' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- mender-client_2.1.2-2ubuntu0.1.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/mender-client-AlbxQ3/mender-client-2.1.2' with '<>' I: NOTICE: Log filtering will replace 'build/mender-client-AlbxQ3' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 11), dh-golang, golang-any, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-golang-x-net-dev, golang-golang-x-sys-dev, golang-logrus-dev, golang-github-bmatsuo-lmdb-go-dev, golang-github-ungerik-go-sysfs-dev, golang-github-mendersoftware-mender-artifact-dev (>= 3.1.0), golang-github-mendersoftware-log-dev, golang-github-mendersoftware-mendertesting-dev, ca-certificates, build-essential, fakeroot Filtered Build-Depends: debhelper (>= 11), dh-golang, golang-any, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-golang-x-net-dev, golang-golang-x-sys-dev, golang-logrus-dev, golang-github-bmatsuo-lmdb-go-dev, golang-github-ungerik-go-sysfs-dev, golang-github-mendersoftware-mender-artifact-dev (>= 3.1.0), golang-github-mendersoftware-log-dev, golang-github-mendersoftware-mendertesting-dev, ca-certificates, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [963 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [503 B] Get:5 copy:/<>/apt_archive ./ Packages [586 B] Fetched 2052 B in 0s (40.2 kB/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.13-go golang-1.13-src golang-any golang-github-bmatsuo-lmdb-go-dev golang-github-cpuguy83-go-md2man-dev golang-github-davecgh-go-spew-dev golang-github-mendersoftware-log-dev golang-github-mendersoftware-mender-artifact-dev golang-github-mendersoftware-mendertesting-dev golang-github-mendersoftware-scopestack-dev golang-github-pkg-errors-dev golang-github-pmezard-go-difflib-dev golang-github-remyoudompheng-go-liblzma-dev golang-github-russross-blackfriday-dev golang-github-shurcool-sanitized-anchor-name-dev golang-github-sirupsen-logrus-dev golang-github-stretchr-objx-dev golang-github-stretchr-testify-dev golang-github-ungerik-go-sysfs-dev golang-github-urfave-cli-dev golang-go golang-golang-x-crypto-dev golang-golang-x-net-dev golang-golang-x-sys-dev golang-golang-x-text-dev golang-logrus-dev golang-src groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu66 liblzma-dev libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev bzr | brz git mercurial subversion groff liblzma-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx pkg-config libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-golang dh-strip-nondeterminism dwz file gettext gettext-base golang-1.13-go golang-1.13-src golang-any golang-github-bmatsuo-lmdb-go-dev golang-github-cpuguy83-go-md2man-dev golang-github-davecgh-go-spew-dev golang-github-mendersoftware-log-dev golang-github-mendersoftware-mender-artifact-dev golang-github-mendersoftware-mendertesting-dev golang-github-mendersoftware-scopestack-dev golang-github-pkg-errors-dev golang-github-pmezard-go-difflib-dev golang-github-remyoudompheng-go-liblzma-dev golang-github-russross-blackfriday-dev golang-github-shurcool-sanitized-anchor-name-dev golang-github-sirupsen-logrus-dev golang-github-stretchr-objx-dev golang-github-stretchr-testify-dev golang-github-ungerik-go-sysfs-dev golang-github-urfave-cli-dev golang-go golang-golang-x-crypto-dev golang-golang-x-net-dev golang-golang-x-sys-dev golang-golang-x-text-dev golang-logrus-dev golang-src groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libglib2.0-0 libicu66 liblzma-dev libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsub-override-perl libtool libuchardet0 libxml2 m4 man-db po-debconf sbuild-build-depends-main-dummy 0 upgraded, 63 newly installed, 0 to remove and 0 not upgraded. Need to get 79.4 MB of archives. After this operation, 434 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [1008 B] Get:2 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 golang-1.13-src arm64 1.13.8-1ubuntu1.1 [12.6 MB] Get:3 http://ftpmaster.internal/ubuntu focal/main arm64 libbsd0 arm64 0.10.0-1 [43.7 kB] Get:4 http://ftpmaster.internal/ubuntu focal/main arm64 bsdmainutils arm64 11.1.2ubuntu3 [179 kB] Get:5 http://ftpmaster.internal/ubuntu focal/main arm64 libuchardet0 arm64 0.0.6-3build1 [65.0 kB] Get:6 http://ftpmaster.internal/ubuntu focal/main arm64 groff-base arm64 1.22.4-4build1 [796 kB] Get:7 http://ftpmaster.internal/ubuntu focal/main arm64 libpipeline1 arm64 1.5.2-2build1 [26.1 kB] Get:8 http://ftpmaster.internal/ubuntu focal/main arm64 man-db arm64 2.9.1-1 [1095 kB] Get:9 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-davecgh-go-spew-dev all 1.1.1-1 [29.6 kB] Get:10 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-pmezard-go-difflib-dev all 1.0.0-2 [12.1 kB] Get:11 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-stretchr-objx-dev all 0.1.1+git20180825.ef50b0d-1 [23.5 kB] Get:12 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-stretchr-testify-dev all 1.3.0+ds-1 [49.3 kB] Get:13 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-golang-x-sys-dev all 0.0~git20190726.fc99dfb-1ubuntu2 [393 kB] Get:14 http://ppa.launchpadcontent.net/ubuntu-security-proposed/ppa/ubuntu focal/main arm64 golang-1.13-go arm64 1.13.8-1ubuntu1.1 [43.0 MB] Get:15 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-golang-x-text-dev all 0.3.2-4 [3648 kB] Get:16 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-golang-x-net-dev all 1:0.0+git20190811.74dc4d7+dfsg-1 [649 kB] Get:17 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-golang-x-crypto-dev all 1:0.0~git20200221.2aa609c-1 [1538 kB] Get:18 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-sirupsen-logrus-dev all 1.3.0-1 [36.4 kB] Get:19 http://ftpmaster.internal/ubuntu focal/main arm64 libmagic-mgc arm64 1:5.38-4 [218 kB] Get:20 http://ftpmaster.internal/ubuntu focal/main arm64 libmagic1 arm64 1:5.38-4 [71.7 kB] Get:21 http://ftpmaster.internal/ubuntu focal/main arm64 file arm64 1:5.38-4 [23.3 kB] Get:22 http://ftpmaster.internal/ubuntu focal/main arm64 libelf1 arm64 0.176-1.1build1 [44.2 kB] Get:23 http://ftpmaster.internal/ubuntu focal-security/main arm64 libglib2.0-0 arm64 2.64.6-1~ubuntu20.04.3 [1199 kB] Get:24 http://ftpmaster.internal/ubuntu focal-security/main arm64 libicu66 arm64 66.1-2ubuntu2.1 [8360 kB] Get:25 http://ftpmaster.internal/ubuntu focal-security/main arm64 libxml2 arm64 2.9.10+dfsg-5ubuntu0.20.04.4 [571 kB] Get:26 http://ftpmaster.internal/ubuntu focal/main arm64 gettext-base arm64 0.19.8.1-10build1 [48.2 kB] Get:27 http://ftpmaster.internal/ubuntu focal/main arm64 libsigsegv2 arm64 2.12-2 [13.3 kB] Get:28 http://ftpmaster.internal/ubuntu focal/main arm64 m4 arm64 1.4.18-4 [194 kB] Get:29 http://ftpmaster.internal/ubuntu focal/main arm64 autoconf all 2.69-11.1 [321 kB] Get:30 http://ftpmaster.internal/ubuntu focal/main arm64 autotools-dev all 20180224.1 [39.6 kB] Get:31 http://ftpmaster.internal/ubuntu focal/main arm64 automake all 1:1.16.1-4ubuntu6 [522 kB] Get:32 http://ftpmaster.internal/ubuntu focal/main arm64 autopoint all 0.19.8.1-10build1 [412 kB] Get:33 http://ftpmaster.internal/ubuntu focal/main arm64 libtool all 2.4.6-14 [161 kB] Get:34 http://ftpmaster.internal/ubuntu focal/main arm64 dh-autoreconf all 19 [16.1 kB] Get:35 http://ftpmaster.internal/ubuntu focal/main arm64 libdebhelper-perl all 12.10ubuntu1 [62.1 kB] Get:36 http://ftpmaster.internal/ubuntu focal/main arm64 libarchive-zip-perl all 1.67-2 [90.5 kB] Get:37 http://ftpmaster.internal/ubuntu focal/main arm64 libsub-override-perl all 0.09-2 [9532 B] Get:38 http://ftpmaster.internal/ubuntu focal/main arm64 libfile-stripnondeterminism-perl all 1.7.0-1 [15.9 kB] Get:39 http://ftpmaster.internal/ubuntu focal/main arm64 dh-strip-nondeterminism all 1.7.0-1 [5228 B] Get:40 http://ftpmaster.internal/ubuntu focal/main arm64 dwz arm64 0.13-5 [134 kB] Get:41 http://ftpmaster.internal/ubuntu focal/main arm64 libcroco3 arm64 0.6.13-1 [77.1 kB] Get:42 http://ftpmaster.internal/ubuntu focal/main arm64 gettext arm64 0.19.8.1-10build1 [850 kB] Get:43 http://ftpmaster.internal/ubuntu focal/main arm64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:44 http://ftpmaster.internal/ubuntu focal/main arm64 po-debconf all 1.0.21 [233 kB] Get:45 http://ftpmaster.internal/ubuntu focal/main arm64 debhelper all 12.10ubuntu1 [877 kB] Get:46 http://ftpmaster.internal/ubuntu focal/main arm64 golang-src arm64 2:1.13~1ubuntu2 [4044 B] Get:47 http://ftpmaster.internal/ubuntu focal/main arm64 golang-go arm64 2:1.13~1ubuntu2 [22.0 kB] Get:48 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-any arm64 2:1.13~1ubuntu2 [3032 B] Get:49 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-bmatsuo-lmdb-go-dev all 1.8.0+git20170215.a14b5a3-2 [141 kB] Get:50 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-logrus-dev all 1.3.0-1 [1960 B] Get:51 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-mendersoftware-mendertesting-dev all 0.0~git20180410.9e728b5-2 [6752 B] Get:52 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-mendersoftware-scopestack-dev all 0.0~git20180403.c2f5599-2 [3704 B] Get:53 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-mendersoftware-log-dev all 0.0~git20180403.f608c95-2 [7140 B] Get:54 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-pkg-errors-dev all 0.8.1-1 [11.2 kB] Get:55 http://ftpmaster.internal/ubuntu focal-security/main arm64 liblzma-dev arm64 5.2.4-1ubuntu1.1 [144 kB] Get:56 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-remyoudompheng-go-liblzma-dev all 0.0~git20190506.81bf2d4-2 [49.4 kB] Get:57 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-shurcool-sanitized-anchor-name-dev all 1.0.0-1 [3920 B] Get:58 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-russross-blackfriday-dev all 1.5.2+git20190616.a925a15-1 [63.7 kB] Get:59 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-cpuguy83-go-md2man-dev all 1.0.10+ds-1 [6724 B] Get:60 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-urfave-cli-dev all 1.22.2-4 [45.2 kB] Get:61 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-mendersoftware-mender-artifact-dev all 3.2.1-1 [71.5 kB] Get:62 http://ftpmaster.internal/ubuntu focal/universe arm64 golang-github-ungerik-go-sysfs-dev all 0.0~git20170424.9c991ee-2 [4084 B] Get:63 http://ftpmaster.internal/ubuntu focal/main arm64 dh-golang all 1.48 [20.5 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 79.4 MB in 7s (11.3 MB/s) Selecting previously unselected package libbsd0:arm64. (Reading database ... 12814 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.10.0-1_arm64.deb ... Unpacking libbsd0:arm64 (0.10.0-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2ubuntu3_arm64.deb ... Unpacking bsdmainutils (11.1.2ubuntu3) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../02-libuchardet0_0.0.6-3build1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3build1) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-4build1_arm64.deb ... Unpacking groff-base (1.22.4-4build1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../04-libpipeline1_1.5.2-2build1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.2-2build1) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.9.1-1_arm64.deb ... Unpacking man-db (2.9.1-1) ... Selecting previously unselected package golang-github-davecgh-go-spew-dev. Preparing to unpack .../06-golang-github-davecgh-go-spew-dev_1.1.1-1_all.deb ... Unpacking golang-github-davecgh-go-spew-dev (1.1.1-1) ... Selecting previously unselected package golang-github-pmezard-go-difflib-dev. Preparing to unpack .../07-golang-github-pmezard-go-difflib-dev_1.0.0-2_all.deb ... Unpacking golang-github-pmezard-go-difflib-dev (1.0.0-2) ... Selecting previously unselected package golang-github-stretchr-objx-dev. Preparing to unpack .../08-golang-github-stretchr-objx-dev_0.1.1+git20180825.ef50b0d-1_all.deb ... Unpacking golang-github-stretchr-objx-dev (0.1.1+git20180825.ef50b0d-1) ... Selecting previously unselected package golang-github-stretchr-testify-dev. Preparing to unpack .../09-golang-github-stretchr-testify-dev_1.3.0+ds-1_all.deb ... Unpacking golang-github-stretchr-testify-dev (1.3.0+ds-1) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../10-golang-golang-x-sys-dev_0.0~git20190726.fc99dfb-1ubuntu2_all.deb ... Unpacking golang-golang-x-sys-dev (0.0~git20190726.fc99dfb-1ubuntu2) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../11-golang-golang-x-text-dev_0.3.2-4_all.deb ... Unpacking golang-golang-x-text-dev (0.3.2-4) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../12-golang-golang-x-net-dev_1%3a0.0+git20190811.74dc4d7+dfsg-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20190811.74dc4d7+dfsg-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../13-golang-golang-x-crypto-dev_1%3a0.0~git20200221.2aa609c-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.0~git20200221.2aa609c-1) ... Selecting previously unselected package golang-github-sirupsen-logrus-dev. Preparing to unpack .../14-golang-github-sirupsen-logrus-dev_1.3.0-1_all.deb ... Unpacking golang-github-sirupsen-logrus-dev (1.3.0-1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../15-libmagic-mgc_1%3a5.38-4_arm64.deb ... Unpacking libmagic-mgc (1:5.38-4) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../16-libmagic1_1%3a5.38-4_arm64.deb ... Unpacking libmagic1:arm64 (1:5.38-4) ... Selecting previously unselected package file. Preparing to unpack .../17-file_1%3a5.38-4_arm64.deb ... Unpacking file (1:5.38-4) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../18-libelf1_0.176-1.1build1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1build1) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../19-libglib2.0-0_2.64.6-1~ubuntu20.04.3_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.64.6-1~ubuntu20.04.3) ... Selecting previously unselected package libicu66:arm64. Preparing to unpack .../20-libicu66_66.1-2ubuntu2.1_arm64.deb ... Unpacking libicu66:arm64 (66.1-2ubuntu2.1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../21-libxml2_2.9.10+dfsg-5ubuntu0.20.04.4_arm64.deb ... Unpacking libxml2:arm64 (2.9.10+dfsg-5ubuntu0.20.04.4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../22-gettext-base_0.19.8.1-10build1_arm64.deb ... Unpacking gettext-base (0.19.8.1-10build1) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../23-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../24-m4_1.4.18-4_arm64.deb ... Unpacking m4 (1.4.18-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../25-autoconf_2.69-11.1_all.deb ... Unpacking autoconf (2.69-11.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../26-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../27-automake_1%3a1.16.1-4ubuntu6_all.deb ... Unpacking automake (1:1.16.1-4ubuntu6) ... Selecting previously unselected package autopoint. Preparing to unpack .../28-autopoint_0.19.8.1-10build1_all.deb ... Unpacking autopoint (0.19.8.1-10build1) ... Selecting previously unselected package libtool. Preparing to unpack .../29-libtool_2.4.6-14_all.deb ... Unpacking libtool (2.4.6-14) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../30-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../31-libdebhelper-perl_12.10ubuntu1_all.deb ... Unpacking libdebhelper-perl (12.10ubuntu1) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../32-libarchive-zip-perl_1.67-2_all.deb ... Unpacking libarchive-zip-perl (1.67-2) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../33-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../34-libfile-stripnondeterminism-perl_1.7.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.7.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../35-dh-strip-nondeterminism_1.7.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.7.0-1) ... Selecting previously unselected package dwz. Preparing to unpack .../36-dwz_0.13-5_arm64.deb ... Unpacking dwz (0.13-5) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../37-libcroco3_0.6.13-1_arm64.deb ... Unpacking libcroco3:arm64 (0.6.13-1) ... Selecting previously unselected package gettext. Preparing to unpack .../38-gettext_0.19.8.1-10build1_arm64.deb ... Unpacking gettext (0.19.8.1-10build1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../39-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../40-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../41-debhelper_12.10ubuntu1_all.deb ... Unpacking debhelper (12.10ubuntu1) ... Selecting previously unselected package golang-1.13-src. Preparing to unpack .../42-golang-1.13-src_1.13.8-1ubuntu1.1_arm64.deb ... Unpacking golang-1.13-src (1.13.8-1ubuntu1.1) ... Selecting previously unselected package golang-1.13-go. Preparing to unpack .../43-golang-1.13-go_1.13.8-1ubuntu1.1_arm64.deb ... Unpacking golang-1.13-go (1.13.8-1ubuntu1.1) ... Selecting previously unselected package golang-src. Preparing to unpack .../44-golang-src_2%3a1.13~1ubuntu2_arm64.deb ... Unpacking golang-src (2:1.13~1ubuntu2) ... Selecting previously unselected package golang-go. Preparing to unpack .../45-golang-go_2%3a1.13~1ubuntu2_arm64.deb ... Unpacking golang-go (2:1.13~1ubuntu2) ... Selecting previously unselected package golang-any. Preparing to unpack .../46-golang-any_2%3a1.13~1ubuntu2_arm64.deb ... Unpacking golang-any (2:1.13~1ubuntu2) ... Selecting previously unselected package golang-github-bmatsuo-lmdb-go-dev. Preparing to unpack .../47-golang-github-bmatsuo-lmdb-go-dev_1.8.0+git20170215.a14b5a3-2_all.deb ... Unpacking golang-github-bmatsuo-lmdb-go-dev (1.8.0+git20170215.a14b5a3-2) ... Selecting previously unselected package golang-logrus-dev. Preparing to unpack .../48-golang-logrus-dev_1.3.0-1_all.deb ... Unpacking golang-logrus-dev (1.3.0-1) ... Selecting previously unselected package golang-github-mendersoftware-mendertesting-dev. Preparing to unpack .../49-golang-github-mendersoftware-mendertesting-dev_0.0~git20180410.9e728b5-2_all.deb ... Unpacking golang-github-mendersoftware-mendertesting-dev (0.0~git20180410.9e728b5-2) ... Selecting previously unselected package golang-github-mendersoftware-scopestack-dev. Preparing to unpack .../50-golang-github-mendersoftware-scopestack-dev_0.0~git20180403.c2f5599-2_all.deb ... Unpacking golang-github-mendersoftware-scopestack-dev (0.0~git20180403.c2f5599-2) ... Selecting previously unselected package golang-github-mendersoftware-log-dev. Preparing to unpack .../51-golang-github-mendersoftware-log-dev_0.0~git20180403.f608c95-2_all.deb ... Unpacking golang-github-mendersoftware-log-dev (0.0~git20180403.f608c95-2) ... Selecting previously unselected package golang-github-pkg-errors-dev. Preparing to unpack .../52-golang-github-pkg-errors-dev_0.8.1-1_all.deb ... Unpacking golang-github-pkg-errors-dev (0.8.1-1) ... Selecting previously unselected package liblzma-dev:arm64. Preparing to unpack .../53-liblzma-dev_5.2.4-1ubuntu1.1_arm64.deb ... Unpacking liblzma-dev:arm64 (5.2.4-1ubuntu1.1) ... Selecting previously unselected package golang-github-remyoudompheng-go-liblzma-dev. Preparing to unpack .../54-golang-github-remyoudompheng-go-liblzma-dev_0.0~git20190506.81bf2d4-2_all.deb ... Unpacking golang-github-remyoudompheng-go-liblzma-dev (0.0~git20190506.81bf2d4-2) ... Selecting previously unselected package golang-github-shurcool-sanitized-anchor-name-dev. Preparing to unpack .../55-golang-github-shurcool-sanitized-anchor-name-dev_1.0.0-1_all.deb ... Unpacking golang-github-shurcool-sanitized-anchor-name-dev (1.0.0-1) ... Selecting previously unselected package golang-github-russross-blackfriday-dev. Preparing to unpack .../56-golang-github-russross-blackfriday-dev_1.5.2+git20190616.a925a15-1_all.deb ... Unpacking golang-github-russross-blackfriday-dev (1.5.2+git20190616.a925a15-1) ... Selecting previously unselected package golang-github-cpuguy83-go-md2man-dev. Preparing to unpack .../57-golang-github-cpuguy83-go-md2man-dev_1.0.10+ds-1_all.deb ... Unpacking golang-github-cpuguy83-go-md2man-dev (1.0.10+ds-1) ... Selecting previously unselected package golang-github-urfave-cli-dev. Preparing to unpack .../58-golang-github-urfave-cli-dev_1.22.2-4_all.deb ... Unpacking golang-github-urfave-cli-dev (1.22.2-4) ... Selecting previously unselected package golang-github-mendersoftware-mender-artifact-dev. Preparing to unpack .../59-golang-github-mendersoftware-mender-artifact-dev_3.2.1-1_all.deb ... Unpacking golang-github-mendersoftware-mender-artifact-dev (3.2.1-1) ... Selecting previously unselected package golang-github-ungerik-go-sysfs-dev. Preparing to unpack .../60-golang-github-ungerik-go-sysfs-dev_0.0~git20170424.9c991ee-2_all.deb ... Unpacking golang-github-ungerik-go-sysfs-dev (0.0~git20170424.9c991ee-2) ... Selecting previously unselected package dh-golang. Preparing to unpack .../61-dh-golang_1.48_all.deb ... Unpacking dh-golang (1.48) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../62-sbuild-build-depends-main-dummy_0.invalid.0_arm64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:arm64 (1.5.2-2build1) ... Setting up golang-1.13-src (1.13.8-1ubuntu1.1) ... Setting up golang-github-shurcool-sanitized-anchor-name-dev (1.0.0-1) ... Setting up golang-github-stretchr-objx-dev (0.1.1+git20180825.ef50b0d-1) ... Setting up libmagic-mgc (1:5.38-4) ... Setting up golang-github-pkg-errors-dev (0.8.1-1) ... Setting up libarchive-zip-perl (1.67-2) ... Setting up libglib2.0-0:arm64 (2.64.6-1~ubuntu20.04.3) ... No schema files found: doing nothing. Setting up libicu66:arm64 (66.1-2ubuntu2.1) ... Setting up libdebhelper-perl (12.10ubuntu1) ... Setting up golang-golang-x-sys-dev (0.0~git20190726.fc99dfb-1ubuntu2) ... Setting up libmagic1:arm64 (1:5.38-4) ... Setting up golang-github-pmezard-go-difflib-dev (1.0.0-2) ... Setting up gettext-base (0.19.8.1-10build1) ... Setting up golang-github-russross-blackfriday-dev (1.5.2+git20190616.a925a15-1) ... Setting up golang-github-mendersoftware-mendertesting-dev (0.0~git20180410.9e728b5-2) ... Setting up file (1:5.38-4) ... Setting up golang-github-davecgh-go-spew-dev (1.1.1-1) ... Setting up autotools-dev (20180224.1) ... Setting up golang-github-stretchr-testify-dev (1.3.0+ds-1) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up autopoint (0.19.8.1-10build1) ... Setting up golang-1.13-go (1.13.8-1ubuntu1.1) ... Setting up liblzma-dev:arm64 (5.2.4-1ubuntu1.1) ... Setting up golang-golang-x-text-dev (0.3.2-4) ... Setting up libuchardet0:arm64 (0.0.6-3build1) ... Setting up libsub-override-perl (0.09-2) ... Setting up golang-github-ungerik-go-sysfs-dev (0.0~git20170424.9c991ee-2) ... Setting up golang-github-mendersoftware-scopestack-dev (0.0~git20180403.c2f5599-2) ... Setting up golang-src (2:1.13~1ubuntu2) ... Setting up libbsd0:arm64 (0.10.0-1) ... Setting up libelf1:arm64 (0.176-1.1build1) ... Setting up libxml2:arm64 (2.9.10+dfsg-5ubuntu0.20.04.4) ... Setting up golang-github-cpuguy83-go-md2man-dev (1.0.10+ds-1) ... Setting up golang-github-urfave-cli-dev (1.22.2-4) ... Setting up libfile-stripnondeterminism-perl (1.7.0-1) ... Setting up golang-github-remyoudompheng-go-liblzma-dev (0.0~git20190506.81bf2d4-2) ... Setting up libtool (2.4.6-14) ... Setting up golang-go (2:1.13~1ubuntu2) ... Setting up m4 (1.4.18-4) ... Setting up golang-any (2:1.13~1ubuntu2) ... Setting up bsdmainutils (11.1.2ubuntu3) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:arm64 (0.6.13-1) ... Setting up golang-golang-x-net-dev (1:0.0+git20190811.74dc4d7+dfsg-1) ... Setting up autoconf (2.69-11.1) ... Setting up dh-strip-nondeterminism (1.7.0-1) ... Setting up dwz (0.13-5) ... Setting up groff-base (1.22.4-4build1) ... Setting up golang-golang-x-crypto-dev (1:0.0~git20200221.2aa609c-1) ... Setting up automake (1:1.16.1-4ubuntu6) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up golang-github-sirupsen-logrus-dev (1.3.0-1) ... Setting up gettext (0.19.8.1-10build1) ... Setting up man-db (2.9.1-1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up golang-logrus-dev (1.3.0-1) ... Setting up golang-github-bmatsuo-lmdb-go-dev (1.8.0+git20170215.a14b5a3-2) ... Setting up golang-github-mendersoftware-mender-artifact-dev (3.2.1-1) ... Setting up golang-github-mendersoftware-log-dev (0.0~git20180403.f608c95-2) ... Setting up po-debconf (1.0.21) ... Setting up dh-autoreconf (19) ... Setting up debhelper (12.10ubuntu1) ... Setting up dh-golang (1.48) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.31-0ubuntu9.7) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (arm64 included in any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:09:03 UTC 2022 arm64 (aarch64) Toolchain package versions: binutils_2.34-6ubuntu1.4 dpkg-dev_1.19.7ubuntu3.2 g++-9_9.4.0-1ubuntu1~20.04.1 gcc-9_9.4.0-1ubuntu1~20.04.1 libc6-dev_2.31-0ubuntu9.7 libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1 libstdc++6_10.3.0-1ubuntu1~20.04 linux-libc-dev_5.4.0-131.147 Package versions: adduser_3.118ubuntu2 advancecomp_2.1-2.1build1 apt_2.0.2ubuntu0.2 autoconf_2.69-11.1 automake_1:1.16.1-4ubuntu6 autopoint_0.19.8.1-10build1 autotools-dev_20180224.1 base-files_11ubuntu5 base-passwd_3.5.47 bash_5.0-6ubuntu1.2 binutils_2.34-6ubuntu1.4 binutils-aarch64-linux-gnu_2.34-6ubuntu1.4 binutils-common_2.34-6ubuntu1.4 bsdmainutils_11.1.2ubuntu3 bsdutils_1:2.34-0.1ubuntu9.3 build-essential_12.8ubuntu1 bzip2_1.0.8-2 ca-certificates_20211016~20.04.1 coreutils_8.30-3ubuntu2 cpp_4:9.3.0-1ubuntu2 cpp-9_9.4.0-1ubuntu1~20.04.1 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.10ubuntu1 debianutils_4.9.1 dh-autoreconf_19 dh-golang_1.48 dh-strip-nondeterminism_1.7.0-1 diffutils_1:3.7-3 dpkg_1.19.7ubuntu3.2 dpkg-dev_1.19.7ubuntu3.2 dwz_0.13-5 e2fsprogs_1.45.5-2ubuntu1.1 fakeroot_1.24-1 fdisk_2.34-0.1ubuntu9.3 file_1:5.38-4 findutils_4.7.0-1ubuntu1 g++_4:9.3.0-1ubuntu2 g++-9_9.4.0-1ubuntu1~20.04.1 gcc_4:9.3.0-1ubuntu2 gcc-10-base_10.3.0-1ubuntu1~20.04 gcc-9_9.4.0-1ubuntu1~20.04.1 gcc-9-base_9.4.0-1ubuntu1~20.04.1 gettext_0.19.8.1-10build1 gettext-base_0.19.8.1-10build1 golang-1.13-go_1.13.8-1ubuntu1.1 golang-1.13-src_1.13.8-1ubuntu1.1 golang-any_2:1.13~1ubuntu2 golang-github-bmatsuo-lmdb-go-dev_1.8.0+git20170215.a14b5a3-2 golang-github-cpuguy83-go-md2man-dev_1.0.10+ds-1 golang-github-davecgh-go-spew-dev_1.1.1-1 golang-github-mendersoftware-log-dev_0.0~git20180403.f608c95-2 golang-github-mendersoftware-mender-artifact-dev_3.2.1-1 golang-github-mendersoftware-mendertesting-dev_0.0~git20180410.9e728b5-2 golang-github-mendersoftware-scopestack-dev_0.0~git20180403.c2f5599-2 golang-github-pkg-errors-dev_0.8.1-1 golang-github-pmezard-go-difflib-dev_1.0.0-2 golang-github-remyoudompheng-go-liblzma-dev_0.0~git20190506.81bf2d4-2 golang-github-russross-blackfriday-dev_1.5.2+git20190616.a925a15-1 golang-github-shurcool-sanitized-anchor-name-dev_1.0.0-1 golang-github-sirupsen-logrus-dev_1.3.0-1 golang-github-stretchr-objx-dev_0.1.1+git20180825.ef50b0d-1 golang-github-stretchr-testify-dev_1.3.0+ds-1 golang-github-ungerik-go-sysfs-dev_0.0~git20170424.9c991ee-2 golang-github-urfave-cli-dev_1.22.2-4 golang-go_2:1.13~1ubuntu2 golang-golang-x-crypto-dev_1:0.0~git20200221.2aa609c-1 golang-golang-x-net-dev_1:0.0+git20190811.74dc4d7+dfsg-1 golang-golang-x-sys-dev_0.0~git20190726.fc99dfb-1ubuntu2 golang-golang-x-text-dev_0.3.2-4 golang-logrus-dev_1.3.0-1 golang-src_2:1.13~1ubuntu2 gpg_2.2.19-3ubuntu2.2 gpg-agent_2.2.19-3ubuntu2.2 gpgconf_2.2.19-3ubuntu2.2 gpgv_2.2.19-3ubuntu2.2 grep_3.4-1 groff-base_1.22.4-4build1 gzip_1.10-0ubuntu4.1 hostname_3.23 init_1.57 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-6 libapparmor1_2.13.3-7ubuntu5 libapt-pkg6.0_2.0.2ubuntu0.2 libarchive-zip-perl_1.67-2 libargon2-1_0~20171227-0.2 libasan5_9.4.0-1ubuntu1~20.04.1 libassuan0_2.5.3-7ubuntu2 libatomic1_10.3.0-1ubuntu1~20.04 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2ubuntu6 libaudit1_1:2.8.5-2ubuntu6 libbinutils_2.34-6ubuntu1.4 libblkid1_2.34-0.1ubuntu9.3 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.31-0ubuntu9.7 libc-dev-bin_2.31-0ubuntu9.7 libc6_2.31-0ubuntu9.7 libc6-dev_2.31-0ubuntu9.7 libcap-ng0_0.7.9-2.1build1 libcap2_1:2.32-1 libcc1-0_10.3.0-1ubuntu1~20.04 libcom-err2_1.45.5-2ubuntu1.1 libcroco3_0.6.13-1 libcrypt-dev_1:4.4.10-10ubuntu4 libcrypt1_1:4.4.10-10ubuntu4 libcryptsetup12_2:2.2.2-3ubuntu2.4 libctf-nobfd0_2.34-6ubuntu1.4 libctf0_2.34-6ubuntu1.4 libdb5.3_5.3.28+dfsg1-0.6ubuntu2 libdebconfclient0_0.251ubuntu1 libdebhelper-perl_12.10ubuntu1 libdevmapper1.02.1_2:1.02.167-1ubuntu1 libdpkg-perl_1.19.7ubuntu3.2 libelf1_0.176-1.1build1 libext2fs2_1.45.5-2ubuntu1.1 libfakeroot_1.24-1 libfdisk1_2.34-0.1ubuntu9.3 libffi7_3.3-4 libfile-stripnondeterminism-perl_1.7.0-1 libgcc-9-dev_9.4.0-1ubuntu1~20.04.1 libgcc-s1_10.3.0-1ubuntu1~20.04 libgcrypt20_1.8.5-5ubuntu1.1 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.64.6-1~ubuntu20.04.3 libgmp10_2:6.2.0+dfsg-4ubuntu0.1 libgnutls30_3.6.13-2ubuntu1.7 libgomp1_10.3.0-1ubuntu1~20.04 libgpg-error0_1.37-1 libhogweed5_3.5.1+really3.5.1-2ubuntu0.2 libicu66_66.1-2ubuntu2.1 libidn2-0_2.2.0-2 libip4tc2_1.8.4-3ubuntu2 libisl22_0.22.1-1 libitm1_10.3.0-1ubuntu1~20.04 libjson-c4_0.13.1+dfsg-7ubuntu0.3 libkmod2_27-1ubuntu2 liblockfile-bin_1.16-1.1 liblockfile1_1.16-1.1 liblsan0_10.3.0-1ubuntu1~20.04 liblz4-1_1.9.2-2ubuntu0.20.04.1 liblzma-dev_5.2.4-1ubuntu1.1 liblzma5_5.2.4-1ubuntu1.1 libmagic-mgc_1:5.38-4 libmagic1_1:5.38-4 libmount1_2.34-0.1ubuntu9.3 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libncurses6_6.2-0ubuntu2 libncursesw6_6.2-0ubuntu2 libnettle7_3.5.1+really3.5.1-2ubuntu0.2 libnpth0_1.6-1 libp11-kit0_0.23.20-1ubuntu0.1 libpam-modules_1.3.1-5ubuntu4 libpam-modules-bin_1.3.1-5ubuntu4 libpam-runtime_1.3.1-5ubuntu4 libpam0g_1.3.1-5ubuntu4 libpcre2-8-0_10.34-7ubuntu0.1 libpcre3_2:8.39-12ubuntu0.1 libperl5.30_5.30.0-9ubuntu0.3 libpipeline1_1.5.2-2build1 libpng16-16_1.6.37-2 libprocps8_2:3.3.16-1ubuntu2 libreadline8_8.0-4 libseccomp2_2.5.1-1ubuntu1~20.04.2 libselinux1_3.0-1build2 libsemanage-common_3.0-1build2 libsemanage1_3.0-1build2 libsepol1_3.0-1ubuntu0.1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1ubuntu9.3 libsqlite3-0_3.31.1-4ubuntu0.5 libss2_1.45.5-2ubuntu1.1 libssl1.1_1.1.1f-1ubuntu2.16 libstdc++-9-dev_9.4.0-1ubuntu1~20.04.1 libstdc++6_10.3.0-1ubuntu1~20.04 libsub-override-perl_0.09-2 libsystemd0_245.4-4ubuntu3.15 libtasn1-6_4.16.0-2 libtinfo6_6.2-0ubuntu2 libtool_2.4.6-14 libtsan0_10.3.0-1ubuntu1~20.04 libubsan1_10.3.0-1ubuntu1~20.04 libuchardet0_0.0.6-3build1 libudev1_245.4-4ubuntu3.15 libunistring2_0.9.10-2 libuuid1_2.34-0.1ubuntu9.3 libxml2_2.9.10+dfsg-5ubuntu0.20.04.4 libzstd1_1.4.4+dfsg-3ubuntu0.1 linux-libc-dev_5.4.0-131.147 lockfile-progs_0.1.18 login_1:4.8.1-1ubuntu5 logsave_1.45.5-2ubuntu1.1 lsb-base_11.1.0ubuntu2 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.1-1 mawk_1.3.4.20200120-2 mount_2.34-0.1ubuntu9.3 ncurses-base_6.2-0ubuntu2 ncurses-bin_6.2-0ubuntu2 openssl_1.1.1f-1ubuntu2.16 optipng_0.7.7-1 passwd_1:4.8.1-1ubuntu5 patch_2.7.6-6 perl_5.30.0-9ubuntu0.3 perl-base_5.30.0-9ubuntu0.3 perl-modules-5.30_5.30.0-9ubuntu0.3 pinentry-curses_1.1.0-3build1 pkgbinarymangler_144 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.16-1ubuntu2 readline-common_8.0-4 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12+nmu1 systemd_245.4-4ubuntu3.15 systemd-sysv_245.4-4ubuntu3.15 systemd-timesyncd_245.4-4ubuntu3.15 sysvinit-utils_2.96-2.1ubuntu1 tar_1.30+dfsg-7ubuntu0.20.04.2 tzdata_2022f-0ubuntu0.20.04.0 ubuntu-keyring_2020.02.11.2 util-linux_2.34-0.1ubuntu9.3 xz-utils_5.2.4-1ubuntu1.1 zlib1g_1:1.2.11.dfsg-2ubuntu1.5 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: mender-client Binary: mender-client Architecture: any Version: 2.1.2-2ubuntu0.1 Maintainer: Ubuntu Developers Uploaders: Andreas Henriksson , Lluis Campos Homepage: https://github.com/mendersoftware/mender Standards-Version: 4.2.1 Vcs-Browser: https://salsa.debian.org/go-team/packages/mender-client Vcs-Git: https://salsa.debian.org/go-team/packages/mender-client.git Testsuite: autopkgtest-pkg-go Build-Depends: debhelper (>= 11), dh-golang, golang-any, golang-github-pkg-errors-dev, golang-github-stretchr-testify-dev, golang-golang-x-net-dev, golang-golang-x-sys-dev, golang-logrus-dev, golang-github-bmatsuo-lmdb-go-dev, golang-github-ungerik-go-sysfs-dev, golang-github-mendersoftware-mender-artifact-dev (>= 3.1.0), golang-github-mendersoftware-log-dev, golang-github-mendersoftware-mendertesting-dev, ca-certificates Package-List: mender-client deb devel optional arch=any Checksums-Sha1: 51e3754d58de2bc67dabbb8ad20604897a13fe20 138864 mender-client_2.1.2.orig.tar.xz 3af8df482d317ddd5e9cfd1cd8a4481bfcff2255 7356 mender-client_2.1.2-2ubuntu0.1.debian.tar.xz Checksums-Sha256: 7ed51faa143e9b03bcb2a6c054d92171bf2c851a8751a9ba8cc96ea43a9d10f4 138864 mender-client_2.1.2.orig.tar.xz 8abce3e24e9155539618a6df13ab8b5a49f2bd9f6ad6649d0892134d476e4670 7356 mender-client_2.1.2-2ubuntu0.1.debian.tar.xz Files: 5c2d41aff12bf442b90a68ff28b5eef1 138864 mender-client_2.1.2.orig.tar.xz 3e88715a3dc6e80c181e9a846ecc8035 7356 mender-client_2.1.2-2ubuntu0.1.debian.tar.xz Go-Import-Path: github.com/mendersoftware/mender Original-Maintainer: Debian Go Packaging Team -----BEGIN PGP SIGNATURE----- iQJaBAEBCgBEFiEEZj5eir1e7OtcLCXYhqc8z4VOy5oFAmNs0u0mHGRhdmlkLmZl cm5hbmRlemdvbnphbGV6QGNhbm9uaWNhbC5jb20ACgkQhqc8z4VOy5oybxAAvDHx olCiB+9AZWIBWKRkC0Db5RQ+v4Q4IEoq6EM05+RBkPI396gmeaLfgBkHCvPQlWd8 VkMQJFPC4k6EyX4ywci4SqlM08KkFDY31e+wpPC/+80dU+fn0Dxzrn/VpoWbu/84 giszbQ77WCCub39LK8hZWRVB8GRmfcZwWNWrSwzuUkqioFqziF85WNiOwAIk1qvQ pqFkpDDwpZgopBKB9Q0/+aY2PhWKQst5LpeXgzZ63doaslCX699WH8BaT32vos3w dYG6gKLum0OR0Pcf4+oj1IStVOWt/wva9KjHGM1ZL+NLZFr6iZOzjU9LpqosKXin v8s3fYr4LGPhwfN0T8/3AnK3AfUSqIO4EINPV3CVw7zst6ko9yZa2EHaNN3lJmlq SRIdGIacJrts69arg9Kzse/WwgUKTFG9LlQ+Ss7sgwYV1QMRIHpFmv2T1Y2pGeof sHY9Rxzj6Ra9dvwS2v8mrotPllLokt5MqpP1vD1cq55xxap1UQpV4xBNy5SHHAbP ZU93lJx9TfC5FOGrvphoYv9S4RR7JCV374CPnJiLqlLo1SQJya1MfEo5n9aLiBlD H1fh5yyWSO6EgPi97M4flhiyGBPNpmwTWuLExRAjjEryKeL9v8bCfzrDQpJ1sbfH sc6mVt2FW0CBCVP6fTP/wtJgH/ArHewkOpiSqm4= =whZy -----END PGP SIGNATURE----- gpgv: Signature made Thu Nov 10 10:31:09 2022 UTC gpgv: using RSA key 663E5E8ABD5EECEB5C2C25D886A73CCF854ECB9A gpgv: issuer "david.fernandezgonzalez@canonical.com" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mender-client_2.1.2-2ubuntu0.1.dsc dpkg-source: info: extracting mender-client in /<> dpkg-source: info: unpacking mender-client_2.1.2.orig.tar.xz dpkg-source: info: unpacking mender-client_2.1.2-2ubuntu0.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Skip-TestLicense-for-Debian-Unit-Test-suite.patch dpkg-source: info: applying 0002-Use-UBI_IOCVOLUP-from-golang.org-x-sys-unix-package.patch dpkg-source: info: applying 0003-Update-tests-to-use-artifact-v2.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-24640663 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-24640663 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-24640663 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package mender-client dpkg-buildpackage: info: source version 2.1.2-2ubuntu0.1 dpkg-buildpackage: info: source distribution focal-security dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_autoreconf_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build-arch dh build-arch --buildsystem=golang --with=golang dh_update_autotools_config -a -O--buildsystem=golang dh_autoreconf -a -O--buildsystem=golang dh_auto_configure -a -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/<>' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X main.Version=2.1.2-2ubuntu0.1" cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 -ldflags "-X main.Version=2.1.2-2ubuntu0.1" github.com/mendersoftware/mender github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/installer 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/utils internal/cpu runtime/internal/sys internal/race runtime/internal/atomic sync/atomic runtime/internal/math unicode/utf8 unicode internal/bytealg encoding math/bits internal/testlog unicode/utf16 math container/list runtime internal/nettrace runtime/cgo crypto/internal/subtle crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/subtle github.com/bmatsuo/lmdb-go/internal/lmdbarch internal/reflectlite sync internal/singleflight math/rand errors sort io internal/oserror strconv vendor/golang.org/x/net/dns/dnsmessage syscall bytes reflect bufio strings hash crypto crypto/internal/randutil crypto/hmac time internal/syscall/unix crypto/rc4 vendor/golang.org/x/crypto/hkdf path hash/crc32 golang.org/x/text/transform vendor/golang.org/x/text/transform github.com/remyoudompheng/go-liblzma regexp/syntax internal/poll os encoding/binary internal/fmtsort context encoding/base64 fmt golang.org/x/sys/unix net encoding/json flag github.com/mendersoftware/scopestack golang.org/x/crypto/ssh/terminal log crypto/cipher math/big github.com/sirupsen/logrus crypto/aes crypto/des crypto/sha512 crypto/ed25519/internal/edwards25519 crypto/md5 crypto/sha1 crypto/elliptic encoding/asn1 crypto/rand crypto/ed25519 crypto/rsa crypto/sha256 crypto/ecdsa crypto/dsa encoding/hex encoding/pem vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix path/filepath net/url io/ioutil vendor/golang.org/x/crypto/internal/chacha20 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/crypto/curve25519 github.com/pkg/errors vendor/golang.org/x/crypto/chacha20poly1305 compress/flate github.com/mendersoftware/mender/datastore golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm compress/gzip golang.org/x/text/secure/bidirule golang.org/x/net/http2/hpack vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule golang.org/x/net/idna vendor/golang.org/x/net/http2/hpack mime log/syslog crypto/x509 github.com/sirupsen/logrus/hooks/syslog net/textproto vendor/golang.org/x/net/idna github.com/mendersoftware/log golang.org/x/net/http/httpguts mime/quotedprintable net/http/internal mime/multipart os/user vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy crypto/tls regexp os/exec github.com/ungerik/go-sysfs github.com/mendersoftware/mender/utils github.com/mendersoftware/mender/system github.com/bmatsuo/lmdb-go/lmdb github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib github.com/stretchr/objx net/http/httptrace net/http os/signal github.com/mendersoftware/mender/system/testing archive/tar github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/areader net/http/httptest golang.org/x/net/http2 github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/mendersoftware/mender/client github.com/mendersoftware/mender/statescript github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/installer # github.com/bmatsuo/lmdb-go/lmdb mdb.c: In function ‘mdb_cursor_put’: mdb.c:6725:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 6725 | if (SIZELEFT(fp) < offset) { | ^ mdb.c:6730:5: note: here 6730 | case MDB_CURRENT: | ^~~~ github.com/mendersoftware/mender/store github.com/mendersoftware/mender make[1]: Leaving directory '/<>' debian/rules override_dh_auto_test make[1]: Entering directory '/<>' dh_auto_test || true cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/mendersoftware/mender github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/installer 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/utils # github.com/bmatsuo/lmdb-go/lmdb mdb.c: In function ‘mdb_cursor_put’: mdb.c:6725:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 6725 | if (SIZELEFT(fp) < offset) { | ^ mdb.c:6730:5: note: here 6730 | case MDB_CURRENT: | ^~~~ === RUN TestNewAuthManager --- PASS: TestNewAuthManager (0.00s) === RUN TestAuthManager --- PASS: TestAuthManager (1.69s) === RUN TestAuthManagerRequest --- PASS: TestAuthManagerRequest (1.92s) === RUN TestAuthManagerResponse --- PASS: TestAuthManagerResponse (0.00s) === RUN Test_readConfigFile_noFile_returnsError --- PASS: Test_readConfigFile_noFile_returnsError (0.00s) === RUN Test_readConfigFile_brokenContent_returnsError time="2022-11-10T13:44:07Z" level=error msg="Error loading configuration from file: mender.config (Error parsing mender configuration file: invalid character '\\n' in string literal)" module=config --- PASS: Test_readConfigFile_brokenContent_returnsError (0.00s) === RUN Test_loadConfig_correctConfFile_returnsConfiguration time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: mender.config" module=config time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: mender.config" module=config --- PASS: Test_loadConfig_correctConfFile_returnsConfiguration (0.00s) === RUN TestServerURLConfig time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: mender.config" module=config time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: mender.config" module=config time="2022-11-10T13:44:07Z" 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 on thelist overwrites these fields." module=config --- PASS: TestServerURLConfig (0.00s) === RUN TestMultipleServersConfig time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: /tmp/mendertest658812637/mender.conf" module=config --- PASS: TestMultipleServersConfig (0.00s) === RUN TestConfigurationMergeSettings time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: fallback.config" module=config time="2022-11-10T13:44:07Z" level=info msg="Loaded configuration file: main.config" module=config time="2022-11-10T13:44:07Z" level=warning msg="No server URL(s) specified in mender configuration." module=config time="2022-11-10T13:44:07Z" level=warning msg="Server entry 1 has no associated server URL." module=config --- PASS: TestConfigurationMergeSettings (0.00s) === RUN TestConfigurationNeitherFileExistsIsNotError time="2022-11-10T13:44:07Z" level=info msg="No configuration files present. Using defaults" module=config --- PASS: TestConfigurationNeitherFileExistsIsNotError (0.00s) === RUN TestDaemon time="2022-11-10T13:44:07Z" level=info msg="State transition: init [none] -> init [none]" module=mender --- PASS: TestDaemon (0.00s) === RUN TestDaemonCleanup time="2022-11-10T13:44:07Z" level=error msg="failed to close data store: foo" module=daemon --- PASS: TestDaemonCleanup (0.00s) daemon_test.go:186: PASS: Close() daemon_test.go:194: PASS: Close() === RUN TestDaemonRun === RUN TestDaemonRun/Testrun_daemon === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state time="2022-11-10T13:46:38Z" level=info msg="Forcing state machine to: update-check" module=daemon === RUN TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state time="2022-11-10T13:46:39Z" level=info msg="Forcing state machine to: inventory-update" module=daemon --- PASS: TestDaemonRun (152.00s) --- PASS: TestDaemonRun/Testrun_daemon (150.00s) daemon_test.go:243: poke count: 5 --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality_-_updateCheck_state (1.00s) --- PASS: TestDaemonRun/testing_state_machine_interrupt_functionality_-_inventoryUpdate_state (1.00s) === RUN TestFileLogger --- PASS: TestFileLogger (0.00s) === RUN TestLogManagerInit --- PASS: TestLogManagerInit (0.00s) === RUN TestLogManagerCheckEnableDisable time="2022-11-10T13:46:39Z" level=info msg="Running Mender version unknown" module=deployment_logger --- PASS: TestLogManagerCheckEnableDisable (0.00s) === RUN TestLogManagerCheckLogging time="2022-11-10T13:46:39Z" level=info msg="Running Mender version unknown" module=deployment_logger --- PASS: TestLogManagerCheckLogging (0.00s) === RUN TestLogManagerLogRotation time="2022-11-10T13:46:39Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:46:39Z" level=info msg="Running Mender version unknown" module=deployment_logger --- PASS: TestLogManagerLogRotation (0.00s) === RUN TestEnabligLogsNoSpceForStoringLogs --- PASS: TestEnabligLogsNoSpceForStoringLogs (0.00s) === RUN TestDeploymentLoggingHook time="2022-11-10T13:46:39Z" level=info msg=test1 module=deployment_logger_test time="2022-11-10T13:46:39Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:46:39Z" level=info msg=test3 module=deployment_logger_test --- PASS: TestDeploymentLoggingHook (0.00s) === RUN TestGetLogs time="2022-11-10T13:46:39Z" level=info msg="Running Mender version unknown" module=deployment_logger --- PASS: TestGetLogs (0.00s) === RUN TestFindLogFiles --- PASS: TestFindLogFiles (0.00s) === RUN TestMenderError --- PASS: TestMenderError (0.00s) === RUN TestDeviceIdentityGet --- PASS: TestDeviceIdentityGet (0.04s) 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 === RUN TestInventoryDataDecoder --- PASS: TestInventoryDataDecoder (0.00s) === RUN TestLicenses --- SKIP: TestLicenses (0.00s) license_test.go:21: Skip TestLicenses test, non applicable on Debian Git repo === RUN TestMissingArgs time="2022-11-10T13:46:39Z" level=warning msg="Could not connect to syslog daemon: Unix syslog delivery error. (use -no-syslog to disable completely)" module=main time="2022-11-10T13:46:39Z" level=info msg="No configuration files present. Using defaults" module=config time="2022-11-10T13:46:39Z" level=info msg="No dual rootfs configuration present" module=main --- PASS: TestMissingArgs (0.00s) === RUN TestAmbiguousArgumentsArgs --- PASS: TestAmbiguousArgumentsArgs (0.00s) === RUN TestArgsParseCheckUpdate --- PASS: TestArgsParseCheckUpdate (0.00s) === RUN TestRunDaemon --- PASS: TestRunDaemon (4.81s) === RUN TestLoggingOptions --- PASS: TestLoggingOptions (0.00s) === RUN TestBinarySize --- PASS: TestBinarySize (4.36s) main_test.go:199: Go version: go version go1.13.8 linux/arm64 === RUN TestVersion --- PASS: TestVersion (0.00s) === RUN TestMainBootstrap --- PASS: TestMainBootstrap (2.42s) === RUN TestPrintArtifactName foobar db-name foobar --- PASS: TestPrintArtifactName (0.01s) === RUN TestGetMenderDaemonPID --- PASS: TestGetMenderDaemonPID (0.01s) === RUN TestInitDaemon --- PASS: TestInitDaemon (0.00s) === RUN TestInvalidServerCertificateBoot --- PASS: TestInvalidServerCertificateBoot (0.09s) === RUN Test_getArtifactName_noArtifactNameInFile_returnsEmptyName --- PASS: Test_getArtifactName_noArtifactNameInFile_returnsEmptyName (0.00s) === RUN Test_getArtifactName_malformedArtifactNameLine_returnsError --- PASS: Test_getArtifactName_malformedArtifactNameLine_returnsError (0.00s) === RUN Test_getArtifactName_haveArtifactName_returnsName --- PASS: Test_getArtifactName_haveArtifactName_returnsName (0.00s) === RUN Test_ForceBootstrap --- PASS: Test_ForceBootstrap (5.37s) === RUN Test_Bootstrap --- PASS: Test_Bootstrap (2.26s) === RUN Test_BootstrappedHaveKeys --- PASS: Test_BootstrappedHaveKeys (1.02s) === RUN Test_BootstrapError --- PASS: Test_BootstrapError (1.73s) === RUN Test_CheckUpdateSimple --- PASS: Test_CheckUpdateSimple (0.00s) === RUN TestMenderGetUpdatePollInterval --- PASS: TestMenderGetUpdatePollInterval (0.00s) === RUN TestMenderGetInventoryPollInterval --- PASS: TestMenderGetInventoryPollInterval (0.00s) === RUN TestMenderAuthorize --- PASS: TestMenderAuthorize (0.00s) === RUN TestMenderReportStatus --- PASS: TestMenderReportStatus (0.62s) === RUN TestMenderLogUpload --- PASS: TestMenderLogUpload (0.79s) === RUN TestAuthToken --- PASS: TestAuthToken (0.76s) === RUN TestMenderInventoryRefresh --- PASS: TestMenderInventoryRefresh (0.01s) === RUN TestMenderStoreUpdate --- PASS: TestMenderStoreUpdate (0.02s) === RUN TestMenderFetchUpdate --- PASS: TestMenderFetchUpdate (0.00s) === RUN TestReauthorization --- PASS: TestReauthorization (2.14s) === RUN TestFailoverServers --- PASS: TestFailoverServers (1.38s) === RUN Test_doManualUpdate_noParams_fail --- PASS: Test_doManualUpdate_noParams_fail (0.00s) === RUN Test_doManualUpdate_invalidHttpsClientConfig_updateFails --- PASS: Test_doManualUpdate_invalidHttpsClientConfig_updateFails (0.00s) === RUN Test_doManualUpdate_nonExistingFile_fail --- PASS: Test_doManualUpdate_nonExistingFile_fail (0.00s) === RUN Test_doManualUpdate_networkUpdateNoClient_fail --- PASS: Test_doManualUpdate_networkUpdateNoClient_fail (0.02s) === RUN Test_doManualUpdate_networkClientExistsNoServer_fail --- PASS: Test_doManualUpdate_networkClientExistsNoServer_fail (0.00s) === RUN Test_doManualUpdate_existingFile_updateSuccess Installing Artifact of size 5120... . 100% 5 KiB 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.01s) === RUN TestStandaloneModuleInstall === RUN TestStandaloneModuleInstall/Normal_install,_no_rollback Installing Artifact of size 5632... . 100% 5 KiB Artifact doesn't support rollback. Committing immediately. Committing Artifact... At least one payload requested a reboot of the device it updated. === RUN TestStandaloneModuleInstall/Normal_install Installing Artifact of size 5632... . 100% 5 KiB Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. === RUN TestStandaloneModuleInstall/Normal_commit Installing Artifact of size 5632... . 100% 5 KiB 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... === RUN TestStandaloneModuleInstall/Normal_rollback Installing Artifact of size 5632... . 100% 5 KiB Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_Download_Enter_00 Installing Artifact of size 5632... === RUN TestStandaloneModuleInstall/Fail_in_Download Installing Artifact of size 5632... === RUN TestStandaloneModuleInstall/Fail_in_Download_Leave_00 Installing Artifact of size 5632... . 100% 5 KiB === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 Installing Artifact of size 5632... . 100% 5 KiB 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... Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit Installing Artifact of size 5632... . 100% 5 KiB 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... Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 Installing Artifact of size 5632... . 100% 5 KiB 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... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback Installing Artifact of size 5632... . 100% 5 KiB Artifact doesn't support rollback. Committing immediately. Committing Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback Installing Artifact of size 5632... . 100% 5 KiB Artifact doesn't support rollback. Committing immediately. Committing Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback Installing Artifact of size 5632... . 100% 5 KiB Artifact doesn't support rollback. Committing immediately. Committing Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 Installing Artifact of size 5632... . 100% 5 KiB Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback Installing Artifact of size 5632... . 100% 5 KiB Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 Installing Artifact of size 5632... . 100% 5 KiB Use -commit to update, or -rollback to roll back the update. At least one payload requested a reboot of the device it updated. Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... === RUN TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... === RUN TestStandaloneModuleInstall/Hang_in_Download Installing Artifact of size 5632... === RUN TestStandaloneModuleInstall/Hang_in_ArtifactInstall Installing Artifact of size 5632... . 100% 5 KiB Rolling back Artifact... --- PASS: TestStandaloneModuleInstall (15.53s) --- PASS: TestStandaloneModuleInstall/Normal_install,_no_rollback (0.17s) --- PASS: TestStandaloneModuleInstall/Normal_install (0.20s) --- PASS: TestStandaloneModuleInstall/Normal_commit (0.21s) --- PASS: TestStandaloneModuleInstall/Normal_rollback (0.20s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Enter_00 (0.06s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download (0.13s) --- PASS: TestStandaloneModuleInstall/Fail_in_Download_Leave_00 (0.14s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Enter_00 (0.23s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall (0.23s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactInstall_Leave_00 (0.27s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00 (0.23s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit (0.34s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00 (0.28s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Enter_00,_no_rollback (0.30s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit,_no_rollback (0.26s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactCommit_Leave_00,_no_rollback (0.22s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Enter_00 (0.29s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback (0.27s) --- PASS: TestStandaloneModuleInstall/Fail_in_ArtifactRollback_Leave_00 (0.29s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Enter_00 (0.29s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback (0.28s) --- PASS: TestStandaloneModuleInstall/Fail_in_automatic_ArtifactRollback_Leave_00 (0.27s) --- PASS: TestStandaloneModuleInstall/Hang_in_Download (5.15s) --- PASS: TestStandaloneModuleInstall/Hang_in_ArtifactInstall (5.21s) === RUN TestStateBase --- PASS: TestStateBase (0.00s) === RUN TestStateWait --- PASS: TestStateWait (0.10s) === RUN TestStateError --- PASS: TestStateError (0.00s) === RUN TestStateUpdateReportStatus --- PASS: TestStateUpdateReportStatus (0.03s) === RUN TestStateIdle --- PASS: TestStateIdle (0.00s) === RUN TestStateAuthorize --- PASS: TestStateAuthorize (0.00s) === RUN TestStateInvetoryUpdate --- PASS: TestStateInvetoryUpdate (0.00s) === RUN TestStateAuthorizeWait --- PASS: TestStateAuthorizeWait (0.10s) === RUN TestStateUpdateCheckWait --- PASS: TestStateUpdateCheckWait (0.02s) === RUN TestStateUpdateCheck --- PASS: TestStateUpdateCheck (0.00s) === RUN TestUpdateCheckSameImage --- PASS: TestUpdateCheckSameImage (0.00s) === RUN TestStateUpdateFetch --- PASS: TestStateUpdateFetch (0.00s) === RUN TestStateUpdateFetchRetry --- PASS: TestStateUpdateFetchRetry (0.00s) === RUN TestStateUpdateStore --- PASS: TestStateUpdateStore (0.00s) === RUN TestStateWrongArtifactNameFromServer --- PASS: TestStateWrongArtifactNameFromServer (0.00s) === RUN TestStateUpdateInstallRetry --- PASS: TestStateUpdateInstallRetry (0.00s) === RUN TestStateFinal --- PASS: TestStateFinal (0.00s) === RUN TestStateData --- PASS: TestStateData (0.00s) === RUN TestStateReportError --- PASS: TestStateReportError (0.00s) === RUN TestMaxSendingAttempts --- PASS: TestMaxSendingAttempts (0.00s) === RUN TestStateTransitionsWithUpdateModules === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Normal_install === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure === RUN TestStateTransitionsWithUpdateModules/Error_in_Cleanup === RUN TestStateTransitionsWithUpdateModules/Killed_in_Cleanup === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot === RUN TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 === RUN TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot === RUN TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot === RUN TestStateTransitionsWithUpdateModules/Break_out_of_error_loop === RUN TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop === RUN TestStateTransitionsWithUpdateModules/Hang_in_Download_state === RUN TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall === RUN TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot === RUN TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot --- PASS: TestStateTransitionsWithUpdateModules (72.82s) --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_reboot,_no_rollback (0.29s) state_test.go:4388: Normal install, no reboot, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:23Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:23Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:23Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:23Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules967676311/artifact_info file." module=device time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:23Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:23Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:23Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules967676311/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules967676311/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules967676311/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules967676311/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules967676311/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules967676311/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules967676311/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules967676311/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:47:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules967676311/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules967676311/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:47:23Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:47:23Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:47:23Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:47:23Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules967676311/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules967676311/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:23Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:23Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.26s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Normal_install,_no_rollback (0.36s) state_test.go:4388: Normal install, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:23Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:23Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:23Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:23Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:23Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:23Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:23Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules525543884/artifact_info file." module=device time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:23Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:23Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:23Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:23Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:23Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:23Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:23Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:23Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:23Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:23Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:24Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:47:24Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:47:24Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:47:24Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules525543884/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules525543884/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:24Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.33s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Normal_install (0.42s) state_test.go:4388: Normal install state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:24Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:24Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules509516965/artifact_info file." module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:24Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:47:24Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:47:24Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:47:24Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules509516965/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules509516965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:24Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.38s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_state,_no_rollback (0.16s) state_test.go:4388: Error in Download state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:24Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:24Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261750514/artifact_info file." module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261750514/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules261750514/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=error msg="Artifact install failed: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Error_00" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules261750514/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules261750514/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:24Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:24Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules261750514/artifact_info file." module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.13s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_state,_no_rollback (0.21s) state_test.go:4388: Killed in Download state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:24Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:24Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules733563843/artifact_info file." module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules733563843/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules733563843/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:24Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:24Z" level=info msg="handling loaded state: update-store" module=state time="2022-11-10T13:47:24Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:24Z" level=error msg="Update was interrupted in state: update-store" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: init [none] -> cleanup [Error]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules733563843/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules733563843/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:24Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:24Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules733563843/artifact_info file." module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.01s) state_test.go:4523: Resuming from state index 2 (*main.UpdateCleanupState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_state,_no_rollback (0.34s) state_test.go:4388: Error in ArtifactInstall state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:24Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:24Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:24Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:24Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:24Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules224518504/artifact_info file." module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:24Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:24Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224518504/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules224518504/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224518504/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules224518504/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:24Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:24Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:24Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:24Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:24Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224518504/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules224518504/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:25Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:25Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224518504/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules224518504/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules224518504/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules224518504/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:25Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:25Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:25Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.29s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_state,_no_rollback (0.38s) state_test.go:4388: Killed in ArtifactInstall state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:25Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:25Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:25Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:25Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules526225521/artifact_info file." module=device time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:25Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:25Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:25Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules526225521/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules526225521/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules526225521/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules526225521/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules526225521/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules526225521/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:25Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:25Z" level=info msg="handling loaded state: update-install" module=state time="2022-11-10T13:47:25Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:25Z" level=error msg="Update was interrupted in state: update-install" module=state time="2022-11-10T13:47:25Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules526225521/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules526225521/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules526225521/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules526225521/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:25Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:25Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:25Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.09s) state_test.go:4523: Resuming from state index 4 (*main.UpdateErrorState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall (0.65s) state_test.go:4388: Error in ArtifactInstall state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:25Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:25Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:25Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:25Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:25Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules789719214/artifact_info file." module=device time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:25Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:25Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:25Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:25Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789719214/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules789719214/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789719214/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules789719214/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:25Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:25Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:25Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789719214/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules789719214/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:25Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:25Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:25Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:25Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:25Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:25Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789719214/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules789719214/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789719214/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules789719214/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules789719214/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules789719214/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:26Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:26Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules789719214/artifact_info file." module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.62s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall (0.50s) state_test.go:4388: Killed in ArtifactInstall state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:26Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:26Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:26Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules022928431/artifact_info file." module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:26Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules022928431/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules022928431/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules022928431/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules022928431/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules022928431/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules022928431/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:26Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:26Z" level=info msg="handling loaded state: update-install" module=state time="2022-11-10T13:47:26Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:26Z" level=error msg="Update was interrupted in state: update-install" module=state time="2022-11-10T13:47:26Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules022928431/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules022928431/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules022928431/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules022928431/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules022928431/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules022928431/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:26Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:26Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules022928431/artifact_info file." module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.16s) state_test.go:4523: Resuming from state index 4 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot (0.61s) state_test.go:4388: Error in ArtifactReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:26Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:26Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:26Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:26Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:26Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:26Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:26Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules764787268/artifact_info file." module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:26Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:26Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:26Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:26Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:26Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:26Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:26Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:26Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:27Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:27Z" level=error msg="error rebooting device: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules764787268/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules764787268/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:27Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:27Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules764787268/artifact_info file." module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.57s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot (0.46s) state_test.go:4388: Killed in ArtifactReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:27Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:27Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:27Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules515858557/artifact_info file." module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:27Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:27Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:27Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:27Z" level=info msg="handling loaded state: reboot" module=state time="2022-11-10T13:47:27Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:27Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:47:27Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:47:27Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:47:27Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules515858557/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules515858557/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:27Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:27Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.11s) state_test.go:4523: Resuming from state index 5 (*main.UpdateVerifyRebootState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyReboot (0.59s) state_test.go:4388: Error in ArtifactVerifyReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:27Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:27Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:27Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:27Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:27Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:27Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules747419562/artifact_info file." module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:27Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:27Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:27Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:27Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:27Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:27Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:27Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:27Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:28Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:28Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules747419562/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules747419562/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:28Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:28Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules747419562/artifact_info file." module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.56s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyReboot (0.48s) state_test.go:4388: Killed in ArtifactVerifyReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:28Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:28Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:28Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:28Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules562701019/artifact_info file." module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:28Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:28Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:28Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:28Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:28Z" level=info msg="handling loaded state: after-reboot" module=state time="2022-11-10T13:47:28Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:28Z" level=error msg="Update was interrupted in state: after-reboot" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules562701019/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules562701019/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:28Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:28Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:28Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules562701019/artifact_info file." module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.18s) state_test.go:4523: Resuming from state index 6 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback (0.34s) state_test.go:4388: Error in ArtifactRollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:28Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:28Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:28Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:28Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:28Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:28Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:28Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:28Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:28Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:28Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules727366240/artifact_info file." module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:28Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:28Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:29Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:29Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:29Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:29Z" level=error msg="rollback failed: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:29Z" level=error msg="fatal error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:29Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules727366240/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules727366240/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:29Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:29Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:29Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.30s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback (0.50s) state_test.go:4388: Killed in ArtifactRollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:29Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:29Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:29Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:29Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules040789193/artifact_info file." module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:29Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:29Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:29Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:29Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:29Z" level=info msg="handling loaded state: rollback" module=state time="2022-11-10T13:47:29Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:29Z" level=error msg="Update was interrupted in state: rollback" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040789193/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules040789193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:29Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:29Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules040789193/artifact_info file." module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.15s) state_test.go:4523: Resuming from state index 7 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot (0.61s) state_test.go:4388: Error in ArtifactRollbackReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:29Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:29Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:29Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:29Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:29Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules040948198/artifact_info file." module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:29Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:29Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:29Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:29Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:29Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:29Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:29Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:30Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:30Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:30Z" level=error msg="error rebooting device: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules040948198/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules040948198/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:30Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:30Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules040948198/artifact_info file." module=device time="2022-11-10T13:47:30Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:30Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.57s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot (0.61s) state_test.go:4388: Killed in ArtifactRollbackReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:30Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:30Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:30Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:30Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:30Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207779271/artifact_info file." module=device time="2022-11-10T13:47:30Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:30Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:30Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:30Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:30Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:30Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:30Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:30Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:30Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:30Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:30Z" level=info msg="handling loaded state: rollback-reboot" module=state time="2022-11-10T13:47:30Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:30Z" level=info msg="Update was interrupted in state: rollback-reboot" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:30Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:30Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207779271/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules207779271/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:30Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:30Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:30Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:30Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207779271/artifact_info file." module=device time="2022-11-10T13:47:30Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:30Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.12s) state_test.go:4523: Resuming from state index 8 (*main.UpdateVerifyRollbackRebootState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactVerifyRollbackReboot (0.59s) state_test.go:4388: Error in ArtifactVerifyRollbackReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:30Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:30Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:30Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:31Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:31Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:31Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules204565436/artifact_info file." module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:31Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:31Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:31Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:31Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules204565436/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules204565436/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:31Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:31Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules204565436/artifact_info file." module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.56s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactVerifyRollbackReboot (0.57s) state_test.go:4388: Killed in ArtifactVerifyRollbackReboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:31Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:31Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:31Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:31Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules277399893/artifact_info file." module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:31Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:31Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:31Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:31Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:31Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:31Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:31Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:31Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:31Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:31Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:31Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:31Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:32Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:32Z" level=info msg="handling loaded state: verify-rollback-reboot" module=state time="2022-11-10T13:47:32Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:32Z" level=error msg="Update was interrupted in state: verify-rollback-reboot" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules277399893/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules277399893/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:32Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:32Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules277399893/artifact_info file." module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.10s) state_test.go:4523: Resuming from state index 9 (*main.UpdateVerifyRollbackRebootState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure (0.42s) state_test.go:4388: Error in ArtifactFailure state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:32Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:32Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:32Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules383542114/artifact_info file." module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:32Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules383542114/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules383542114/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules383542114/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules383542114/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules383542114/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules383542114/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules383542114/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules383542114/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules383542114/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules383542114/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:32Z" level=error msg="ArtifactFailure failed: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules383542114/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules383542114/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:32Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:32Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules383542114/artifact_info file." module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.38s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure (0.49s) state_test.go:4388: Killed in ArtifactFailure state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:32Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:32Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:32Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:32Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules742877939/artifact_info file." module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:32Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:32Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:32Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:32Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:32Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:32Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:32Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:32Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:32Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:32Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:32Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:47:32Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:32Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:47:32Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:32Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:32Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:32Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:33Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:33Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:33Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:33Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules742877939/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules742877939/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:33Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:33Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:33Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules742877939/artifact_info file." module=device time="2022-11-10T13:47:33Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:33Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.06s) state_test.go:4523: Resuming from state index 6 (*main.UpdateErrorState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Cleanup (5.60s) state_test.go:4388: Error in Cleanup state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:33Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:33Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:33Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:33Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:33Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:33Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:33Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:33Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:33Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:33Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:33Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules423066712/artifact_info file." module=device time="2022-11-10T13:47:33Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:33Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:33Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:33Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:33Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:33Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:33Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:33Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:33Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:33Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:33Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:33Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:38Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:38Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules423066712/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules423066712/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:38Z" level=error msg="Cleanup failed: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:38Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:38Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules423066712/artifact_info file." module=device time="2022-11-10T13:47:38Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:38Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (5.57s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Cleanup (0.56s) state_test.go:4388: Killed in Cleanup state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:38Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:38Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:38Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:38Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:38Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:38Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules651281441/artifact_info file." module=device time="2022-11-10T13:47:38Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:38Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:38Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:38Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:38Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:38Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:38Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:38Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:38Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:38Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:38Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:38Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:38Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:38Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:38Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:39Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:39Z" level=info msg="handling loaded state: cleanup" module=state time="2022-11-10T13:47:39Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:39Z" level=error msg="Update was interrupted in state: cleanup" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: init [none] -> cleanup [Error]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules651281441/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules651281441/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:39Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:39Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules651281441/artifact_info file." module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.01s) state_test.go:4523: Resuming from state index 12 (*main.UpdateCleanupState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit (0.52s) state_test.go:4388: Error in ArtifactCommit state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:39Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:39Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:39Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules320679454/artifact_info file." module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:39Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:39Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:39Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules320679454/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules320679454/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:39Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:39Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules320679454/artifact_info file." module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.48s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit (0.51s) state_test.go:4388: Killed in ArtifactCommit state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:39Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:39Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:39Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:39Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules273044063/artifact_info file." module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:39Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:39Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:39Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:39Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:39Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:39Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:39Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:39Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:39Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:39Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:39Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:39Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:40Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:40Z" level=info msg="handling loaded state: update-commit" module=state time="2022-11-10T13:47:40Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:40Z" level=error msg="Update was interrupted in state: update-commit" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules273044063/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules273044063/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:40Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:40Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules273044063/artifact_info file." module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.18s) state_test.go:4523: Resuming from state index 8 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit,_no_reboot (0.46s) state_test.go:4388: Error in ArtifactCommit, no reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:40Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:40Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:40Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules096911412/artifact_info file." module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:40Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:40Z" level=error msg="transient error: update commit failed: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules096911412/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules096911412/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:40Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:40Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules096911412/artifact_info file." module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.42s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit,_no_reboot (0.41s) state_test.go:4388: Killed in ArtifactCommit, no reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:40Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:40Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:40Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:40Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207411501/artifact_info file." module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:40Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:40Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:40Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:40Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:47:40Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:40Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:40Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:40Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:40Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:40Z" level=info msg="handling loaded state: update-commit" module=state time="2022-11-10T13:47:40Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:40Z" level=error msg="Update was interrupted in state: update-commit" module=state time="2022-11-10T13:47:40Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:40Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:40Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:40Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules207411501/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules207411501/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:41Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:41Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules207411501/artifact_info file." module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.11s) state_test.go:4523: Resuming from state index 5 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Enter_00_state,_no_rollback (0.07s) state_test.go:4388: Error in Download_Enter_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" 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" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> error [Error]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Error_00" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" 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" module=state time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules971035674/artifact_info file." module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.04s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Enter_00_state,_no_rollback (0.07s) state_test.go:4388: Killed in Download_Enter_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:41Z" level=info msg="handling loaded state: update-fetch" module=state time="2022-11-10T13:47:41Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:41Z" level=error msg="Update was interrupted in state: update-fetch" module=state time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules961712651/artifact_info file." module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.00s) state_test.go:4523: Resuming from state index 1 (*main.IdleState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00_state,_no_rollback (0.28s) state_test.go:4388: Error in ArtifactInstall_Enter_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:41Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:41Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:41Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules461230416/artifact_info file." module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461230416/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules461230416/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461230416/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules461230416/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" 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" module=state time="2022-11-10T13:47:41Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461230416/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules461230416/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules461230416/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules461230416/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:41Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:41Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.25s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00_state,_no_rollback (0.23s) state_test.go:4388: Killed in ArtifactInstall_Enter_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:41Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:41Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:41Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules388739193/artifact_info file." module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388739193/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules388739193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388739193/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules388739193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:41Z" level=info msg="handling loaded state: update-install" module=state time="2022-11-10T13:47:41Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:41Z" level=error msg="Update was interrupted in state: update-install" module=state time="2022-11-10T13:47:41Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388739193/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules388739193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules388739193/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules388739193/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:41Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:41Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.05s) state_test.go:4523: Resuming from state index 4 (*main.UpdateErrorState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Enter_00 (0.35s) state_test.go:4388: Error in ArtifactInstall_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:41Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:41Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:41Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:41Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294853974/artifact_info file." module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:41Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:41Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294853974/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules294853974/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294853974/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules294853974/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:41Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" 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" module=state time="2022-11-10T13:47:41Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:41Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:41Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:41Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:41Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294853974/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules294853974/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:41Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:41Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:41Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294853974/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules294853974/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules294853974/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules294853974/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:42Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:42Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules294853974/artifact_info file." module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.31s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Enter_00 (0.46s) state_test.go:4388: Killed in ArtifactInstall_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:42Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:42Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:42Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules078462455/artifact_info file." module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:42Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078462455/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules078462455/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078462455/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules078462455/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:42Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:42Z" level=info msg="handling loaded state: update-install" module=state time="2022-11-10T13:47:42Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:42Z" level=error msg="Update was interrupted in state: update-install" module=state time="2022-11-10T13:47:42Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078462455/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules078462455/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078462455/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules078462455/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules078462455/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules078462455/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:42Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:42Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules078462455/artifact_info file." module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.24s) state_test.go:4523: Resuming from state index 4 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Enter_00 (0.84s) state_test.go:4388: Error in ArtifactReboot_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:42Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:42Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:42Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:42Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:42Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:42Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules795538860/artifact_info file." module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:42Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:42Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:42Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:42Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:42Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:42Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:42Z" 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" module=state time="2022-11-10T13:47:42Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:42Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:42Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:42Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47:42Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:42Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:43Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:43Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules795538860/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules795538860/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:43Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:43Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules795538860/artifact_info file." module=device time="2022-11-10T13:47:43Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:43Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.80s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Enter_00 (0.65s) state_test.go:4388: Killed in ArtifactReboot_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:43Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:43Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:43Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:43Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:43Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:43Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:43Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:43Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules984787973/artifact_info file." module=device time="2022-11-10T13:47:43Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:43Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:43Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:43Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:43Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:43Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:43Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:43Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:43Z" level=info msg="handling loaded state: reboot" module=state time="2022-11-10T13:47:43Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:43Z" level=info msg="State transition: init [none] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:43Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:43Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47:43Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:43Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:43Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:47:44Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:47:44Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:47:44Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules984787973/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules984787973/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:44Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:44Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.22s) state_test.go:4523: Resuming from state index 5 (*main.UpdateVerifyRebootState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Enter_00 (0.80s) state_test.go:4388: Error in ArtifactRollback_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:44Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:44Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:44Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:44Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:44Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules861240786/artifact_info file." module=device time="2022-11-10T13:47:44Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:44Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:44Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:44Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:44Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:44Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:44Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:44Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:44Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=error msg="statescript: ignoring error executing 'ArtifactRollback_Enter_00': 1: exit status 1" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:44Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:44Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:44Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules861240786/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules861240786/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:44Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:44Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:44Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:44Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules861240786/artifact_info file." module=device time="2022-11-10T13:47:44Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:44Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.76s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Enter_00 (1.17s) state_test.go:4388: Killed in ArtifactRollback_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:44Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:44Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:44Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:45Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:45Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:45Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:45Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:45Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:45Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules478583331/artifact_info file." module=device time="2022-11-10T13:47:45Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:45Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:45Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:45Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:45Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:45Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:45Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:45Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:45Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:45Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:45Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:45Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:45Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:45Z" level=info msg="handling loaded state: rollback" module=state time="2022-11-10T13:47:45Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:45Z" level=error msg="Update was interrupted in state: rollback" module=state time="2022-11-10T13:47:45Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:45Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:45Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:45Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:45Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:45Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:45Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:45Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules478583331/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules478583331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:46Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:46Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules478583331/artifact_info file." module=device time="2022-11-10T13:47:46Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:46Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.39s) state_test.go:4523: Resuming from state index 7 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Enter_00 (1.12s) state_test.go:4388: Error in ArtifactRollbackReboot_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:46Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:46Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:46Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:46Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:46Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:46Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:46Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:46Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules484584776/artifact_info file." module=device time="2022-11-10T13:47:46Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:46Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:46Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:46Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:46Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:46Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:46Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:46Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:46Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:46Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:46Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=error msg="statescript: ignoring error executing 'ArtifactRollbackReboot_Enter_00': 1: exit status 1" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:46Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:46Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:46Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:46Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:46Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules484584776/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules484584776/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:47Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:47Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules484584776/artifact_info file." module=device time="2022-11-10T13:47:47Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:47Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (1.08s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Enter_00 (0.99s) state_test.go:4388: Killed in ArtifactRollbackReboot_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:47Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:47Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:47Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:47Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:47Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:47Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:47Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:47Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules186285009/artifact_info file." module=device time="2022-11-10T13:47:47Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:47Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:47Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:47Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:47Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:47Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:47Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:47Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:47Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:47Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:47Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:47Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:47Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:47Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:47Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:47Z" level=info msg="handling loaded state: rollback-reboot" module=state time="2022-11-10T13:47:47Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:47Z" level=info msg="Update was interrupted in state: rollback-reboot" module=state time="2022-11-10T13:47:47Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:47Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:47Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:47Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:47Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:47Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:47Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules186285009/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules186285009/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:48Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:48Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules186285009/artifact_info file." module=device time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:48Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.18s) state_test.go:4523: Resuming from state index 8 (*main.UpdateVerifyRollbackRebootState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Enter_00 (0.72s) state_test.go:4388: Error in ArtifactFailure_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:48Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:48Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:48Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:48Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules584148366/artifact_info file." module=device time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:48Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:48Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:48Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584148366/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules584148366/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584148366/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules584148366/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:48Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:48Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584148366/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules584148366/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:48Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:48Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584148366/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules584148366/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="statescript: ignoring error executing 'ArtifactFailure_Enter_00': 1: exit status 1" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584148366/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules584148366/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:48Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:48Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584148366/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules584148366/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:48Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:48Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:48Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:48Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules584148366/artifact_info file." module=device time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:48Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.66s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Enter_00 (0.54s) state_test.go:4388: Killed in ArtifactFailure_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:48Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:48Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:48Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:48Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:48Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:48Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:48Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:48Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:48Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:48Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:48Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:48Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules343575183/artifact_info file." module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:49Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:49Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules343575183/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules343575183/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules343575183/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules343575183/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules343575183/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules343575183/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:49Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules343575183/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules343575183/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:49Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:49Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:47:49Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:49Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules343575183/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules343575183/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules343575183/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules343575183/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:49Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:49Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules343575183/artifact_info file." module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.10s) state_test.go:4523: Resuming from state index 6 (*main.UpdateErrorState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00 (0.68s) state_test.go:4388: Error in ArtifactCommit_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:49Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:49Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:49Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:49Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:49Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules558613540/artifact_info file." module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:49Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:49Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:49Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:49Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:49Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" 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" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:49Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:49Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:49Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:49Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:49Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules558613540/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules558613540/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:50Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:50Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules558613540/artifact_info file." module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.64s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00 (0.69s) state_test.go:4388: Killed in ArtifactCommit_Enter_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:50Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:50Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:50Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules000207325/artifact_info file." module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:50Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:50Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:50Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:50Z" level=info msg="handling loaded state: update-commit" module=state time="2022-11-10T13:47:50Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:50Z" level=error msg="Update was interrupted in state: update-commit" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules000207325/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules000207325/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:50Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:50Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules000207325/artifact_info file." module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.28s) state_test.go:4523: Resuming from state index 8 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Enter_00,_no_reboot (0.40s) state_test.go:4388: Error in ArtifactCommit_Enter_00, no reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:50Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:50Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:50Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:50Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:50Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules215188618/artifact_info file." module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:50Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:50Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:50Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:50Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:50Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:47:50Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:50Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:50Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47:50Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="transient error: error calling enter script for (error) update-commit state: error running enter state script(s) for ArtifactCommit_Enter state: statescript: error executing 'ArtifactCommit_Enter_00': 1 : exit status 1" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules215188618/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules215188618/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:51Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:51Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules215188618/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.34s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Enter_00,_no_reboot (0.37s) state_test.go:4388: Killed in ArtifactCommit_Enter_00, no reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:51Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:51Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules157206331/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:51Z" level=info msg="handling loaded state: update-commit" module=state time="2022-11-10T13:47:51Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:51Z" level=error msg="Update was interrupted in state: update-commit" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules157206331/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules157206331/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:51Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:51Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules157206331/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.10s) state_test.go:4523: Resuming from state index 5 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_Download_Leave_00_state,_no_rollback (0.17s) state_test.go:4388: Error in Download_Leave_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:51Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:51Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules512899648/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules512899648/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules512899648/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules512899648/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules512899648/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="transient error: error executing leave script for update-after-store state: error running leave state script(s) for Download_Leave state: statescript: error executing 'Download_Leave_00': 1 : exit status 1" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> cleanup [Error]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Error_00" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules512899648/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules512899648/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:51Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:51Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules512899648/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.14s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_Download_Leave_00_state,_no_rollback (0.20s) state_test.go:4388: Killed in Download_Leave_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:51Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:51Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules943311401/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules943311401/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules943311401/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules943311401/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules943311401/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:51Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:51Z" level=info msg="handling loaded state: update-after-store" module=state time="2022-11-10T13:47:51Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:51Z" level=error msg="Update was interrupted in state: update-after-store" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> cleanup [Error]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:51Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules943311401/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules943311401/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:51Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:51Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:51Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:51Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules943311401/artifact_info file." module=device time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.02s) state_test.go:4523: Resuming from state index 4 (*main.UpdateCleanupState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00_state,_no_rollback (0.36s) state_test.go:4388: Error in ArtifactInstall_Leave_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:51Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:51Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:51Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:51Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:51Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:51Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:51Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:51Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:51Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:51Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:51Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules670916294/artifact_info file." module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules670916294/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules670916294/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules670916294/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules670916294/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules670916294/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules670916294/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules670916294/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules670916294/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" 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" module=state time="2022-11-10T13:47:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules670916294/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules670916294/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules670916294/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules670916294/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:52Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:52Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.32s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00_state,_no_rollback (0.32s) state_test.go:4388: Killed in ArtifactInstall_Leave_00 state, no rollback state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:52Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:52Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:52Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules584323623/artifact_info file." module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584323623/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules584323623/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584323623/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules584323623/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Module does not support rollback" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584323623/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules584323623/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584323623/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules584323623/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:52Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:52Z" level=info msg="handling loaded state: update-install" module=state time="2022-11-10T13:47:52Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:52Z" level=error msg="Update was interrupted in state: update-install" module=state time="2022-11-10T13:47:52Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584323623/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules584323623/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules584323623/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules584323623/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:52Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:52Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:52Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.06s) state_test.go:4523: Resuming from state index 5 (*main.UpdateErrorState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactInstall_Leave_00 (0.56s) state_test.go:4388: Error in ArtifactInstall_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:52Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:52Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:52Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:52Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules366349212/artifact_info file." module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:52Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:52Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:52Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" 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" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:52Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:52Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:52Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:52Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:52Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:52Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:52Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules366349212/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules366349212/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:53Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:53Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules366349212/artifact_info file." module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.51s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactInstall_Leave_00 (0.53s) state_test.go:4388: Killed in ArtifactInstall_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:53Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:53Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:53Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236150965/artifact_info file." module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:53Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:53Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:53Z" level=info msg="handling loaded state: update-install" module=state time="2022-11-10T13:47:53Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:53Z" level=error msg="Update was interrupted in state: update-install" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules236150965/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules236150965/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:53Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:53Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules236150965/artifact_info file." module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.26s) state_test.go:4523: Resuming from state index 5 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactReboot_Leave_00 (0.70s) state_test.go:4388: Error in ArtifactReboot_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:53Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:53Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:53Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:53Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:53Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules245307458/artifact_info file." module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:53Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:53Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:53Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:53Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:53Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:53Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:53Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:53Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:54Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" 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" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245307458/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules245307458/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:54Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:54Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules245307458/artifact_info file." module=device time="2022-11-10T13:47:54Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:54Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.67s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactReboot_Leave_00 (0.74s) state_test.go:4388: Killed in ArtifactReboot_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:54Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:54Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:54Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:54Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:54Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:54Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules568838995/artifact_info file." module=device time="2022-11-10T13:47:54Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:54Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:54Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:54Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:54Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:54Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:54Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:54Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:54Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:54Z" level=info msg="handling loaded state: after-reboot" module=state time="2022-11-10T13:47:54Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:54Z" level=error msg="Update was interrupted in state: after-reboot" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:54Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:54Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:54Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:54Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:54Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:54Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules568838995/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules568838995/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:55Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:55Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules568838995/artifact_info file." module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.29s) state_test.go:4523: Resuming from state index 8 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollback_Leave_00 (0.62s) state_test.go:4388: Error in ArtifactRollback_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:55Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:55Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:55Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules021606456/artifact_info file." module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:55Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:55Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:55Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=error msg="statescript: ignoring error executing 'ArtifactRollback_Leave_00': 1: exit status 1" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules021606456/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules021606456/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:55Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:55Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules021606456/artifact_info file." module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.58s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollback_Leave_00 (0.63s) state_test.go:4388: Killed in ArtifactRollback_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:55Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:55Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:55Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:55Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:55Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules203394945/artifact_info file." module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:55Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:55Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:55Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:55Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:55Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:55Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:55Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:55Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:56Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:56Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:56Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:56Z" level=info msg="handling loaded state: rollback" module=state time="2022-11-10T13:47:56Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:56Z" level=error msg="Update was interrupted in state: rollback" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: init [none] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules203394945/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules203394945/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:56Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:56Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules203394945/artifact_info file." module=device time="2022-11-10T13:47:56Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:56Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.24s) state_test.go:4523: Resuming from state index 8 (*main.UpdateRollbackState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactRollbackReboot_Leave_00 (0.69s) state_test.go:4388: Error in ArtifactRollbackReboot_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:56Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:56Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:56Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:56Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:56Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:56Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules457718526/artifact_info file." module=device time="2022-11-10T13:47:56Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:56Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:56Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:56Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:56Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:56Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:56Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:56Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:56Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:56Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:56Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:56Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:56Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:56Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:56Z" level=error msg="statescript: ignoring error executing 'ArtifactRollbackReboot_Leave_00': 1: exit status 1" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules457718526/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules457718526/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:57Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:57Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules457718526/artifact_info file." module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.65s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactRollbackReboot_Leave_00 (0.68s) state_test.go:4388: Killed in ArtifactRollbackReboot_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:57Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:57Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:57Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules810862783/artifact_info file." module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:57Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:57Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:57Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:57Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:57Z" level=info msg="handling loaded state: after-rollback-reboot" module=state time="2022-11-10T13:47:57Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:57Z" level=error msg="Update was interrupted in state: after-rollback-reboot" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: init [none] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules810862783/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules810862783/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:57Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:57Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules810862783/artifact_info file." module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.14s) state_test.go:4523: Resuming from state index 11 (*main.UpdateVerifyRollbackRebootState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactFailure_Leave_00 (0.47s) state_test.go:4388: Error in ArtifactFailure_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:57Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:57Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:57Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:57Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:57Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules228264468/artifact_info file." module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:57Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:57Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:57Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228264468/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules228264468/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228264468/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules228264468/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:57Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:57Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:57Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:57Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:57Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228264468/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules228264468/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228264468/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules228264468/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228264468/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules228264468/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:58Z" level=error msg="statescript: ignoring error executing 'ArtifactFailure_Leave_00': 1: exit status 1" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules228264468/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules228264468/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:58Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:58Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules228264468/artifact_info file." module=device time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:58Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.44s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactFailure_Leave_00 (0.61s) state_test.go:4388: Killed in ArtifactFailure_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:58Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:58Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:58Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:58Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules544901261/artifact_info file." module=device time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:58Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:58Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:58Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:58Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:47:58Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=info msg="performing rollback" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:58Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:47:58Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:47:58Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:58Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:58Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules544901261/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules544901261/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:58Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:58Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:58Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:58Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules544901261/artifact_info file." module=device time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:58Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (0.07s) state_test.go:4523: Resuming from state index 7 (*main.UpdateErrorState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00 (0.59s) state_test.go:4388: Error in ArtifactCommit_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:58Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:58Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:58Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:58Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:58Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:58Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:58Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:58Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:58Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:58Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:58Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules748979450/artifact_info file." module=device time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:59Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:59Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:59Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:59Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:47:59Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:47:59Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:47:59Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:47:59Z" 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" module=state time="2022-11-10T13:47:59Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:47:59Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules748979450/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules748979450/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:47:59Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:47:59Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:47:59Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.54s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00 (0.69s) state_test.go:4388: Killed in ArtifactCommit_Leave_00 state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:47:59Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:47:59Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:47:59Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:47:59Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:59Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:47:59Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules201990251/artifact_info file." module=device time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:59Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:47:59Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:47:59Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:47:59Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:47:59Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:47:59Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:47:59Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:47:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:47:59Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:47: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:47:59Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:47:59Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:00Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:00Z" level=info msg="handling loaded state: update-after-commit" module=state time="2022-11-10T13:48:00Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:00Z" level=error msg="Update was interrupted in state: update-after-commit" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:48:00Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules201990251/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules201990251/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:00Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:00Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.03s) state_test.go:4523: Resuming from state index 11 (*main.UpdateAfterCommitState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Error_in_ArtifactCommit_Leave_00,_no_reboot (0.51s) state_test.go:4388: Error in ArtifactCommit_Leave_00, no reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:00Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:00Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:00Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:00Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:00Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules625176368/artifact_info file." module=device time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:00Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:00Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:00Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules625176368/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules625176368/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules625176368/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules625176368/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules625176368/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules625176368/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules625176368/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules625176368/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:48:00Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules625176368/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules625176368/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:48:00Z" 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" module=state time="2022-11-10T13:48:00Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [Error]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules625176368/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules625176368/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:00Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:48:00Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:00Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.46s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Killed_in_ArtifactCommit_Leave_00,_no_reboot (0.72s) state_test.go:4388: Killed in ArtifactCommit_Leave_00, no reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:00Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:00Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:00Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:00Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:00Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:00Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules460384217/artifact_info file." module=device time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:00Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:00Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:00Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:00Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules460384217/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules460384217/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules460384217/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules460384217/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:00Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:00Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:00Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:00Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:00Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules460384217/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules460384217/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules460384217/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules460384217/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Update module output: No" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Module does not need reboot" module=modules time="2022-11-10T13:48:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules460384217/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules460384217/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:48:01Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:48:01Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:48:01Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:01Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:01Z" level=info msg="handling loaded state: update-after-commit" module=state time="2022-11-10T13:48:01Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:01Z" level=error msg="Update was interrupted in state: update-after-commit" module=state time="2022-11-10T13:48:01Z" level=info msg="State transition: init [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:48:01Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:48:01Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules460384217/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules460384217/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:01Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:01Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.02s) state_test.go:4523: Resuming from state index 8 (*main.UpdateAfterCommitState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_error_loop (2.01s) state_test.go:4388: Break out of error loop state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:01Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:01Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:01Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:01Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:01Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:01Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:01Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:01Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules268684342/artifact_info file." module=device time="2022-11-10T13:48:01Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:01Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:01Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:01Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:01Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:01Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:01Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:01Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:48:01Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:48:01Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:48:01Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:01Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:01Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:01Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:48:01Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:01Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:01Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="performing rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:02Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:02Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:02Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:02Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:02Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:02Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:03Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:03Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules268684342/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules268684342/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:03Z" level=error msg="Rollback reboot failed, will retry. Cause: transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=error msg="Could not write state data to persistent storage: State data stored and retrieved maximum number of times" module=mender time="2022-11-10T13:48:03Z" 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." module=state time="2022-11-10T13:48:03Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> update-status-report [none]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:03Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:48:03Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:03Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (1.95s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Break_out_of_spontaneous_reboot_loop (1.59s) state_test.go:4388: Break out of spontaneous reboot loop state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:03Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:03Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:03Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:03Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:03Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:03Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules411097175/artifact_info file." module=device time="2022-11-10T13:48:03Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:03Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:03Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:03Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:03Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:03Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:03Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:03Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:48:03Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:48:03Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=error msg="Update module terminated abnormally: exit status 1" module=modules time="2022-11-10T13:48:03Z" level=error msg="transient error: Update module terminated abnormally: exit status 1" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactReboot_Error_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=info msg="performing rollback" module=state time="2022-11-10T13:48:03Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:48:03Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:03Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:48:03Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:03Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:03Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:04Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:04Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" level=error msg="Update was interrupted in state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:04Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:04Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules411097175/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules411097175/work/payloads/0000/tree" module=modules state_test.go:4416: Killed as expected state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> init [none]" module=mender time="2022-11-10T13:48:04Z" level=info msg="handling loaded state: update-error" module=state time="2022-11-10T13:48:04Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:04Z" 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." module=state time="2022-11-10T13:48:04Z" level=debug msg="Setting artifact name to artifact-name_INCONSISTENT" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-status-report [none]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:04Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:48:04Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:04Z" level=debug msg="Returning artifact name artifact-name_INCONSISTENT from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (0.00s) state_test.go:4523: Resuming from state index 19 (*main.UpdateStatusReportState) PASS --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_Download_state (5.18s) state_test.go:4388: Hang in Download state state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:04Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:04Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:04Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:05Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:05Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:05Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:05Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:05Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:05Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:05Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:05Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:05Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:05Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules275067788/artifact_info file." module=device time="2022-11-10T13:48:05Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:05Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:05Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:05Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:05Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:05Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:05Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:05Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules275067788/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules275067788/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:05Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:10Z" level=error msg="Process 14851 timed out. Sending SIGTERM" module=modules time="2022-11-10T13:48:10Z" level=error msg="Artifact install failed: Update module terminated abnormally: signal: terminated" module=state time="2022-11-10T13:48:10Z" level=info msg="State transition: update-store [Download_Enter] -> cleanup [Error]" module=mender time="2022-11-10T13:48:10Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="start executing script: Download_Error_00" module=executor time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:10Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules275067788/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules275067788/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:10Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:10Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:48:10Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules275067788/artifact_info file." module=device time="2022-11-10T13:48:10Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:10Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (5.14s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Hang_in_ArtifactInstall (5.29s) state_test.go:4388: Hang in ArtifactInstall state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:10Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:10Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:10Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:10Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:10Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:10Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:10Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:10Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:10Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:10Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:10Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules245301605/artifact_info file." module=device time="2022-11-10T13:48:10Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:10Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:10Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:10Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:10Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:10Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:10Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245301605/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules245301605/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245301605/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules245301605/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:10Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:10Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:10Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:10Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:10Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:10Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245301605/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules245301605/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=error msg="Process 14870 timed out. Sending SIGTERM" module=modules time="2022-11-10T13:48:15Z" level=error msg="Update module terminated abnormally: signal: terminated" module=modules time="2022-11-10T13:48:15Z" level=error msg="transient error: Update module terminated abnormally: signal: terminated" module=state time="2022-11-10T13:48:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactInstall_Error_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=info msg="performing rollback" module=state time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245301605/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules245301605/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: rollback [ArtifactRollback] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245301605/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules245301605/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules245301605/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules245301605/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:15Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:48:15Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules245301605/artifact_info file." module=device time="2022-11-10T13:48:15Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:15Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (5.26s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Temporary_failure_in_report_sending_after_reboot (5.29s) state_test.go:4388: Temporary failure in report sending after reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:15Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:15Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:15Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:15Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:15Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:15Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:15Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:15Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules214470834/artifact_info file." module=device time="2022-11-10T13:48:15Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:15Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:15Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:15Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:15Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:15Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:15Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:48:15Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:48:15Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:48:15Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:15Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48: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: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:15Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:15Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" module=state time="2022-11-10T13:48:15Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="wait complete" module=state time="2022-11-10T13:48:20Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.CommitUpdate" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type ArtifactCommit /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Committing new artifact name: artifact-name" module=state time="2022-11-10T13:48:20Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-after-first-commit [none]" module=mender time="2022-11-10T13:48:20Z" level=info msg="State transition: update-after-first-commit [none] -> update-after-commit [ArtifactCommit_Leave]" module=mender time="2022-11-10T13:48:20Z" level=info msg="State transition: update-after-commit [ArtifactCommit_Leave] -> cleanup [none]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="start executing script: ArtifactCommit_Leave_00" module=executor time="2022-11-10T13:48:20Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules214470834/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules214470834/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:20Z" level=info msg="State transition: cleanup [none] -> update-status-report [none]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:20Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:20Z" level=debug msg="Returning artifact name artifact-name from database." module=device --- PASS: TestStateTransitionsWithUpdateModules (5.26s) PASS --- PASS: TestStateTransitionsWithUpdateModules/Permanent_failure_in_report_sending_after_reboot (15.54s) state_test.go:4388: Permanent failure in report sending after reboot state_test.go:4407: === RUN TestStateTransitionsWithUpdateModules time="2022-11-10T13:48:20Z" level=info msg="State transition: init [none] -> update-check [Sync]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="handle update check state" module=state time="2022-11-10T13:48:20Z" level=info msg="State transition: update-check [Sync] -> update-fetch [Download_Enter]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="start executing script: Download_Enter_00" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:20Z" level=debug msg="handle update fetch state" module=state time="2022-11-10T13:48:20Z" level=info msg="State transition: update-fetch [Download_Enter] -> update-store [Download_Enter]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="handle update install state" module=state time="2022-11-10T13:48:20Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:20Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:20Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:48:20Z" level=debug msg="checking if device [test-device] is on compatible device list: [test-device]\n" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactReboot_Leave_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactReboot_Error_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactCommit_Leave_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactCommit_Error_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactFailure_Error_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactRollback_Enter_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactFailure_Enter_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactFailure_Leave_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactInstall_Enter_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactInstall_Leave_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactRollback_Error_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Leave_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Error_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactInstall_Error_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactReboot_Enter_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactCommit_Enter_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactRollback_Leave_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="installer: processing script: ArtifactRollbackReboot_Enter_00" module=installer time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.Initialize" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules692428931/artifact_info file." module=device time="2022-11-10T13:48:20Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:20Z" level=debug msg="Current manifest data: old_name" module=device time="2022-11-10T13:48:20Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:20Z" level=debug msg="Read data from device manifest file: device_type=test-device" module=device time="2022-11-10T13:48:20Z" level=debug msg="Current manifest data: test-device" module=device time="2022-11-10T13:48:20Z" level=debug msg="installer: successfully read artifact [name: artifact-name; version: 3; compatible devices: [test-device]]" module=installer time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.PrepareStoreUpdate" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type Download /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.FinishStoreUpdate" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.SupportsRollback" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type SupportsRollback /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Module supports rollback" module=modules time="2022-11-10T13:48:20Z" level=info msg="State transition: update-store [Download_Enter] -> update-after-store [Download_Leave]" module=mender time="2022-11-10T13:48:20Z" level=info msg="State transition: update-after-store [Download_Leave] -> update-install [ArtifactInstall]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="start executing script: Download_Leave_00" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="start executing script: ArtifactInstall_Enter_00" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.InstallUpdate" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactInstall /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Executing ModuleInstaller.NeedsReboot" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type NeedsArtifactReboot /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Update module output: Yes" module=modules time="2022-11-10T13:48:20Z" level=debug msg="Module needs custom reboot" module=modules time="2022-11-10T13:48:20Z" level=info msg="State transition: update-install [ArtifactInstall] -> reboot [ArtifactReboot_Enter]" module=mender time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="start executing script: ArtifactInstall_Leave_00" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:20Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:20Z" level=debug msg="start executing script: ArtifactReboot_Enter_00" module=executor time="2022-11-10T13:48:20Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:21Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:21Z" level=debug msg="handling reboot state" module=state time="2022-11-10T13:48:21Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:48:21Z" level=debug msg="Executing ModuleInstaller.Reboot" module=modules time="2022-11-10T13:48:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactReboot /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:21Z" level=info msg="State transition: reboot [ArtifactReboot_Enter] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:48:21Z" level=debug msg="Executing ModuleInstaller.VerifyReboot" module=modules time="2022-11-10T13:48:21Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactVerifyReboot /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> after-reboot [ArtifactReboot_Leave]" module=mender time="2022-11-10T13:48:21Z" level=debug msg="handling state after reboot" module=state time="2022-11-10T13:48:21Z" level=info msg="State transition: after-reboot [ArtifactReboot_Leave] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:21Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:21Z" level=debug msg="start executing script: ArtifactReboot_Leave_00" module=executor time="2022-11-10T13:48:21Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:21Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:21Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:21Z" level=debug msg="start executing script: ArtifactCommit_Enter_00" module=executor time="2022-11-10T13:48:21Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:21Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48: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: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:21Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:21Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" module=state time="2022-11-10T13:48:21Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:26Z" level=debug msg="wait complete" module=state time="2022-11-10T13:48:26Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:26Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:26Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" module=state time="2022-11-10T13:48:26Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:31Z" level=debug msg="wait complete" module=state time="2022-11-10T13:48:31Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:31Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:31Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" module=state time="2022-11-10T13:48:31Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="wait complete" module=state time="2022-11-10T13:48:36Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="handle update commit state" module=state time="2022-11-10T13:48:36Z" level=error msg="Failed to send status report to server: transient error: Failing status report as instructed by test" module=state time="2022-11-10T13:48:36Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" module=mender time="2022-11-10T13:48:36Z" level=error msg="transient error: Tried sending status report maximum number of times." module=state time="2022-11-10T13:48:36Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> rollback [ArtifactRollback]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="transitioning to error state" module=mender time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactCommit_Error_00" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactRollback_Enter_00" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=info msg="performing rollback" module=state time="2022-11-10T13:48:36Z" level=debug msg="Executing ModuleInstaller.Rollback" module=modules time="2022-11-10T13:48:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactRollback /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:36Z" level=debug msg="will try to rollback reboot the device" module=state time="2022-11-10T13:48:36Z" level=info msg="State transition: rollback [ArtifactRollback] -> rollback-reboot [ArtifactRollbackReboot_Enter]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactRollback_Leave_00" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactRollbackReboot_Enter_00" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=info msg="rebooting device(s) after rollback" module=state time="2022-11-10T13:48:36Z" level=debug msg="Executing ModuleInstaller.RollbackReboot" module=modules time="2022-11-10T13:48:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactRollbackReboot /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:36Z" level=info msg="State transition: rollback-reboot [ArtifactRollbackReboot_Enter] -> verify-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="Executing ModuleInstaller.VerifyRollbackReboot" module=modules time="2022-11-10T13:48:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactVerifyRollbackReboot /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:36Z" level=info msg="State transition: verify-rollback-reboot [ArtifactRollbackReboot_Leave] -> after-rollback-reboot [ArtifactRollbackReboot_Leave]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="handling state after rollback reboot" module=state time="2022-11-10T13:48:36Z" level=info msg="State transition: after-rollback-reboot [ArtifactRollbackReboot_Leave] -> update-error [ArtifactFailure]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactRollbackReboot_Leave_00" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactFailure_Enter_00" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send start status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=error msg="failed to report status: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=client_status time="2022-11-10T13:48:36Z" level=error msg="statescript: can not send finished status to server: reporting status failed: Put https://not-used/api/devices/v1/deployments/device/deployments/abcdefg/status: dial tcp: lookup not-used: Temporary failure in name resolution" module=executor time="2022-11-10T13:48:36Z" level=debug msg="handle update error state" module=state time="2022-11-10T13:48:36Z" level=debug msg="Executing ModuleInstaller.Failure" module=modules time="2022-11-10T13:48:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type ArtifactFailure /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:36Z" level=info msg="State transition: update-error [ArtifactFailure] -> cleanup [Error]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="start executing script: ArtifactFailure_Leave_00" module=executor time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="Handling Cleanup state" module=state time="2022-11-10T13:48:36Z" level=debug msg="Executing ModuleInstaller.Cleanup" module=modules time="2022-11-10T13:48:36Z" level=debug msg="Calling module: /tmp/TestStateTransitionsWithUpdateModules692428931/modules/test-type Cleanup /tmp/TestStateTransitionsWithUpdateModules692428931/work/payloads/0000/tree" module=modules time="2022-11-10T13:48:36Z" level=info msg="State transition: cleanup [Error] -> update-status-report [none]" module=mender time="2022-11-10T13:48:36Z" level=debug msg="statescript: timeout for executing scripts is not defined; using default of 1h0m0s seconds" module=executor time="2022-11-10T13:48:36Z" level=debug msg="handle update status report state" module=state time="2022-11-10T13:48:36Z" level=debug msg="attempting to upload deployment logs for failed update" module=state time="2022-11-10T13:48:36Z" level=debug msg="reporting complete" module=state time="2022-11-10T13:48:36Z" level=debug msg="Returning artifact name from /tmp/TestStateTransitionsWithUpdateModules692428931/artifact_info file." module=device time="2022-11-10T13:48:36Z" level=debug msg="Read data from device manifest file: artifact_name=old_name" module=device time="2022-11-10T13:48:36Z" level=debug msg="Current manifest data: old_name" module=device --- PASS: TestStateTransitionsWithUpdateModules (15.51s) PASS === RUN TestDBSchemaUpdate --- PASS: TestDBSchemaUpdate (0.00s) === RUN TestAutomaticReboot time="2022-11-10T13:48:36Z" level=info msg="Running Mender version unknown" module=deployment_logger time="2022-11-10T13:48:36Z" level=info msg="rebooting device(s)" module=state time="2022-11-10T13:48:36Z" level=error msg="transient error: Could not reboot host: exit status 99" module=state --- PASS: TestAutomaticReboot (0.02s) === RUN TestTransitions === RUN TestTransitions/0 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [Idle] -> init [Sync]" module=mender === RUN TestTransitions/1 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [Idle] -> init [Sync]" module=mender === RUN TestTransitions/2 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [Idle] -> init [Sync]" module=mender === RUN TestTransitions/3 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [Sync] -> init [Download_Enter]" module=mender === RUN TestTransitions/4 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [Error] -> init [Idle]" module=mender === RUN TestTransitions/5 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [ArtifactReboot_Enter] -> init [Error]" module=mender === RUN TestTransitions/6 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [none] -> init [Idle]" module=mender === RUN TestTransitions/7 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [none] -> init [Error]" module=mender === RUN TestTransitions/8 time="2022-11-10T13:48:36Z" level=info msg="State transition: init [Idle] -> init [Error]" module=mender --- PASS: TestTransitions (0.01s) --- PASS: TestTransitions/0 (0.00s) transition_test.go:193: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] --- PASS: TestTransitions/1 (0.00s) transition_test.go:193: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] --- PASS: TestTransitions/2 (0.00s) transition_test.go:193: has: [{Idle Leave} {Sync Enter}] expect: [{Idle Leave} {Sync Enter}] --- PASS: TestTransitions/3 (0.00s) transition_test.go:193: has: [{Sync Leave}] expect: [{Sync Leave}] --- PASS: TestTransitions/4 (0.00s) transition_test.go:193: has: [{Error Leave} {Idle Enter}] expect: [{Error Leave} {Idle Enter}] --- PASS: TestTransitions/5 (0.00s) transition_test.go:193: has: [{ArtifactReboot Error} {Error Enter}] expect: [{ArtifactReboot Error} {Error Enter}] --- PASS: TestTransitions/6 (0.00s) transition_test.go:193: has: [{Idle Enter}] expect: [{Idle Enter}] --- PASS: TestTransitions/7 (0.00s) transition_test.go:193: has: [{Error Enter}] expect: [{Error Enter}] --- PASS: TestTransitions/8 (0.00s) transition_test.go:193: has: [{Idle Error} {Error Enter}] expect: [{Idle Error} {Error Enter}] === RUN TestGetName --- PASS: TestGetName (0.00s) === RUN TestIgnoreErrors --- PASS: TestIgnoreErrors (0.00s) === RUN TestTransitionReporting --- PASS: TestTransitionReporting (0.00s) transition_test.go:349: Running state: init transition_test.go:349: Running state: idle transition_test.go:349: Running state: authorize transition_test.go:349: Running state: authorize-wait transition_test.go:349: Running state: check-wait transition_test.go:349: Running state: init transition_test.go:349: Running state: update-fetch transition_test.go:349: Running state: update-store transition_test.go:349: Running state: update-install transition_test.go:349: Running state: reboot transition_test.go:349: Running state: after-reboot transition_test.go:349: Running state: update-commit transition_test.go:349: Running state: rollback transition_test.go:349: Running state: after-rollback-reboot transition_test.go:349: Running state: update-error === RUN TestVersionUnknown --- PASS: TestVersionUnknown (0.00s) === RUN TestVersionVersion --- PASS: TestVersionVersion (0.00s) PASS ok github.com/mendersoftware/mender 272.232s === RUN TestClientAuthMakeReq --- PASS: TestClientAuthMakeReq (0.00s) client_auth_test.go:75: data: foobar data === RUN TestClientAuth time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestClientAuth (0.12s) === RUN TestClientAuthExpiredCert time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIIBmzCCAQQCCQDMKfSEuawBWTANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQKEwdB\nY21lIENvMB4XDTcxMDEwMTEzMDMxNloXDTcyMDEwMTEzMDMxNlowEjEQMA4GA1UE\nChMHQWNtZSBDbzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA7i50ACN5g4Hs\nt1Qc1pwdi9/SVFOLcY3lROpsrg6pDP7hpX42/Uo2NWyMOIgObAQWcx4t89IdWFfE\nD7sRG4uJ1vdSCZtoLL72YSKwh0t5emn2m+KWQZdvl7A7paygcSirQ9axsZRuC453\nHWmxZ/YLy2Wndm0srKs/6kwFErU76iUCAwEAATANBgkqhkiG9w0BAQsFAAOBgQAi\nK3rBgk+rMIfXtfWO7naaob/b4ASfUbMAwc1J+wOqXOj9O9wf/5xD5O8/pEenmp5k\nM3nPb2xzRhRbusFFG0fZebk2U7DUf+JjN8pdiqfW3gDfOQHh3IdeGrLRsZ3A/K7z\nj6GZ2oBCoVjobmbA713gcMJggzzBJbCPmGpFjKYHOQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1971-01-01 13:03:16 +0000 UTC, Valid to: 1972-01-01 13:03:16 +0000 UTC" module=client 2022/11/10 13:43:58 http: TLS handshake error from 127.0.0.1:45790: remote error: tls: bad certificate time="2022-11-10T13:43:58Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:36173/api/devices/v1/authentication/auth_requests\", Err:x509.CertificateInvalidError{Cert:(*x509.Certificate)(0x400032fb80), Reason:1, Detail:\"\"}}" module=client_auth time="2022-11-10T13:43:58Z" level=error msg="Certificate has expired or is not yet valid." module=client_auth time="2022-11-10T13:43:58Z" level=error msg="Current clock is 2022-11-10 13:43:58.474871465 +0000 UTC m=+0.132971983" module=client_auth time="2022-11-10T13:43:58Z" level=error msg="Verify that the clock on the device is correct and/or certificate expiration date is valid." module=client_auth time="2022-11-10T13:43:58Z" level=error msg="See https://docs.mender.io/troubleshooting/mender-client#certificate-expired-or-not-yet-valid for more information." module=client_auth --- PASS: TestClientAuthExpiredCert (0.01s) === RUN TestClientAuthUnknownAuthorityCert time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEjCCAXugAwIBAgIRAMQ8I/xATeFlYDeiX3H1XBkwDQYJKoZIhvcNAQELBQAw\nEjEQMA4GA1UEChMHQWNtZSBDbzAeFw03MDAxMDEwMDAwMDBaFw03MDAxMDMwMDAw\nMDBaMBIxEDAOBgNVBAoTB0FjbWUgQ28wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJ\nAoGBAJiCLkrvs3bels/qVWe5SojBygTrU7D1Qn/dZ7ZSJF1svUuvwDq8p6wHC1y5\ntX+KBjOjxtUjUdIQgfuCjAbw2j7hgrpEenieQpVTccb44aRa1ufobjKYhWiIZ+K6\n96udAaoSd1tt+TJpU2Ym2gWzWBMSpGAqKdgrmFfFMl/9mHKlAgMBAAGjaDBmMA4G\nA1UdDwEB/wQEAwICpDATBgNVHSUEDDAKBggrBgEFBQcDATAPBgNVHRMBAf8EBTAD\nAQH/MC4GA1UdEQQnMCWCC2V4YW1wbGUuY29thwR/AAABhxAAAAAAAAAAAAAAAAAA\nAAABMA0GCSqGSIb3DQEBCwUAA4GBAH0gC0D1t1fZ+Nv5OWfve1n435EQ/eLOu0NA\nAZ3LjRZjByytlBEvdO8F+xVeLhm/924B2G0VItotsg4888R7AZ43TceBFN4LvPDt\niRMfWmk3Z87fOiMADOFlxdCvA5ceA2o1VDnOblcIf8czSaVTXq9vrmCNhE8P0WU0\nL/r4D5nk\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 1970-01-03 00:00:00 +0000 UTC" module=client 2022/11/10 13:43:58 http: TLS handshake error from 127.0.0.1:56580: remote error: tls: bad certificate time="2022-11-10T13:43:58Z" level=error msg="Failure occurred while executing authorization request: &url.Error{Op:\"Post\", URL:\"https://127.0.0.1:37511/api/devices/v1/authentication/auth_requests\", Err:x509.UnknownAuthorityError{Cert:(*x509.Certificate)(0x40000a2580), hintErr:(*errors.errorString)(0x40000a0430), hintCert:(*x509.Certificate)(0x4000489600)}}" module=client_auth time="2022-11-10T13:43:58Z" level=error msg="Certificate is signed by unknown authority." module=client_auth time="2022-11-10T13:43:58Z" level=error msg="If you are using a self-signed certificate, make sure it is available locally to the Mender client in /etc/mender/server.crt and is configured properly in /etc/mender/mender.conf." module=client_auth time="2022-11-10T13:43:58Z" level=error msg="See https://docs.mender.io/troubleshooting/mender-client#certificate-signed-by-unknown-authority for more information." module=client_auth --- PASS: TestClientAuthUnknownAuthorityCert (0.01s) === RUN TestClientAuthNoCert time="2022-11-10T13:43:58Z" level=error msg="server.non-existing.crt is inaccessible: open server.non-existing.crt: no such file or directory" module=client --- PASS: TestClientAuthNoCert (0.00s) === RUN TestInventoryClient time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=error msg="failed to submit inventory data: foo" module=client_inventory time="2022-11-10T13:43:58Z" level=error msg="got unexpected HTTP status when submitting to inventory: 401" module=client_inventory --- PASS: TestInventoryClient (0.01s) === RUN TestLogUploadClient time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=error msg="failed to upload logs: foo" module=client_log time="2022-11-10T13:43:58Z" level=error msg="got unexpected HTTP status when uploading log: 401" module=client_log --- PASS: TestLogUploadClient (0.01s) === RUN TestStatusClient time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=error msg="failed to report status: foo" module=client_status time="2022-11-10T13:43:58Z" level=error msg="got unexpected HTTP status when reporting status: 401" module=client_status time="2022-11-10T13:43:58Z" level=warning msg="status report rejected, deployment aborted at the backend" module=client_status --- PASS: TestStatusClient (0.01s) === RUN TestHttpClient time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=error msg="missing.crt is inaccessible: open missing.crt: no such file or directory" module=client --- PASS: TestHttpClient (0.00s) === RUN TestApiClientRequest time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=info msg="Device unauthorized; attempting reauthorization" module=client time="2022-11-10T13:43:58Z" level=warning msg="Reauthorization failed with error: " module=client time="2022-11-10T13:43:58Z" level=info msg="Device unauthorized; attempting reauthorization" module=client --- PASS: TestApiClientRequest (0.01s) === RUN TestClientConnectionTimeout time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestClientConnectionTimeout (0.03s) === RUN TestHttpClientUrl --- PASS: TestHttpClientUrl (0.00s) === RUN TestCaLoading time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- FAIL: TestCaLoading (0.00s) client_test.go:214: Error Trace: client_test.go:214 Error: Should be true Test: TestCaLoading === RUN TestEmptySystemCertPool time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: TestEmptySystemCertPool (0.00s) === RUN TestExponentialBackoffTimeCalculation --- PASS: TestExponentialBackoffTimeCalculation (0.00s) === RUN TestUnMarshalErrorMessage --- PASS: TestUnMarshalErrorMessage (0.00s) === RUN TestFailoverAPICall time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=warning msg="Server \"fakeURL.404\" failed to serve request \"\". Attempting \"https://127.0.0.1:35721\"" module=client --- PASS: TestFailoverAPICall (0.03s) === RUN TestParseUpdateResponse === RUN TestParseUpdateResponse/0 === PAUSE TestParseUpdateResponse/0 === RUN TestParseUpdateResponse/1 === PAUSE TestParseUpdateResponse/1 === RUN TestParseUpdateResponse/2 === PAUSE TestParseUpdateResponse/2 === RUN TestParseUpdateResponse/3 === PAUSE TestParseUpdateResponse/3 === RUN TestParseUpdateResponse/4 === PAUSE TestParseUpdateResponse/4 === RUN TestParseUpdateResponse/5 === PAUSE TestParseUpdateResponse/5 === RUN TestParseUpdateResponse/6 === PAUSE TestParseUpdateResponse/6 === RUN TestParseUpdateResponse/7 === PAUSE TestParseUpdateResponse/7 === RUN TestParseUpdateResponse/8 === PAUSE TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/0 === CONT TestParseUpdateResponse/5 === CONT TestParseUpdateResponse/8 === CONT TestParseUpdateResponse/7 === CONT TestParseUpdateResponse/6 === CONT TestParseUpdateResponse/3 === CONT TestParseUpdateResponse/4 === CONT TestParseUpdateResponse/2 === CONT TestParseUpdateResponse/1 --- PASS: TestParseUpdateResponse (0.00s) --- PASS: TestParseUpdateResponse/5 (0.00s) --- PASS: TestParseUpdateResponse/8 (0.00s) --- PASS: TestParseUpdateResponse/7 (0.00s) --- PASS: TestParseUpdateResponse/6 (0.00s) --- PASS: TestParseUpdateResponse/3 (0.00s) --- PASS: TestParseUpdateResponse/4 (0.00s) --- PASS: TestParseUpdateResponse/2 (0.00s) --- PASS: TestParseUpdateResponse/1 (0.00s) --- PASS: TestParseUpdateResponse/0 (0.00s) === RUN Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: Test_GetScheduledUpdate_errorParsingResponse_UpdateFailing (0.01s) === RUN Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: Test_GetScheduledUpdate_responseMissingParameters_UpdateFailing (0.01s) === RUN Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=info msg="Correct request for getting image from: https://menderupdate.com [name: myapp-release-z-build-123; devices: [BBB]]" module=client_update --- PASS: Test_GetScheduledUpdate_ParsingResponseOK_updateSuccess (0.01s) === RUN Test_FetchUpdate_noContent_UpdateFailing time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=error msg="Image smaller than expected. Expected: 4096, received: 0" module=client_update --- PASS: Test_FetchUpdate_noContent_UpdateFailing (0.01s) === RUN Test_FetchUpdate_invalidRequest_UpdateFailing time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client time="2022-11-10T13:43:58Z" level=error msg="Can not fetch update image: Get broken-request: unsupported protocol scheme \"\"" module=client_update --- PASS: Test_FetchUpdate_invalidRequest_UpdateFailing (0.00s) === RUN Test_FetchUpdate_correctContent_UpdateFetched time="2022-11-10T13:43:58Z" level=info msg="API Gateway certificate (in PEM format): \n-----BEGIN CERTIFICATE-----\nMIICEzCCAXygAwIBAgIQMIMChMLGrR+QvmQvpwAU6zANBgkqhkiG9w0BAQsFADAS\nMRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw\nMDAwWjASMRAwDgYDVQQKEwdBY21lIENvMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB\niQKBgQDuLnQAI3mDgey3VBzWnB2L39JUU4txjeVE6myuDqkM/uGlfjb9SjY1bIw4\niA5sBBZzHi3z0h1YV8QPuxEbi4nW91IJm2gsvvZhIrCHS3l6afab4pZBl2+XsDul\nrKBxKKtD1rGxlG4LjncdabFn9gvLZad2bSysqz/qTAUStTvqJQIDAQABo2gwZjAO\nBgNVHQ8BAf8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUw\nAwEB/zAuBgNVHREEJzAlggtleGFtcGxlLmNvbYcEfwAAAYcQAAAAAAAAAAAAAAAA\nAAAAATANBgkqhkiG9w0BAQsFAAOBgQCEcetwO59EWk7WiJsG4x8SY+UIAA+flUI9\ntyC4lNhbcF2Idq9greZwbYCqTTTr2XiRNSMLCOjKyI7ukPoPjo16ocHj+P3vZGfs\nh1fIw3cSS2OolhloGw/XM6RWPWtPAlGykKLciQrBru5NAPvCMsb/I1DAceTiotQM\nfblo6RBxUQ==\n-----END CERTIFICATE-----\n" module=client time="2022-11-10T13:43:58Z" level=info msg="Issuer: [Acme Co], Valid from: 1970-01-01 00:00:00 +0000 UTC, Valid to: 2084-01-29 16:00:00 +0000 UTC" module=client --- PASS: Test_FetchUpdate_correctContent_UpdateFetched (0.01s) === RUN Test_UpdateApiClientError time="2022-11-10T13:43:58Z" level=error msg="Can not fetch update image: foo" module=client_update --- PASS: Test_UpdateApiClientError (0.00s) === RUN TestMakeUpdateCheckRequest --- PASS: TestMakeUpdateCheckRequest (0.00s) client_update_test.go:337: http://foo.bar/api/devices/v1/deployments/device/deployments/next client_update_test.go:347: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=foo client_update_test.go:358: http://foo.bar/api/devices/v1/deployments/device/deployments/next?artifact_name=foo&device_type=hammer === RUN TestBrokenReadAndPartialDownload === RUN TestBrokenReadAndPartialDownload/group === RUN TestBrokenReadAndPartialDownload/group/success === PAUSE TestBrokenReadAndPartialDownload/group/success === RUN TestBrokenReadAndPartialDownload/group/earlyRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/earlyRangeStart === RUN TestBrokenReadAndPartialDownload/group/lateRangeStart === PAUSE TestBrokenReadAndPartialDownload/group/lateRangeStart === RUN TestBrokenReadAndPartialDownload/group/brokenContentLength === PAUSE TestBrokenReadAndPartialDownload/group/brokenContentLength === RUN TestBrokenReadAndPartialDownload/group/missingContentLength === PAUSE TestBrokenReadAndPartialDownload/group/missingContentLength === RUN TestBrokenReadAndPartialDownload/group/noPartialContentSupport === PAUSE TestBrokenReadAndPartialDownload/group/noPartialContentSupport === RUN TestBrokenReadAndPartialDownload/group/emptyContentRange === PAUSE TestBrokenReadAndPartialDownload/group/emptyContentRange === RUN TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === PAUSE TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === RUN TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === PAUSE TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === RUN TestBrokenReadAndPartialDownload/group/missingBytesContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingBytesContentRange === RUN TestBrokenReadAndPartialDownload/group/missingContentRange === PAUSE TestBrokenReadAndPartialDownload/group/missingContentRange === RUN TestBrokenReadAndPartialDownload/group/tooManyContentRanges === PAUSE TestBrokenReadAndPartialDownload/group/tooManyContentRanges === RUN TestBrokenReadAndPartialDownload/group/garbledContentStart === PAUSE TestBrokenReadAndPartialDownload/group/garbledContentStart === RUN TestBrokenReadAndPartialDownload/group/breakAfterShortRange === PAUSE TestBrokenReadAndPartialDownload/group/breakAfterShortRange === RUN TestBrokenReadAndPartialDownload/group/serverDownAndUp === PAUSE TestBrokenReadAndPartialDownload/group/serverDownAndUp === RUN TestBrokenReadAndPartialDownload/group/serverDown === PAUSE TestBrokenReadAndPartialDownload/group/serverDown === CONT TestBrokenReadAndPartialDownload/group/success === CONT TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange === CONT TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange === CONT TestBrokenReadAndPartialDownload/group/garbledContentStart time="2022-11-10T13:43:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:58Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:43:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:43:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:43:59Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:43:59Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Attempting to resume artifact download from offset 3390" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:00Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:01Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Attempting to resume artifact download from offset 6780" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:03Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Attempting to resume artifact download from offset 8475" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Resuming download in 2s" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/serverDown time="2022-11-10T13:44:05Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:05Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:06Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:06Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Attempting to resume artifact download from offset 3390" module=update_resumer time="2022-11-10T13:44:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:07Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:08Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:08Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:08Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:08Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:10Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:10Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:12Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:12Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:12Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:12Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:13Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:13Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:13Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:13Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:13Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:13Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:13Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:14Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:14Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:14Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:14Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:16Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:16Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:16Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/serverDownAndUp time="2022-11-10T13:44:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/breakAfterShortRange time="2022-11-10T13:44:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingContentRange time="2022-11-10T13:44:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:16Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:16Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:17Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:17Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:18Z" level=info msg="Attempting to resume artifact download from offset 3390" module=update_resumer time="2022-11-10T13:44:18Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:18Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:18Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:18Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp [::1]:9767: connect: connection refused" module=update_resumer time="2022-11-10T13:44:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Attempting to resume artifact download from offset 3385" module=update_resumer time="2022-11-10T13:44:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:19Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:19Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:20Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:20Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:20Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:20Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp [::1]:9767: connect: connection refused" module=update_resumer time="2022-11-10T13:44:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Attempting to resume artifact download from offset 5075" module=update_resumer time="2022-11-10T13:44:21Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:21Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Download resume request failed: Get http://localhost:9768/update_resumer_test.go: dial tcp [::1]:9768: connect: connection refused" module=update_resumer time="2022-11-10T13:44:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/tooManyContentRanges time="2022-11-10T13:44:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Attempting to resume artifact download from offset 6765" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Download resume request failed: Get http://localhost:9767/update_resumer_test.go: dial tcp [::1]:9767: connect: connection refused" module=update_resumer time="2022-11-10T13:44:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:23Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:23Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:24Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:24Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:24Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Attempting to resume artifact download from offset 8455" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Resuming download in 3s" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/brokenContentLength time="2022-11-10T13:44:25Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:25Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:26Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:26Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:26Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:26Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:26Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:26Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:27Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:27Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:27Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Attempting to resume artifact download from offset 6780" module=update_resumer time="2022-11-10T13:44:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:28Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:28Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:30Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:30Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:30Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:30Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:30Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:30Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:31Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:31Z" level=info msg="Attempting to resume artifact download from offset 8475" module=update_resumer time="2022-11-10T13:44:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:31Z" level=info msg="Resuming download in 3s" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/emptyContentRange time="2022-11-10T13:44:31Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:31Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:32Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:32Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:32Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:32Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:32Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:32Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:32Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:33Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:33Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:33Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:34Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/noPartialContentSupport time="2022-11-10T13:44:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:34Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:34Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:34Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:34Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:34Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:34Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:35Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:35Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:35Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:35Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:35Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:35Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:36Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:36Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:36Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:36Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:36Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:36Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:37Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:37Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:37Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:37Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:37Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:37Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:38Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:38Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:38Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:38Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:38Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:38Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:39Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:39Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:39Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:40Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:40Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:40Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:40Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:40Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:40Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:41Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:41Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingContentLength time="2022-11-10T13:44:41Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:41Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:41Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:41Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:41Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:42Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:42Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:42Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Attempting to resume artifact download from offset 3390" module=update_resumer time="2022-11-10T13:44:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/earlyRangeStart time="2022-11-10T13:44:43Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:43Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:43Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:44Z" level=info msg="Attempting to resume artifact download from offset 5085" module=update_resumer time="2022-11-10T13:44:44Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:44Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:44Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:44Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:44Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:45Z" level=info msg="Attempting to resume artifact download from offset 3385" module=update_resumer time="2022-11-10T13:44:45Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:45Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Attempting to resume artifact download from offset 6780" module=update_resumer time="2022-11-10T13:44:46Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:46Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:46Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Attempting to resume artifact download from offset 5075" module=update_resumer time="2022-11-10T13:44:46Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:46Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:48Z" level=info msg="Attempting to resume artifact download from offset 8475" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/lateRangeStart time="2022-11-10T13:44:48Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:48Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:48Z" level=info msg="Attempting to resume artifact download from offset 6765" module=update_resumer time="2022-11-10T13:44:48Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:48Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:49Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:49Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:49Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:49Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:49Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:49Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer === CONT TestBrokenReadAndPartialDownload/group/missingBytesContentRange time="2022-11-10T13:44:49Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:49Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:49Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:49Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:50Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:50Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:50Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:50Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:50Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:50Z" level=info msg="Attempting to resume artifact download from offset 8455" module=update_resumer time="2022-11-10T13:44:51Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:51Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:51Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:51Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:51Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:51Z" level=info msg="Resuming download in 1s" module=update_resumer time="2022-11-10T13:44:52Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:52Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:52Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:52Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:52Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:53Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:53Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:53Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:54Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:54Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:54Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:55Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:55Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:55Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:56Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:56Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:56Z" level=info msg="Resuming download in 2s" module=update_resumer time="2022-11-10T13:44:57Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:57Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:57Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:44:58Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:44:58Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:44:58Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:45:00Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:45:00Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:45:00Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:45:01Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:45:01Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:45:01Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:45:03Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:45:03Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:45:03Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:45:04Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:45:04Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:45:04Z" level=info msg="Resuming download in 3s" module=update_resumer time="2022-11-10T13:45:06Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:45:06Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer time="2022-11-10T13:45:07Z" level=info msg="Attempting to resume artifact download from offset 1695" module=update_resumer time="2022-11-10T13:45:07Z" level=error msg="Download connection broken: unexpected EOF" module=update_resumer --- PASS: TestBrokenReadAndPartialDownload (69.24s) --- PASS: TestBrokenReadAndPartialDownload/group (0.00s) --- PASS: TestBrokenReadAndPartialDownload/group/success (7.02s) --- PASS: TestBrokenReadAndPartialDownload/group/formattedButInvalidContentRange (18.03s) --- PASS: TestBrokenReadAndPartialDownload/group/improperlyFormattedContentRange (18.06s) --- PASS: TestBrokenReadAndPartialDownload/group/garbledContentStart (18.06s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDown (18.03s) --- PASS: TestBrokenReadAndPartialDownload/group/breakAfterShortRange (9.03s) --- PASS: TestBrokenReadAndPartialDownload/group/serverDownAndUp (15.07s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentRange (18.04s) --- PASS: TestBrokenReadAndPartialDownload/group/tooManyContentRanges (18.03s) --- PASS: TestBrokenReadAndPartialDownload/group/brokenContentLength (18.05s) --- PASS: TestBrokenReadAndPartialDownload/group/missingContentLength (7.03s) --- PASS: TestBrokenReadAndPartialDownload/group/emptyContentRange (18.05s) --- PASS: TestBrokenReadAndPartialDownload/group/earlyRangeStart (7.04s) --- PASS: TestBrokenReadAndPartialDownload/group/noPartialContentSupport (18.05s) --- PASS: TestBrokenReadAndPartialDownload/group/lateRangeStart (18.06s) --- PASS: TestBrokenReadAndPartialDownload/group/missingBytesContentRange (18.09s) FAIL FAIL github.com/mendersoftware/mender/client 69.523s ? github.com/mendersoftware/mender/client/test [no test files] === RUN TestMenderState --- PASS: TestMenderState (0.00s) PASS ok github.com/mendersoftware/mender/datastore 0.017s === RUN TestBlockDeviceFail time="2022-11-10T13:43:59Z" level=info msg="opening device /dev/somefile for writing" module=block_device --- PASS: TestBlockDeviceFail (0.00s) === RUN TestBlockDeviceWrite time="2022-11-10T13:43:59Z" level=info msg="opening device /tmp/mender-block-device-618273197/foo for writing" module=block_device time="2022-11-10T13:43:59Z" level=info msg="partition /tmp/mender-block-device-618273197/foo size: 10" module=block_device time="2022-11-10T13:43:59Z" level=info msg="opening device /tmp/mender-block-device-618273197/foo for writing" module=block_device time="2022-11-10T13:43:59Z" level=info msg="partition /tmp/mender-block-device-618273197/foo size: 10" module=block_device time="2022-11-10T13:43:59Z" level=error msg="written 10 out of 12 bytes to partition /tmp/mender-block-device-618273197/foo: no space left on device" module=block_device --- PASS: TestBlockDeviceWrite (0.01s) block_device_test.go:44: block device size called: &{0x4000068720} block_device_test.go:44: block device size called: &{0x4000068a80} === RUN TestBlockDeviceSize --- PASS: TestBlockDeviceSize (0.00s) block_device_test.go:44: block device size called: &{0x4000068de0} block_device_test.go:44: block device size called: &{0x4000068e40} === RUN Test_EnvWrite_OSResponseOK_WritesOK --- PASS: Test_EnvWrite_OSResponseOK_WritesOK (0.01s) === RUN Test_EnvWrite_OSResponseError_Fails --- PASS: Test_EnvWrite_OSResponseError_Fails (0.02s) === RUN Test_EnvRead_HaveVariable_ReadsVariable --- PASS: Test_EnvRead_HaveVariable_ReadsVariable (0.03s) === RUN Test_EnvRead_HaveEnvWarning_FailsReading time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv --- PASS: Test_EnvRead_HaveEnvWarning_FailsReading (0.02s) === RUN Test_EnvRead_NonExisting_FailsReading time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv time="2022-11-10T13:43:59Z" level=error msg="U-Boot variable malformed or error occurred" module=bootenv --- PASS: Test_EnvRead_NonExisting_FailsReading (0.02s) === RUN Test_EnvCanary --- PASS: Test_EnvCanary (0.07s) === RUN Test_PermissionDenied time="2022-11-10T13:43:59Z" level=error msg="Could not execute fw_setenv: exec: \"fw_setenv\": executable file not found in $PATH" module=bootenv --- PASS: Test_PermissionDenied (0.00s) === RUN TestChunkedCopy --- PASS: TestChunkedCopy (0.00s) === RUN Test_commitUpdate time="2022-11-10T13:43:59Z" level=info msg="Committing update" module=dual_rootfs_device --- PASS: Test_commitUpdate (0.00s) === RUN Test_enableUpdatedPartition_wrongPartitinNumber_fails --- PASS: Test_enableUpdatedPartition_wrongPartitinNumber_fails (0.00s) === RUN Test_enableUpdatedPartition_correctPartitinNumber time="2022-11-10T13:43:59Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" module=dual_rootfs_device time="2022-11-10T13:43:59Z" level=info msg="Enabling partition with new image installed to be a boot candidate: 2" module=dual_rootfs_device --- PASS: Test_enableUpdatedPartition_correctPartitinNumber (0.02s) === RUN Test_installUpdate_existingAndNonInactivePartition time="2022-11-10T13:43:59Z" level=info msg="native sector size of block device inactivePart is 12, we will write in chunks of 1572864" module=dual_rootfs_device time="2022-11-10T13:43:59Z" level=info msg="opening device inactivePart for writing" module=block_device time="2022-11-10T13:43:59Z" level=info msg="partition inactivePart size: 12" module=block_device time="2022-11-10T13:43:59Z" level=info msg="wrote 12/12 bytes of update to device inactivePart" module=dual_rootfs_device time="2022-11-10T13:43:59Z" level=error msg="failed to read size of block device inactivePart: " module=dual_rootfs_device --- PASS: Test_installUpdate_existingAndNonInactivePartition (0.01s) === RUN Test_FetchUpdate_existingAndNonExistingUpdateFile --- PASS: Test_FetchUpdate_existingAndNonExistingUpdateFile (0.00s) === RUN Test_Rollback_OK --- PASS: Test_Rollback_OK (0.01s) === RUN TestDeviceVerifyReboot time="2022-11-10T13:43:59Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" module=partitions time="2022-11-10T13:43:59Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" module=partitions time="2022-11-10T13:43:59Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" module=partitions time="2022-11-10T13:43:59Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" module=partitions time="2022-11-10T13:43:59Z" level=warning msg="Could not resolve path link: part1 Attempting to continue" module=partitions time="2022-11-10T13:43:59Z" level=warning msg="Could not resolve path link: part2 Attempting to continue" module=partitions --- PASS: TestDeviceVerifyReboot (0.03s) === RUN TestInstall time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestInstall (0.01s) === RUN TestInstallSigned time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:43:59Z" level=warning msg="installer: installing signed artifact without verification as verification key is missing" module=installer time="2022-11-10T13:43:59Z" level=info msg="installer: authenticated digital signature of artifact" module=installer time="2022-11-10T13:43:59Z" level=info msg="installer: authenticated digital signature of artifact" module=installer --- PASS: TestInstallSigned (0.02s) === RUN TestInstallNoSignature --- PASS: TestInstallNoSignature (0.00s) === RUN TestInstallWithScripts time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestInstallWithScripts (0.01s) === RUN TestCorrectUpdateProducerReturned time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestCorrectUpdateProducerReturned (0.00s) === RUN TestMultiplePayloadsRejected time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestMultiplePayloadsRejected (0.00s) === RUN TestMissingFeaturesRejected time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer time="2022-11-10T13:43:59Z" level=info msg="no public key was provided for authenticating the artifact" module=installer --- PASS: TestMissingFeaturesRejected (0.01s) === RUN TestStreamsTree --- PASS: TestStreamsTree (0.11s) === RUN TestModulesDownload === RUN TestModulesDownload/Mender_download === RUN TestModulesDownload/Module_download === RUN TestModulesDownload/Module_download_failure === RUN TestModulesDownload/Module_download_short_read_of_stream-next === RUN TestModulesDownload/Module_download_short_read_of_stream === RUN TestModulesDownload/Cannot_open_stream_file === RUN TestModulesDownload/files_dir_blocked_by_file === RUN TestModulesDownload/Mender_download_multiple_files === RUN TestModulesDownload/Module_download_multiple_files === RUN TestModulesDownload/Module_download_multiple_files,_downloads_only_one === RUN TestModulesDownload/Module_downloads_two_entries,_but_one_file === RUN TestModulesDownload/Module_download_doesn't_read_final_zero_entry === RUN TestModulesDownload/Module_download_fails_final_exit === RUN TestModulesDownload/Module_download_hangs time="2022-11-10T13:44:08Z" level=error msg="Process 11906 timed out. Sending SIGTERM" module=modules === RUN TestModulesDownload/Module_download_never_exits time="2022-11-10T13:44:13Z" level=error msg="Process 11954 timed out. Sending SIGTERM" module=modules --- PASS: TestModulesDownload (14.30s) --- PASS: TestModulesDownload/Mender_download (1.01s) --- PASS: TestModulesDownload/Module_download (0.03s) --- 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.03s) --- PASS: TestModulesDownload/Cannot_open_stream_file (0.01s) --- PASS: TestModulesDownload/files_dir_blocked_by_file (1.02s) --- PASS: TestModulesDownload/Mender_download_multiple_files (1.01s) --- PASS: TestModulesDownload/Module_download_multiple_files (0.03s) --- PASS: TestModulesDownload/Module_download_multiple_files,_downloads_only_one (1.03s) --- PASS: TestModulesDownload/Module_downloads_two_entries,_but_one_file (0.03s) --- PASS: TestModulesDownload/Module_download_doesn't_read_final_zero_entry (0.02s) --- PASS: TestModulesDownload/Module_download_fails_final_exit (0.02s) --- PASS: TestModulesDownload/Module_download_hangs (5.01s) --- PASS: TestModulesDownload/Module_download_never_exits (5.01s) === RUN Test_GetInactive_HaveActivePartitionSet_ReturnsInactive time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc2 Attempting to continue" module=partitions time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" module=partitions time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc3 Attempting to continue" module=partitions time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" module=partitions time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc Attempting to continue" module=partitions time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" module=partitions time="2022-11-10T13:44:13Z" level=warning msg="Could not resolve path link: /dev/mmc4 Attempting to continue" module=partitions --- PASS: Test_GetInactive_HaveActivePartitionSet_ReturnsInactive (0.00s) === RUN Test_GetMountRoot --- PASS: Test_GetMountRoot (0.00s) === RUN Test_getRootDevice_HaveDevice_ReturnsDevice time="2022-11-10T13:44:13Z" level=error msg="Can not stat root device." module=partitions --- PASS: Test_getRootDevice_HaveDevice_ReturnsDevice (0.00s) === RUN Test_matchRootWithMout_HaveValidMount --- PASS: Test_matchRootWithMout_HaveValidMount (0.00s) === RUN Test_getActivePartition_noActiveInactiveSet time="2022-11-10T13:44:13Z" level=error msg="Mounted root '/dev/mmc1' does not match boot environment mender_boot_part: 2" module=partitions --- PASS: Test_getActivePartition_noActiveInactiveSet (0.22s) === RUN Test_getAllMountedDevices --- PASS: Test_getAllMountedDevices (0.00s) === RUN TestMaybeResolveLink time="2022-11-10T13:44:14Z" level=warning msg="Could not resolve path link: /dev/disk/by-partuuid Attempting to continue" module=partitions --- PASS: TestMaybeResolveLink (0.00s) PASS ok github.com/mendersoftware/mender/installer 14.953s === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestExecutor time="2022-11-10T13:43:58Z" level=error msg="statescript: ignoring script '/tmp/rootfs_scripts520207995/Download_Enter_00' being not executable" module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2022-11-10T13:43:58Z" level=error msg="statescript: ignoring error executing 'ArtifactInstall_Leave_02': 1: exit status 1" module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave_100' will not be run " module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave' will not be run " module=executor time="2022-11-10T13:43:58Z" level=warning msg="script format mismatch: 'ArtifactInstall_Leave_100' will not be run " module=executor --- PASS: TestExecutor (10.14s) === RUN TestVersion --- PASS: TestVersion (0.01s) === RUN TestReportScriptStatus time="2022-11-10T13:44:08Z" level=warning msg="certificate verification skipped.." module=client --- PASS: TestReportScriptStatus (0.02s) === RUN TestDefaultConfiguration time="2022-11-10T13:44:08Z" level=warning msg="No timeout interval set for the retry-scripts. Falling back to default: 1m0s" module=executor time="2022-11-10T13:44:08Z" level=warning msg="No total time set for the retry-scripts' timeslot. Falling back to default: 30m0s" module=executor --- PASS: TestDefaultConfiguration (0.00s) === RUN TestReadVersion --- PASS: TestReadVersion (0.00s) statescript_test.go:456: correct version file - no newline statescript_test.go:456: correct version file - newline statescript_test.go:456: incorrect version file - unwanted 'a' in file PASS ok github.com/mendersoftware/mender/statescript 10.195s === RUN TestDBStore time="2022-11-10T13:44:10Z" level=error msg="failed to open DB environment: mdb_env_open: no such file or directory" module=dbstore --- PASS: TestDBStore (0.01s) === RUN TestDirStore --- PASS: TestDirStore (0.00s) === RUN TestKeystore time="2022-11-10T13:44:10Z" level=error msg="failed to load key: failed to decode block" module=keystore --- PASS: TestKeystore (1.56s) === RUN TestKeystoreLoadPem --- PASS: TestKeystoreLoadPem (0.00s) === RUN TestMemStore --- PASS: TestMemStore (0.00s) PASS ok github.com/mendersoftware/mender/store 1.589s ? github.com/mendersoftware/mender/system [no test files] ? github.com/mendersoftware/mender/system/testing [no test files] === RUN TestKeyValParser --- PASS: TestKeyValParser (0.00s) kvparser_test.go:72: testing case: 0 kvparser_test.go:72: testing case: 1 kvparser_test.go:72: testing case: 2 === RUN TestLimitedWriter --- PASS: TestLimitedWriter (0.00s) === RUN TestProgress --- PASS: TestProgress (0.58s) PASS ok github.com/mendersoftware/mender/utils 0.602s FAIL dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/mendersoftware/mender github.com/mendersoftware/mender/client github.com/mendersoftware/mender/client/test github.com/mendersoftware/mender/datastore github.com/mendersoftware/mender/installer 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/utils returned exit code 1 make[1]: Leaving directory '/<>' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --buildsystem=golang --with=golang dh_testroot -a -O--buildsystem=golang dh_prep -a -O--buildsystem=golang dh_installdirs -a -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/<>' dh_auto_install -- --no-source cd obj-aarch64-linux-gnu && mkdir -p /<>/debian/mender-client/usr cd obj-aarch64-linux-gnu && cp -r bin /<>/debian/mender-client/usr make[1]: Leaving directory '/<>' dh_installdocs -a -O--buildsystem=golang dh_installchangelogs -a -O--buildsystem=golang dh_installexamples -a -O--buildsystem=golang dh_installinit -a -O--buildsystem=golang dh_installsystemd -a -O--buildsystem=golang dh_perl -a -O--buildsystem=golang dh_link -a -O--buildsystem=golang dh_strip_nondeterminism -a -O--buildsystem=golang dh_compress -a -O--buildsystem=golang dh_fixperms -a -O--buildsystem=golang dh_missing -a -O--buildsystem=golang dh_strip -a -O--buildsystem=golang dh_makeshlibs -a -O--buildsystem=golang dh_shlibdeps -a -O--buildsystem=golang dh_installdeb -a -O--buildsystem=golang dh_golang -a -O--buildsystem=golang Use of uninitialized value $caller in string eq at /usr/share/perl5/Debian/Debhelper/Buildsystem/golang.pm line 567. dh_gencontrol -a -O--buildsystem=golang dh_md5sums -a -O--buildsystem=golang dh_builddeb -a -O--buildsystem=golang INFO: pkgstriptranslations version 144 INFO: pkgstriptranslations version 144 pkgstriptranslations: processing mender-client (in debian/mender-client); do_strip: , oemstrip: pkgstriptranslations: processing mender-client-dbgsym (in debian/.debhelper/mender-client/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgmaintainermangler: Not overriding Maintainer for domain lists.ubuntu.com pkgstripfiles: processing control file: debian/mender-client/DEBIAN/control, package mender-client, directory debian/mender-client pkgstripfiles: processing control file: debian/.debhelper/mender-client/dbgsym-root/DEBIAN/control, package mender-client-dbgsym, directory debian/.debhelper/mender-client/dbgsym-root dpkg-deb: building package 'mender-client-dbgsym' in 'debian/.debhelper/scratch-space/build-mender-client/mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.deb'. pkgstripfiles: Truncating usr/share/doc/mender-client/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package mender-client ... pkgstripfiles: No PNG files. dpkg-deb: building package 'mender-client' in '../mender-client_2.1.2-2ubuntu0.1_arm64.deb'. Renaming mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.deb to mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../mender-client_2.1.2-2ubuntu0.1_arm64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2022-11-10T13:48:52Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ mender-client_2.1.2-2ubuntu0.1_arm64.changes: --------------------------------------------- Format: 1.8 Date: Tue, 11 Oct 2022 01:25:45 +0200 Source: mender-client Binary: mender-client Architecture: arm64 Version: 2.1.2-2ubuntu0.1 Distribution: focal Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: David Fernandez Gonzalez Description: mender-client - Mender over-the-air software updater client. Changes: mender-client (2.1.2-2ubuntu0.1) focal-security; urgency=medium . * No-change rebuild due to golang-1.13 update Checksums-Sha1: d768d78cc70447ef2314d6fc05a12d5ae5285106 2041820 mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb da039e85d8a65124d8e13c2f08c4a468c1388a18 7158 mender-client_2.1.2-2ubuntu0.1_arm64.buildinfo 6f9cbf6aa4d765d299268380c8bbdd5bcb25a003 2020752 mender-client_2.1.2-2ubuntu0.1_arm64.deb Checksums-Sha256: 127d36c8dbb30bb42009b2504fa9cd8bbea6344f61b13f0ea1f4882fbfb1fef5 2041820 mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb acc60a6729717b1bbf0cee2b1ff2c1db0c1222f9a8bf927275e90c6c5fdfffe8 7158 mender-client_2.1.2-2ubuntu0.1_arm64.buildinfo fe50632b128e4bd25f4fb4eefce422f4d7118f9ace58317125ba7082c4771c29 2020752 mender-client_2.1.2-2ubuntu0.1_arm64.deb Files: 9cb426dd09df65c39886cefc998edfc2 2041820 debug optional mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb 5a748fec79418a4aa74f7d1cc053cc7f 7158 devel optional mender-client_2.1.2-2ubuntu0.1_arm64.buildinfo 4e4c14bd98ad9fd7704390e5cd083346 2020752 devel optional mender-client_2.1.2-2ubuntu0.1_arm64.deb Original-Maintainer: Debian Go Packaging Team /<>/mender-client_2.1.2-2ubuntu0.1_arm64.changes.new could not be renamed to /<>/mender-client_2.1.2-2ubuntu0.1_arm64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: mender-client Binary: mender-client Architecture: arm64 Version: 2.1.2-2ubuntu0.1 Checksums-Md5: 9cb426dd09df65c39886cefc998edfc2 2041820 mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb 4e4c14bd98ad9fd7704390e5cd083346 2020752 mender-client_2.1.2-2ubuntu0.1_arm64.deb Checksums-Sha1: d768d78cc70447ef2314d6fc05a12d5ae5285106 2041820 mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb 6f9cbf6aa4d765d299268380c8bbdd5bcb25a003 2020752 mender-client_2.1.2-2ubuntu0.1_arm64.deb Checksums-Sha256: 127d36c8dbb30bb42009b2504fa9cd8bbea6344f61b13f0ea1f4882fbfb1fef5 2041820 mender-client-dbgsym_2.1.2-2ubuntu0.1_arm64.ddeb fe50632b128e4bd25f4fb4eefce422f4d7118f9ace58317125ba7082c4771c29 2020752 mender-client_2.1.2-2ubuntu0.1_arm64.deb Build-Origin: Ubuntu Build-Architecture: arm64 Build-Date: Thu, 10 Nov 2022 13:48:51 +0000 Build-Path: /<> Build-Tainted-By: usr-local-has-programs Installed-Build-Depends: autoconf (= 2.69-11.1), automake (= 1:1.16.1-4ubuntu6), autopoint (= 0.19.8.1-10build1), autotools-dev (= 20180224.1), base-files (= 11ubuntu5), base-passwd (= 3.5.47), bash (= 5.0-6ubuntu1.2), binutils (= 2.34-6ubuntu1.4), binutils-aarch64-linux-gnu (= 2.34-6ubuntu1.4), binutils-common (= 2.34-6ubuntu1.4), bsdmainutils (= 11.1.2ubuntu3), bsdutils (= 1:2.34-0.1ubuntu9.3), build-essential (= 12.8ubuntu1), bzip2 (= 1.0.8-2), ca-certificates (= 20211016~20.04.1), coreutils (= 8.30-3ubuntu2), cpp (= 4:9.3.0-1ubuntu2), cpp-9 (= 9.4.0-1ubuntu1~20.04.1), dash (= 0.5.10.2-6), debconf (= 1.5.73), debhelper (= 12.10ubuntu1), debianutils (= 4.9.1), dh-autoreconf (= 19), dh-golang (= 1.48), dh-strip-nondeterminism (= 1.7.0-1), diffutils (= 1:3.7-3), dpkg (= 1.19.7ubuntu3.2), dpkg-dev (= 1.19.7ubuntu3.2), dwz (= 0.13-5), file (= 1:5.38-4), findutils (= 4.7.0-1ubuntu1), g++ (= 4:9.3.0-1ubuntu2), g++-9 (= 9.4.0-1ubuntu1~20.04.1), gcc (= 4:9.3.0-1ubuntu2), gcc-10-base (= 10.3.0-1ubuntu1~20.04), gcc-9 (= 9.4.0-1ubuntu1~20.04.1), gcc-9-base (= 9.4.0-1ubuntu1~20.04.1), gettext (= 0.19.8.1-10build1), gettext-base (= 0.19.8.1-10build1), golang-1.13-go (= 1.13.8-1ubuntu1.1), golang-1.13-src (= 1.13.8-1ubuntu1.1), golang-any (= 2:1.13~1ubuntu2), golang-github-bmatsuo-lmdb-go-dev (= 1.8.0+git20170215.a14b5a3-2), golang-github-cpuguy83-go-md2man-dev (= 1.0.10+ds-1), golang-github-davecgh-go-spew-dev (= 1.1.1-1), golang-github-mendersoftware-log-dev (= 0.0~git20180403.f608c95-2), golang-github-mendersoftware-mender-artifact-dev (= 3.2.1-1), golang-github-mendersoftware-mendertesting-dev (= 0.0~git20180410.9e728b5-2), golang-github-mendersoftware-scopestack-dev (= 0.0~git20180403.c2f5599-2), golang-github-pkg-errors-dev (= 0.8.1-1), golang-github-pmezard-go-difflib-dev (= 1.0.0-2), golang-github-remyoudompheng-go-liblzma-dev (= 0.0~git20190506.81bf2d4-2), golang-github-russross-blackfriday-dev (= 1.5.2+git20190616.a925a15-1), golang-github-shurcool-sanitized-anchor-name-dev (= 1.0.0-1), golang-github-sirupsen-logrus-dev (= 1.3.0-1), golang-github-stretchr-objx-dev (= 0.1.1+git20180825.ef50b0d-1), golang-github-stretchr-testify-dev (= 1.3.0+ds-1), golang-github-ungerik-go-sysfs-dev (= 0.0~git20170424.9c991ee-2), golang-github-urfave-cli-dev (= 1.22.2-4), golang-go (= 2:1.13~1ubuntu2), golang-golang-x-crypto-dev (= 1:0.0~git20200221.2aa609c-1), golang-golang-x-net-dev (= 1:0.0+git20190811.74dc4d7+dfsg-1), golang-golang-x-sys-dev (= 0.0~git20190726.fc99dfb-1ubuntu2), golang-golang-x-text-dev (= 0.3.2-4), golang-logrus-dev (= 1.3.0-1), golang-src (= 2:1.13~1ubuntu2), grep (= 3.4-1), groff-base (= 1.22.4-4build1), gzip (= 1.10-0ubuntu4.1), hostname (= 3.23), init-system-helpers (= 1.57), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.2.53-6), libarchive-zip-perl (= 1.67-2), libasan5 (= 9.4.0-1ubuntu1~20.04.1), libatomic1 (= 10.3.0-1ubuntu1~20.04), libattr1 (= 1:2.4.48-5), libaudit-common (= 1:2.8.5-2ubuntu6), libaudit1 (= 1:2.8.5-2ubuntu6), libbinutils (= 2.34-6ubuntu1.4), libblkid1 (= 2.34-0.1ubuntu9.3), libbsd0 (= 0.10.0-1), libbz2-1.0 (= 1.0.8-2), libc-bin (= 2.31-0ubuntu9.7), libc-dev-bin (= 2.31-0ubuntu9.7), libc6 (= 2.31-0ubuntu9.7), libc6-dev (= 2.31-0ubuntu9.7), libcap-ng0 (= 0.7.9-2.1build1), libcc1-0 (= 10.3.0-1ubuntu1~20.04), libcroco3 (= 0.6.13-1), libcrypt-dev (= 1:4.4.10-10ubuntu4), libcrypt1 (= 1:4.4.10-10ubuntu4), libctf-nobfd0 (= 2.34-6ubuntu1.4), libctf0 (= 2.34-6ubuntu1.4), libdb5.3 (= 5.3.28+dfsg1-0.6ubuntu2), libdebconfclient0 (= 0.251ubuntu1), libdebhelper-perl (= 12.10ubuntu1), libdpkg-perl (= 1.19.7ubuntu3.2), libelf1 (= 0.176-1.1build1), libffi7 (= 3.3-4), libfile-stripnondeterminism-perl (= 1.7.0-1), libgcc-9-dev (= 9.4.0-1ubuntu1~20.04.1), libgcc-s1 (= 10.3.0-1ubuntu1~20.04), libgcrypt20 (= 1.8.5-5ubuntu1.1), libgdbm-compat4 (= 1.18.1-5), libgdbm6 (= 1.18.1-5), libglib2.0-0 (= 2.64.6-1~ubuntu20.04.3), libgmp10 (= 2:6.2.0+dfsg-4ubuntu0.1), libgomp1 (= 10.3.0-1ubuntu1~20.04), libgpg-error0 (= 1.37-1), libicu66 (= 66.1-2ubuntu2.1), libisl22 (= 0.22.1-1), libitm1 (= 10.3.0-1ubuntu1~20.04), liblsan0 (= 10.3.0-1ubuntu1~20.04), liblz4-1 (= 1.9.2-2ubuntu0.20.04.1), liblzma-dev (= 5.2.4-1ubuntu1.1), liblzma5 (= 5.2.4-1ubuntu1.1), libmagic-mgc (= 1:5.38-4), libmagic1 (= 1:5.38-4), libmount1 (= 2.34-0.1ubuntu9.3), libmpc3 (= 1.1.0-1), libmpfr6 (= 4.0.2-1), libpam-modules (= 1.3.1-5ubuntu4), libpam-modules-bin (= 1.3.1-5ubuntu4), libpam-runtime (= 1.3.1-5ubuntu4), libpam0g (= 1.3.1-5ubuntu4), libpcre2-8-0 (= 10.34-7ubuntu0.1), libpcre3 (= 2:8.39-12ubuntu0.1), libperl5.30 (= 5.30.0-9ubuntu0.3), libpipeline1 (= 1.5.2-2build1), libseccomp2 (= 2.5.1-1ubuntu1~20.04.2), libselinux1 (= 3.0-1build2), libsigsegv2 (= 2.12-2), libsmartcols1 (= 2.34-0.1ubuntu9.3), libssl1.1 (= 1.1.1f-1ubuntu2.16), libstdc++-9-dev (= 9.4.0-1ubuntu1~20.04.1), libstdc++6 (= 10.3.0-1ubuntu1~20.04), libsub-override-perl (= 0.09-2), libsystemd0 (= 245.4-4ubuntu3.15), libtinfo6 (= 6.2-0ubuntu2), libtool (= 2.4.6-14), libtsan0 (= 10.3.0-1ubuntu1~20.04), libubsan1 (= 10.3.0-1ubuntu1~20.04), libuchardet0 (= 0.0.6-3build1), libudev1 (= 245.4-4ubuntu3.15), libunistring2 (= 0.9.10-2), libuuid1 (= 2.34-0.1ubuntu9.3), libxml2 (= 2.9.10+dfsg-5ubuntu0.20.04.4), libzstd1 (= 1.4.4+dfsg-3ubuntu0.1), linux-libc-dev (= 5.4.0-131.147), login (= 1:4.8.1-1ubuntu5), lsb-base (= 11.1.0ubuntu2), m4 (= 1.4.18-4), make (= 4.2.1-1.2), man-db (= 2.9.1-1), mawk (= 1.3.4.20200120-2), ncurses-base (= 6.2-0ubuntu2), ncurses-bin (= 6.2-0ubuntu2), openssl (= 1.1.1f-1ubuntu2.16), patch (= 2.7.6-6), perl (= 5.30.0-9ubuntu0.3), perl-base (= 5.30.0-9ubuntu0.3), perl-modules-5.30 (= 5.30.0-9ubuntu0.3), po-debconf (= 1.0.21), sed (= 4.7-1), sensible-utils (= 0.0.12+nmu1), sysvinit-utils (= 2.96-2.1ubuntu1), tar (= 1.30+dfsg-7ubuntu0.20.04.2), tzdata (= 2022f-0ubuntu0.20.04.0), util-linux (= 2.34-0.1ubuntu9.3), xz-utils (= 5.2.4-1ubuntu1.1), zlib1g (= 1:1.2.11.dfsg-2ubuntu1.5) Environment: DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1665444345" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ mender-client_2.1.2-2ubuntu0.1_arm64.deb ---------------------------------------- new Debian package, version 2.0. size 2020752 bytes: control archive=2924 bytes. 3589 bytes, 56 lines control 1125 bytes, 13 lines md5sums 1373 bytes, 32 lines * postinst #!/bin/sh 665 bytes, 21 lines * postrm #!/bin/sh 235 bytes, 7 lines * prerm #!/bin/sh Package: mender-client Version: 2.1.2-2ubuntu0.1 Architecture: arm64 Maintainer: Ubuntu Developers Installed-Size: 7054 Depends: libc6 (>= 2.17), liblzma5 (>= 5.1.1alpha+20120614) Recommends: ca-certificates, u-boot-tools, mount, procps, systemd-sysv Built-Using: golang-1.13 (= 1.13.8-1ubuntu1.1), golang-github-bmatsuo-lmdb-go (= 1.8.0+git20170215.a14b5a3-2), golang-github-davecgh-go-spew (= 1.1.1-1), golang-github-mendersoftware-log (= 0.0~git20180403.f608c95-2), golang-github-mendersoftware-mender-artifact (= 3.2.1-1), golang-github-mendersoftware-scopestack (= 0.0~git20180403.c2f5599-2), golang-github-pkg-errors (= 0.8.1-1), golang-github-pmezard-go-difflib (= 1.0.0-2), golang-github-remyoudompheng-go-liblzma (= 0.0~git20190506.81bf2d4-2), golang-github-ungerik-go-sysfs (= 0.0~git20170424.9c991ee-2), golang-go.crypto (= 1:0.0~git20200221.2aa609c-1), golang-golang-x-net-dev (= 1:0.0+git20190811.74dc4d7+dfsg-1), golang-golang-x-sys (= 0.0~git20190726.fc99dfb-1ubuntu2), golang-golang-x-text (= 0.3.2-4), golang-logrus (= 1.3.0-1), golang-objx (= 0.1.1+git20180825.ef50b0d-1), golang-testify (= 1.3.0+ds-1) Section: devel Priority: optional Homepage: https://github.com/mendersoftware/mender Description: Mender over-the-air software updater client. Mender: over-the-air updater for embedded Linux devices . Mender is an open source over-the-air (OTA) software updater for embedded Linux devices. Mender comprises a client running at the embedded device, as well as a server that manages deployments across many devices. . Embedded product teams often end up creating homegrown updaters at the last minute due to the need to fix bugs in field-deployed devices. However, the most important requirement for an embedded update process is robustness, for example loss of power at any time should not brick a device. This creates a challenge given the time constraints to develop and maintain a homegrown updater. . Mender aims to address this challenge with a robust and easy to use updater for embedded Linux devices, which is open source and available to anyone. . Robustness is ensured with atomic image-based deployments using a dual A/B rootfs partition layout. This makes it always possible to roll back to a working state, even when losing power at any time during the update process. . Ease of use is addressed with an intuitive UI, comprehensive documentation (https://docs.mender.io/), a meta layer for the Yocto Project (https://github.com/mendersoftware/meta-mender) for easy integration into existing environments, and high quality software (see the test coverage badge). . This repository contains the Mender client updater, which can be run in standalone mode (manually triggered through its command line interface) or managed mode (connected to the Mender server). . Mender not only provides the client-side updater, but also the backend and UI for managing deployments as open source. The Mender server is designed as a microservices architecture and comprises several repositories. . To start using Mender, we recommend that you begin with the Getting started section in the Mender documentation (https://docs.mender.io/). . In order to support rollback, the Mender client depends on integration with U-Boot and the partition layout. It is therefore most easily built as part of your Yocto Project image by using the meta layer for the Yocto Project (https://github.com/mendersoftware/meta-mender). Original-Maintainer: Debian Go Packaging Team drwxr-xr-x root/root 0 2022-10-10 23:25 ./ drwxr-xr-x root/root 0 2022-10-10 23:25 ./etc/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./etc/mender/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./lib/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./lib/systemd/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./lib/systemd/system/ -rw-r--r-- root/root 255 2019-05-28 15:08 ./lib/systemd/system/mender-client.service drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/bin/ -rwxr-xr-x root/root 7178880 2022-10-10 23:25 ./usr/bin/mender drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/doc/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/doc/mender-client/ -rw-r--r-- root/root 4072 2019-05-28 15:09 ./usr/share/doc/mender-client/README.Debian -rw-r--r-- root/root 1148 2022-10-10 23:25 ./usr/share/doc/mender-client/changelog.Debian.gz -rw-r--r-- root/root 678 2019-05-28 15:09 ./usr/share/doc/mender-client/copyright drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/doc/mender-client/examples/ -rwxr-xr-x root/root 1408 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender-device-identity -rwxr-xr-x root/root 870 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender-inventory-bootloader-integration -rwxr-xr-x root/root 354 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender-inventory-hostinfo -rwxr-xr-x root/root 1475 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender-inventory-network -rwxr-xr-x root/root 841 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender-inventory-os -rwxr-xr-x root/root 143 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender-inventory-rootfs-type -rw-r--r-- root/root 208 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender.conf.demo -rw-r--r-- root/root 216 2019-12-04 14:45 ./usr/share/doc/mender-client/examples/mender.conf.production drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/mender/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/mender/identity/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/mender/inventory/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/mender/modules/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./usr/share/mender/modules/v3/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./var/ drwxr-xr-x root/root 0 2022-10-10 23:25 ./var/lib/ lrwxrwxrwx root/root 0 2022-10-10 23:25 ./var/lib/mender -> /data/mender +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: arm64 Build Type: any Build-Space: 104664 Build-Time: 344 Distribution: focal Host Architecture: arm64 Install-Time: 35 Job: mender-client_2.1.2-2ubuntu0.1.dsc Machine Architecture: arm64 Package: mender-client Package-Time: 382 Source-Version: 2.1.2-2ubuntu0.1 Space: 104664 Status: successful Version: 2.1.2-2ubuntu0.1 -------------------------------------------------------------------------------- Finished at 2022-11-10T13:48:52Z Build needed 00:06:22, 104664k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=focal --arch=arm64 PACKAGEBUILD-24640663 Scanning for processes to kill in build PACKAGEBUILD-24640663