Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-parallel/ruby-parallel_1.21.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-parallel-1.21.0-1i1ka12ou/ruby-parallel_1.21.0-1_all.buildinfo Get source package info: ruby-parallel=1.21.0-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-parallel/1.21.0-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.71-2 automake=1:1.16.4-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.51 bash=5.1-3+b1 binutils=2.37-5 binutils-common=2.37-5 binutils-x86-64-linux-gnu=2.37-5 bsdextrautils=2.37.2-2 bsdutils=1:2.37.2-2 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20210119 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.3.0-10 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.5.1 debianutils=5.4-4 devscripts=2.21.4 dh-autoreconf=20 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dirmngr=2.2.27-2 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 fakeroot=1.26-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.3.0-10 gcc=4:10.2.1-1 gcc-10=10.3.0-10 gcc-10-base=10.3.0-10 gcc-11-base=11.2.0-5 gem2deb=1.4 gem2deb-test-runner=1.4 gettext=0.21-4 gettext-base=0.21-4 gnupg=2.2.27-2 gnupg-l10n=2.2.27-2 gnupg-utils=2.2.27-2 gpg=2.2.27-2 gpg-agent=2.2.27-2 gpg-wks-client=2.2.27-2 gpg-wks-server=2.2.27-2 gpgconf=2.2.27-2 gpgsm=2.2.27-2 gpgv=2.2.27-2 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-5 libassuan0=2.5.5-1 libatomic1=11.2.0-5 libattr1=1:2.5.1-1 libaudit-common=1:3.0.5-1 libaudit1=1:3.0.5-1 libb-hooks-op-check-perl=0.22-1+b3 libbinutils=2.37-5 libblkid1=2.37.2-2 libbsd0=0.11.3-1 libbz2-1.0=1.0.8-4 libc-bin=2.32-3 libc-dev-bin=2.32-3 libc6=2.32-3 libc6-dev=2.32-3 libcap-ng0=0.7.9-2.2+b1 libcc1-0=11.2.0-5 libclass-method-modifiers-perl=2.13-1 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.25-2 libcrypt1=1:4.4.25-2 libctf-nobfd0=2.37-5 libctf0=2.37-5 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.5.1 libdevel-callchecker-perl=0.008-1+b2 libdpkg-perl=1.20.9 libdynaloader-functions-perl=0.003-1.1 libedit2=3.1-20210910-1 libelf1=0.185-2 libencode-locale-perl=1.05-1.1 libexpat1=2.4.1-2+b1 libfakeroot=1.26-1 libffi7=3.3-6 libfile-dirlist-perl=0.05-2 libfile-homedir-perl=1.006-1 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.12.0-1 libfile-touch-perl=0.12-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.3.0-10 libgcc-s1=11.2.0-5 libgcrypt20=1.9.4-3 libgdbm-compat4=1.21-1 libgdbm6=1.21-1 libgmp-dev=2:6.2.1+dfsg-2 libgmp10=2:6.2.1+dfsg-2 libgmpxx4ldbl=2:6.2.1+dfsg-2 libgnutls30=3.7.2-2 libgomp1=11.2.0-5 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libhogweed6=3.7.3-1 libhtml-parser-perl=3.76-1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.10-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.33-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-7 libidn2-0=2.3.2-2 libimport-into-perl=1.002005-1 libio-html-perl=1.004-2 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.072-1 libipc-run-perl=20200505.0-1 libisl23=0.23-1 libitm1=11.2.0-5 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 libksba8=1.6.0-2 libldap-2.4-2=2.4.59+dfsg-1 liblsan0=11.2.0-5 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd0=1.0.3-3 libmodule-runtime-perl=0.016-1 libmoo-perl=2.005004-2 libmount1=2.37.2-2 libmpc3=1.2.0-1 libmpdec3=2.5.1-2 libmpfr6=4.1.0-3 libncurses6=6.2+20210905-1 libncursesw6=6.2+20210905-1 libnet-http-perl=6.21-1 libnet-ssleay-perl=1.88-3+b1 libnettle8=3.7.3-1 libnpth0=1.6-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.24.0-2 libpam-modules=1.4.0-10 libpam-modules-bin=1.4.0-10 libpam-runtime=1.4.0-10 libpam0g=1.4.0-10 libparams-classify-perl=0.015-1+b3 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-5 libpipeline1=1.5.3-1 libprocps8=2:3.3.17-5 libpython3-stdlib=3.9.2-3 libpython3.9-minimal=3.9.7-2 libpython3.9-stdlib=3.9.7-2 libquadmath0=11.2.0-5 libreadline8=8.1-2 librole-tiny-perl=2.002004-1 libruby2.7=2.7.4-1 libsasl2-2=2.1.27+dfsg-2.1 libsasl2-modules-db=2.1.27+dfsg-2.1 libseccomp2=2.5.2-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.37.2-2 libsqlite3-0=3.36.0-2 libssl1.1=1.1.1l-1 libstdc++-10-dev=10.3.0-10 libstdc++6=11.2.0-5 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=247.9-1 libtasn1-6=4.17.0-2 libtimedate-perl=2.3300-2 libtinfo6=6.2+20210905-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtry-tiny-perl=0.30-1 libtsan0=11.2.0-5 libubsan1=11.2.0-5 libuchardet0=0.0.7-1 libudev1=247.9-1 libunistring2=0.9.10-6 liburi-perl=5.08-1 libuuid1=2.37.2-2 libwww-perl=6.53-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.12+dfsg-4 libyaml-0-2=0.2.2-1 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-4 login=1:4.8.1-1 lsb-base=11.1.0 lsof=4.93.2+dfsg-1.1 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 media-types=4.0.0 ncurses-base=6.2+20210905-1 ncurses-bin=6.2+20210905-1 netbase=6.3 openssl=1.1.1l-1 passwd=1:4.8.1-1 patch=2.7.6-7 patchutils=0.4.2-1 perl=5.32.1-5 perl-base=5.32.1-5 perl-modules-5.32=5.32.1-5 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21+nmu1 procps=2:3.3.17-5 python3=3.9.2-3 python3-minimal=3.9.2-3 python3.9=3.9.7-2 python3.9-minimal=3.9.7-2 rake=13.0.3-1 readline-common=8.1-2 rpcsvc-proto=1.4.2-4 ruby=1:2.7+2 ruby-activemodel=2:6.0.3.7+dfsg-2 ruby-activerecord=2:6.0.3.7+dfsg-2 ruby-activesupport=2:6.0.3.7+dfsg-2 ruby-all-dev=1:2.7+2 ruby-atomic=1.1.16-3+b1 ruby-concurrent=1.1.6+dfsg-3 ruby-diff-lcs=1.4.4-1 ruby-i18n=1.8.10-1 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=1.1.7-2 ruby-progressbar=1.10.1-1 ruby-rspec=3.9.0c2e2m1s3-2 ruby-rspec-core=3.9.0c2e2m1s3-2 ruby-rspec-expectations=3.9.0c2e2m1s3-2 ruby-rspec-mocks=3.9.0c2e2m1s3-2 ruby-rspec-support=3.9.0c2e2m1s3-2 ruby-rubygems=3.2.5-2 ruby-sqlite3=1.4.2-3 ruby-test-unit=3.3.9-1 ruby-thread-safe=0.3.6-1 ruby-tzinfo=1.2.6-1 ruby-xmlrpc=0.3.0-2 ruby-zeitwerk=2.4.2-1 ruby2.7=2.7.4-1 ruby2.7-dev=2.7.4-1 rubygems-integration=1.18 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 tzdata=2021a-1 util-linux=2.37.2-2 wdiff=1.2.2-2+b1 xz-utils=5.2.5-2 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/20210920T084623Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210920T084623Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210918T155259Z/ 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-parallel=1.21.0-1 && mkdir -p /build/ruby-parallel-JEju1H && dpkg-source --no-check -x /*.dsc /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0 && chown -R builduser:builduser /build/ruby-parallel-JEju1H" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1631900910" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-parallel-JEju1H /tmp/ruby-parallel-1.21.0-1i1ka12ou bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20210918T155259Z 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.qqf8gJ6FgK 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.qqf8gJ6FgK Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-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 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210918T155259Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210918T155259Z 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 (912 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 ... 4664 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-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/20210920T084623Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210920T084623Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210918T155259Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.qqf8gJ6FgK Get:1 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm InRelease [128 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210918T155259Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main Sources [11.6 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main amd64 Packages [11.2 MB] Fetched 23.0 MB in 19s (1182 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.qqf8gJ6FgK I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-parallel=1.21.0-1 && mkdir -p /build/ruby-parallel-JEju1H && dpkg-source --no-check -x /*.dsc /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0 && chown -R builduser:builduser /build/ruby-parallel-JEju1H"' exec /tmp/mmdebstrap.qqf8gJ6FgK Reading package lists... NOTICE: 'ruby-parallel' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-parallel.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-parallel.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 28.9 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main ruby-parallel 1.21.0-1 (dsc) [2152 B] Get:2 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main ruby-parallel 1.21.0-1 (tar) [21.8 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210920T084623Z bookworm/main ruby-parallel 1.21.0-1 (diff) [4964 B] Fetched 28.9 kB in 0s (519 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-parallel_1.21.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-parallel in /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0 dpkg-source: info: unpacking ruby-parallel_1.21.0.orig.tar.gz dpkg-source: info: unpacking ruby-parallel_1.21.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Do-no-use-git.patch dpkg-source: info: applying 0001-disable-bundler-in-tests.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1631900910" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.qqf8gJ6FgK dpkg-buildpackage: info: source package ruby-parallel dpkg-buildpackage: info: source version 1.21.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Hideki Yamane dpkg-source --before-build . 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 binary-indep dh binary-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 dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-parallel/ -i -O--buildsystem=ruby dh_ruby --install /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/ruby-parallel dh_ruby --install /usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20211103-602969-1br6bxg/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: parallel Version: 1.21.0 File: parallel-1.21.0.gem /usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-parallel/usr/share/rubygems-integration/all /tmp/d20211103-602969-1br6bxg/parallel-1.21.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/ruby-parallel/usr/share/rubygems-integration/all/gems/parallel-1.21.0/lib/parallel.rb /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/ruby-parallel/usr/share/rubygems-integration/all/gems/parallel-1.21.0/lib/parallel/processor_count.rb /build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/ruby-parallel/usr/share/rubygems-integration/all/gems/parallel-1.21.0/lib/parallel/version.rb Successfully installed parallel-1.21.0 1 gem installed cd debian/ruby-parallel/usr/share/rubygems-integration/all rm -rf bin rm -rf build_info rm -rf cache rm -rf doc rm -rf extensions cd gems/parallel-1.21.0 rm -f chmod 644 lib/parallel.rb lib/parallel/processor_count.rb lib/parallel/version.rb find lib/ -type d -empty -delete cd - cd - /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/ruby-parallel/usr/share/rubygems-integration/all:/build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/.debhelper/generated/_source/home/.local/share/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\ \"parallel\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/ruby-parallel/usr/share/rubygems-integration/all:/build/ruby-parallel-JEju1H/ruby-parallel-1.21.0/debian/.debhelper/generated/_source/home/.local/share/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 can load parallel gem /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Parallel fails when running with a prefilled queue without stop since there are no threads to fill it .processor_count returns a number uses Etc.nprocessors in Ruby 2.2+ .physical_processor_count returns a number is even factor of logical cpus .in_processes executes with detected cpus executes with detected cpus when nil was given executes with cpus from ENV set amount of parallel processes enforces only one worker type does not influence outside data kills the processes when the main process gets killed through ctrl+c kills the processes when the main process gets killed through a custom interrupt kills the threads when the main process gets killed through ctrl+c does not kill processes when the main process gets sent an interrupt besides the custom interrupt does not kill threads when the main process gets sent an interrupt besides the custom interrupt does not kill anything on ctrl+c when everything has finished preserves original intrrupts restores original intrrupts saves time raises when one of the processes raises can raise an undumpable exception can handle Break exceptions when the better_errors gem is installed can handle to high fork rate does not leave processes behind while running does not open unnecessary pipes .in_threads saves time does not create new processes returns results as array raises when a thread raises .map saves time does not modify options executes with given parameters can dump/load complex objects starts new process immediately when old exists does not flatten results can run in threads supports all Enumerable-s handles nested arrays and nil correctly stops all workers when one fails in processes stops all workers when one raises Break in processes stops all workers when a start hook fails with processes stops all workers when a finish hook fails with processes does not call the finish hook when a worker fails with processes does not call the finish hook when a worker raises Break in processes does not call the finish hook when a start hook fails with processes can return from break with processes sets Parallel.worker_number with 4 processes sets Parallel.worker_number with 0 processes stops all workers when one fails in threads stops all workers when one raises Break in threads stops all workers when a start hook fails with threads stops all workers when a finish hook fails with threads does not call the finish hook when a worker fails with threads does not call the finish hook when a worker raises Break in threads does not call the finish hook when a start hook fails with threads can return from break with threads sets Parallel.worker_number with 4 threads sets Parallel.worker_number with 0 threads can run with 0 threads can run with 0 processes notifies when an item of work is dispatched to a worker process notifies when an item of work is dispatched with 0 processes notifies when an item of work is completed by a worker process notifies when an item of work is completed with 0 processes notifies when an item of work is dispatched to a threaded worker notifies when an item of work is dispatched with 0 threads notifies when an item of work is completed by a threaded worker notifies when an item of work is completed with 0 threads spits out a useful error when a worker dies before read spits out a useful error when a worker dies before write raises DeadWorker when using exit so people learn to not kill workers and do not crash main process rescues the Exception raised in child process raises EOF (not DeadWorker) when a worker raises EOF in process threads can be killed instantly processes can be killed instantly synchronizes :start and :finish is equivalent to serial map can work in isolation sets Parallel.worker_number when run with isolation can use Timeout .map_with_index yields object and index does not crash with empty set can run with 0 threads can run with 0 processes .flat_map yields object and index .any? returns true if any result is truthy returns false if all results are falsy .all? returns true if all results are truthy returns false if any result is falsy .each returns original array, works like map passes result to :finish callback :in_processes` passes result to :finish callback :in_threads` does not use marshal_dump does not slow down with lots of GC work in threads can modify in-place works with SQLite in processes stops all workers when one fails in processes stops all workers when one raises Break in processes stops all workers when a start hook fails with processes stops all workers when a finish hook fails with processes does not call the finish hook when a worker fails with processes does not call the finish hook when a worker raises Break in processes does not call the finish hook when a start hook fails with processes sets Parallel.worker_number with processes works with SQLite in threads stops all workers when one fails in threads stops all workers when one raises Break in threads stops all workers when a start hook fails with threads stops all workers when a finish hook fails with processes does not call the finish hook when a worker fails with threads does not call the finish hook when a worker raises Break in threads does not call the finish hook when a start hook fails with threads sets Parallel.worker_number with threads re-raises exceptions in work_direct handles Break in work_direct .each_with_index yields object and index progress takes the title from :progress takes true from :progress works with :finish takes the title from :progress[:title] and passes options along lambdas runs in threads runs in processs refuses to use progress lambdas runs in threads runs in processs refuses to use progress GC does not leak memory in processes does not leak memory in threads Finished in 1 minute 23.75 seconds (files took 0.27534 seconds to load) 129 examples, 0 failures ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ 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-parallel: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-parallel' in '../ruby-parallel_1.21.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-parallel_1.21.0-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-parallel-JEju1H /tmp/ruby-parallel-1.21.0-1i1ka12ou I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.qqf8gJ6FgK... I: success in 484.2993 seconds md5: ruby-parallel_1.21.0-1_all.deb: OK sha1: ruby-parallel_1.21.0-1_all.deb: OK sha256: ruby-parallel_1.21.0-1_all.deb: OK Checksums: OK