Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-mendersoftware-mender-artifact/golang-github-mendersoftware-mender-artifact_3.4.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-mendersoftware-mender-artifact-3.4.0-1tqeoig6e/golang-github-mendersoftware-mender-artifact_3.4.0-1_all.buildinfo Get source package info: golang-github-mendersoftware-mender-artifact=3.4.0-1 Source URL: http://snapshot.notset.fr/mr/package/golang-github-mendersoftware-mender-artifact/3.4.0-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.35-1 binutils-common=2.35-1 binutils-x86-64-linux-gnu=2.35-1 bsdextrautils=2.36-1 bsdutils=1:2.36-1 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-3 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 dh-autoreconf=19 dh-golang=1.49 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dmidecode=3.2-3 dmsetup=2:1.02.171-1 dosfstools=4.1-2 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 e2fsprogs=1.45.6-1 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-3 gcc=4:10.1.0-1 gcc-10=10.2.0-3 gcc-10-base=10.2.0-3 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 golang-1.14-go=1.14.4-2 golang-1.14-src=1.14.4-2 golang-any=2:1.14~2 golang-github-cespare-xxhash-dev=2.1.1-1 golang-github-cpuguy83-go-md2man-dev=1.0.10+ds-1 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-google-go-cmp-dev=0.4.0-1 golang-github-klauspost-compress-dev=1.9.5-2 golang-github-klauspost-cpuid-dev=1.3.1+ds-1 golang-github-klauspost-pgzip-dev=1.2.1-1 golang-github-minio-sha256-simd-dev=0.1.1-1 golang-github-pkg-errors-dev=0.9.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+git20200218.41c5fcc-1 golang-github-sirupsen-logrus-dev=1.6.0-1 golang-github-stretchr-objx-dev=0.2.0-1 golang-github-stretchr-testify-dev=1.4.0+ds-1 golang-github-urfave-cli-dev=1.22.2-4 golang-go=2:1.14~2 golang-golang-x-sys-dev=0.0~git20200523.0598657-1 golang-golang-x-xerrors-dev=0.0~git20191204.9bdfabe-1 golang-gopkg-yaml.v2-dev=2.3.0-1 golang-logrus-dev=1.3.0-1 golang-src=2:1.14~2 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-3 libatomic1=10.2.0-3 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35-1 libblkid1=2.36-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-2 libc-dev-bin=2.31-2 libc6=2.31-2 libc6-dev=2.31-2 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-3 libcom-err2=1.45.6-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-1 libctf0=2.35-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdevmapper1.02.1=2:1.02.171-1 libdpkg-perl=1.20.5 libelf1=0.180-1 libext2fs2=1.45.6-1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-3 libgcc-s1=10.2.0-3 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-3 libgpg-error0=1.38-2 libicu67=67.1-3 libisl22=0.22.1-1 libitm1=10.2.0-3 liblsan0=10.2.0-3 liblz4-1=1.9.2-2 liblzma-dev=5.2.4-1+b1 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-1 libmpc3=1.1.0-1 libmpfr6=4.1.0-3 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparted2=3.3-4 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libquadmath0=10.2.0-3 libreadline8=8.0-4 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.36-1 libss2=1.45.6-1 libstdc++-10-dev=10.2.0-3 libstdc++6=10.2.0-3 libsub-override-perl=0.09-2 libsystemd0=245.6-3 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.2.0-3 libubsan1=10.2.0-3 libuchardet0=0.0.7-1 libudev1=245.6-3 libunistring2=0.9.10-4 libuuid1=2.36-1 libxml2=2.9.10+dfsg-5+b1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.10-1 login=1:4.8.1-1 logsave=1.45.6-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mtools=4.0.24-1 ncurses-base=6.2-1 ncurses-bin=6.2-1 parted=3.3-4 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 readline-common=8.0-4 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.36-1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200727T204945Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d golang-github-mendersoftware-mender-artifact=3.4.0-1 && mkdir -p /build/golang-github-mendersoftware-mender-artifact-pA6RtK && dpkg-source --no-check -x /*.dsc /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0 && chown -R builduser:builduser /build/golang-github-mendersoftware-mender-artifact-pA6RtK" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595849766" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-mendersoftware-mender-artifact-pA6RtK /tmp/golang-github-mendersoftware-mender-artifact-3.4.0-1tqeoig6e bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.ocL_1SNZfX as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.ocL_1SNZfX Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1098 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4578 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-2) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200727T204945Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ocL_1SNZfX Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200727T204945Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1157 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.ocL_1SNZfX I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-mendersoftware-mender-artifact=3.4.0-1 && mkdir -p /build/golang-github-mendersoftware-mender-artifact-pA6RtK && dpkg-source --no-check -x /*.dsc /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0 && chown -R builduser:builduser /build/golang-github-mendersoftware-mender-artifact-pA6RtK"' exec /tmp/mmdebstrap.ocL_1SNZfX Reading package lists... NOTICE: 'golang-github-mendersoftware-mender-artifact' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-mendersoftware-mender-artifact.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-mendersoftware-mender-artifact.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 101 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-mendersoftware-mender-artifact 3.4.0-1 (dsc) [2891 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-mendersoftware-mender-artifact 3.4.0-1 (tar) [93.6 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-mendersoftware-mender-artifact 3.4.0-1 (diff) [4820 B] Fetched 101 kB in 0s (610 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-mendersoftware-mender-artifact_3.4.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-mendersoftware-mender-artifact in /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0 dpkg-source: info: unpacking golang-github-mendersoftware-mender-artifact_3.4.0.orig.tar.xz dpkg-source: info: unpacking golang-github-mendersoftware-mender-artifact_3.4.0-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-unfsck-TestDebugfs-caught-by-autopkgtests.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1595849766" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.ocL_1SNZfX 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 dpkg-buildpackage: info: source changed by Andreas Henriksson dpkg-source --before-build . 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-indep dh build-indep --buildsystem=golang --with=golang dh_update_autotools_config -i -O--buildsystem=golang dh_autoreconf -i -O--buildsystem=golang dh_auto_configure -i -O--buildsystem=golang debian/rules override_dh_auto_build make[1]: Entering directory '/build/golang-github-mendersoftware-mender-artifact-pA6RtK/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 4 -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 runtime/internal/sys internal/race runtime/internal/atomic internal/cpu runtime/internal/math sync/atomic unicode/utf8 unicode internal/bytealg math/bits internal/testlog runtime/cgo math runtime crypto/internal/subtle crypto/subtle unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace encoding golang.org/x/sys/internal/unsafeheader internal/reflectlite sync internal/singleflight math/rand errors sort internal/oserror io strconv syscall vendor/golang.org/x/net/dns/dnsmessage bytes reflect strings hash crypto path crypto/internal/randutil bufio internal/syscall/unix time internal/syscall/execenv hash/crc32 github.com/remyoudompheng/go-liblzma regexp/syntax internal/poll context os regexp internal/fmtsort encoding/binary fmt path/filepath crypto/cipher io/ioutil crypto/sha512 crypto/aes os/user crypto/des math/big crypto/ed25519/internal/edwards25519 crypto/md5 crypto/sha1 crypto/sha256 encoding/hex encoding/base64 net encoding/pem net/url crypto/elliptic encoding/asn1 crypto/rand crypto/ecdsa crypto/rsa crypto/dsa crypto/ed25519 crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte encoding/json github.com/klauspost/compress/flate archive/tar github.com/minio/sha256-simd github.com/klauspost/pgzip github.com/pkg/errors os/exec golang.org/x/sys/unix os/signal github.com/mendersoftware/mender-artifact/utils log flag github.com/russross/blackfriday html text/tabwriter text/template/parse github.com/cpuguy83/go-md2man/md2man github.com/mendersoftware/mender-artifact/cli/mender-artifact/util github.com/sirupsen/logrus text/template crypto/x509 github.com/urfave/cli github.com/mendersoftware/mender-artifact/artifact github.com/mendersoftware/mender-artifact/handlers github.com/mendersoftware/mender-artifact/areader github.com/mendersoftware/mender-artifact/awriter github.com/mendersoftware/mender-artifact/cli/mender-artifact make[1]: Leaving directory '/build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0' dh_auto_test -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 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_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 === RUN TestReadArtifact/version_3_-_signed === RUN TestReadArtifact/version_3_-_public_key_error --- PASS: TestReadArtifact (0.50s) --- PASS: TestReadArtifact/version_2_pass (0.10s) --- PASS: TestReadArtifact/version_2_signed (0.10s) --- PASS: TestReadArtifact/version_2_-_public_key_error (0.01s) --- PASS: TestReadArtifact/version_2_-_no_verifier_needed_for_a_signed_artifact (0.10s) --- PASS: TestReadArtifact/version_3_-_base_case (0.10s) --- PASS: TestReadArtifact/version_3_-_signed (0.01s) --- PASS: TestReadArtifact/version_3_-_public_key_error (0.09s) === RUN TestReadSigned --- PASS: TestReadSigned (0.51s) === RUN TestRegisterMultipleHandlers --- PASS: TestRegisterMultipleHandlers (0.00s) === RUN TestReadNoHandler --- PASS: TestReadNoHandler (0.09s) === RUN TestReadBroken --- PASS: TestReadBroken (0.00s) === RUN TestReadWithScripts --- PASS: TestReadWithScripts (0.10s) === RUN TestValidParsePathV3 --- PASS: TestValidParsePathV3 (0.00s) === RUN TestReadArtifactDependsAndProvides --- PASS: TestReadArtifactDependsAndProvides (0.10s) === RUN TestReadBrokenArtifact === RUN TestReadBrokenArtifact/header.tar.gz_missing === RUN TestReadBrokenArtifact/data/0000.tar.gz_missing === RUN TestReadBrokenArtifact/data_file_missing_from_manifest === RUN TestReadBrokenArtifact/Too_many_files_in_empty_manifest-augment === RUN TestReadBrokenArtifact/version_file_in_wrong_manifest === RUN TestReadBrokenArtifact/Two_rootfs_images === RUN TestReadBrokenArtifact/rootfs-image,_Everything_ok === RUN TestReadBrokenArtifact/rootfs-image,_header.tar.gz_missing === RUN TestReadBrokenArtifact/version_missing === RUN TestReadBrokenArtifact/Conflicting_checksums_in_manifest_files === RUN TestReadBrokenArtifact/data_files_broken_checksum === RUN TestReadBrokenArtifact/Too_many_files_in_empty_manifest === RUN TestReadBrokenArtifact/Non-object_meta-data === RUN TestReadBrokenArtifact/rootfs-image,_version_missing === RUN TestReadBrokenArtifact/Everything_ok,_augmented_files_present === RUN TestReadBrokenArtifact/no_manifest-augment === RUN TestReadBrokenArtifact/Several_files === RUN TestReadBrokenArtifact/augmented_files,_but_header-augment.tar.gz_missing === RUN TestReadBrokenArtifact/augmented_data_files_broken_checksum === RUN TestReadBrokenArtifact/augmented_data_file_missing_from_manifest === RUN TestReadBrokenArtifact/Files_in_both_manifest_files === RUN TestReadBrokenArtifact/rootfs-image,_invalid_character_in_update_data_file === RUN TestReadBrokenArtifact/Non-JSON_meta-data === RUN TestReadBrokenArtifact/rootfs-image,_header-augment.tar.gz_missing === RUN TestReadBrokenArtifact/Scripts_in_augmented_header === RUN TestReadBrokenArtifact/Everything_ok === RUN TestReadBrokenArtifact/Too_many_files_in_manifest === RUN TestReadBrokenArtifact/Too_many_files_in_manifest-augment --- PASS: TestReadBrokenArtifact (2.41s) --- PASS: TestReadBrokenArtifact/header.tar.gz_missing (0.01s) --- PASS: TestReadBrokenArtifact/data/0000.tar.gz_missing (0.09s) --- PASS: TestReadBrokenArtifact/data_file_missing_from_manifest (0.10s) --- PASS: TestReadBrokenArtifact/Too_many_files_in_empty_manifest-augment (0.01s) --- PASS: TestReadBrokenArtifact/version_file_in_wrong_manifest (0.09s) --- PASS: TestReadBrokenArtifact/Two_rootfs_images (0.10s) --- PASS: TestReadBrokenArtifact/rootfs-image,_Everything_ok (0.10s) --- PASS: TestReadBrokenArtifact/rootfs-image,_header.tar.gz_missing (0.01s) --- PASS: TestReadBrokenArtifact/version_missing (0.01s) --- PASS: TestReadBrokenArtifact/Conflicting_checksums_in_manifest_files (0.08s) --- PASS: TestReadBrokenArtifact/data_files_broken_checksum (0.01s) --- PASS: TestReadBrokenArtifact/Too_many_files_in_empty_manifest (0.09s) --- PASS: TestReadBrokenArtifact/Non-object_meta-data (0.10s) --- PASS: TestReadBrokenArtifact/rootfs-image,_version_missing (0.09s) --- PASS: TestReadBrokenArtifact/Everything_ok,_augmented_files_present (0.10s) --- PASS: TestReadBrokenArtifact/no_manifest-augment (0.01s) --- PASS: TestReadBrokenArtifact/Several_files (0.39s) --- PASS: TestReadBrokenArtifact/augmented_files,_but_header-augment.tar.gz_missing (0.11s) --- PASS: TestReadBrokenArtifact/augmented_data_files_broken_checksum (0.10s) --- PASS: TestReadBrokenArtifact/augmented_data_file_missing_from_manifest (0.10s) --- PASS: TestReadBrokenArtifact/Files_in_both_manifest_files (0.20s) --- PASS: TestReadBrokenArtifact/rootfs-image,_invalid_character_in_update_data_file (0.11s) --- PASS: TestReadBrokenArtifact/Non-JSON_meta-data (0.10s) --- PASS: TestReadBrokenArtifact/rootfs-image,_header-augment.tar.gz_missing (0.09s) --- PASS: TestReadBrokenArtifact/Scripts_in_augmented_header (0.02s) --- PASS: TestReadBrokenArtifact/Everything_ok (0.08s) --- PASS: TestReadBrokenArtifact/Too_many_files_in_manifest (0.09s) --- PASS: TestReadBrokenArtifact/Too_many_files_in_manifest-augment (0.02s) === RUN TestMergeDependsSuccess --- PASS: TestMergeDependsSuccess (0.00s) === RUN TestMergeDependsError --- PASS: TestMergeDependsError (0.00s) === RUN TestMergeProvidesSuccess --- PASS: TestMergeProvidesSuccess (0.00s) === RUN TestMergeProvidesError --- PASS: TestMergeProvidesError (0.00s) PASS ok github.com/mendersoftware/mender-artifact/areader 3.897s === RUN TestChecksumWrite --- PASS: TestChecksumWrite (0.00s) === RUN TestChecksumRead --- PASS: TestChecksumRead (0.00s) === RUN TestChecksumReadBigData --- PASS: TestChecksumReadBigData (0.00s) === RUN TestStore --- PASS: TestStore (0.00s) === RUN TestCompressorGzip --- PASS: TestCompressorGzip (0.00s) === RUN TestCompressorLzma --- PASS: TestCompressorLzma (0.00s) === RUN TestCompressorNone --- PASS: TestCompressorNone (0.00s) === RUN TestCompressorFromId --- PASS: TestCompressorFromId (0.00s) === RUN TestCompressorFromFileName --- PASS: TestCompressorFromFileName (0.00s) === RUN TestRegisteredCompressors --- PASS: TestRegisteredCompressors (0.00s) === RUN TestValidateInfo --- PASS: TestValidateInfo (0.00s) === RUN TestValidateHeaderInfo --- PASS: TestValidateHeaderInfo (0.00s) === RUN TestValidateHeaderInfoV3 --- PASS: TestValidateHeaderInfoV3 (0.00s) === RUN TestHeaderInfoV3 --- PASS: TestHeaderInfoV3 (0.00s) === RUN TestMarshalJSONHeaderInfoV3 --- PASS: TestMarshalJSONHeaderInfoV3 (0.00s) === RUN TestValidateTypeInfo --- PASS: TestValidateTypeInfo (0.00s) === RUN TestValidateTypeInfoV3 --- PASS: TestValidateTypeInfoV3 (0.00s) === RUN TestWriteTypeInfoV3 --- PASS: TestWriteTypeInfoV3 (0.00s) === RUN TestMarshalJSONTypeInfoV3 --- PASS: TestMarshalJSONTypeInfoV3 (0.08s) === RUN TestValidateMetadata --- PASS: TestValidateMetadata (0.00s) === RUN TestValidateFiles --- PASS: TestValidateFiles (0.00s) === RUN TestHeaderInfo --- PASS: TestHeaderInfo (0.00s) === RUN TestNewTypeInfoSuccess --- PASS: TestNewTypeInfoSuccess (0.00s) === RUN TestNewTypeInfoError --- PASS: TestNewTypeInfoError (0.00s) === RUN TestAdding --- PASS: TestAdding (0.00s) === RUN TestPublicKey --- PASS: TestPublicKey (0.00s) === RUN TestPrivateKey --- PASS: TestPrivateKey (0.11s) === RUN TestRSA --- PASS: TestRSA (0.00s) === RUN TestRSARaw --- PASS: TestRSARaw (0.00s) === RUN TestECDSA --- PASS: TestECDSA (0.19s) === RUN TestECDSARaw --- PASS: TestECDSARaw (0.12s) === RUN TestTarFile --- PASS: TestTarFile (0.00s) === RUN TestTarStream --- PASS: TestTarStream (0.00s) === RUN TestToStream --- PASS: TestToStream (0.00s) === RUN TestUpdateUtils --- PASS: TestUpdateUtils (0.00s) PASS ok github.com/mendersoftware/mender-artifact/artifact 0.594s === RUN TestWriteArtifactWrongVersion --- PASS: TestWriteArtifactWrongVersion (0.00s) === RUN TestWriteArtifactWithUpdates --- PASS: TestWriteArtifactWithUpdates (0.01s) === RUN TestWriteMultipleUpdates --- PASS: TestWriteMultipleUpdates (0.10s) === RUN TestWriteArtifactV2 --- PASS: TestWriteArtifactV2 (0.10s) === RUN TestWriteArtifactV3 --- PASS: TestWriteArtifactV3 (0.40s) === RUN TestWithScripts --- PASS: TestWithScripts (0.00s) === RUN TestWriteManifestVersion === 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 === RUN TestWriteManifestVersion/version_2,_fail_on_write_to_manifest_checksum_store === RUN TestWriteManifestVersion/version_2,_fail_on_signature_write --- PASS: TestWriteManifestVersion (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) --- PASS: TestWriteManifestVersion/version_2,_fail_on_write_to_manifest_checksum_store (0.00s) --- PASS: TestWriteManifestVersion/version_2,_fail_on_signature_write (0.00s) === RUN TestRootfsCompose --- PASS: TestRootfsCompose (0.09s) PASS ok github.com/mendersoftware/mender-artifact/awriter 0.880s === RUN TestArtifactsSigned Error reading key file: open non-existing-private.key: no such file or directory Mender artifact: Name: mender-1.1 Format: mender Version: 3 Signature: signed and verified correctly Compatible devices: '[my-device]' Provides group: Depends on one of artifact(s): [] Depends on one of group(s): [] State scripts: Updates: 0: Type: rootfs-image Provides: rootfs_image_checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Depends: Nothing Metadata: Nothing Files: name: update.ext4 size: 9 modified: 2021-10-08 14:16:59 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Mender artifact: Name: mender-1.1 Format: mender Version: 3 Signature: signed; verification using provided key failed Compatible devices: '[my-device]' Provides group: Depends on one of artifact(s): [] Depends on one of group(s): [] State scripts: Updates: 0: Type: rootfs-image Provides: rootfs_image_checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Depends: Nothing Metadata: Nothing Files: name: update.ext4 size: 9 modified: 2021-10-08 14:16:59 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Error reading key file: open non-existing-public.key: no such file or directory Artifact file '/tmp/update093192110/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.10s) === RUN TestCLIErrors failed to parse image path no artifact or sdimage provided got 1 arguments, wants two Got 2 arguments, wants one The input image does not seem to be a valid image failed to open the partition reader: err: please enter a path into the image No artifact or sdimg provided File permissions needs to be set, if you are simply copying, the cp command should fit your needs Wrong number of arguments, got 3 Wrong number of arguments, got 2 No artifact or sdimg provided --- PASS: TestCLIErrors (0.00s) === RUN TestCopyRootfsImage === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout/artifact.mender === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test.sdimg === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test_fat.sdimg === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact === RUN TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact/artifact.mender === RUN TestCopyRootfsImage/write_artifact_info_file_to_output.txt === RUN TestCopyRootfsImage/write_artifact_info_file_to_output.txt/artifact.mender === RUN TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test.sdimg === RUN TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test_fat.sdimg === RUN TestCopyRootfsImage/read_from_output.txt_and_write_to_img === RUN TestCopyRootfsImage/read_from_output.txt_and_write_to_img/artifact.mender === RUN TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test.sdimg === RUN TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test_fat.sdimg === RUN TestCopyRootfsImage/copy_file_into_a_non-existing_directory === RUN TestCopyRootfsImage/copy_file_into_a_non-existing_directory/artifact.mender === RUN TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test.sdimg === RUN TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test_fat.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_data_partition === RUN TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test_fat.sdimg === RUN TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition === RUN TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition/artifact.mender === RUN TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition === RUN TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition/artifact.mender === RUN TestCopyRootfsImage/Install_file,_standard_permissions_(0600) === RUN TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/artifact.mender === RUN TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test.sdimg === RUN TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Install_file_with_permissions_(0777) === RUN TestCopyRootfsImage/Install_file_with_permissions_(0777)/artifact.mender === RUN TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test.sdimg === RUN TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Install_file_with_permissions_(0700) === RUN TestCopyRootfsImage/Install_file_with_permissions_(0700)/artifact.mender === RUN TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test.sdimg === RUN TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test_fat.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_boot_partition === RUN TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test_fat.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition === RUN TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test_fat.sdimg === RUN TestCopyRootfsImage/cat_from_the_boot_partition === RUN TestCopyRootfsImage/cat_from_the_boot_partition/mender_test.sdimg === RUN TestCopyRootfsImage/cat_from_the_boot_partition/mender_test_fat.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition === RUN TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test.sdimg === RUN TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test_fat.sdimg === RUN TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext) === RUN TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext)/mender_test.sdimg === RUN TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat) === RUN TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat)/mender_test_fat.sdimg === RUN TestCopyRootfsImage/error:_mender_artifact_does_not_contain_a_boot_partition === RUN TestCopyRootfsImage/error:_mender_artifact_does_not_contain_a_boot_partition/artifact.mender === RUN TestCopyRootfsImage/check_if_artifact_does_not_change_name === RUN TestCopyRootfsImage/check_if_artifact_does_not_change_name/artifact.mender === RUN TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name === 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-modify987402622/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-modify987402622/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-modify987402622/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 === RUN TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively === RUN TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/artifact.mender failed to open the partition reader: err: The directory: /etc/mender does not exist in the image === RUN TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test.sdimg failed to open the partition reader: err: The directory: /etc/mender does not exist in the image === RUN TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test_fat.sdimg 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-modify935214029/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 === RUN TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/artifact.mender === RUN TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test.sdimg === RUN TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact === RUN TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact/artifact.mender === RUN TestCopyRootfsImage/Create_a_directory === RUN TestCopyRootfsImage/Create_a_directory/artifact.mender === RUN TestCopyRootfsImage/Create_a_directory/mender_test.sdimg === RUN TestCopyRootfsImage/Create_a_directory/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Create_nested_directories === RUN TestCopyRootfsImage/Create_nested_directories/artifact.mender === RUN TestCopyRootfsImage/Create_nested_directories/mender_test.sdimg === RUN TestCopyRootfsImage/Create_nested_directories/mender_test_fat.sdimg === RUN TestCopyRootfsImage/Create_a_directory_that_already_exists === 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 (16.75s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout (0.28s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/artifact.mender (0.09s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test.sdimg (0.10s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout/mender_test_fat.sdimg (0.08s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact (0.20s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_stdout_from_signed_artifact/artifact.mender (0.18s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt (0.30s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/artifact.mender (0.09s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test.sdimg (0.09s) --- PASS: TestCopyRootfsImage/write_artifact_info_file_to_output.txt/mender_test_fat.sdimg (0.09s) --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img (0.96s) --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/artifact.mender (0.17s) --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test.sdimg (0.26s) --- PASS: TestCopyRootfsImage/read_from_output.txt_and_write_to_img/mender_test_fat.sdimg (0.50s) --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory (0.37s) --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/artifact.mender (0.04s) --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test.sdimg (0.16s) --- PASS: TestCopyRootfsImage/copy_file_into_a_non-existing_directory/mender_test_fat.sdimg (0.12s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition (0.38s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test.sdimg (0.19s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_data_partition/mender_test_fat.sdimg (0.17s) --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition (0.10s) --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_data_partition/artifact.mender (0.07s) --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition (0.10s) --- PASS: TestCopyRootfsImage/error:_artifact_does_not_contain_a_boot_partition/artifact.mender (0.08s) --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600) (0.94s) --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/artifact.mender (0.22s) --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test.sdimg (0.45s) --- PASS: TestCopyRootfsImage/Install_file,_standard_permissions_(0600)/mender_test_fat.sdimg (0.25s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777) (0.91s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/artifact.mender (0.24s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test.sdimg (0.39s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0777)/mender_test_fat.sdimg (0.22s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700) (0.85s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/artifact.mender (0.24s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test.sdimg (0.31s) --- PASS: TestCopyRootfsImage/Install_file_with_permissions_(0700)/mender_test_fat.sdimg (0.27s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition (0.33s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test.sdimg (0.23s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot_partition/mender_test_fat.sdimg (0.08s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition (0.22s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test.sdimg (0.14s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/efi_partition/mender_test_fat.sdimg (0.06s) --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition (0.23s) --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition/mender_test.sdimg (0.10s) --- PASS: TestCopyRootfsImage/cat_from_the_boot_partition/mender_test_fat.sdimg (0.06s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition (0.32s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test.sdimg (0.16s) --- PASS: TestCopyRootfsImage/write_and_read_from_the_boot/grub_partition/mender_test_fat.sdimg (0.15s) --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext) (0.08s) --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(ext)/mender_test.sdimg (0.07s) --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat) (0.05s) --- PASS: TestCopyRootfsImage/error:_read_non-existing_file_from_sdimg_boot_partition_(fat)/mender_test_fat.sdimg (0.03s) --- 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.02s) --- PASS: TestCopyRootfsImage/check_if_artifact_does_not_change_name (0.11s) --- PASS: TestCopyRootfsImage/check_if_artifact_does_not_change_name/artifact.mender (0.09s) --- PASS: TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name (0.11s) --- PASS: TestCopyRootfsImage/Make_sure_that_the_update_in_a_mender_artifact_does_not_change_name/artifact.mender (0.08s) --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact (0.50s) --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/artifact.mender (0.13s) --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test.sdimg (0.14s) --- PASS: TestCopyRootfsImage/Delete_a_file_from_an_image_or_Artifact/mender_test_fat.sdimg (0.17s) --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact (0.29s) --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/artifact.mender (0.09s) --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test.sdimg (0.09s) --- PASS: TestCopyRootfsImage/Error_when_deleting_a_non-empty_directory_from_an_image_or_Artifact/mender_test_fat.sdimg (0.09s) --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively (0.72s) --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/artifact.mender (0.19s) --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test.sdimg (0.23s) --- PASS: TestCopyRootfsImage/Delete_a_directory_from_an_image_or_Artifact_recursively/mender_test_fat.sdimg (0.27s) --- PASS: TestCopyRootfsImage/Delete_a_file_from_a_fat_partition (0.19s) --- PASS: TestCopyRootfsImage/Delete_a_file_from_a_fat_partition/mender_test_fat.sdimg (0.18s) --- PASS: TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition (0.09s) --- PASS: TestCopyRootfsImage/Delete_a_directory_from_a_fat_partition/mender_test_fat.sdimg (0.07s) --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact (0.42s) --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/artifact.mender (0.11s) --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test.sdimg (0.18s) --- PASS: TestCopyRootfsImage/Make_sure_that_mender-artifact_cp_keeps_the_file_permissions_intact/mender_test_fat.sdimg (0.12s) --- PASS: TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact (0.09s) --- PASS: TestCopyRootfsImage/Make_sure_that_rootfs_image_checksum_is_updated_when_repacking_Artifact/artifact.mender (0.04s) --- PASS: TestCopyRootfsImage/Create_a_directory (0.81s) --- PASS: TestCopyRootfsImage/Create_a_directory/artifact.mender (0.23s) --- PASS: TestCopyRootfsImage/Create_a_directory/mender_test.sdimg (0.30s) --- PASS: TestCopyRootfsImage/Create_a_directory/mender_test_fat.sdimg (0.23s) --- PASS: TestCopyRootfsImage/Create_nested_directories (0.89s) --- PASS: TestCopyRootfsImage/Create_nested_directories/artifact.mender (0.22s) --- PASS: TestCopyRootfsImage/Create_nested_directories/mender_test.sdimg (0.31s) --- PASS: TestCopyRootfsImage/Create_nested_directories/mender_test_fat.sdimg (0.31s) --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists (0.22s) --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/artifact.mender (0.07s) --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test.sdimg (0.08s) --- PASS: TestCopyRootfsImage/Create_a_directory_that_already_exists/mender_test_fat.sdimg (0.05s) === RUN TestCopyFromStdin The directory: nonexisting does not exist in the image fatFile: Write: MTools execution failed: exit status 1 --- PASS: TestCopyFromStdin (3.34s) === 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.10s) === RUN TestExecuteCommand TestExecuteCommand: debugfs_test.go:38: non-existing directory --- PASS: TestExecuteCommand (0.00s) === 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.01s) --- PASS: TestDumpContent/my-own-type (0.07s) === RUN TestCompressionArgumentLocations NAME: mender-artifact write module-image - Writes Mender artifact for an update module USAGE: Writes a generic Mender artifact that will be used by an update module. This command is not meant to be used directly, but should rather be wrapped by an update module build command, which prepares all the necessary files and headers for that update module. REQUIRED ARGUMENTS: --artifact-name value, -n value Name of the artifact --device-type value, -t value Type of device(s) supported by the Artifact. You can specify multiple compatible devices providing this parameter multiple times. --type value, -T value Type of payload. This is the same as the name of the update module OPTIONS: --artifact-name-depends value, -N value Sets the name(s) of the artifact(s) which this update depends upon --augment-depends KEY:VALUE Generic KEY:VALUE which is added to the augmented type-info -> artifact_depends section. Can be given multiple times --augment-file FILE Include FILE in payload in the augment section. Can be given more than once. --augment-meta-data FILE The meta-data JSON FILE for this payload, for the augmented section --augment-provides KEY:VALUE Generic KEY:VALUE which is added to the augmented type-info -> artifact_provides section. Can be given multiple times --augment-type value Type of augmented payload. This is the same as the name of the update module --compression value Compression to use for data and header inside the artifact, currently supports: none, gzip, lzma. --depends KEY:VALUE, -d KEY:VALUE Generic KEY:VALUE which is added to the type-info -> artifact_depends section. Can be given multiple times --depends-groups value, -G value The group(s) the artifact depends on --file FILE, -f FILE Include FILE in payload. Can be given more than once. --key value, -k value Full path to the private key that will be used to sign the artifact. --meta-data FILE, -m FILE The meta-data JSON FILE for this payload --output-path value, -o value Full path to output artifact file. --provides KEY:VALUE, -p KEY:VALUE Generic KEY:VALUE which is added to the type-info -> artifact_provides section. Can be given multiple times --provides-group value, -g value The group the artifact provides --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.04s) === RUN TestModuleImageWithoutPayload --- PASS: TestModuleImageWithoutPayload (0.05s) === RUN TestDebugfs --- PASS: TestDebugfs (0.02s) === RUN TestModifyImage --- PASS: TestModifyImage (0.44s) === RUN TestModifySdimage --- PASS: TestModifySdimage (0.25s) === RUN TestModifyRootfsArtifact --- PASS: TestModifyRootfsArtifact (0.22s) === RUN TestModifyRootfsServerCert Error modifying artifact[/tmp/mender-modify250991809/mender_test.img]: invalid server certificate: stat non-existing: no such file or directory --- PASS: TestModifyRootfsServerCert (0.07s) === RUN TestModifyRootfsSigned --- PASS: TestModifyRootfsSigned (0.62s) === RUN TestModifyModuleArtifact Error modifying artifact[/tmp/mendertest363660545/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads Error modifying artifact[/tmp/mendertest363660545/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads Error modifying artifact[/tmp/mendertest363660545/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads Error modifying artifact[/tmp/mendertest363660545/artifact.mender]: mender-artifact can only modify ext4 and vfat payloads --- PASS: TestModifyModuleArtifact (0.21s) === 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) === RUN TestModifyExtraAttributes --- PASS: TestModifyExtraAttributes (0.08s) === RUN TestModifyExtraAttributesOnNonArtifact === RUN TestModifyExtraAttributesOnNonArtifact/--artifact-name-depends Error modifying artifact[/tmp/989053608/mender_test.img]: `--artifact-name-depends` argument must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--provides-group Error modifying artifact[/tmp/989053608/mender_test.img]: `--provides-group` argument must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--depends-groups Error modifying artifact[/tmp/989053608/mender_test.img]: `--depends-groups` argument must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--depends Error modifying artifact[/tmp/989053608/mender_test.img]: Argument `--depends` must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--provides Error modifying artifact[/tmp/989053608/mender_test.img]: Argument `--provides` must be used with an Artifact === RUN TestModifyExtraAttributesOnNonArtifact/--meta-data Error modifying artifact[/tmp/989053608/mender_test.img]: `--meta-data` argument must be used with an Artifact --- PASS: TestModifyExtraAttributesOnNonArtifact (0.10s) --- PASS: TestModifyExtraAttributesOnNonArtifact/--artifact-name-depends (0.01s) --- PASS: TestModifyExtraAttributesOnNonArtifact/--provides-group (0.06s) --- PASS: TestModifyExtraAttributesOnNonArtifact/--depends-groups (0.01s) --- PASS: TestModifyExtraAttributesOnNonArtifact/--depends (0.01s) --- PASS: TestModifyExtraAttributesOnNonArtifact/--provides (0.01s) --- PASS: TestModifyExtraAttributesOnNonArtifact/--meta-data (0.01s) === RUN TestFsck --- PASS: TestFsck (0.00s) === RUN TestArtifactsRead Nothing specified, nothing read. Maybe you wanted to say 'artifacts read '? Mender artifact: Name: test-artifact Format: mender Version: 2 Signature: no signature Compatible devices: '[vexpress]' State scripts: Updates: 0: Type: rootfs-image Provides: Nothing Depends: Nothing Metadata: Nothing Files: name: update.ext4 size: 9 modified: 2021-10-08 14:17:21 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Can not open artifact: open non-existing: no such file or directory --- PASS: TestArtifactsRead (0.01s) === RUN TestReadArtifactOutput --- PASS: TestReadArtifactOutput (0.06s) === RUN TestSignExistingV2 Artifact file '/tmp/update083631874/artifact.mender.sig' validated successfully Artifact already signed, refusing to re-sign. Use force option to override --- PASS: TestSignExistingV2 (0.03s) === 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.02s) === RUN TestSignExistingWithModules Artifact file '/tmp/update098380204/artifact.mender.sig' validated successfully --- PASS: TestSignExistingWithModules (0.07s) === RUN TestSignExistingBrokenFiles `manifest` not found. Corrupt Artifact? Could not read tar header: unexpected EOF --- PASS: TestSignExistingBrokenFiles (0.02s) === RUN TestValidate ---- Running test validate-0 ---- --------------------------------- ---- Running test validate-1 ---- write signed artifact --------------------------------- ---- Running test validate-2 ---- write signed artifact --------------------------------- ---- Running test validate-3 ---- write signed artifact --------------------------------- ---- Running test validate-4 ---- write signed artifact --------------------------------- ---- Running test validate-5 ---- --------------------------------- --- PASS: TestValidate (0.08s) === RUN TestArtifactsValidate Artifact file '/tmp/update728605491/artifact.mender' validated successfully --- PASS: TestArtifactsValidate (0.01s) === RUN TestArtifactsValidateError Nothing specified, nothing validated. Maybe you wanted to say 'artifacts validate '? Can not open artifact: open non-existing: no such file or directory --- PASS: TestArtifactsValidateError (0.00s) === RUN TestArtifactsWrite NAME: mender-artifact write - Writes artifact file. USAGE: mender-artifact write command [command options] [arguments...] COMMANDS: module-image Writes Mender artifact for an update module rootfs-image Writes Mender artifact containing rootfs image OPTIONS: --help, -h show help NAME: mender-artifact write rootfs-image - Writes Mender artifact containing rootfs image USAGE: mender-artifact write rootfs-image command [command options] [arguments...] REQUIRED ARGUMENTS: --artifact-name value, -n value Name of the artifact --device-type value, -t value Type of device(s) supported by the Artifact. You can specify multiple compatible devices providing this parameter multiple times. --file FILE, -f FILE Payload FILE path or ssh-url to device for system snapshot (e.g. ssh://user@device:22022). OPTIONS: --artifact-name-depends value, -N value Sets the name(s) of the artifact(s) which this update depends upon --compression value Compression to use for data and header inside the artifact, currently supports: none, gzip, lzma. --depends KEY:VALUE, -d KEY:VALUE Generic KEY:VALUE which is added to the type-info -> artifact_depends section. Can be given multiple times --depends-groups value, -G value The group(s) the artifact depends on --key value, -k value Full path to the private key that will be used to sign the Artifact. --no-checksum-provide Disable writing the provides checksum to the Artifact provides parameters. This is needed in case the targeted devices do not support provides and depends yet. --output-path value, -o value Full path to output artifact file. --provides KEY:VALUE, -p KEY:VALUE Generic KEY:VALUE which is added to the type-info -> artifact_provides section. Can be given multiple times --provides-group value, -g value The group the artifact provides --script value, -s value Full path to the state script(s). You can specify multiple scripts providing this parameter multiple times. --ssh-args value, -S value Arguments to pass to ssh - only applies when creating artifact from snapshot (i.e. FILE contains 'ssh://' schema) --version value, -v value Version of the artifact. (default: 3) Required flags " n, t, f" not set 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.07s) === RUN TestWithScripts Mender artifact: Name: mender-1.1 Format: mender Version: 3 Signature: no signature Compatible devices: '[my-device]' Provides group: Depends on one of artifact(s): [] Depends on one of group(s): [] State scripts: ArtifactReboot_Enter_99 ArtifactReboot_Leave_01 ArtifactInstall_Enter_99 ArtifactInstall_Leave_01 Updates: 0: Type: rootfs-image Provides: rootfs_image_checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Depends: Nothing Metadata: Nothing Files: name: update.ext4 size: 9 modified: 2021-10-08 14:17:22 +0000 UTC checksum: bfb4567944c5730face9f3d54efc0c1ff3b5dd1338862b23b849ac87679e162f Artifact version 1 is not supported scripter: invalid script: InvalidScript --- PASS: TestWithScripts (0.01s) === RUN TestWriteModuleImage --- PASS: TestWriteModuleImage (0.01s) === RUN TestWriteRootfsArtifactDependsAndProvides --- PASS: TestWriteRootfsArtifactDependsAndProvides (0.02s) === RUN TestWriteRootfsImageChecksum --- PASS: TestWriteRootfsImageChecksum (0.00s) PASS ok github.com/mendersoftware/mender-artifact/cli/mender-artifact 22.983s ? github.com/mendersoftware/mender-artifact/cli/mender-artifact/util [no test files] === RUN TestWriteTypeInfoV3 --- PASS: TestWriteTypeInfoV3 (0.00s) === RUN TestWriteTypeInfo --- PASS: TestWriteTypeInfo (0.00s) === RUN TestMergeJsonStructures === RUN TestMergeJsonStructures/test_case_0 === RUN TestMergeJsonStructures/test_case_1 === RUN TestMergeJsonStructures/test_case_2 === RUN TestMergeJsonStructures/test_case_3 === RUN TestMergeJsonStructures/test_case_4 === RUN TestMergeJsonStructures/test_case_5 === RUN TestMergeJsonStructures/test_case_6 === RUN TestMergeJsonStructures/test_case_7 === RUN TestMergeJsonStructures/test_case_8 === RUN TestMergeJsonStructures/test_case_9 === RUN TestMergeJsonStructures/test_case_10 === RUN TestMergeJsonStructures/test_case_11 === RUN TestMergeJsonStructures/test_case_12 === RUN TestMergeJsonStructures/test_case_13 === RUN TestMergeJsonStructures/test_case_14 === RUN TestMergeJsonStructures/test_case_15 === RUN TestMergeJsonStructures/test_case_16 --- PASS: TestMergeJsonStructures (0.00s) --- PASS: TestMergeJsonStructures/test_case_0 (0.00s) --- PASS: TestMergeJsonStructures/test_case_1 (0.00s) --- PASS: TestMergeJsonStructures/test_case_2 (0.00s) --- PASS: TestMergeJsonStructures/test_case_3 (0.00s) --- PASS: TestMergeJsonStructures/test_case_4 (0.00s) --- PASS: TestMergeJsonStructures/test_case_5 (0.00s) --- PASS: TestMergeJsonStructures/test_case_6 (0.00s) --- PASS: TestMergeJsonStructures/test_case_7 (0.00s) --- PASS: TestMergeJsonStructures/test_case_8 (0.00s) --- PASS: TestMergeJsonStructures/test_case_9 (0.00s) --- PASS: TestMergeJsonStructures/test_case_10 (0.00s) --- PASS: TestMergeJsonStructures/test_case_11 (0.00s) --- PASS: TestMergeJsonStructures/test_case_12 (0.00s) --- PASS: TestMergeJsonStructures/test_case_13 (0.00s) --- PASS: TestMergeJsonStructures/test_case_14 (0.00s) --- PASS: TestMergeJsonStructures/test_case_15 (0.00s) --- PASS: TestMergeJsonStructures/test_case_16 (0.00s) === RUN TestModuleImageGetProperties --- PASS: TestModuleImageGetProperties (0.00s) === RUN TestHandlerRootfs --- PASS: TestHandlerRootfs (0.00s) === RUN TestRootfsReadHeader === RUN TestRootfsReadHeader/#00 === RUN TestRootfsReadHeader/#01 === RUN TestRootfsReadHeader/#02 === RUN TestRootfsReadHeader/#03 === RUN TestRootfsReadHeader/#04 === RUN TestRootfsReadHeader/#05 === RUN TestRootfsReadHeader/#06 === RUN TestRootfsReadHeader/#07 === RUN TestRootfsReadHeader/#08 === RUN TestRootfsReadHeader/#09 === RUN TestRootfsReadHeader/#10 === RUN TestRootfsReadHeader/#11 === RUN TestRootfsReadHeader/#12 === RUN TestRootfsReadHeader/#13 --- PASS: TestRootfsReadHeader (0.00s) --- PASS: TestRootfsReadHeader/#00 (0.00s) --- PASS: TestRootfsReadHeader/#01 (0.00s) --- PASS: TestRootfsReadHeader/#02 (0.00s) --- PASS: TestRootfsReadHeader/#03 (0.00s) --- PASS: TestRootfsReadHeader/#04 (0.00s) --- PASS: TestRootfsReadHeader/#05 (0.00s) --- PASS: TestRootfsReadHeader/#06 (0.00s) --- PASS: TestRootfsReadHeader/#07 (0.00s) --- PASS: TestRootfsReadHeader/#08 (0.00s) --- PASS: TestRootfsReadHeader/#09 (0.00s) --- PASS: TestRootfsReadHeader/#10 (0.00s) --- PASS: TestRootfsReadHeader/#11 (0.00s) --- PASS: TestRootfsReadHeader/#12 (0.00s) --- PASS: TestRootfsReadHeader/#13 (0.00s) === RUN TestComposeHeader --- PASS: TestComposeHeader (0.00s) === RUN TestNewAugmentedInstance --- PASS: TestNewAugmentedInstance (0.00s) === RUN TestSetAndGetUpdateAugmentFiles --- PASS: TestSetAndGetUpdateAugmentFiles (0.00s) === RUN TestSetAndGetUpdateFiles --- PASS: TestSetAndGetUpdateFiles (0.00s) PASS ok github.com/mendersoftware/mender-artifact/handlers 0.099s === RUN TestGetBinaryPath --- PASS: TestGetBinaryPath (0.00s) === RUN TestAppendStructToMap --- PASS: TestAppendStructToMap (0.00s) === RUN TestStructToMap --- PASS: TestStructToMap (0.00s) PASS ok github.com/mendersoftware/mender-artifact/utils 0.008s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=golang --with=golang dh_testroot -i -O--buildsystem=golang dh_prep -i -O--buildsystem=golang debian/rules override_dh_auto_install make[1]: Entering directory '/build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0' dh_auto_install cd obj-x86_64-linux-gnu && mkdir -p /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0/debian/tmp/usr cd obj-x86_64-linux-gnu && cp -r bin /build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0/debian/tmp/usr # Test files created by cli/mender-artifact/copy_test.go rm -f debian/*/usr/share/gocode/src/github.com/mendersoftware/mender-artifact/cli/mender-artifact/- rm -f debian/*/usr/share/gocode/src/github.com/mendersoftware/mender-artifact/cli/mender-artifact/foo rm -f debian/*/usr/share/gocode/src/github.com/mendersoftware/mender-artifact/cli/mender-artifact/foo.txt rm -f debian/*/usr/share/gocode/src/github.com/mendersoftware/mender-artifact/cli/mender-artifact/output.txt rm -f debian/*/usr/share/gocode/src/github.com/mendersoftware/mender-artifact/cli/mender-artifact/test.txt rm -f debian/*/usr/share/gocode/src/github.com/mendersoftware/mender-artifact/cli/mender-artifact/dummy-file make[1]: Leaving directory '/build/golang-github-mendersoftware-mender-artifact-pA6RtK/golang-github-mendersoftware-mender-artifact-3.4.0' dh_install -i -O--buildsystem=golang dh_installdocs -i -O--buildsystem=golang dh_installchangelogs -i -O--buildsystem=golang dh_installinit -i -O--buildsystem=golang dh_installsystemduser -i -O--buildsystem=golang dh_perl -i -O--buildsystem=golang dh_link -i -O--buildsystem=golang dh_strip_nondeterminism -i -O--buildsystem=golang dh_compress -i -O--buildsystem=golang dh_fixperms -i -O--buildsystem=golang dh_missing -i -O--buildsystem=golang dh_installdeb -i -O--buildsystem=golang dh_golang -i -O--buildsystem=golang Use of uninitialized value $caller in string eq at /usr/share/perl5/Debian/Debhelper/Buildsystem/golang.pm line 567. dh_gencontrol -i -O--buildsystem=golang dh_md5sums -i -O--buildsystem=golang dh_builddeb -i -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-genbuildinfo --build=all dpkg-genchanges --build=all >../golang-github-mendersoftware-mender-artifact_3.4.0-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/golang-github-mendersoftware-mender-artifact-pA6RtK /tmp/golang-github-mendersoftware-mender-artifact-3.4.0-1tqeoig6e I: cleaning package lists and apt cache... W: deleting files in /tmp: TestWriteRootfsImageChecksum759042906 I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.ocL_1SNZfX... I: success in 470.3493 seconds md5: golang-github-mendersoftware-mender-artifact-dev_3.4.0-1_all.deb: OK sha1: golang-github-mendersoftware-mender-artifact-dev_3.4.0-1_all.deb: OK sha256: golang-github-mendersoftware-mender-artifact-dev_3.4.0-1_all.deb: OK Checksums: OK