Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-prometheus-exporter-toolkit/golang-github-prometheus-exporter-toolkit_0.7.1-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-prometheus-exporter-toolkit-0.7.1-1oonirx7f/golang-github-prometheus-exporter-toolkit_0.7.1-1_all.buildinfo Get source package info: golang-github-prometheus-exporter-toolkit=0.7.1-1 Source URL: http://snapshot.notset.fr/mr/package/golang-github-prometheus-exporter-toolkit/0.7.1-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-5 binutils=2.37-10 binutils-common=2.37-10 binutils-x86-64-linux-gnu=2.37-10 bsdextrautils=2.37.2-4 bsdutils=1:2.37.2-4 build-essential=12.9 bzip2=1.0.8-5 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-12 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.5.2 debianutils=5.5-1 dh-autoreconf=20 dh-golang=1.52 dh-strip-nondeterminism=1.12.1-1 diffutils=1:3.7-5 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-12 gcc=4:11.2.0-2 gcc-11=11.2.0-12 gcc-11-base=11.2.0-12 gettext=0.21-4 gettext-base=0.21-4 golang-1.17-go=1.17.4-1 golang-1.17-src=1.17.4-1 golang-any=2:1.17~1 golang-github-alecthomas-units-dev=0.0~git20210927.59d0afb-1 golang-github-aws-aws-sdk-go-dev=1.41.14-1 golang-github-beorn7-perks-dev=1.0.1-1 golang-github-cespare-xxhash-dev=2.1.1-2 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-go-kit-log-dev=0.2.0-2 golang-github-go-logfmt-logfmt-dev=0.5.0-2 golang-github-jmespath-go-jmespath-dev=0.4.0-2 golang-github-jpillora-backoff-dev=1.0.0-1.1 golang-github-json-iterator-go-dev=1.1.10-2 golang-github-julienschmidt-httprouter-dev=1.3.0-1 golang-github-modern-go-concurrent-dev=1.0.3-1.1 golang-github-modern-go-reflect2-dev=1.0.1-1 golang-github-mwitkow-go-conntrack-dev=0.0~git20190716.2f06839-2 golang-github-pkg-errors-dev=0.9.1-2 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-prometheus-client-golang-dev=1.11.0-2 golang-github-prometheus-client-model-dev=0.2.0-3 golang-github-prometheus-common-dev=0.32.1-5 golang-github-prometheus-procfs-dev=0.7.3-1 golang-github-stretchr-objx-dev=0.3.0-1 golang-github-stretchr-testify-dev=1.7.0+git20210824.ab6dc32-1 golang-go=2:1.17~1 golang-golang-x-crypto-dev=1:0.0~git20211202.5770296-1 golang-golang-x-net-dev=1:0.0+git20210805.aaa1db6+dfsg-1 golang-golang-x-oauth2-dev=0.0~git20210819.2bc19b1-1 golang-golang-x-sync-dev=0.0~git20210220.036812b-1 golang-golang-x-sys-dev=0.0~git20211117.dee7805-1 golang-golang-x-term-dev=0.0~git20210615.6886f2d-1 golang-golang-x-text-dev=0.3.7-1 golang-gopkg-alecthomas-kingpin.v2-dev=2.2.6-3 golang-gopkg-yaml.v2-dev=2.4.0-1 golang-gopkg-yaml.v3-dev=3.0.0~git20210107.496545a-1 golang-goprotobuf-dev=1.3.4-2+b6 golang-protobuf-extensions-dev=1.0.1-1 golang-src=2:1.17~1 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-12 libatomic1=11.2.0-12 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libbinutils=2.37-10 libblkid1=2.37.2-4 libbz2-1.0=1.0.8-5 libc-bin=2.32-5 libc-dev-bin=2.32-5 libc6=2.32-5 libc6-dev=2.32-5 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-12 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.26-1 libcrypt1=1:4.4.26-1 libctf-nobfd0=2.37-10 libctf0=2.37-10 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.5.2 libdpkg-perl=1.21.1 libelf1=0.186-1 libfile-stripnondeterminism-perl=1.12.1-1 libgcc-11-dev=11.2.0-12 libgcc-s1=11.2.0-12 libgcrypt20=1.9.4-4 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgmp10=2:6.2.1+dfsg-3 libgomp1=11.2.0-12 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libicu67=67.1-7 libisl23=0.24-2 libitm1=11.2.0-12 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 liblsan0=11.2.0-12 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmount1=2.37.2-4 libmpc3=1.2.1-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.4-1 libprotobuf-dev=3.12.4-1+b2 libprotobuf-lite23=3.12.4-1+b2 libprotobuf23=3.12.4-1+b2 libprotoc23=3.12.4-1+b2 libquadmath0=11.2.0-12 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-4 libssl1.1=1.1.1l-1 libstdc++-11-dev=11.2.0-12 libstdc++6=11.2.0-12 libsub-override-perl=0.09-2 libsystemd0=249.7-1 libtinfo6=6.3-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtsan0=11.2.0-12 libubsan1=11.2.0-12 libuchardet0=0.0.7-1 libudev1=249.7-1 libunistring2=0.9.10-6 libuuid1=2.37.2-4 libxml2=2.9.12+dfsg-5+b1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.5-1 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.3-1 ncurses-bin=6.3-1 patch=2.7.6-7 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 po-debconf=1.0.21+nmu1 protobuf-compiler=3.12.4-1+b2 rpcsvc-proto=1.4.2-4 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.00-1 tar=1.34+dfsg-1 util-linux=2.37.2-4 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=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/20211212T031254Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211212T031254Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211209T150529Z/ 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-prometheus-exporter-toolkit=0.7.1-1 && mkdir -p /build/golang-github-prometheus-exporter-toolkit-Wfwxm4 && dpkg-source --no-check -x /*.dsc /build/golang-github-prometheus-exporter-toolkit-Wfwxm4/golang-github-prometheus-exporter-toolkit-0.7.1 && chown -R builduser:builduser /build/golang-github-prometheus-exporter-toolkit-Wfwxm4" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-prometheus-exporter-toolkit-Wfwxm4/golang-github-prometheus-exporter-toolkit-0.7.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1639060108" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-prometheus-exporter-toolkit-Wfwxm4 /tmp/golang-github-prometheus-exporter-toolkit-0.7.1-1oonirx7f bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20211209T150529Z 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.22asmRpxkz 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.22asmRpxkz Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-4). 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/20211209T150529Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211209T150529Z unstable/main amd64 fakeroot amd64 1.26-1 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (909 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 ... 4679 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1_amd64.deb ... Unpacking fakeroot (1.26-1) ... Setting up libfakeroot:amd64 (1.26-1) ... Setting up fakeroot (1.26-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.32-5) ... 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/20211212T031254Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211212T031254Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211209T150529Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.22asmRpxkz Get:1 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm InRelease [129 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20211209T150529Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main Sources [11.7 MB] Get:4 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main amd64 Packages [11.2 MB] Fetched 23.0 MB in 23s (989 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.22asmRpxkz I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-prometheus-exporter-toolkit=0.7.1-1 && mkdir -p /build/golang-github-prometheus-exporter-toolkit-Wfwxm4 && dpkg-source --no-check -x /*.dsc /build/golang-github-prometheus-exporter-toolkit-Wfwxm4/golang-github-prometheus-exporter-toolkit-0.7.1 && chown -R builduser:builduser /build/golang-github-prometheus-exporter-toolkit-Wfwxm4"' exec /tmp/mmdebstrap.22asmRpxkz Reading package lists... NOTICE: 'golang-github-prometheus-exporter-toolkit' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-prometheus-exporter-toolkit.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-prometheus-exporter-toolkit.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 57.5 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main golang-github-prometheus-exporter-toolkit 0.7.1-1 (dsc) [2639 B] Get:2 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main golang-github-prometheus-exporter-toolkit 0.7.1-1 (tar) [51.9 kB] Get:3 http://snapshot.notset.fr/archive/debian/20211212T031254Z bookworm/main golang-github-prometheus-exporter-toolkit 0.7.1-1 (diff) [2968 B] Fetched 57.5 kB in 0s (669 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-prometheus-exporter-toolkit_0.7.1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-prometheus-exporter-toolkit in /build/golang-github-prometheus-exporter-toolkit-Wfwxm4/golang-github-prometheus-exporter-toolkit-0.7.1 dpkg-source: info: unpacking golang-github-prometheus-exporter-toolkit_0.7.1.orig.tar.gz dpkg-source: info: unpacking golang-github-prometheus-exporter-toolkit_0.7.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying golang-new-crypto.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-prometheus-exporter-toolkit-Wfwxm4/golang-github-prometheus-exporter-toolkit-0.7.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1639060108" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.22asmRpxkz dpkg-buildpackage: info: source package golang-github-prometheus-exporter-toolkit dpkg-buildpackage: info: source version 0.7.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Daniel Swarbrick dpkg-source --before-build . debian/rules clean dh clean --buildsystem=golang --builddirectory=_build dh_auto_clean -O--buildsystem=golang -O--builddirectory=_build dh_autoreconf_clean -O--buildsystem=golang -O--builddirectory=_build dh_clean -O--buildsystem=golang -O--builddirectory=_build debian/rules binary-indep dh binary-indep --buildsystem=golang --builddirectory=_build dh_update_autotools_config -i -O--buildsystem=golang -O--builddirectory=_build dh_autoreconf -i -O--buildsystem=golang -O--builddirectory=_build dh_auto_configure -i -O--buildsystem=golang -O--builddirectory=_build dh_auto_build -i -O--buildsystem=golang -O--builddirectory=_build cd _build && go install -trimpath -v -p 4 github.com/prometheus/exporter-toolkit/web github.com/prometheus/exporter-toolkit/web/kingpinflag internal/goexperiment internal/cpu internal/abi internal/unsafeheader runtime/internal/atomic runtime/internal/sys internal/bytealg internal/race sync/atomic unicode runtime/internal/math unicode/utf8 container/list internal/itoa runtime math/bits crypto/internal/subtle crypto/subtle math unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/subtle encoding golang.org/x/sys/internal/unsafeheader sync internal/reflectlite internal/testlog internal/singleflight math/rand errors sort runtime/cgo internal/oserror io strconv syscall bytes hash reflect time crypto crypto/elliptic/internal/fiat encoding/binary context internal/fmtsort crypto/cipher internal/syscall/unix internal/syscall/execenv internal/poll crypto/aes crypto/des path strings crypto/internal/randutil crypto/sha512 io/fs crypto/ed25519/internal/edwards25519/field bufio crypto/hmac os crypto/ed25519/internal/edwards25519 crypto/md5 crypto/rc4 crypto/sha1 fmt crypto/sha256 encoding/base64 vendor/golang.org/x/net/dns/dnsmessage path/filepath encoding/pem math/big encoding/hex net/url net vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 crypto/elliptic encoding/asn1 crypto/rand crypto/dsa vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 crypto/rsa crypto/x509/pkix crypto/ecdsa io/ioutil vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/sys/cpu encoding/json github.com/go-logfmt/logfmt vendor/golang.org/x/crypto/chacha20poly1305 crypto/x509 log regexp/syntax github.com/pkg/errors github.com/jpillora/backoff crypto/tls compress/flate regexp hash/crc32 vendor/golang.org/x/text/transform github.com/go-kit/log compress/gzip vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm github.com/go-kit/log/level net/textproto vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime mime/quotedprintable vendor/golang.org/x/net/idna net/http/httptrace net/http/internal mime/multipart vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy net/http/internal/ascii github.com/beorn7/perks/quantile github.com/cespare/xxhash github.com/golang/protobuf/proto net/http github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util golang.org/x/sys/unix runtime/debug github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/procfs github.com/golang/protobuf/ptypes github.com/prometheus/client_model/go expvar golang.org/x/net/internal/timeseries github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/expfmt html text/template/parse text/tabwriter golang.org/x/text/transform github.com/prometheus/client_golang/prometheus golang.org/x/text/unicode/bidi text/template golang.org/x/text/unicode/norm golang.org/x/text/secure/bidirule golang.org/x/net/http2/hpack golang.org/x/net/context/ctxhttp golang.org/x/net/idna html/template gopkg.in/yaml.v2 golang.org/x/oauth2/internal golang.org/x/net/http/httpguts golang.org/x/oauth2 golang.org/x/net/trace golang.org/x/net/http2 golang.org/x/oauth2/clientcredentials github.com/mwitkow/go-conntrack golang.org/x/crypto/blowfish github.com/alecthomas/units go/token golang.org/x/crypto/bcrypt internal/lazyregexp go/scanner github.com/prometheus/common/config go/ast github.com/prometheus/exporter-toolkit/web go/doc gopkg.in/alecthomas/kingpin.v2 github.com/prometheus/exporter-toolkit/web/kingpinflag dh_auto_test -i -O--buildsystem=golang -O--builddirectory=_build cd _build && go test -vet=off -v -p 4 github.com/prometheus/exporter-toolkit/web github.com/prometheus/exporter-toolkit/web/kingpinflag === RUN TestCacheSize --- PASS: TestCacheSize (0.00s) === RUN TestBasicAuthCache --- PASS: TestBasicAuthCache (1.24s) === RUN TestBasicAuthWithFakepassword --- PASS: TestBasicAuthWithFakepassword (0.19s) === RUN TestHTTPHeaders --- PASS: TestHTTPHeaders (0.00s) === RUN TestYAMLFiles === RUN TestYAMLFiles/run/path_to_config_yml_invalid === RUN TestYAMLFiles/validate/path_to_config_yml_invalid === RUN TestYAMLFiles/run/empty_config_yml === RUN TestYAMLFiles/validate/empty_config_yml === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_structure) === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_structure) === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_key) === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_key) === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_empty) === RUN TestYAMLFiles/validate/invalid_config_yml_(cert_path_empty) === RUN TestYAMLFiles/run/invalid_config_yml_(key_path_empty) === RUN TestYAMLFiles/validate/invalid_config_yml_(key_path_empty) === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_empty) === RUN TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_empty) === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_invalid) === RUN TestYAMLFiles/validate/invalid_config_yml_(cert_path_invalid) === RUN TestYAMLFiles/run/invalid_config_yml_(key_path_invalid) === RUN TestYAMLFiles/validate/invalid_config_yml_(key_path_invalid) === RUN TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_invalid) === RUN TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_invalid) === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_ClientAuth) === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientAuth) === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_ClientCAs_filepath) === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientCAs_filepath) === RUN TestYAMLFiles/run/invalid_config_yml_(invalid_user_list) === RUN TestYAMLFiles/validate/invalid_config_yml_(invalid_user_list) === RUN TestYAMLFiles/run/invalid_config_yml_(bad_cipher) === RUN TestYAMLFiles/validate/invalid_config_yml_(bad_cipher) === RUN TestYAMLFiles/run/invalid_config_yml_(bad_curves) === RUN TestYAMLFiles/validate/invalid_config_yml_(bad_curves) === RUN TestYAMLFiles/run/invalid_config_yml_(bad_TLS_version) === RUN TestYAMLFiles/validate/invalid_config_yml_(bad_TLS_version) --- PASS: TestYAMLFiles (0.27s) --- PASS: TestYAMLFiles/run/path_to_config_yml_invalid (0.00s) --- PASS: TestYAMLFiles/validate/path_to_config_yml_invalid (0.00s) --- PASS: TestYAMLFiles/run/empty_config_yml (0.26s) --- PASS: TestYAMLFiles/validate/empty_config_yml (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_structure) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_structure) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_key) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_key) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(cert_path_empty) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(cert_path_empty) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(key_path_empty) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(key_path_empty) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_empty) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_empty) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(cert_path_invalid) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(cert_path_invalid) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(key_path_invalid) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(key_path_invalid) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(cert_path_and_key_path_invalid) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(cert_path_and_key_path_invalid) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_ClientAuth) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientAuth) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_ClientCAs_filepath) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_ClientCAs_filepath) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(invalid_user_list) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(invalid_user_list) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(bad_cipher) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(bad_cipher) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(bad_curves) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(bad_curves) (0.00s) --- PASS: TestYAMLFiles/run/invalid_config_yml_(bad_TLS_version) (0.00s) --- PASS: TestYAMLFiles/validate/invalid_config_yml_(bad_TLS_version) (0.00s) === RUN TestServerBehaviour === RUN TestServerBehaviour/empty_string_YAMLConfigPath_and_default_client === RUN TestServerBehaviour/empty_string_YAMLConfigPath_and_TLS_client === RUN TestServerBehaviour/valid_tls_config_yml_and_default_client === RUN TestServerBehaviour/valid_tls_config_yml_and_tls_client === RUN TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client 2021/12/14 11:43:44 http: TLS handshake error from 127.0.0.1:49546: tls: client offered only unsupported versions: [302 301] === RUN TestServerBehaviour/valid_tls_config_yml_with_all_ciphers === RUN TestServerBehaviour/valid_tls_config_yml_with_some_ciphers === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher 2021/12/14 11:43:45 http: TLS handshake error from 127.0.0.1:49552: tls: no cipher suite supported by both client and server === RUN TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers === RUN TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher === RUN TestServerBehaviour/valid_tls_config_yml_with_all_curves === RUN TestServerBehaviour/valid_tls_config_yml_with_some_curves === RUN TestServerBehaviour/valid_tls_config_yml_with_no_common_curves 2021/12/14 11:43:46 http: TLS handshake error from 127.0.0.1:49562: tls: no ECDHE curve supported by both client and server === RUN TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers === RUN TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled === RUN TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert 2021/12/14 11:43:47 http: TLS handshake error from 127.0.0.1:49568: tls: client didn't provide a certificate 2021/12/14 11:43:47 http: TLS handshake error from 127.0.0.1:49566: tls: client didn't provide a certificate === RUN TestServerBehaviour/valid_headers_config === RUN TestServerBehaviour/invalid_X-Content-Type-Options_headers_config === RUN TestServerBehaviour/invalid_X-Frame-Options_headers_config === RUN TestServerBehaviour/HTTP_header_that_can_not_be_overriden --- PASS: TestServerBehaviour (4.21s) --- PASS: TestServerBehaviour/empty_string_YAMLConfigPath_and_default_client (0.25s) --- PASS: TestServerBehaviour/empty_string_YAMLConfigPath_and_TLS_client (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_and_default_client (0.25s) --- PASS: TestServerBehaviour/valid_tls_config_yml_and_tls_client (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_TLS_1.1_client (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_ciphers (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_ciphers (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_cipher (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_multiple_client_ciphers,_client_chooses_cipher (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_all_curves (0.26s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_some_curves (0.29s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_no_common_curves (0.27s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers (0.27s) --- PASS: TestServerBehaviour/valid_tls_config_yml_with_non-http2_ciphers_but_http2_enabled (0.00s) --- PASS: TestServerBehaviour/valid_tls_config_yml_and_tls_client_with_RequireAnyClientCert (0.26s) --- PASS: TestServerBehaviour/valid_headers_config (0.26s) --- PASS: TestServerBehaviour/invalid_X-Content-Type-Options_headers_config (0.00s) --- PASS: TestServerBehaviour/invalid_X-Frame-Options_headers_config (0.00s) --- PASS: TestServerBehaviour/HTTP_header_that_can_not_be_overriden (0.00s) === RUN TestConfigReloading 2021/12/14 11:43:47 http: TLS handshake error from 127.0.0.1:49572: tls: client didn't provide a certificate --- PASS: TestConfigReloading (0.91s) === RUN TestUsers === RUN TestUsers/without_basic_auth === RUN TestUsers/with_correct_basic_auth === RUN TestUsers/without_basic_auth_and_TLS === RUN TestUsers/with_correct_basic_auth_and_TLS === RUN TestUsers/with_another_correct_basic_auth_and_TLS === RUN TestUsers/with_bad_password_and_TLS === RUN TestUsers/with_bad_username_and_TLS --- PASS: TestUsers (2.79s) --- PASS: TestUsers/without_basic_auth (0.25s) --- PASS: TestUsers/with_correct_basic_auth (0.44s) --- PASS: TestUsers/without_basic_auth_and_TLS (0.27s) --- PASS: TestUsers/with_correct_basic_auth_and_TLS (0.47s) --- PASS: TestUsers/with_another_correct_basic_auth_and_TLS (0.45s) --- PASS: TestUsers/with_bad_password_and_TLS (0.45s) --- PASS: TestUsers/with_bad_username_and_TLS (0.47s) PASS ok github.com/prometheus/exporter-toolkit/web 9.653s ? github.com/prometheus/exporter-toolkit/web/kingpinflag [no test files] create-stamp debian/debhelper-build-stamp dh_testroot -i -O--buildsystem=golang -O--builddirectory=_build dh_prep -i -O--buildsystem=golang -O--builddirectory=_build dh_auto_install --destdir=debian/golang-github-prometheus-exporter-toolkit-dev/ -i -O--buildsystem=golang -O--builddirectory=_build dh_installdocs -i -O--buildsystem=golang -O--builddirectory=_build dh_installchangelogs -i -O--buildsystem=golang -O--builddirectory=_build dh_installsystemduser -i -O--buildsystem=golang -O--builddirectory=_build dh_perl -i -O--buildsystem=golang -O--builddirectory=_build dh_link -i -O--buildsystem=golang -O--builddirectory=_build dh_strip_nondeterminism -i -O--buildsystem=golang -O--builddirectory=_build dh_compress -i -O--buildsystem=golang -O--builddirectory=_build dh_fixperms -i -O--buildsystem=golang -O--builddirectory=_build dh_missing -i -O--buildsystem=golang -O--builddirectory=_build dh_installdeb -i -O--buildsystem=golang -O--builddirectory=_build dh_golang -i -O--buildsystem=golang -O--builddirectory=_build dh_gencontrol -i -O--buildsystem=golang -O--builddirectory=_build dh_md5sums -i -O--buildsystem=golang -O--builddirectory=_build dh_builddeb -i -O--buildsystem=golang -O--builddirectory=_build dpkg-deb: building package 'golang-github-prometheus-exporter-toolkit-dev' in '../golang-github-prometheus-exporter-toolkit-dev_0.7.1-1_all.deb'. dpkg-genbuildinfo --build=all -O../golang-github-prometheus-exporter-toolkit_0.7.1-1_all.buildinfo dpkg-genchanges --build=all -O../golang-github-prometheus-exporter-toolkit_0.7.1-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-prometheus-exporter-toolkit-Wfwxm4 /tmp/golang-github-prometheus-exporter-toolkit-0.7.1-1oonirx7f I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.22asmRpxkz... I: success in 3881.2249 seconds md5: golang-github-prometheus-exporter-toolkit-dev_0.7.1-1_all.deb: OK sha1: golang-github-prometheus-exporter-toolkit-dev_0.7.1-1_all.deb: OK sha256: golang-github-prometheus-exporter-toolkit-dev_0.7.1-1_all.deb: OK Checksums: OK