Diff of the two buildlogs: -- --- b1/build.log 2021-11-15 00:56:13.370054363 +0000 +++ b2/build.log 2021-11-15 01:02:41.148820965 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Nov 14 12:54:01 -12 2021 -I: pbuilder-time-stamp: 1636937641 +I: Current time: Sun Dec 18 21:19:18 +14 2022 +I: pbuilder-time-stamp: 1671347958 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./golang-github-mendersoftware-mender-artifact_3.4.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.KOMLkdq9/trustedkeys.kbx': General error -gpgv: Signature made Sun Jul 26 23:49:51 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.LZo5tL8e/trustedkeys.kbx': General error +gpgv: Signature made Tue Jul 28 01:49:51 2020 +14 gpgv: using RSA key FAE1E5B64652BE798E278CC20BC47DC64D135306 gpgv: issuer "andreas@fatal.se" gpgv: Can't check signature: No public key @@ -30,135 +30,169 @@ dpkg-source: info: applying 0002-unfsck-TestDebugfs-caught-by-autopkgtests.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1178874/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3300707/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3300707/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3300707/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='53609f4260d443eead928b76495bc708' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1178874' - PS1='# ' - PS2='> ' + INVOCATION_ID=5adfce6e3896436782150ced84c65317 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3300707 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.zyrMbkVKpU/pbuilderrc_8TIL --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.zyrMbkVKpU/b1 --logfile b1/build.log golang-github-mendersoftware-mender-artifact_3.4.0-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.zyrMbkVKpU/pbuilderrc_z5Il --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.zyrMbkVKpU/b2 --logfile b2/build.log golang-github-mendersoftware-mender-artifact_3.4.0-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 07:09 more - -rwsr-xr-x 1 root root 55528 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 18664 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Oct 20 23:41 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 07:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/1178874/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 18 21:19 sh -> bash + lrwxrwxrwx 1 root root 4 Nov 24 08:05 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/3300707/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -282,7 +316,7 @@ Get: 62 http://deb.debian.org/debian bullseye/main amd64 libparted2 amd64 3.4-1 [335 kB] Get: 63 http://deb.debian.org/debian bullseye/main amd64 mtools amd64 4.0.26-1 [196 kB] Get: 64 http://deb.debian.org/debian bullseye/main amd64 parted amd64 3.4-1 [219 kB] -Fetched 96.4 MB in 1s (76.6 MB/s) +Fetched 96.4 MB in 5s (19.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -559,7 +593,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-mendersoftware-mender-artifact-3.4.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-mendersoftware-mender-artifact_3.4.0-1_source.changes +hostname: Name or service not known +I: Running cd /build/golang-github-mendersoftware-mender-artifact-3.4.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-mendersoftware-mender-artifact_3.4.0-1_source.changes dpkg-buildpackage: info: source package golang-github-mendersoftware-mender-artifact dpkg-buildpackage: info: source version 3.4.0-1 dpkg-buildpackage: info: source distribution unstable @@ -580,45 +615,45 @@ make[1]: Entering directory '/build/golang-github-mendersoftware-mender-artifact-3.4.0' dh_auto_build -O--buildsystem=golang -- \ -ldflags "-X main.Version=3.4.0-1" - cd obj-x86_64-linux-gnu && go install -trimpath -v -p 15 -ldflags "-X main.Version=3.4.0-1" github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/awriter github.com/mendersoftware/mender-artifact/cli/mender-artifact github.com/mendersoftware/mender-artifact/cli/mender-artifact/util github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/utils + cd obj-x86_64-linux-gnu && go install -trimpath -v -p 16 -ldflags "-X main.Version=3.4.0-1" github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/awriter github.com/mendersoftware/mender-artifact/cli/mender-artifact github.com/mendersoftware/mender-artifact/cli/mender-artifact/util github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/utils internal/unsafeheader -runtime/internal/sys +golang.org/x/sys/internal/unsafeheader +internal/nettrace internal/race unicode -runtime/internal/atomic +unicode/utf8 math/bits -runtime/cgo +unicode/utf16 crypto/internal/subtle -internal/cpu -runtime/internal/math +vendor/golang.org/x/crypto/cryptobyte/asn1 crypto/subtle -unicode/utf16 encoding -internal/nettrace -unicode/utf8 -vendor/golang.org/x/crypto/cryptobyte/asn1 +runtime/internal/sys +runtime/internal/atomic sync/atomic -golang.org/x/sys/internal/unsafeheader -internal/bytealg +runtime/cgo +internal/cpu +runtime/internal/math internal/testlog +internal/bytealg math github.com/shurcooL/sanitized_anchor_name runtime internal/reflectlite sync -internal/singleflight math/rand -errors +internal/singleflight sort +errors io internal/oserror strconv vendor/golang.org/x/net/dns/dnsmessage syscall -crypto/internal/randutil -hash bytes strings +hash +crypto/internal/randutil text/tabwriter hash/crc32 crypto @@ -634,53 +669,53 @@ regexp context internal/poll -os internal/fmtsort encoding/binary -crypto/cipher +os crypto/sha512 crypto/md5 -crypto/ed25519/internal/edwards25519 crypto/sha1 +crypto/ed25519/internal/edwards25519 crypto/sha256 encoding/base64 +crypto/cipher golang.org/x/sys/unix encoding/pem fmt path/filepath os/signal net -crypto/des -crypto/aes github.com/minio/sha256-simd -io/ioutil +crypto/aes +crypto/des os/exec +io/ioutil os/user -encoding/hex -net/url math/big +encoding/hex +github.com/pkg/errors log flag +text/template/parse +net/url github.com/klauspost/compress/flate encoding/json github.com/russross/blackfriday/v2 -github.com/pkg/errors -text/template/parse github.com/mendersoftware/mender-artifact/cli/mender-artifact/util text/template github.com/cpuguy83/go-md2man/v2/md2man -github.com/sirupsen/logrus github.com/mendersoftware/mender-artifact/utils +github.com/sirupsen/logrus github.com/klauspost/pgzip crypto/elliptic +crypto/dsa encoding/asn1 crypto/rand -crypto/dsa -crypto/rsa -crypto/ed25519 github.com/urfave/cli -crypto/x509/pkix +crypto/ed25519 +crypto/rsa vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix crypto/ecdsa archive/tar crypto/x509 @@ -691,95 +726,95 @@ github.com/mendersoftware/mender-artifact/cli/mender-artifact make[1]: Leaving directory '/build/golang-github-mendersoftware-mender-artifact-3.4.0' dh_auto_test -O--buildsystem=golang - cd obj-x86_64-linux-gnu && go test -vet=off -v -p 15 github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/awriter github.com/mendersoftware/mender-artifact/cli/mender-artifact github.com/mendersoftware/mender-artifact/cli/mender-artifact/util github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/utils + cd obj-x86_64-linux-gnu && go test -vet=off -v -p 16 github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/awriter github.com/mendersoftware/mender-artifact/cli/mender-artifact github.com/mendersoftware/mender-artifact/cli/mender-artifact/util github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/utils === RUN TestReadArtifact -=== RUN TestReadArtifact/version_3_-_signed === RUN TestReadArtifact/version_3_-_public_key_error === RUN TestReadArtifact/version_2_pass === RUN TestReadArtifact/version_2_signed === RUN TestReadArtifact/version_2_-_public_key_error === RUN TestReadArtifact/version_2_-_no_verifier_needed_for_a_signed_artifact === RUN TestReadArtifact/version_3_-_base_case ---- PASS: TestReadArtifact (0.24s) - --- PASS: TestReadArtifact/version_3_-_signed (0.07s) - --- PASS: TestReadArtifact/version_3_-_public_key_error (0.02s) - --- PASS: TestReadArtifact/version_2_pass (0.05s) - --- PASS: TestReadArtifact/version_2_signed (0.02s) - --- PASS: TestReadArtifact/version_2_-_public_key_error (0.00s) - --- PASS: TestReadArtifact/version_2_-_no_verifier_needed_for_a_signed_artifact (0.03s) - --- PASS: TestReadArtifact/version_3_-_base_case (0.04s) +=== RUN TestReadArtifact/version_3_-_signed +--- PASS: TestReadArtifact (0.38s) + --- PASS: TestReadArtifact/version_3_-_public_key_error (0.11s) + --- PASS: TestReadArtifact/version_2_pass (0.06s) + --- PASS: TestReadArtifact/version_2_signed (0.03s) + --- PASS: TestReadArtifact/version_2_-_public_key_error (0.06s) + --- PASS: TestReadArtifact/version_2_-_no_verifier_needed_for_a_signed_artifact (0.06s) + --- PASS: TestReadArtifact/version_3_-_base_case (0.02s) + --- PASS: TestReadArtifact/version_3_-_signed (0.05s) === RUN TestReadSigned ---- PASS: TestReadSigned (0.18s) +--- PASS: TestReadSigned (0.23s) === RUN TestRegisterMultipleHandlers --- PASS: TestRegisterMultipleHandlers (0.00s) === RUN TestReadNoHandler ---- PASS: TestReadNoHandler (0.01s) +--- PASS: TestReadNoHandler (0.03s) === RUN TestReadBroken --- PASS: TestReadBroken (0.00s) === RUN TestReadWithScripts ---- PASS: TestReadWithScripts (0.03s) +--- PASS: TestReadWithScripts (0.02s) === RUN TestValidParsePathV3 --- PASS: TestValidParsePathV3 (0.00s) === RUN TestReadArtifactDependsAndProvides ---- PASS: TestReadArtifactDependsAndProvides (0.05s) +--- PASS: TestReadArtifactDependsAndProvides (0.04s) === RUN TestReadBrokenArtifact +=== RUN TestReadBrokenArtifact/Everything_ok +=== RUN TestReadBrokenArtifact/Too_many_files_in_empty_manifest +=== RUN TestReadBrokenArtifact/Too_many_files_in_manifest-augment +=== RUN TestReadBrokenArtifact/rootfs-image,_invalid_character_in_update_data_file +=== RUN TestReadBrokenArtifact/Two_rootfs_images === RUN TestReadBrokenArtifact/Too_many_files_in_manifest +=== RUN TestReadBrokenArtifact/version_file_in_wrong_manifest +=== RUN TestReadBrokenArtifact/Non-JSON_meta-data +=== RUN TestReadBrokenArtifact/rootfs-image,_header.tar.gz_missing +=== RUN TestReadBrokenArtifact/no_manifest-augment +=== RUN TestReadBrokenArtifact/data_file_missing_from_manifest +=== RUN TestReadBrokenArtifact/augmented_data_files_broken_checksum === RUN TestReadBrokenArtifact/augmented_data_file_missing_from_manifest -=== RUN TestReadBrokenArtifact/Several_files === RUN TestReadBrokenArtifact/Scripts_in_augmented_header === RUN TestReadBrokenArtifact/rootfs-image,_version_missing -=== RUN TestReadBrokenArtifact/Too_many_files_in_empty_manifest -=== RUN TestReadBrokenArtifact/Conflicting_checksums_in_manifest_files === RUN TestReadBrokenArtifact/rootfs-image,_header-augment.tar.gz_missing -=== RUN TestReadBrokenArtifact/data_files_broken_checksum -=== RUN TestReadBrokenArtifact/augmented_data_files_broken_checksum +=== RUN TestReadBrokenArtifact/version_missing +=== RUN TestReadBrokenArtifact/augmented_files,_but_header-augment.tar.gz_missing === RUN TestReadBrokenArtifact/Everything_ok,_augmented_files_present -=== RUN TestReadBrokenArtifact/Too_many_files_in_manifest-augment -=== RUN TestReadBrokenArtifact/Two_rootfs_images -=== RUN TestReadBrokenArtifact/Non-object_meta-data === RUN TestReadBrokenArtifact/header.tar.gz_missing === RUN TestReadBrokenArtifact/Too_many_files_in_empty_manifest-augment -=== RUN TestReadBrokenArtifact/rootfs-image,_header.tar.gz_missing +=== RUN TestReadBrokenArtifact/Conflicting_checksums_in_manifest_files +=== RUN TestReadBrokenArtifact/rootfs-image,_Everything_ok +=== RUN TestReadBrokenArtifact/data_files_broken_checksum === RUN TestReadBrokenArtifact/data/0000.tar.gz_missing -=== RUN TestReadBrokenArtifact/data_file_missing_from_manifest +=== RUN TestReadBrokenArtifact/Several_files +=== RUN TestReadBrokenArtifact/Non-object_meta-data === RUN TestReadBrokenArtifact/Files_in_both_manifest_files -=== RUN TestReadBrokenArtifact/version_file_in_wrong_manifest -=== RUN TestReadBrokenArtifact/rootfs-image,_invalid_character_in_update_data_file -=== RUN TestReadBrokenArtifact/rootfs-image,_Everything_ok -=== RUN TestReadBrokenArtifact/augmented_files,_but_header-augment.tar.gz_missing -=== RUN TestReadBrokenArtifact/version_missing -=== RUN TestReadBrokenArtifact/no_manifest-augment -=== RUN TestReadBrokenArtifact/Non-JSON_meta-data -=== RUN TestReadBrokenArtifact/Everything_ok ---- PASS: TestReadBrokenArtifact (1.65s) - --- PASS: TestReadBrokenArtifact/Too_many_files_in_manifest (0.06s) - --- PASS: TestReadBrokenArtifact/augmented_data_file_missing_from_manifest (0.07s) - --- PASS: TestReadBrokenArtifact/Several_files (0.06s) - --- PASS: TestReadBrokenArtifact/Scripts_in_augmented_header (0.10s) +--- PASS: TestReadBrokenArtifact (2.99s) + --- PASS: TestReadBrokenArtifact/Everything_ok (0.09s) + --- PASS: TestReadBrokenArtifact/Too_many_files_in_empty_manifest (0.07s) + --- PASS: TestReadBrokenArtifact/Too_many_files_in_manifest-augment (0.14s) + --- PASS: TestReadBrokenArtifact/rootfs-image,_invalid_character_in_update_data_file (0.17s) + --- PASS: TestReadBrokenArtifact/Two_rootfs_images (0.17s) + --- PASS: TestReadBrokenArtifact/Too_many_files_in_manifest (0.11s) + --- PASS: TestReadBrokenArtifact/version_file_in_wrong_manifest (0.10s) + --- PASS: TestReadBrokenArtifact/Non-JSON_meta-data (0.15s) + --- PASS: TestReadBrokenArtifact/rootfs-image,_header.tar.gz_missing (0.07s) + --- PASS: TestReadBrokenArtifact/no_manifest-augment (0.11s) + --- PASS: TestReadBrokenArtifact/data_file_missing_from_manifest (0.06s) + --- PASS: TestReadBrokenArtifact/augmented_data_files_broken_checksum (0.10s) + --- PASS: TestReadBrokenArtifact/augmented_data_file_missing_from_manifest (0.16s) + --- PASS: TestReadBrokenArtifact/Scripts_in_augmented_header (0.21s) --- PASS: TestReadBrokenArtifact/rootfs-image,_version_missing (0.06s) - --- PASS: TestReadBrokenArtifact/Too_many_files_in_empty_manifest (0.05s) - --- PASS: TestReadBrokenArtifact/Conflicting_checksums_in_manifest_files (0.08s) - --- PASS: TestReadBrokenArtifact/rootfs-image,_header-augment.tar.gz_missing (0.06s) - --- PASS: TestReadBrokenArtifact/data_files_broken_checksum (0.08s) - --- PASS: TestReadBrokenArtifact/augmented_data_files_broken_checksum (0.05s) - --- PASS: TestReadBrokenArtifact/Everything_ok,_augmented_files_present (0.12s) - --- PASS: TestReadBrokenArtifact/Too_many_files_in_manifest-augment (0.05s) - --- PASS: TestReadBrokenArtifact/Two_rootfs_images (0.08s) - --- PASS: TestReadBrokenArtifact/Non-object_meta-data (0.09s) - --- PASS: TestReadBrokenArtifact/header.tar.gz_missing (0.02s) - --- PASS: TestReadBrokenArtifact/Too_many_files_in_empty_manifest-augment (0.02s) - --- PASS: TestReadBrokenArtifact/rootfs-image,_header.tar.gz_missing (0.02s) - --- PASS: TestReadBrokenArtifact/data/0000.tar.gz_missing (0.03s) - --- PASS: TestReadBrokenArtifact/data_file_missing_from_manifest (0.04s) - --- PASS: TestReadBrokenArtifact/Files_in_both_manifest_files (0.05s) - --- PASS: TestReadBrokenArtifact/version_file_in_wrong_manifest (0.05s) - --- PASS: TestReadBrokenArtifact/rootfs-image,_invalid_character_in_update_data_file (0.09s) - --- PASS: TestReadBrokenArtifact/rootfs-image,_Everything_ok (0.04s) - --- PASS: TestReadBrokenArtifact/augmented_files,_but_header-augment.tar.gz_missing (0.06s) - --- PASS: TestReadBrokenArtifact/version_missing (0.02s) - --- PASS: TestReadBrokenArtifact/no_manifest-augment (0.06s) - --- PASS: TestReadBrokenArtifact/Non-JSON_meta-data (0.07s) - --- PASS: TestReadBrokenArtifact/Everything_ok (0.05s) + --- PASS: TestReadBrokenArtifact/rootfs-image,_header-augment.tar.gz_missing (0.10s) + --- PASS: TestReadBrokenArtifact/version_missing (0.05s) + --- PASS: TestReadBrokenArtifact/augmented_files,_but_header-augment.tar.gz_missing (0.08s) + --- PASS: TestReadBrokenArtifact/Everything_ok,_augmented_files_present (0.08s) + --- PASS: TestReadBrokenArtifact/header.tar.gz_missing (0.06s) + --- PASS: TestReadBrokenArtifact/Too_many_files_in_empty_manifest-augment (0.08s) + --- PASS: TestReadBrokenArtifact/Conflicting_checksums_in_manifest_files (0.06s) + --- PASS: TestReadBrokenArtifact/rootfs-image,_Everything_ok (0.10s) + --- PASS: TestReadBrokenArtifact/data_files_broken_checksum (0.11s) + --- PASS: TestReadBrokenArtifact/data/0000.tar.gz_missing (0.08s) + --- PASS: TestReadBrokenArtifact/Several_files (0.14s) + --- PASS: TestReadBrokenArtifact/Non-object_meta-data (0.16s) + --- PASS: TestReadBrokenArtifact/Files_in_both_manifest_files (0.12s) === RUN TestMergeDependsSuccess --- PASS: TestMergeDependsSuccess (0.00s) === RUN TestMergeDependsError @@ -789,7 +824,7 @@ === RUN TestMergeProvidesError --- PASS: TestMergeProvidesError (0.00s) PASS -ok github.com/mendersoftware/mender-artifact/areader 2.202s +ok github.com/mendersoftware/mender-artifact/areader 3.755s === RUN TestChecksumWrite --- PASS: TestChecksumWrite (0.00s) === RUN TestChecksumRead @@ -799,7 +834,7 @@ === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestCompressorGzip ---- PASS: TestCompressorGzip (0.09s) +--- PASS: TestCompressorGzip (0.07s) === RUN TestCompressorLzma --- PASS: TestCompressorLzma (0.00s) === RUN TestCompressorNone @@ -819,7 +854,7 @@ === RUN TestHeaderInfoV3 --- PASS: TestHeaderInfoV3 (0.00s) === RUN TestMarshalJSONHeaderInfoV3 ---- PASS: TestMarshalJSONHeaderInfoV3 (0.00s) +--- PASS: TestMarshalJSONHeaderInfoV3 (0.02s) === RUN TestValidateTypeInfo --- PASS: TestValidateTypeInfo (0.00s) === RUN TestValidateTypeInfoV3 @@ -843,15 +878,15 @@ === RUN TestPublicKey --- PASS: TestPublicKey (0.00s) === RUN TestPrivateKey ---- PASS: TestPrivateKey (0.04s) +--- PASS: TestPrivateKey (0.06s) === RUN TestRSA --- PASS: TestRSA (0.00s) === RUN TestRSARaw --- PASS: TestRSARaw (0.00s) === RUN TestECDSA ---- PASS: TestECDSA (0.04s) +--- PASS: TestECDSA (0.10s) === RUN TestECDSARaw ---- PASS: TestECDSARaw (0.06s) +--- PASS: TestECDSARaw (0.10s) === RUN TestTarFile --- PASS: TestTarFile (0.00s) === RUN TestTarStream @@ -861,37 +896,37 @@ === RUN TestUpdateUtils --- PASS: TestUpdateUtils (0.00s) PASS -ok github.com/mendersoftware/mender-artifact/artifact 0.275s +ok github.com/mendersoftware/mender-artifact/artifact 0.434s === RUN TestWriteArtifactWrongVersion --- PASS: TestWriteArtifactWrongVersion (0.00s) === RUN TestWriteArtifactWithUpdates ---- PASS: TestWriteArtifactWithUpdates (0.03s) +--- PASS: TestWriteArtifactWithUpdates (0.12s) === RUN TestWriteMultipleUpdates ---- PASS: TestWriteMultipleUpdates (0.02s) +--- PASS: TestWriteMultipleUpdates (0.06s) === RUN TestWriteArtifactV2 ---- PASS: TestWriteArtifactV2 (0.02s) +--- PASS: TestWriteArtifactV2 (0.09s) === RUN TestWriteArtifactV3 ---- PASS: TestWriteArtifactV3 (0.07s) +--- PASS: TestWriteArtifactV3 (0.22s) === RUN TestWithScripts ---- PASS: TestWithScripts (0.01s) +--- PASS: TestWithScripts (0.02s) === RUN TestWriteManifestVersion +=== RUN TestWriteManifestVersion/wrong_version === RUN TestWriteManifestVersion/version_2,_fail_on_write_to_manifest_checksum_store === RUN TestWriteManifestVersion/version_2,_fail_on_signature_write === RUN TestWriteManifestVersion/version_3,_fail_on_write_to_manifest_checksum_store === RUN TestWriteManifestVersion/version_3,_fail_on_signature_write === RUN TestWriteManifestVersion/version_3,_fail_write_augmented-manifest -=== RUN TestWriteManifestVersion/wrong_version --- PASS: TestWriteManifestVersion (0.00s) + --- PASS: TestWriteManifestVersion/wrong_version (0.00s) --- PASS: TestWriteManifestVersion/version_2,_fail_on_write_to_manifest_checksum_store (0.00s) --- PASS: TestWriteManifestVersion/version_2,_fail_on_signature_write (0.00s) --- PASS: TestWriteManifestVersion/version_3,_fail_on_write_to_manifest_checksum_store (0.00s) --- PASS: TestWriteManifestVersion/version_3,_fail_on_signature_write (0.00s) --- PASS: TestWriteManifestVersion/version_3,_fail_write_augmented-manifest (0.00s) - --- PASS: TestWriteManifestVersion/wrong_version (0.00s) === RUN TestRootfsCompose ---- PASS: TestRootfsCompose (0.01s) +--- PASS: TestRootfsCompose (0.04s) PASS -ok github.com/mendersoftware/mender-artifact/awriter 0.182s +ok github.com/mendersoftware/mender-artifact/awriter 0.619s === RUN TestArtifactsSigned Error reading key file: open non-existing-private.key: no such file or directory Mender artifact: @@ -915,7 +950,7 @@ Files: name: update.ext4 size: 9 - modified: 2021-11-15 00:55:29 +0000 UTC + modified: 2022-12-18 07:23:13 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Mender artifact: Name: mender-1.1 @@ -938,13 +973,13 @@ Files: name: update.ext4 size: 9 - modified: 2021-11-15 00:55:29 +0000 UTC + modified: 2022-12-18 07:23:13 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Error reading key file: open non-existing-public.key: no such file or directory -Artifact file '/tmp/update820554238/artifact.mender' validated successfully +Artifact file '/tmp/update357508828/artifact.mender' validated successfully Error reading key file: open non-existing-public.key: no such file or directory Artifact version 1 is not supported ---- PASS: TestArtifactsSigned (0.06s) +--- PASS: TestArtifactsSigned (0.19s) === RUN TestCLIErrors failed to parse image path no artifact or sdimage provided @@ -958,7 +993,7 @@ Wrong number of arguments, got 3 Wrong number of arguments, got 2 No artifact or sdimg provided ---- PASS: TestCLIErrors (0.00s) +--- PASS: TestCLIErrors (0.02s) === RUN TestCopyRootfsImage === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout/artifact.mender @@ -1021,11 +1056,11 @@ === RUN TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name/artifact.mender === RUN TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact === RUN TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/artifact.mender -failed to copy from: /tmp/mender-modify978896334/artifact.mender:/etc/mender/artifact_info to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/mender/artifact_info not found in image +failed to copy from: /tmp/mender-modify045582892/artifact.mender:/etc/mender/artifact_info to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/mender/artifact_info not found in image === RUN TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test.sdimg -failed to copy from: /tmp/mender-modify978896334/mender_test.sdimg:/etc/mender/artifact_info to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/mender/artifact_info not found in image +failed to copy from: /tmp/mender-modify045582892/mender_test.sdimg:/etc/mender/artifact_info to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/mender/artifact_info not found in image === RUN TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test_fat.sdimg -failed to copy from: /tmp/mender-modify978896334/mender_test_fat.sdimg:/etc/mender/artifact_info to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/mender/artifact_info not found in image +failed to copy from: /tmp/mender-modify045582892/mender_test_fat.sdimg:/etc/mender/artifact_info to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/mender/artifact_info not found in image === RUN TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact === RUN TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/artifact.mender === RUN TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test.sdimg @@ -1039,7 +1074,7 @@ failed to open the partition reader: err: The directory: /etc/mender does not exist in the image === RUN TestCopyRootfsImage/Delete_a_file_from_a_fat_partition === RUN TestCopyRootfsImage/Delete_a_file_from_a_fat_partition/mender_test_fat.sdimg -failed to copy from: /tmp/mender-modify586091485/mender_test_fat.sdimg:/boot/test.txt to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /boot/test.txt not found in image +failed to copy from: /tmp/mender-modify895810915/mender_test_fat.sdimg:/boot/test.txt to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /boot/test.txt not found in image === RUN TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition === RUN TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact @@ -1060,121 +1095,121 @@ === RUN TestCopyRootfsImage/Create_a_directory_that_already_exists/artifact.mender === RUN TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test.sdimg === RUN TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test_fat.sdimg ---- PASS: TestCopyRootfsImage (26.60s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout (0.50s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/artifact.mender (0.11s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test.sdimg (0.18s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test_fat.sdimg (0.16s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact (0.28s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact/artifact.mender (0.24s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt (0.46s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/artifact.mender (0.11s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test.sdimg (0.21s) - --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test_fat.sdimg (0.10s) - --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img (1.08s) - --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/artifact.mender (0.23s) - --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test.sdimg (0.46s) - --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test_fat.sdimg (0.35s) - --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory (0.39s) - --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/artifact.mender (0.07s) - --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test.sdimg (0.10s) - --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test_fat.sdimg (0.18s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition (0.76s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test.sdimg (0.39s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test_fat.sdimg (0.35s) - --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition (0.13s) - --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition/artifact.mender (0.08s) - --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition (0.11s) - --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition/artifact.mender (0.08s) - --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600) (1.80s) - --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/artifact.mender (0.39s) - --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test.sdimg (0.77s) - --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test_fat.sdimg (0.60s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777) (1.49s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/artifact.mender (0.51s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test.sdimg (0.51s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test_fat.sdimg (0.44s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700) (2.14s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/artifact.mender (0.40s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test.sdimg (0.73s) - --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test_fat.sdimg (0.97s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition (0.89s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test.sdimg (0.46s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test_fat.sdimg (0.38s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition (0.87s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test.sdimg (0.45s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test_fat.sdimg (0.38s) - --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition (0.71s) - --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition/mender_test.sdimg (0.33s) - --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition/mender_test_fat.sdimg (0.34s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition (0.60s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test.sdimg (0.31s) - --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test_fat.sdimg (0.25s) - --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext) (0.20s) - --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext)/mender_test.sdimg (0.15s) - --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat) (0.08s) - --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat)/mender_test_fat.sdimg (0.05s) - --- PASS: TestCopyRootfsImage/error:_mender_artifact_does_not_contain_a_boot_partition (0.07s) - --- PASS: TestCopyRootfsImage/error:_mender_artifact_does_not_contain_a_boot_partition/artifact.mender (0.04s) - --- PASS: TestCopyRootfsImage/check_if_artifact_does_not_change_name (0.15s) - --- PASS: TestCopyRootfsImage/check_if_artifact_does_not_change_name/artifact.mender (0.12s) - --- PASS: TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name (0.22s) - --- PASS: TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name/artifact.mender (0.17s) - --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact (0.99s) - --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/artifact.mender (0.21s) - --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test.sdimg (0.44s) - --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test_fat.sdimg (0.29s) - --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact (0.49s) - --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/artifact.mender (0.12s) - --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test.sdimg (0.17s) - --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test_fat.sdimg (0.16s) - --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively (1.46s) - --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/artifact.mender (0.24s) - --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test.sdimg (0.57s) - --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test_fat.sdimg (0.61s) - --- PASS: TestCopyRootfsImage/Delete_a_file_from_a_fat_partition (0.53s) - --- PASS: TestCopyRootfsImage/Delete_a_file_from_a_fat_partition/mender_test_fat.sdimg (0.49s) - --- PASS: TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition (0.19s) - --- PASS: TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition/mender_test_fat.sdimg (0.14s) - --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact (1.06s) - --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/artifact.mender (0.19s) - --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test.sdimg (0.41s) - --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test_fat.sdimg (0.42s) - --- PASS: TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact (0.27s) +--- PASS: TestCopyRootfsImage (50.01s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout (0.93s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/artifact.mender (0.28s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test.sdimg (0.24s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test_fat.sdimg (0.33s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact (0.63s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact/artifact.mender (0.54s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt (0.99s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/artifact.mender (0.22s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test.sdimg (0.36s) + --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test_fat.sdimg (0.32s) + --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img (2.03s) + --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/artifact.mender (0.43s) + --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test.sdimg (0.84s) + --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test_fat.sdimg (0.68s) + --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory (0.91s) + --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/artifact.mender (0.23s) + --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test.sdimg (0.30s) + --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test_fat.sdimg (0.29s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition (1.29s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test.sdimg (0.70s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test_fat.sdimg (0.50s) + --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition (0.21s) + --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition/artifact.mender (0.14s) + --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition (0.21s) + --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition/artifact.mender (0.13s) + --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600) (3.22s) + --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/artifact.mender (0.77s) + --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test.sdimg (1.18s) + --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test_fat.sdimg (1.22s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777) (3.12s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/artifact.mender (0.88s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test.sdimg (1.02s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test_fat.sdimg (1.15s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700) (2.80s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/artifact.mender (0.64s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test.sdimg (1.05s) + --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test_fat.sdimg (1.03s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition (1.31s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test.sdimg (0.65s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test_fat.sdimg (0.60s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition (1.31s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test.sdimg (0.60s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test_fat.sdimg (0.61s) + --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition (1.31s) + --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition/mender_test.sdimg (0.66s) + --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition/mender_test_fat.sdimg (0.57s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition (1.37s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test.sdimg (0.74s) + --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test_fat.sdimg (0.55s) + --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext) (0.45s) + --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext)/mender_test.sdimg (0.38s) + --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat) (0.40s) + --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat)/mender_test_fat.sdimg (0.31s) + --- PASS: TestCopyRootfsImage/error:_mender_artifact_does_not_contain_a_boot_partition (0.38s) + --- PASS: TestCopyRootfsImage/error:_mender_artifact_does_not_contain_a_boot_partition/artifact.mender (0.28s) + --- PASS: TestCopyRootfsImage/check_if_artifact_does_not_change_name (0.39s) + --- PASS: TestCopyRootfsImage/check_if_artifact_does_not_change_name/artifact.mender (0.30s) + --- PASS: TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name (0.51s) + --- PASS: TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name/artifact.mender (0.39s) + --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact (1.67s) + --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/artifact.mender (0.45s) + --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test.sdimg (0.58s) + --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test_fat.sdimg (0.54s) + --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact (0.96s) + --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/artifact.mender (0.26s) + --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test.sdimg (0.35s) + --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test_fat.sdimg (0.24s) + --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively (2.86s) + --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/artifact.mender (0.67s) + --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test.sdimg (0.92s) + --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test_fat.sdimg (1.20s) + --- PASS: TestCopyRootfsImage/Delete_a_file_from_a_fat_partition (0.92s) + --- PASS: TestCopyRootfsImage/Delete_a_file_from_a_fat_partition/mender_test_fat.sdimg (0.86s) + --- PASS: TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition (0.36s) + --- PASS: TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition/mender_test_fat.sdimg (0.29s) + --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact (1.91s) + --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/artifact.mender (0.49s) + --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test.sdimg (0.70s) + --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test_fat.sdimg (0.65s) + --- PASS: TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact (0.31s) --- PASS: TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact/artifact.mender (0.25s) - --- PASS: TestCopyRootfsImage/Create_a_directory (1.86s) - --- PASS: TestCopyRootfsImage/Create_a_directory/artifact.mender (0.54s) - --- PASS: TestCopyRootfsImage/Create_a_directory/mender_test.sdimg (0.61s) - --- PASS: TestCopyRootfsImage/Create_a_directory/mender_test_fat.sdimg (0.66s) - --- PASS: TestCopyRootfsImage/Create_nested_directories (2.06s) - --- PASS: TestCopyRootfsImage/Create_nested_directories/artifact.mender (0.41s) - --- PASS: TestCopyRootfsImage/Create_nested_directories/mender_test.sdimg (0.88s) - --- PASS: TestCopyRootfsImage/Create_nested_directories/mender_test_fat.sdimg (0.71s) - --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists (0.48s) - --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/artifact.mender (0.07s) - --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test.sdimg (0.16s) - --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test_fat.sdimg (0.22s) + --- PASS: TestCopyRootfsImage/Create_a_directory (2.99s) + --- PASS: TestCopyRootfsImage/Create_a_directory/artifact.mender (0.69s) + --- PASS: TestCopyRootfsImage/Create_a_directory/mender_test.sdimg (1.06s) + --- PASS: TestCopyRootfsImage/Create_a_directory/mender_test_fat.sdimg (1.15s) + --- PASS: TestCopyRootfsImage/Create_nested_directories (3.44s) + --- PASS: TestCopyRootfsImage/Create_nested_directories/artifact.mender (0.79s) + --- PASS: TestCopyRootfsImage/Create_nested_directories/mender_test.sdimg (1.26s) + --- PASS: TestCopyRootfsImage/Create_nested_directories/mender_test_fat.sdimg (1.32s) + --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists (0.87s) + --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/artifact.mender (0.14s) + --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test.sdimg (0.35s) + --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test_fat.sdimg (0.28s) === RUN TestCopyFromStdin The directory: nonexisting does not exist in the image fatFile: Write: MTools execution failed: exit status 1 ---- PASS: TestCopyFromStdin (3.47s) +--- PASS: TestCopyFromStdin (4.24s) === RUN TestCopyModuleImage mender-artifact can only modify ext4 and vfat payloads failed to open the partition reader: err: mender-artifact can only modify ext4 and vfat payloads mender-artifact can only modify ext4 and vfat payloads failed to open the partition reader: err: mender-artifact can only modify ext4 and vfat payloads ---- PASS: TestCopyModuleImage (0.11s) +--- PASS: TestCopyModuleImage (0.44s) === RUN TestExecuteCommand debugfs_test.go:38: non-existing directory ---- PASS: TestExecuteCommand (0.00s) +--- PASS: TestExecuteCommand (0.02s) === RUN TestExternalBinaryDependency --- PASS: TestExternalBinaryDependency (0.00s) === RUN TestDumpContent === RUN TestDumpContent/rootfs-image === RUN TestDumpContent/my-own-type ---- PASS: TestDumpContent (0.08s) - --- PASS: TestDumpContent/rootfs-image (0.03s) - --- PASS: TestDumpContent/my-own-type (0.05s) +--- PASS: TestDumpContent (0.17s) + --- PASS: TestDumpContent/rootfs-image (0.04s) + --- PASS: TestDumpContent/my-own-type (0.13s) === RUN TestCompressionArgumentLocations NAME: mender-artifact write module-image - Writes Mender artifact for an update module @@ -1206,55 +1241,55 @@ --script value, -s value Full path to the state script(s). You can specify multiple scripts providing this parameter multiple times. --version value, -v value Version of the artifact. (default: 3) ---- PASS: TestCompressionArgumentLocations (0.06s) +--- PASS: TestCompressionArgumentLocations (0.24s) === RUN TestModuleImageWithoutPayload ---- PASS: TestModuleImageWithoutPayload (0.01s) +--- PASS: TestModuleImageWithoutPayload (0.11s) === RUN TestDebugfs ---- PASS: TestDebugfs (0.02s) +--- PASS: TestDebugfs (0.10s) === RUN TestModifyImage ---- PASS: TestModifyImage (0.36s) +--- PASS: TestModifyImage (1.72s) === RUN TestModifySdimage ---- PASS: TestModifySdimage (0.19s) +--- PASS: TestModifySdimage (1.06s) === RUN TestModifyRootfsArtifact ---- PASS: TestModifyRootfsArtifact (0.16s) +--- PASS: TestModifyRootfsArtifact (0.69s) === RUN TestModifyRootfsServerCert -Error modifying artifact[/tmp/mender-modify325404113/mender_test.img]: invalid server certificate: stat non-existing: no such file or directory ---- PASS: TestModifyRootfsServerCert (0.04s) +Error modifying artifact[/tmp/mender-modify481156407/mender_test.img]: invalid server certificate: stat non-existing: no such file or directory +--- PASS: TestModifyRootfsServerCert (0.18s) === RUN TestModifyRootfsSigned ---- PASS: TestModifyRootfsSigned (0.43s) +--- PASS: TestModifyRootfsSigned (1.76s) === RUN TestModifyModuleArtifact -Error modifying artifact[/tmp/mendertest262781969/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads -Error modifying artifact[/tmp/mendertest262781969/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads -Error modifying artifact[/tmp/mendertest262781969/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads -Error modifying artifact[/tmp/mendertest262781969/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads ---- PASS: TestModifyModuleArtifact (0.16s) +Error modifying artifact[/tmp/mendertest009563511/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads +Error modifying artifact[/tmp/mendertest009563511/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads +Error modifying artifact[/tmp/mendertest009563511/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads +Error modifying artifact[/tmp/mendertest009563511/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads +--- PASS: TestModifyModuleArtifact (0.77s) === RUN TestModifyBrokenArtifact Error selecting images for modification: can not execute `parted` command or image is broken; make sure parted is available in your system and is in the $PATH: exit status 1 ---- PASS: TestModifyBrokenArtifact (0.01s) +--- PASS: TestModifyBrokenArtifact (0.06s) === RUN TestModifyExtraAttributes ---- PASS: TestModifyExtraAttributes (0.06s) +--- PASS: TestModifyExtraAttributes (0.47s) === RUN TestModifyExtraAttributesOnNonArtifact === RUN TestModifyExtraAttributesOnNonArtifact/--artifact-name-depends -Error modifying artifact[/tmp/830943608/mender_test.img]: `--artifact-name-depends` argument must be used with an Artifact +Error modifying artifact[/tmp/558801990/mender_test.img]: `--artifact-name-depends` argument must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--provides-group -Error modifying artifact[/tmp/830943608/mender_test.img]: `--provides-group` argument must be used with an Artifact +Error modifying artifact[/tmp/558801990/mender_test.img]: `--provides-group` argument must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--depends-groups -Error modifying artifact[/tmp/830943608/mender_test.img]: `--depends-groups` argument must be used with an Artifact +Error modifying artifact[/tmp/558801990/mender_test.img]: `--depends-groups` argument must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--depends -Error modifying artifact[/tmp/830943608/mender_test.img]: Argument `--depends` must be used with an Artifact +Error modifying artifact[/tmp/558801990/mender_test.img]: Argument `--depends` must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--provides -Error modifying artifact[/tmp/830943608/mender_test.img]: Argument `--provides` must be used with an Artifact +Error modifying artifact[/tmp/558801990/mender_test.img]: Argument `--provides` must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--meta-data -Error modifying artifact[/tmp/830943608/mender_test.img]: `--meta-data` argument must be used with an Artifact ---- PASS: TestModifyExtraAttributesOnNonArtifact (0.07s) - --- PASS: TestModifyExtraAttributesOnNonArtifact/--artifact-name-depends (0.01s) - --- PASS: TestModifyExtraAttributesOnNonArtifact/--provides-group (0.01s) - --- PASS: TestModifyExtraAttributesOnNonArtifact/--depends-groups (0.01s) - --- PASS: TestModifyExtraAttributesOnNonArtifact/--depends (0.01s) - --- PASS: TestModifyExtraAttributesOnNonArtifact/--provides (0.01s) - --- PASS: TestModifyExtraAttributesOnNonArtifact/--meta-data (0.01s) +Error modifying artifact[/tmp/558801990/mender_test.img]: `--meta-data` argument must be used with an Artifact +--- PASS: TestModifyExtraAttributesOnNonArtifact (0.41s) + --- PASS: TestModifyExtraAttributesOnNonArtifact/--artifact-name-depends (0.08s) + --- PASS: TestModifyExtraAttributesOnNonArtifact/--provides-group (0.08s) + --- PASS: TestModifyExtraAttributesOnNonArtifact/--depends-groups (0.07s) + --- PASS: TestModifyExtraAttributesOnNonArtifact/--depends (0.06s) + --- PASS: TestModifyExtraAttributesOnNonArtifact/--provides (0.06s) + --- PASS: TestModifyExtraAttributesOnNonArtifact/--meta-data (0.07s) === RUN TestFsck ---- PASS: TestFsck (0.00s) +--- PASS: TestFsck (0.03s) === RUN TestArtifactsRead Nothing specified, nothing read. Maybe you wanted to say 'artifacts read '? @@ -1275,23 +1310,23 @@ Files: name: update.ext4 size: 9 - modified: 2021-11-15 00:56:01 +0000 UTC + modified: 2022-12-18 07:24:16 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Can not open artifact: open non-existing: no such file or directory ---- PASS: TestArtifactsRead (0.01s) +--- PASS: TestArtifactsRead (0.09s) === RUN TestReadArtifactOutput ---- PASS: TestReadArtifactOutput (0.04s) +--- PASS: TestReadArtifactOutput (0.11s) === RUN TestSignExistingV2 -Artifact file '/tmp/update369655378/artifact.mender.sig' validated successfully +Artifact file '/tmp/update789222928/artifact.mender.sig' validated successfully Artifact already signed, refusing to re-sign. Use force option to override ---- PASS: TestSignExistingV2 (0.02s) +--- PASS: TestSignExistingV2 (0.11s) === RUN TestSignExistingWithScripts Can not use signing key provided: Error reading key file: open -o: no such file or directory Missing signing key; please use `-k` parameter for providing one ---- PASS: TestSignExistingWithScripts (0.01s) +--- PASS: TestSignExistingWithScripts (0.09s) === RUN TestSignExistingWithModules -Artifact file '/tmp/update774836092/artifact.mender.sig' validated successfully ---- PASS: TestSignExistingWithModules (0.03s) +Artifact file '/tmp/update163552682/artifact.mender.sig' validated successfully +--- PASS: TestSignExistingWithModules (0.13s) === RUN TestSignExistingBrokenFiles `manifest` not found. Corrupt Artifact? Could not read tar header: unexpected EOF @@ -1313,10 +1348,10 @@ --------------------------------- ---- Running test validate-5 ---- --------------------------------- ---- PASS: TestValidate (0.07s) +--- PASS: TestValidate (0.21s) === RUN TestArtifactsValidate -Artifact file '/tmp/update080704195/artifact.mender' validated successfully ---- PASS: TestArtifactsValidate (0.01s) +Artifact file '/tmp/update444196185/artifact.mender' validated successfully +--- PASS: TestArtifactsValidate (0.05s) === RUN TestArtifactsValidateError Nothing specified, nothing validated. Maybe you wanted to say 'artifacts validate '? @@ -1365,7 +1400,7 @@ error: whitespace is not allowed in the artifact-name whitespace is not allowed in the artifact-name Artifact version 300 is not supported ---- PASS: TestArtifactsWrite (0.01s) +--- PASS: TestArtifactsWrite (0.04s) === RUN TestWithScripts Mender artifact: Name: mender-1.1 @@ -1377,10 +1412,10 @@ Depends on one of artifact(s): [] Depends on one of group(s): [] State scripts: + ArtifactInstall_Enter_99 ArtifactInstall_Leave_01 ArtifactReboot_Enter_99 ArtifactReboot_Leave_01 - ArtifactInstall_Enter_99 Updates: 0: @@ -1392,19 +1427,19 @@ Files: name: update.ext4 size: 9 - modified: 2021-11-15 00:56:02 +0000 UTC + modified: 2022-12-18 07:24:16 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Artifact version 1 is not supported scripter: invalid script: InvalidScript ---- PASS: TestWithScripts (0.01s) +--- PASS: TestWithScripts (0.02s) === RUN TestWriteModuleImage ---- PASS: TestWriteModuleImage (0.02s) +--- PASS: TestWriteModuleImage (0.06s) === RUN TestWriteRootfsArtifactDependsAndProvides ---- PASS: TestWriteRootfsArtifactDependsAndProvides (0.02s) +--- PASS: TestWriteRootfsArtifactDependsAndProvides (0.09s) === RUN TestWriteRootfsImageChecksum --- PASS: TestWriteRootfsImageChecksum (0.00s) PASS -ok github.com/mendersoftware/mender-artifact/cli/mender-artifact 32.193s +ok github.com/mendersoftware/mender-artifact/cli/mender-artifact 63.763s ? github.com/mendersoftware/mender-artifact/cli/mender-artifact/util [no test files] === RUN TestWriteTypeInfoV3 --- PASS: TestWriteTypeInfoV3 (0.00s) @@ -1465,7 +1500,7 @@ === RUN TestRootfsReadHeader/#11 === RUN TestRootfsReadHeader/#12 === RUN TestRootfsReadHeader/#13 ---- PASS: TestRootfsReadHeader (0.00s) +--- PASS: TestRootfsReadHeader (0.01s) --- PASS: TestRootfsReadHeader/#00 (0.00s) --- PASS: TestRootfsReadHeader/#01 (0.00s) --- PASS: TestRootfsReadHeader/#02 (0.00s) @@ -1489,7 +1524,7 @@ === RUN TestSetAndGetUpdateFiles --- PASS: TestSetAndGetUpdateFiles (0.00s) PASS -ok github.com/mendersoftware/mender-artifact/handlers 0.043s +ok github.com/mendersoftware/mender-artifact/handlers 0.069s === RUN TestGetBinaryPath --- PASS: TestGetBinaryPath (0.00s) === RUN TestAppendStructToMap @@ -1497,7 +1532,7 @@ === RUN TestStructToMap --- PASS: TestStructToMap (0.00s) PASS -ok github.com/mendersoftware/mender-artifact/utils 0.055s +ok github.com/mendersoftware/mender-artifact/utils 0.077s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -1537,9 +1572,9 @@ dh_gencontrol -O--buildsystem=golang dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'golang-github-mendersoftware-mender-artifact-dev' in '../golang-github-mendersoftware-mender-artifact-dev_3.4.0-1_all.deb'. -dpkg-deb: building package 'mender-artifact' in '../mender-artifact_3.4.0-1_amd64.deb'. dpkg-deb: building package 'mender-artifact-dbgsym' in '../mender-artifact-dbgsym_3.4.0-1_amd64.deb'. +dpkg-deb: building package 'mender-artifact' in '../mender-artifact_3.4.0-1_amd64.deb'. +dpkg-deb: building package 'golang-github-mendersoftware-mender-artifact-dev' in '../golang-github-mendersoftware-mender-artifact-dev_3.4.0-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../golang-github-mendersoftware-mender-artifact_3.4.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1547,12 +1582,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3300707/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3300707/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1178874 and its subdirectories -I: Current time: Sun Nov 14 12:56:13 -12 2021 -I: pbuilder-time-stamp: 1636937773 +I: removing directory /srv/workspace/pbuilder/3300707 and its subdirectories +I: Current time: Sun Dec 18 21:25:42 +14 2022 +I: pbuilder-time-stamp: 1671348343