Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-signet/ruby-signet_0.14.0-4_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-signet-0.14.0-46tkc98jw/ruby-signet_0.14.0-4_all.buildinfo Get source package info: ruby-signet=0.14.0-4 Source URL: http://snapshot.notset.fr/mr/package/ruby-signet/0.14.0-4/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 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-7 binutils=2.35-2 binutils-common=2.35-2 binutils-x86-64-linux-gnu=2.35-2 bsdextrautils=2.36-2 bsdutils=1:2.36-2 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-5 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11.1 devscripts=2.20.4 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dirmngr=2.2.20-1 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 fakeroot=1.24-1 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-5 gcc=4:10.1.0-1 gcc-10=10.2.0-5 gcc-10-base=10.2.0-5 gem2deb=1.2.1 gem2deb-test-runner=1.2.1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 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 javascript-common=11 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-5 libassuan0=2.5.3-7.1 libatomic1=10.2.0-5 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.35-2 libblkid1=2.36-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-3 libc-dev-bin=2.31-3 libc6=2.31-3 libc6-dev=2.31-3 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-5 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-2 libctf0=2.35-2 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.20.5 libdynaloader-functions-perl=0.003-1 libelf1=0.180-1+b1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libffi7=3.3-4 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.9.0-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.2.0-5 libgcc-s1=10.2.0-5 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp-dev=2:6.2.0+dfsg-6 libgmp10=2:6.2.0+dfsg-6 libgmpxx4ldbl=2:6.2.0+dfsg-6 libgnutls30=3.6.14-2+b1 libgomp1=10.2.0-5 libgpg-error0=1.38-2 libhogweed6=3.6-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.25-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-4 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20200505.0-1 libisl22=0.22.1-1 libitm1=10.2.0-5 libjs-jquery=3.5.1+dfsg-4 libjs-jquery-easing=12-1.1 libjs-jquery-fancybox=12-1.1 libjs-jquery-mousewheel=1:3.1.13-2 libjs-jquery-ui=1.12.1+dfsg-5 libksba8=1.4.0-2 libldap-2.4-2=2.4.50+dfsg-1+b1 libldap-common=2.4.50+dfsg-1 liblsan0=10.2.0-5 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.09-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004000-1 libmount1=2.36-2 libmpc3=1.2.0~rc1-1 libmpfr6=4.1.0-3 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3 libnettle8=3.6-2 libnpth0=1.6-2 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.3-1 libpython3-stdlib=3.8.2-3 libpython3.8-minimal=3.8.5-2 libpython3.8-stdlib=3.8.5-2 libquadmath0=10.2.0-5 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.7=2.7.1-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsemanage-common=3.1-1 libsemanage1=3.1-1 libsepol1=3.1-1 libsigsegv2=2.12-2 libsmartcols1=2.36-2 libsqlite3-0=3.33.0-1 libssl1.1=1.1.1g-1 libstdc++-10-dev=10.2.0-5 libstdc++6=10.2.0-5 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=246.2-1 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.2.0-5 libubsan1=10.2.0-5 libuchardet0=0.0.7-1 libudev1=246.2-1 libunistring2=0.9.10-4 liburi-perl=1.76-2 libuuid1=2.36-2 libwww-perl=6.47-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-5+b1 libyaml-0-2=0.2.2-1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.7.10-1 login=1:4.8.1-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 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 node-jquery=3.5.1+dfsg-4 openssl=1.1.1g-1 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.4.2-1 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21 publicsuffix=20200729.1725-1 python3=3.8.2-3 python3-minimal=3.8.2-3 python3.8=3.8.5-2 python3.8-minimal=3.8.5-2 rake=13.0.1-4 readline-common=8.0-4 ruby=1:2.7+1 ruby-addressable=2.7.0-1 ruby-all-dev=1:2.7+1 ruby-diff-lcs=1.4.4-1 ruby-docile=1.1.5-2 ruby-faraday=0.17.3-1 ruby-jwt=2.1.0-2 ruby-minitest=5.13.0-1 ruby-multi-json=1.14.1-1 ruby-multipart-post=2.0.0-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=1.1.7-1 ruby-public-suffix=3.0.3+ds-1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-setup=3.4.1-9 ruby-simplecov=0.18.5-1 ruby-simplecov-html=0.11.0-1 ruby-test-unit=3.3.5-1 ruby-xmlrpc=0.3.0-2 ruby2.7=2.7.1-3 ruby2.7-dev=2.7.1-3 rubygems-integration=1.17.2 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-4 tar=1.30+dfsg-7 util-linux=2.36-2 wdiff=1.2.2-2+b1 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/20200821T144650Z/ 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 ruby-signet=0.14.0-4 && mkdir -p /build/ruby-signet-dUQxL9 && dpkg-source --no-check -x /*.dsc /build/ruby-signet-dUQxL9/ruby-signet-0.14.0 && chown -R builduser:builduser /build/ruby-signet-dUQxL9" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-signet-dUQxL9/ruby-signet-0.14.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1598033498" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-signet-dUQxL9 /tmp/ruby-signet-0.14.0-46tkc98jw bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200821T144650Z 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.zrkdhVL_wC 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.zrkdhVL_wC Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-2). 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/20200821T144650Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200821T144650Z 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 (1049 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 ... 4577 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-3) ... 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/20200821T144650Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.zrkdhVL_wC Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200821T144650Z 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 20s (1132 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.zrkdhVL_wC I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-signet=0.14.0-4 && mkdir -p /build/ruby-signet-dUQxL9 && dpkg-source --no-check -x /*.dsc /build/ruby-signet-dUQxL9/ruby-signet-0.14.0 && chown -R builduser:builduser /build/ruby-signet-dUQxL9"' exec /tmp/mmdebstrap.zrkdhVL_wC Reading package lists... NOTICE: 'ruby-signet' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-signet.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-signet.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 61.1 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-signet 0.14.0-4 (dsc) [2155 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-signet 0.14.0-4 (tar) [56.0 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-signet 0.14.0-4 (diff) [3012 B] Fetched 61.1 kB in 0s (1059 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-signet_0.14.0-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-signet in /build/ruby-signet-dUQxL9/ruby-signet-0.14.0 dpkg-source: info: unpacking ruby-signet_0.14.0.orig.tar.gz dpkg-source: info: unpacking ruby-signet_0.14.0-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Skip-test-which-checks-for-a-LOAD_PATH-change.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-signet-dUQxL9/ruby-signet-0.14.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1598033498" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.zrkdhVL_wC dpkg-buildpackage: info: source package ruby-signet dpkg-buildpackage: info: source version 0.14.0-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Pirate Praveen dpkg-source --before-build . fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules build-indep dh build-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby debian/rules override_dh_auto_install make[1]: Entering directory '/build/ruby-signet-dUQxL9/ruby-signet-0.14.0' dh_auto_install dh_ruby --install /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/version.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/version.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_2.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_2.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/errors.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/errors.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1/credential.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1/credential.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1/client.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1/client.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1/signature_methods/hmac_sha1.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1/signature_methods/hmac_sha1.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1/signature_methods/plaintext.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1/signature_methods/plaintext.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1/signature_methods/rsa_sha1.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1/signature_methods/rsa_sha1.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_1/server.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_1/server.rb install -D -m644 /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/lib/signet/oauth_2/client.rb /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby/signet/oauth_2/client.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/share/rubygems-integration/all/specifications/signet-0.14.0.gemspec dh_installchangelogs -pruby-signet /build/ruby-signet-dUQxL9/ruby-signet-0.14.0/CHANGELOG.md upstream /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/share/rubygems-integration/all:/build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/.debhelper/generated/_source/home/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"signet\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/ruby-signet/usr/share/rubygems-integration/all:/build/ruby-signet-dUQxL9/ruby-signet-0.14.0/debian/.debhelper/generated/_source/home/.gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Signet::OAuth1::Client unconfigured should have no temporary_credential_uri should allow the temporary_credential_uri to be set to a String should allow the temporary_credential_uri to be set to a URI should have no authorization_uri should allow the authorization_uri to be set to a String should allow the authorization_uri to be set to a Hash should allow the authorization_uri to be set to a URI should have no token_credential_uri should allow the token_credential_uri to be set to a String should allow the token_credential_uri to be set to a Hash should allow the token_credential_uri to be set to a URI should have no client_credential should raise an error for partially set client credentials should raise an error for partially set client credentials should allow the client_credential to be set to a Signet::OAuth1::Credential should allow the client_credential to be set to nil should not allow the client_credential to be set to a bogus value should have no client_credential_key should allow the client_credential_key to be set to a String should not allow the client_credential_key to be set to a non-String should have no client_credential_secret should allow the client_credential_secret to be set to a String should not allow the client_credential_secret to be set to a non-String should have an out-of-band callback should allow the callback to be set to a String should allow the callback to be set to a URI should not allow the callback to be set to a non-String should raise an error if the temporary credentials URI is not set should raise an error if the client credential key is not set should raise an error if the client credential secret is not set should have no temporary_credential should raise an error for partially set temporary credentials should raise an error for partially set temporary credentials should allow the temporary_credential to be set to a Signet::OAuth1::Credential should allow the temporary_credential to be set to nil should not allow the temporary_credential to be set to a bogus value should have no temporary_credential_key should allow the temporary_credential_key to be set to a String should not allow the temporary_credential_key to be set to a non-String should have no temporary_credential_secret should allow the temporary_credential_secret to be set to a String should not allow the temporary_credential_secret to be set to a non-String should have no token_credential should raise an error for partially set token credentials should raise an error for partially set token credentials should allow the token_credential to be set to a Signet::OAuth1::Credential should allow the token_credential to be set to nil should not allow the token_credential to be set to a bogus value should have no token_credential_key should allow the token_credential_key to be set to a String should not allow the token_credential_key to be set to a non-String should have no token_credential_secret should allow the token_credential_secret to be set to a String should not allow the token_credential_secret to be set to a non-String should not allow the two_legged flag to be set to a non-Boolean Signet::OAuth1::Client configured should generate a JSON representation of the client should generate an authorization URI with a callback should generate an authorization URI with a temporary credential should generate an authorization URI both a callback and a temporary credential should generate an authorization URI with additional parameters should raise an error if the verifier is not provided should raise an error if the token credentials URI is not set should raise an error if the client credential key is not set should raise an error if the client credential secret is not set should raise an error if the temporary credential key is not set should raise an error if the temporary credential secret is not set should raise an error if the client credential key is not set should raise an error if the client credential secret is not set should raise an error if the token credential key is not set should raise an error if the token credential secret is not set should raise an error if no request is provided should raise an error if a bogus request is provided should not raise an error if a request is provided without a connection should raise an error if no URI is provided should not raise an error if a request body is chunked should not raise an error if a request body is chunked should raise an error if a request body is of a bogus type should correctly fetch the temporary credentials should correctly fetch the token credentials should correctly fetch the protected resource should correctly fetch the protected resource with Faraday requests should correctly get the protected resource should correctly post the protected resource Signet::OAuth1::Credential with a Hash for initialization should accept "oauth_token" and "oauth_token_secret" pairs should accept :oauth_token and :oauth_token_secret pairs should accept "key" and "secret" pairs should accept :key and :secret pairs should not complain about additional parameters should allow parameters to be specified as an implicit Hash should allow parameters to be specified as an Enumerable should allow parameters to be specified as an implicit Array should raise an error if key and secret are not present should allow key and secret to be passed in as a tuple should allow key and secret to be passed in as normal parameters should raise an error if key or secret are of the wrong type should raise an error if the wrong number of arguments are passed should convert to a Hash object Signet::OAuth1::Server unconfigured should not have a client_credential Proc should not have a token_credential Proc should not have a nonce_timestamp Proc should not have a verifier Proc Signet::OAuth1::Server configured should raise an error if the client credential Proc is not set should raise an error if the token credential Proc is not set should raise an error if the temporary token credential Proc is not set should raise an error if the verifier Proc is not set for a token request should raise an error if no request is provided should raise an error if a bogus request is provided should raise an error if no Authentication header is provided should raise an error if no URI is provided should reject a request with the wrong signature method calling find_temporary_credential should return a Signet credential if the Proc provides one should return a Signet credential if the Proc provides a key/secret pair should return a Signet credential if the Proc provides a key/secret Enumerable should return nil if the Proc does not provide a usable response calling find_client_credential should return a Signet credential if the Proc provides one should return a Signet credential if the Proc provides a key/secret pair should return a Signet credential if the Proc provides a key/secret Enumerable should return nil if the Proc does not provide a usable response calling find_token_credential should return a Signet credential if the Proc provides one should return a Signet credential if the Proc provides a key/secret pair should return a Signet credential if the Proc provides a key/secret Enumerable should return nil if the Proc does not provide a usable response calling find_verifier should return false if server verifier returns false should return false if server verifier returns nil should return true if server verifier returns a random object calling validate_nonce_timestamp should return false if nonce_timestamp Proc returns false should return false if nonce_timestamp Proc returns nil should return true if nonce_timestamp Proc returns a random object expecting a request for a temporary credential should raise an error if the client credential Proc is not set should reject an malformed request should call a user-supplied Proc to validate a nonce/timestamp pair should return 'oob' for a valid request without an oauth_callback should return the oauth_callback for a valid request with an oauth_callback should return false for an unauthenticated request should return nil from #request_realm if no realm is provided with a Realm provided should return the realm from #request_realm should return "oob" with a valid request without an oauth_callback expecting a request for a token credential should reject an malformed request should call a user-supplied Proc to validate a nonce/timestamp pair should return an informational hash for a valid request should return nil for an unauthenticated request should call a user-supplied Proc to fetch the client credential should call a user-supplied Proc to fetch the temporary token credential should return nil from #request_realm if no realm is provided with a Realm provided should return the realm from #request_realm should an informational hash with a valid request expecting a request for a protected resource should not raise an error if a request body is chunked(as Array) should not raise an error if a request body is chunked(as StringIO) should raise an error if a request body is of a bogus type should use form parameters in signature if request is a POSTed form should raise an error if signature is x-www-form-encoded but does not send form parameters in header should call a user-supplied Proc to validate a nonce/timestamp pair should call a user-supplied Proc to fetch the client credential should call a user-supplied Proc to fetch the token credential should return a Hash for a valid request should return nil for a unauthenticated request should return nil from #request_realm if no realm is provided with a Realm provided should return the realm from #request_realm should return a hash containing the realm with a valid request expecting a two-legged request for a protected resource should not raise an error if a request body is chunked(as Array) should not raise an error if a request body is chunked(as StringIO) should raise an error if a request body is of a bogus type should use form parameters in signature if request is a POSTed form should raise an error if signature is x-www-form-encoded but does not send form parameters in header should call a user-supplied Proc to validate a nonce/timestamp pair should call a user-supplied Proc to fetch the client credential should return a informational hash for a valid request should return false for a unauthenticated request should return nil from #request_realm if no realm is provided with a Realm provided should return the realm from #request_realm should return a hash containing the realm with a valid request Signet::OAuth1::HMACSHA1 should correctly generate a signature should correctly generate a signature Signet::OAuth1::PLAINTEXT should correctly generate a signature should correctly generate a signature Signet::OAuth1::RSASHA1 should correctly generate a signature Signet::OAuth1::RSASHA1 should correctly generate a signature should correctly generate a signature Signet::OAuth1 should correctly normalize parameters should correctly normalize parameters should exclude the "oauth_signature" parameter when normalizing should raise an error if normalizing parameters with bogus values should raise an error if generating a base string with bogus values should correctly generate a base string should correctly generate a base string with an already encoded URI should correctly generate a base string with an already encoded URI should correctly generate a base string when port 8080 is specified should correctly generate a base string when port 80 is specified should correctly generate a base string when port 443 is specified should correctly generate a base signature with uppercase scheme should correctly generate a base signature with mixedcase authority should correctly generate a base signature with a method symbol should correctly generate an authorization header should raise an error if generating an authorization header with bogus values should raise an error if generating an authorization header with the "realm" parameter specified the wrong way should correctly parse an authorization header should not unescape a realm in an authorization header should raise an error if parsing an authorization header with bogus values should raise an error if parsing a non-OAuth authorization header should correctly parse a form encoded credential should correctly parse a form encoded credential should raise an error if parsing a form encoded credential with bogus values should correctly generate a signature for a set of parameters should raise an error when trying to sign with with unknown method should correctly generate authorization URIs Signet::OAuth1 when generating temporary credentials parameters should raise an error if the client credential key is missing should have the correct client credential key should have the correct signature method should have a valid timestamp should have a valid nonce should have the correct callback should have the correct scope parameter should have the correct OAuth version Signet::OAuth1 when generating token credential parameters should raise an error if the client credential key is missing should raise an error if the temporary credential key is missing should raise an error if the verifier is missing should have the correct client credential key should have the correct temporary credentials key should have the correct signature method should have a valid timestamp should have a valid nonce should have the verifier should have the correct OAuth version Signet::OAuth1 when generating protected resource parameters should raise an error if the client credential key is missing should raise an error if the token credential key is missing should have the correct client credential key should have the correct token credentials key should have the correct signature method should have a valid timestamp should have a valid nonce should have the correct OAuth version Signet::OAuth1 when generating token credential parameters with Signet::OAuth1::Credential objects should have the correct client credential key should have the correct temporary credentials key should have the correct signature method should have a valid timestamp should have a valid nonce should have the correct OAuth version Signet::OAuth1 when generating token credential parameters with a Signet::OAuth1::Client object should have the correct client credential key should have the correct temporary credentials key should have the correct signature method should have a valid timestamp should have a valid nonce should have the correct OAuth version Signet::OAuth1 when generating token credential parameters with Signet::OAuth1::Credential objects should have the correct client credential key should have the correct temporary credentials key should have the correct signature method should have a valid timestamp should have a valid nonce should have the correct OAuth version Signet::OAuth1 extracting credential keys from options should raise an error for bogus credentials should raise an error for bogus credentials should raise an error for bogus credentials should return nil for missing credential key should find the correct credential key should find the correct credential key should find the correct credential key should find the correct credential key Signet::OAuth1 extracting credential secrets from options should raise an error for bogus credentials should raise an error for bogus credentials should raise an error for bogus credentials should raise an error for missing credential secret should find the correct credential secret should find the correct credential secret should find the correct credential secret should find the correct credential secret Signet::OAuth2::Client unconfigured should allow additional paraemters to be set. should raise an error if a bogus scope is provided should raise an error if a scope array is provided with spaces should allow the scope to be set to a String should allow the scope to be set to an Array should raise an error if a bogus redirect URI is provided should raise an error if a relative redirect URI is provided should allow "postmessage" as a redirect URI (Google hack) should allow oob values as a redirect URI (for installed apps) should have no authorization_uri should allow the authorization_uri to be set to a String should allow the authorization_uri to be set to a Hash should allow the authorization_uri to be set to a URI should require a redirect URI when getting the authorization_uri should require a client ID when getting the authorization_uri should have no token_credential_uri should allow the token_credential_uri to be set to a String should allow the token_credential_uri to be set to a Hash should allow the token_credential_uri to be set to a URI Signet::OAuth2::Client configured for assertions profile when using RSA keys should generate valid JWTs should generate valid JWTs for impersonation should generate valid JWTs for impersonation using deprecated person attribute should generate valid JWTs for impersonation using the sub attribute should generate a JSON representation of the client should send valid access token request when using shared secrets should generate valid JWTs Signet::OAuth2::Client configured for Google userinfo API should not have a grant type by default should use the authorization_code grant type if given code should use the refresh_token grant type if given refresh token should use the password grant type if given username and password should allow the grant type to be set manually should allow the grant type to be set to an extension should raise an error if extension parameters are bogus should include extension parameters in token request should include the scope in token request should allow the token to be updated should handle expires as equivalent to expires_in should allow the token to be updated without an expiration should allow the token expiration to be cleared should allow the expires_at time to be updated should calculate the expires_at from issued_at when issued_at is set should calculate expires_at from Time.now when issed_at is NOT set sets issued_at to Time.now when expires_in is not set through update_token! should allow setting expires_at manually should normalize values of expires_at to instances of time should set expires_in when expires_at is set should set expires_in to nil when expires_at is set to nil should set expires_at when expires_in is set should set expires_at to nil when expires_in is set to nil should indicate the token is not expired if expired_at nil should indicate the token is not expiring when expiry beyond window should indicate the token is expiring soon when expiry within window should raise an error if the authorization endpoint is not secure should raise an error if token credential URI is missing should raise an error if unauthorized should raise a remote server error if the server gives a 5xx status should raise an unexpected error if the token server gives an unexpected status should correctly fetch an access token should correctly fetch an access token with a password should correctly refresh an access token should detect unintential grant type of none should correctly fetch protected resources should correctly send the realm in the Authorization header should correctly send the realm in the Authorization header should not raise an error if a request is provided without a connection should raise an error if not enough information is supplied to create a request should raise an error if the client does not have an access token should not raise an error if the API server gives an error status should only raise an error if the API server gives an authorization failed status should correctly handle an ID token should correctly handle an ID token with `aud` array should raise an error decoding an ID token if audience does not match client ID should raise an error decoding an ID token if audience is missing should raise an error if the id token cannot be verified (PENDING: Need to set test data) Signet::OAuth2::Client authorization_uri should set access_type to offline by default should set response_type to code by default should raise an error when setting both prompt and approval_prompt Signet::OAuth2::Client configured with custom parameters should allow custom parameters to be set on init should allow custom parameters to be updated should use custom parameters when generating authorization_uri should merge new authorization_uri custom parameters should merge new generate_access_token_request custom parameters Signet::OAuth2::Client configured with custom parameters should allow custom parameters to be set on init should allow custom parameters to be updated should use custom parameters when generating authorization_uri should have the correct authorization_uri should merge new authorization_uri custom parameters should not have access_type parameter in authorization_uri when we set it to nil in client should use new access_type parameter as default for authorization_uri should merge new generate_access_token_request custom parameters Signet::OAuth2::Client configured with custom parameters a la JSON.load(credentials_file) should allow custom parameters to be set on init should allow custom parameters to be updated should have correct authorization_uri hash options should use custom parameters when generating authorization_uri should merge new authorization_uri custom parameters should merge new generate_access_token_request custom parameters Signet::OAuth2::Client configured for id tokens should set target_audience should send a valid id token request Signet::OAuth2 when parsing an Authorization header should correctly handle HTTP Basic auth-scheme should correctly handle OAuth auth-scheme should correctly handle OAuth auth-scheme with realm should correctly handle OAuth auth-scheme with multiple auth-params should liberally handle auth-params with single-quoted strings should liberally handle auth-params with unquoted strings should not allow unquoted strings that do not match tchar should not parse non-OAuth auth-schemes when parsing a WWW-Authenticate header should correctly handle OAuth challenge with auth-params should liberally handle auth-params with single-quoted strings should liberally handle auth-params with token strings should liberally handle out-of-order auth-params should not allow unquoted strings that do not match tchar should not parse non-OAuth challenges when generating a Basic Authorization header should correctly handle client ID and password pairs should correctly encode using the alogrithm given in RFC 2617 when parsing a token response body should correctly handle just an access token should handle form encoded responses should raise an error for an invalid body should raise an error for a bogus body Signet when parsing an auth param list should correctly handle commas should correctly handle backslash-escaped pairs should liberally handle space-separated auth-param lists should liberally handle single-quoted auth-param lists should liberally handle unquoted auth-param lists should liberally handle auth-param lists with empty sections spec_helper.rb spec_dir is already in $LOAD_PATH lib_dir is already in $LOAD_PATH (PENDING: Temporarily skipped with xit) Pending: (Failures listed here are expected and do not affect your suite's status) 1) Signet::OAuth2::Client configured for Google userinfo API should raise an error if the id token cannot be verified # Need to set test data Failure/Error: expect(lambda do pubkey = OpenSSL::PKey::RSA.new <<~PUBKEY -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxCaY7425h964bjaoLeUm SlZ8sK7VtVk9zHbGmZh2ygGYwfuUf2bmMye2Ofv99yDE/rd4loVIAcu7RVvDRgHq 3/CZTnIrSvHsiJQsHBNa3d+F1ihPfzURzf1M5k7CFReBj2SBXhDXd57oRfBQj12w CVhhwP6kGTAWuoppbIIIBfNF2lE/Nvm7lVVYQqL9xOrP/AQ4xRbpQlB8Ll9sO9Or SvbWhCDa/LMOWxHdmrcJi6XoSg1vnOyCoKbyAoauTt/XqdkHbkDdQ6HFbJieu9il LDZZNliPhfENuKeC2MCGVXTEu8Cqhy1w6e4axavLlXoYf4laJIZ/e7au8SqDbY0B xwIDAQAB expected JWT::ExpiredSignature, got # with backtrace: # ./lib/signet/oauth_2/client.rb:766:in `decoded_id_token' # ./spec/signet/oauth_2/client_spec.rb:1037:in `block (3 levels) in ' # ./spec/signet/oauth_2/client_spec.rb:1025:in `block (2 levels) in ' # ./spec/signet/oauth_2/client_spec.rb:1025:in `block (2 levels) in ' 2) spec_helper.rb lib_dir is already in $LOAD_PATH # Temporarily skipped with xit # ./spec/spec_helper_spec.rb:13 Finished in 2.57 seconds (files took 1.38 seconds to load) 391 examples, 0 failures, 2 pending ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ rm -f debian/ruby-signet/usr/lib/ruby/vendor_ruby/compat/securerandom.rb make[1]: Leaving directory '/build/ruby-signet-dUQxL9/ruby-signet-0.14.0' dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installsystemduser -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_ruby_fixdepends -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-signet: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-signet: substitution variable ${ruby:Depends} unused, but is defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-signet' in '../ruby-signet_0.14.0-4_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-signet_0.14.0-4_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/ruby-signet-dUQxL9 /tmp/ruby-signet-0.14.0-46tkc98jw I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.zrkdhVL_wC... I: success in 358.0215 seconds md5: ruby-signet_0.14.0-4_all.deb: OK sha1: ruby-signet_0.14.0-4_all.deb: OK sha256: ruby-signet_0.14.0-4_all.deb: OK Checksums: OK