Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/i/in-toto/in-toto_1.0.1-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/in-toto-1.0.1-123tg5831/in-toto_1.0.1-1_all.buildinfo Get source package info: in-toto=1.0.1-1 Source URL: http://snapshot.notset.fr/mr/package/in-toto/1.0.1-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.49 bash=5.1-2+b1 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.75 debhelper=13.3.3 debianutils=4.11.2 dh-autoreconf=20 dh-python=4.20201102+nmu1 dh-strip-nondeterminism=1.11.0-1 diffutils=1:3.7-5 dirmngr=2.2.27-1 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210201-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 gnupg=2.2.27-1 gnupg-l10n=2.2.27-1 gnupg-utils=2.2.27-1 gnupg2=2.2.27-1 gpg=2.2.27-1 gpg-agent=2.2.27-1 gpg-wks-client=2.2.27-1 gpg-wks-server=2.2.27-1 gpgconf=2.2.27-1 gpgsm=2.2.27-1 gpgv=2.2.27-1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-3 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libassuan0=2.5.4-1 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.1-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.256 libdebhelper-perl=13.3.3 libdpkg-perl=1.20.7.1 libelf1=0.183-1 libexpat1=2.2.10-2 libffi7=3.3-6 libfile-stripnondeterminism-perl=1.11.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-3 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.7.0-7 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhogweed6=3.7-2.1 libicu67=67.1-6 libidn2-0=2.3.0-5 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libksba8=1.5.0-3 libldap-2.4-2=2.4.57+dfsg-2 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpdec3=2.5.1-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20201114-2 libnettle8=3.7-2.1 libnpth0=1.6-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.23.22-1 libpam-modules=1.4.0-6 libpam-modules-bin=1.4.0-6 libpam-runtime=1.4.0-6 libpam0g=1.4.0-6 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-3 libpipeline1=1.5.3-1 libpython3-stdlib=3.9.1-1 libpython3.9-minimal=3.9.2-1 libpython3.9-stdlib=3.9.2-1 libquadmath0=10.2.1-6 libreadline8=8.1-1 libsasl2-2=2.1.27+dfsg-2.1 libsasl2-modules-db=2.1.27+dfsg-2.1 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsemanage-common=3.1-1 libsemanage1=3.1-1+b2 libsepol1=3.1-1 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libsodium23=1.0.18-1 libsqlite3-0=3.34.1-3 libssl1.1=1.1.1j-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-1 libtasn1-6=4.16.0-2 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-1 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-2 linux-libc-dev=5.10.13-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.4-2 mawk=1.3.4.20200120-2 media-types=4.0.0 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 passwd=1:4.8.1-1 patch=2.7.6-7 perl=5.32.1-3 perl-base=5.32.1-3 perl-modules-5.32=5.32.1-3 pinentry-curses=1.1.0-4 po-debconf=1.0.21+nmu1 python3=3.9.1-1 python3-all=3.9.1-1 python3-attr=20.3.0-1 python3-cffi-backend=1.14.5-1 python3-colorama=0.4.4-1 python3-cryptography=3.3.2-1 python3-dateutil=2.8.1-5 python3-distutils=3.9.2-1 python3-iso8601=0.1.13-1 python3-lib2to3=3.9.2-1 python3-minimal=3.9.1-1 python3-mock=4.0.3-1 python3-nacl=1.4.0-1+b1 python3-pathspec=0.8.1-1 python3-pbr=5.5.0-2 python3-pkg-resources=52.0.0-1 python3-securesystemslib=0.20.0-1 python3-setuptools=52.0.0-1 python3-six=1.15.0-2 python3.9=3.9.2-1 python3.9-minimal=3.9.2-1 readline-common=8.1-1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-6 tar=1.34+dfsg-1 tzdata=2021a-1 util-linux=2.36.1-7 xz-utils=5.2.5-1.0 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/20210301T023626Z/ 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 in-toto=1.0.1-1 && mkdir -p /build/in-toto-VSZmJU && dpkg-source --no-check -x /*.dsc /build/in-toto-VSZmJU/in-toto-1.0.1 && chown -R builduser:builduser /build/in-toto-VSZmJU" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/in-toto-VSZmJU/in-toto-1.0.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1614626038" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/in-toto-VSZmJU /tmp/in-toto-1.0.1-123tg5831 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210301T023626Z 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.f8kfdTrxpD 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.f8kfdTrxpD Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210301T023626Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210301T023626Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (446 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 ... 4663 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... 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/20210301T023626Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.f8kfdTrxpD Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210301T023626Z 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 21s (1073 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.f8kfdTrxpD I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d in-toto=1.0.1-1 && mkdir -p /build/in-toto-VSZmJU && dpkg-source --no-check -x /*.dsc /build/in-toto-VSZmJU/in-toto-1.0.1 && chown -R builduser:builduser /build/in-toto-VSZmJU"' exec /tmp/mmdebstrap.f8kfdTrxpD Reading package lists... NOTICE: 'in-toto' packaging is maintained in the 'Git' version control system at: https://github.com/in-toto/in-toto.git -b debian Please use: git clone https://github.com/in-toto/in-toto.git -b debian to retrieve the latest (possibly unreleased) updates to the package. Need to get 153 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main in-toto 1.0.1-1 (dsc) [2460 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main in-toto 1.0.1-1 (tar) [142 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main in-toto 1.0.1-1 (asc) [874 B] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main in-toto 1.0.1-1 (diff) [8072 B] Fetched 153 kB in 0s (950 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'in-toto_1.0.1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting in-toto in /build/in-toto-VSZmJU/in-toto-1.0.1 dpkg-source: info: unpacking in-toto_1.0.1.orig.tar.gz dpkg-source: info: unpacking in-toto_1.0.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01_use_python3_interpreter_in_tests.diff I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/in-toto-VSZmJU/in-toto-1.0.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1614626038" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.f8kfdTrxpD dpkg-buildpackage: info: source package in-toto dpkg-buildpackage: info: source version 1.0.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lukas Puehringer dpkg-source --before-build . debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:232: python3.9 setup.py clean running clean removing '/build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.9' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary-indep dh binary-indep --with python3 --buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_autoreconf -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:232: python3.9 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:232: /usr/bin/python3 setup.py build running build running build_py creating /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/log.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/__init__.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/in_toto_sign.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/in_toto_keygen.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/in_toto_verify.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/settings.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/in_toto_mock.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/common_args.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/user_settings.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/exceptions.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/rulelib.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/verifylib.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/formats.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/in_toto_run.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/runlib.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto copying in_toto/in_toto_record.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto creating /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto/models copying in_toto/models/__init__.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto/models copying in_toto/models/metadata.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto/models copying in_toto/models/layout.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto/models copying in_toto/models/common.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto/models copying in_toto/models/link.py -> /build/in-toto-VSZmJU/in-toto-1.0.1/.pybuild/cpython3_3.9_in_toto/build/in_toto/models debian/rules override_dh_auto_test make[1]: Entering directory '/build/in-toto-VSZmJU/in-toto-1.0.1' python3 tests/runtests.py test_load_repr_string_as_json (tests.models.test_common.TestSignable) Test load string returned by `Signable.repr` as JSON ... ok test_set_run_from_string (tests.models.test_inspection.TestInspectionValidator) Test shelx parse command string to list. ... ok test_wrong_run (tests.models.test_inspection.TestInspectionValidator) Test that the run validators catch malformed values. ... ok test_wrong_type (tests.models.test_inspection.TestInspectionValidator) Test the type field within Validate(). ... ok test_functionary_keys (tests.models.test_layout.TestLayoutMethods) Test adding and listing functionary keys (securesystemslib and gpg). ... ok test_get_inspection_by_name (tests.models.test_layout.TestLayoutMethods) Test getting inspection by name. ... ok test_get_inspection_name_list (tests.models.test_layout.TestLayoutMethods) Test getting list of inspection names. ... ok test_get_step_by_name (tests.models.test_layout.TestLayoutMethods) Test getting step by name. ... ok test_get_step_name_list (tests.models.test_layout.TestLayoutMethods) Test getting list of step names. ... ok test_remove_inspection_by_name (tests.models.test_layout.TestLayoutMethods) Test removing inspection by name. ... ok test_remove_step_by_name (tests.models.test_layout.TestLayoutMethods) Test removing step by name. ... ok test_set_relative_expiration (tests.models.test_layout.TestLayoutMethods) Test adding expiration date relative from today. ... ok test_import_step_metadata_wrong_type (tests.models.test_layout.TestLayoutValidator) ... ok test_repeated_step_names (tests.models.test_layout.TestLayoutValidator) Check that only unique names exist in the steps and inspect lists ... ok test_validate_readme_field (tests.models.test_layout.TestLayoutValidator) Tests the readme field data type validator. ... ok test_wrong_expires (tests.models.test_layout.TestLayoutValidator) Test the expires field is properly populated. ... ok test_wrong_inspect_list (tests.models.test_layout.TestLayoutValidator) Check that the validate method checks the inspections' correctness. ... ok test_wrong_key_dictionary (tests.models.test_layout.TestLayoutValidator) Test that the keys dictionary is properly populated. ... ok test_wrong_pubkeys (tests.models.test_layout.TestLayoutValidator) Check validate pubkeys fails with wrong keys. ... ok test_wrong_steps_list (tests.models.test_layout.TestLayoutValidator) Check that the validate method checks the steps' correctness. ... ok test_wrong_type (tests.models.test_layout.TestLayoutValidator) Test that the type field is validated properly. ... ok test_validate_byproducts (tests.models.test_link.TestLinkValidator) Test `byproducts` field. Must be a `dict` ... ok test_validate_command (tests.models.test_link.TestLinkValidator) Test `command` field. Must be either a `list` ... ok test_validate_environment (tests.models.test_link.TestLinkValidator) Test `environment` field. Must be a `dict` ... ok test_validate_materials (tests.models.test_link.TestLinkValidator) Test `materials` field. Must be a `dict` of HASH_DICTs ... ok test_validate_products (tests.models.test_link.TestLinkValidator) Test `products` field. Must be a `dict` of HASH_DICTs ... ok test_validate_type (tests.models.test_link.TestLinkValidator) Test `_type` field. Must be "link" ... ok test_validate_signatures (tests.models.test_metadata.TestMetablockValidator) Test validate Metablock's 'signatures' property. ... ok test_validate_signed (tests.models.test_metadata.TestMetablockValidator) Test validate Metablock's 'signed' property. ... ok test_set_expected_command_from_string (tests.models.test_step.TestStepValidator) Test shelx parse command string to list. ... ok test_wrong_expected_command (tests.models.test_step.TestStepValidator) Test that the expected command validator catches malformed ones. ... ok test_wrong_pubkeys (tests.models.test_step.TestStepValidator) ... ok test_wrong_threshold (tests.models.test_step.TestStepValidator) Test that the threshold value is correctly checked. ... ok test_wrong_type (tests.models.test_step.TestStepValidator) Test the type field within Validate(). ... ok test_add_rule_from_string (tests.models.test_supply_chain_item.TestSupplyChainItem) Test that add_rule_from string methods set property correctly. ... ok test_repr (tests.models.test_supply_chain_item.TestSupplyChainItem) Test repr returns a JSON parseable string. ... ok test_wrong_expected_materials (tests.models.test_supply_chain_item.TestSupplyChainItem) Test that the material rule validators catch malformed ones. ... ok test_wrong_expected_products (tests.models.test_supply_chain_item.TestSupplyChainItem) Test that the product rule validators catch malformed values. ... ok test_sort_action_groups (tests.test_common_args.TestArgparseActionGroupHelpers) Test sort_action_groups sorts action groups by custom title order. ... ok test_title_case_action_groups (tests.test_common_args.TestArgparseActionGroupHelpers) Test title_case_action_groups title cases action group titles. ... ok test_parse_password_and_prompt_args (tests.test_common_args.TestCommonArgs) "Test parse -P/--password optional arg (nargs=?, const=True). ... ok test_main_optional_args (tests.test_in_toto_keygen.TestInTotoKeyGenTool) Test CLI command keygen with optional arguments. ... ok test_main_required_args (tests.test_in_toto_keygen.TestInTotoKeyGenTool) Test in-toto-keygen CLI tool with required arguments. ... ok test_main_wrong_args (tests.test_in_toto_keygen.TestInTotoKeyGenTool) Test CLI command with missing arguments. ... ok test_main_bad_cmd (tests.test_in_toto_mock.TestInTotoMockTool) Test CLI command with non-existing command. ... ok test_main_required_args (tests.test_in_toto_mock.TestInTotoMockTool) Test CLI command with required arguments. ... ok test_main_wrong_args (tests.test_in_toto_mock.TestInTotoMockTool) Test CLI command with missing arguments. ... ok test_encrypted_key_but_no_pw (tests.test_in_toto_record.TestInTotoRecordTool) ... ok test_glob_no_unfinished_files (tests.test_in_toto_record.TestInTotoRecordTool) Test record stop with missing unfinished files when globbing (gpg). ... ok test_glob_to_many_unfinished_files (tests.test_in_toto_record.TestInTotoRecordTool) Test record stop with to many unfinished files when globbing (gpg). ... ok test_missing_unfinished_link (tests.test_in_toto_record.TestInTotoRecordTool) Error exit with missing unfinished link file. ... ok test_no_key (tests.test_in_toto_record.TestInTotoRecordTool) Test if no key is specified, argparse error exists with 2 ... ok test_start_stop (tests.test_in_toto_record.TestInTotoRecordTool) Test CLI command record start/stop with various arguments. ... Exporting master key '8465a1e2e0fb2b40adb2478e18fb3f537e0c8a17' including subkeys '6a112fd3390b2e53afc2e57f8fc8e12099aeceea, c5a0abe6ec19d0d65f85e2c39be9df5131d924e9' for passed keyid 'c5a0abe6ec19d0d65f85e2c39be9df5131d924e9'. ok test_wrong_key (tests.test_in_toto_record.TestInTotoRecordTool) Test CLI command record with wrong key exits 1 ... ok test_main_encrypted_key_but_no_pw (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command exits 1 with encrypted key but no pw. ... ok test_main_no_command_arg (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with --no-command argument. ... ok test_main_optional_args (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with optional arguments. ... ok test_main_required_args (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with required arguments. ... ok test_main_with_default_gpg_key (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with default gpg key. ... ok test_main_with_encrypted_keys (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with encrypted ed25519 key. ... ok test_main_with_metadata_directory (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with metadata directory. ... ok test_main_with_specified_gpg_key (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with specified gpg key. ... ok test_main_with_unencrypted_ed25519_key (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with ed25519 key. ... ok test_main_wrong_args (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with missing arguments. ... ok test_main_wrong_key_exits (tests.test_in_toto_run.TestInTotoRunTool) Test CLI command with wrong key argument, exits and logs error ... ok ERROR test_bad_args (tests.test_in_toto_sign.TestInTotoSignTool) Fail with wrong combination of arguments. ... ok test_bad_metadata (tests.test_in_toto_sign.TestInTotoSignTool) Fail with wrong metadata. ... ok test_fail_signing (tests.test_in_toto_sign.TestInTotoSignTool) ... ok test_fail_verification (tests.test_in_toto_sign.TestInTotoSignTool) Fail signature verification. ... ok test_sign_and_verify (tests.test_in_toto_sign.TestInTotoSignTool) Test signing and verifying Layout and Link metadata with ... ok test_main_failing_bad_layout_path (tests.test_in_toto_verify.TestInTotoVerifyTool) Test in-toto-verify CLI tool with bad layout path. ... ok test_main_link_dir (tests.test_in_toto_verify.TestInTotoVerifyTool) Test in-toto-verify CLI tool with explicit link dir. ... ok test_main_multiple_keys (tests.test_in_toto_verify.TestInTotoVerifyTool) Test in-toto-verify CLI tool with multiple keys. ... ok test_main_required_args (tests.test_in_toto_verify.TestInTotoVerifyTool) Test in-toto-verify CLI tool with required arguments. ... ok test_main_wrong_args (tests.test_in_toto_verify.TestInTotoVerifyTool) Test in-toto-verify CLI tool with wrong arguments. ... ok test_gpg_signed_layout_with_gpg_functionary_keys (tests.test_in_toto_verify.TestInTotoVerifyToolGPG) Successfully test demo supply chain where the layout lists gpg keys ... ok test_main_multiple_keys (tests.test_in_toto_verify.TestInTotoVerifyToolMixedKeys) Test in-toto-verify CLI tool with multiple keys. ... ok test_set_level_verbose_or_quiet (tests.test_log.TestInTotoLogger) Test set level convenience method. ... ok test_substitute (tests.test_param_substitution.Test_SubstituteArtifacts) Do a simple substitution on the expected_command field ... ok test_substitute_no_var (tests.test_param_substitution.Test_SubstituteArtifacts) Raise an error if the parameter is not filled-in ... ok test_substitute (tests.test_param_substitution.Test_SubstituteExpectedCommand) Do a simple substitution on the expected_command field ... ok test_substitute_no_var (tests.test_param_substitution.Test_SubstituteExpectedCommand) Raise an error if the parameter is not filled-in ... ok test_substitute (tests.test_param_substitution.Test_SubstituteOnVerify) Do a simple substitution on the expected_command field ... ok test_inspection_fail_with_non_zero_retval (tests.test_param_substitution.Test_SubstituteRunField) Check that the substitution raises TypeError if the key is missing ... ok test_substitute (tests.test_param_substitution.Test_SubstituteRunField) Check that the substitution is performed on the run field. ... ok test_pack_rule_wrong_types (tests.test_rulelib.TestArtifactRuleUnpack) Test argument validation for pack_rule. ... ok test_unpack_and_pack_generic_rule (tests.test_rulelib.TestArtifactRuleUnpack) Test generic rule proper packing and unpacking. ... ok test_unpack_and_pack_match_rule (tests.test_rulelib.TestArtifactRuleUnpack) Check match rule proper packing and unpacking. ... ok test_unpack_generic_rule_too_long (tests.test_rulelib.TestArtifactRuleUnpack) Test generic rule syntax error, too many arguments. ... ok test_unpack_match_rule_wrong_destination_type (tests.test_rulelib.TestArtifactRuleUnpack) Check match rule syntax error, wrong destination type. ... ok test_unpack_match_rule_wrong_length (tests.test_rulelib.TestArtifactRuleUnpack) Check match rule syntax error, too few or many arguments. ... ok test_unpack_match_rule_wrong_types (tests.test_rulelib.TestArtifactRuleUnpack) Check match rule syntax error, wrong data type in variable arguments. ... ok test_unpack_rule_not_enough_keywords (tests.test_rulelib.TestArtifactRuleUnpack) Test rule syntax error, too little arguments. ... ok test_unpack_rule_not_list (tests.test_rulelib.TestArtifactRuleUnpack) Test rule syntax error, not a list. ... ok test_unpack_rule_pattern_not_string (tests.test_rulelib.TestArtifactRuleUnpack) Test rule syntax error, pattern not a string. ... ok test_unpack_rule_unknown_rule_type (tests.test_rulelib.TestArtifactRuleUnpack) Test generic rule syntax error, too many arguments. ... ok test_UNFINISHED_FILENAME_FORMAT (tests.test_runlib.TestInTotoRecordStart) Test if the unfinished filname format. ... ok test_create_unfininished_metadata_verify_signature (tests.test_runlib.TestInTotoRecordStart) Test record start creates metadata with expected signature. ... ok test_create_unfinished_metadata_with_expected_material (tests.test_runlib.TestInTotoRecordStart) Test record start creates metadata with expected material. ... ok test_no_key_arguments (tests.test_runlib.TestInTotoRecordStart) Test record start without passing one required key argument. ... ok test_compare_metadata_with_and_without_metadata_directory (tests.test_runlib.TestInTotoRecordStop) Test record stop with and without metadata directory, ... ok test_create_metadata_verify_signature (tests.test_runlib.TestInTotoRecordStop) Test record start creates metadata with expected signature. ... ok test_create_metadata_with_expected_cwd (tests.test_runlib.TestInTotoRecordStop) Test record start/stop run, verify cwd. ... ok test_create_metadata_with_expected_product (tests.test_runlib.TestInTotoRecordStop) Test record stop records expected product. ... ok test_missing_unfinished_file (tests.test_runlib.TestInTotoRecordStop) Test record stop exits on missing unfinished file, no link recorded. ... ok test_no_key_arguments (tests.test_runlib.TestInTotoRecordStop) Test record stop without passing one required key argument. ... ok test_nonexistent_directory (tests.test_runlib.TestInTotoRecordStop) Test record stop with nonexistent metadata directory ... ok test_normalize_line_endings (tests.test_runlib.TestInTotoRecordStop) Test cross-platform line ending normalization. ... ok test_not_a_directory (tests.test_runlib.TestInTotoRecordStop) Test record stop, passed metadata directory is not a dir ... ok test_read_only_metadata_directory (tests.test_runlib.TestInTotoRecordStop) Test record stop with read only metadata directory ... ok test_replace_unfinished_metadata (tests.test_runlib.TestInTotoRecordStop) Test record stop removes unfinished file and creates link file. ... ok test_wrong_signature_in_unfinished_metadata (tests.test_runlib.TestInTotoRecordStop) Test record stop exits on wrong signature, no link recorded. ... ok test_in_toto_bad_signing_key_format (tests.test_runlib.TestInTotoRun) Fail run, passed key is not properly formatted. ... ok test_in_toto_read_only_metadata_directory (tests.test_runlib.TestInTotoRun) Fail run, passed metadata directory is read only ... ok test_in_toto_run_compare_dumped_with_returned_link (tests.test_runlib.TestInTotoRun) Successfully run, compare dumped link is equal to returned link. ... ok test_in_toto_run_compare_with_and_without_metadata_directory (tests.test_runlib.TestInTotoRun) Successfully run with and without metadata directory, ... ok test_in_toto_run_no_signature (tests.test_runlib.TestInTotoRun) Successfully run, verify empty signature field. ... ok test_in_toto_run_verify_recorded_artifacts (tests.test_runlib.TestInTotoRun) Successfully run, verify properly recorded artifacts. ... ok test_in_toto_run_verify_signature (tests.test_runlib.TestInTotoRun) Successfully run, verify signed metadata. ... ok test_in_toto_run_verify_workdir (tests.test_runlib.TestInTotoRun) Successfully run, verify cwd. ... ok test_in_toto_run_with_byproduct (tests.test_runlib.TestInTotoRun) Successfully run, verify recorded byproduct. ... ok test_in_toto_run_with_metadata_directory (tests.test_runlib.TestInTotoRun) Successfully run with metadata directory, ... ok test_in_toto_run_without_byproduct (tests.test_runlib.TestInTotoRun) Successfully run, verify byproduct is not recorded. ... ok test_in_toto_wrong_key (tests.test_runlib.TestInTotoRun) Fail run, passed key is a public key. ... ok test_nonexistent_directory (tests.test_runlib.TestInTotoRun) Fail run, passed metadata_directory not exist. ... ok test_normalize_line_endings (tests.test_runlib.TestInTotoRun) Test cross-platform line ending normalization. ... ok test_not_a_directory (tests.test_runlib.TestInTotoRun) Fail run, passed metadata_directory is not a directory. ... ok test_timeout_setting (tests.test_runlib.TestLinkCmdExecTimeoutSetting) ... ok test_bad_artifact_exclude_patterns_setting (tests.test_runlib.TestRecordArtifactsAsDict) Raise exception with bogus artifact exclude patterns settings. ... ok test_bad_base_path_setting (tests.test_runlib.TestRecordArtifactsAsDict) Raise exception with bogus base path settings. ... ok test_base_path_is_child_dir (tests.test_runlib.TestRecordArtifactsAsDict) Test path of recorded artifacts and cd back with child as base. ... ok test_base_path_is_parent_dir (tests.test_runlib.TestRecordArtifactsAsDict) Test path of recorded artifacts and cd back with parent as base. ... ok test_empty_artifacts_list_record_nothing (tests.test_runlib.TestRecordArtifactsAsDict) Empty list passed. Return empty dict. ... ok test_exclude_patterns (tests.test_runlib.TestRecordArtifactsAsDict) Test excluding artifacts using passed pattern or setting. ... ok test_hash_artifact_passing_algorithm (tests.test_runlib.TestRecordArtifactsAsDict) Test _hash_artifact passing hash algorithm. ... ok test_lstrip_paths_invalid_prefix_directory (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_lstrip_paths_non_unique_key (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_lstrip_paths_non_unique_key_file (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_lstrip_paths_substring_prefix_directory (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_lstrip_paths_valid_prefix_directory (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_lstrip_paths_valid_prefix_file (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_lstrip_paths_valid_unicode_prefix_file (tests.test_runlib.TestRecordArtifactsAsDict) ... ok test_not_existing_artifacts_in_list_record_nothing (tests.test_runlib.TestRecordArtifactsAsDict) List with not existing artifact passed. Return empty dict. ... ok test_record_dot_check_files_hash_dict_schema (tests.test_runlib.TestRecordArtifactsAsDict) Traverse dir and subdirs. Record three files. ... ok test_record_files_and_subdirs (tests.test_runlib.TestRecordArtifactsAsDict) Explicitly record files and subdirs. ... ok test_record_follow_symlinked_directories (tests.test_runlib.TestRecordArtifactsAsDict) Record files in symlinked dirs if follow_symlink_dirs is True. ... ok test_record_symlinked_files (tests.test_runlib.TestRecordArtifactsAsDict) Symlinked files are always recorded. ... ok test_record_without_dead_symlinks (tests.test_runlib.TestRecordArtifactsAsDict) Dead symlinks are never recorded. ... ok test_apply_exclude_all (tests.test_runlib.Test_ApplyExcludePatterns) ... ok test_apply_exclude_explict (tests.test_runlib.Test_ApplyExcludePatterns) ... ok test_apply_exclude_multiple_star (tests.test_runlib.Test_ApplyExcludePatterns) ... ok test_apply_exclude_neg_seq (tests.test_runlib.Test_ApplyExcludePatterns) ... ok test_apply_exclude_question_mark (tests.test_runlib.Test_ApplyExcludePatterns) ... ok test_apply_exclude_seq (tests.test_runlib.Test_ApplyExcludePatterns) ... ok test_debug_not_true (tests.test_settings.TestSettings) in_toto.settings.DEBUG should not be commited with True. ... ok test_get_env (tests.test_user_settings.TestUserSettings) Test environment variables parsing, prefix and colon splitting. ... ok test_get_rc (tests.test_user_settings.TestUserSettings) Test rcfile parsing in CWD. ... ok test_set_settings (tests.test_user_settings.TestUserSettings) Test precedence of rc over env and whitelisting. ... ok test_get_summary_link_from_demo_layout (tests.test_verifylib.TestGetSummaryLink) Create summary link from demo link files and compare properties. ... ok test_verify_failing_bad_signature (tests.test_verifylib.TestInTotoVerify) Test fail verification with bad layout signature. ... ok test_verify_failing_inspection_exits_non_zero (tests.test_verifylib.TestInTotoVerify) Test fail verification with inspection returning non-zero. ... ok test_verify_failing_inspection_rules (tests.test_verifylib.TestInTotoVerify) Test fail verification with failing inspection artifact rule. ... ok test_verify_failing_layout_expired (tests.test_verifylib.TestInTotoVerify) Test fail verification with expired layout. ... ok test_verify_failing_link_metadata_files (tests.test_verifylib.TestInTotoVerify) Test fail verification with link metadata files not found. ... ok test_verify_failing_step_rules (tests.test_verifylib.TestInTotoVerify) Test fail verification with failing step artifact rule. ... ok test_verify_failing_wrong_key (tests.test_verifylib.TestInTotoVerify) Test fail verification with wrong layout key. ... ok test_verify_layout_signatures_fail_with_malformed_signature (tests.test_verifylib.TestInTotoVerify) Layout signature verification fails with malformed signatures. ... ok test_verify_layout_signatures_fail_with_no_keys (tests.test_verifylib.TestInTotoVerify) Layout signature verification fails when no keys are passed. ... ok test_verify_passing (tests.test_verifylib.TestInTotoVerify) Test pass verification of single-signed layout. ... ok test_verify_passing_double_signed_layout (tests.test_verifylib.TestInTotoVerify) Test pass verification of double-signed layout. ... ok test_verify_passing_empty_layout (tests.test_verifylib.TestInTotoVerify) Test pass verification of layout without steps or inspections. ... ok test_verify_multi_level_sublayout (tests.test_verifylib.TestInTotoVerifyMultiLevelSublayouts) ... ok test_threshold_constraints_fail_with_not_enough_links (tests.test_verifylib.TestInTotoVerifyThresholds) Fail with not enough links. ... ok test_threshold_constraints_fail_with_unequal_links (tests.test_verifylib.TestInTotoVerifyThresholds) Test that the links for a step recorded the same artifacts. ... ok test_threshold_constraints_pas_with_equal_links (tests.test_verifylib.TestInTotoVerifyThresholds) Pass threshold constraint verification with equal links. ... ok test_thresholds_fail_with_not_enough_valid_links (tests.test_verifylib.TestInTotoVerifyThresholds) Fail with not enough authorized links. ... ok test_thresholds_skip_links_with_failing_signature (tests.test_verifylib.TestInTotoVerifyThresholds) Ignore links with failing signatures. ... ok test_thresholds_skip_unauthorized_links (tests.test_verifylib.TestInTotoVerifyThresholds) Ignore links with unauthorized signatures. ... ok test_verify_link_signature_thresholds__M_M_M (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Normal scenario. ... ok test_verify_link_signature_thresholds__M_M_S__M_S_M__M_S_S (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Cannot sign with master key if subkey is present. ... ok test_verify_link_signature_thresholds__S_M_M (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Allowed trust delegation. ... ok test_verify_link_signature_thresholds__S_M_S (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Cannot associate keys. ... ok test_verify_link_signature_thresholds__S_S_M (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) No trust delegation and can find key in key store. ... ok test_verify_link_signature_thresholds__S_S_S (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Generalizes to normal scenario. ... ok test_verify_subkey_thresholds (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Subkeys of same main key count only once towards threshold. ... ok test_verify_thresholds_skip_expired_key (tests.test_verifylib.TestInTotoVerifyThresholdsGpgSubkeys) Verify that a link signed with an expired key is skipped. ... ok test_inpsection_artifacts_with_base_path_ignored (tests.test_verifylib.TestRunAllInspections) Create new dummy test dir and set as base path, must ignore. ... ok test_inspection_fail_with_non_zero_retval (tests.test_verifylib.TestRunAllInspections) Test fail run inspections with non-zero return value. ... ok test_verify_sublayout_match_rule (tests.test_verifylib.TestSublayoutVerificationMatchRule) ... ok test_pass_verify_all_inspection_rules (tests.test_verifylib.TestVerifyAllItemRules) Pass rule verification for dummy supply chain Inspections. ... ok test_pass_verify_all_step_rules (tests.test_verifylib.TestVerifyAllItemRules) Pass rule verification for dummy supply chain Steps. ... ok test_commands_align (tests.test_verifylib.TestVerifyCommandAlignment) Cmd and expected cmd are equal, passes. ... ok test_commands_do_not_align_at_all_log_warning (tests.test_verifylib.TestVerifyCommandAlignment) Cmd and expected cmd differ completely. ... ok test_commands_do_not_fully_align_log_warning (tests.test_verifylib.TestVerifyCommandAlignment) Cmd and expected cmd differ slightly. ... ok test_fail_disallow_not_consumed_artifacts (tests.test_verifylib.TestVerifyItemRules) Fail with not consumed artifacts and terminal DISALLOW. ... ok test_fail_wrong_source_type (tests.test_verifylib.TestVerifyItemRules) Fail with wrong source_type. ... ok test_pass_not_consumed_artifacts (tests.test_verifylib.TestVerifyItemRules) Pass with not consumed artifacts and implicit terminal ALLOW * ... ok test_pass_rules_with_each_rule_type (tests.test_verifylib.TestVerifyItemRules) Pass with list of rules of each rule type. ... ok test_verify_match_rule (tests.test_verifylib.TestVerifyMatchRule) ... ok test_verify_allow_rule (tests.test_verifylib.TestVerifyRule) Test verifylib.verify_allow_rule. ... ok test_verify_create_rule (tests.test_verifylib.TestVerifyRule) Test verifylib.verify_create_rule. ... ok test_verify_delete_rule (tests.test_verifylib.TestVerifyRule) Test verifylib.verify_delete_rule. ... ok test_verify_disallow_rule (tests.test_verifylib.TestVerifyRule) Test verifylib.verify_disallow_rule. ... ok test_verify_modify_rule (tests.test_verifylib.TestVerifyRule) Test verifylib.verify_modify_rule. ... ok test_verify_require_rule (tests.test_verifylib.TestVerifyRule) Test verifylib.verify_require_rule. ... ok test_verify_demo_as_sublayout (tests.test_verifylib.TestVerifySublayouts) Test super layout's passing sublayout verification. ... ok test_non_int_return_value (tests.test_verifylib.Test_RaiseOnBadRetval) Raise exception on non-int return value. ... ok test_non_zero_return_value (tests.test_verifylib.Test_RaiseOnBadRetval) Raise exception on non-zero return value. ... ok test_zero_return_value (tests.test_verifylib.Test_RaiseOnBadRetval) Don't raise exception on zero return value. ... ok ====================================================================== ERROR: tearDownClass (tests.test_in_toto_run.TestInTotoRunTool) ---------------------------------------------------------------------- Traceback (most recent call last): File "/build/in-toto-VSZmJU/in-toto-1.0.1/tests/test_in_toto_run.py", line 70, in tearDownClass self.tear_down_test_dir() File "/build/in-toto-VSZmJU/in-toto-1.0.1/tests/common.py", line 71, in tear_down_test_dir shutil.rmtree(cls.test_dir) File "/usr/lib/python3.9/shutil.py", line 718, in rmtree _rmtree_safe_fd(fd, path, onerror) File "/usr/lib/python3.9/shutil.py", line 655, in _rmtree_safe_fd _rmtree_safe_fd(dirfd, fullname, onerror) File "/usr/lib/python3.9/shutil.py", line 675, in _rmtree_safe_fd onerror(os.unlink, fullname, sys.exc_info()) File "/usr/lib/python3.9/shutil.py", line 673, in _rmtree_safe_fd os.unlink(entry.name, dir_fd=topfd) FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser' ---------------------------------------------------------------------- Ran 209 tests in 36.707s FAILED (errors=1) make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/in-toto-VSZmJU/in-toto-1.0.1' make: *** [debian/rules:7: binary-indep] Error 2 dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2 E: run_chroot failed: E: command failed: chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/in-toto-VSZmJU/in-toto-1.0.1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1614626038" dpkg-buildpackage -uc -a amd64 --build=all" W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.f8kfdTrxpD... mmdebstrap failed