Diff of the two buildlogs: -- --- b1/build.log 2021-07-27 00:49:43.617201339 +0000 +++ b2/build.log 2021-07-27 00:56:32.193846210 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 28 19:09:59 -12 2022 -I: pbuilder-time-stamp: 1661756999 +I: Current time: Tue Jul 27 14:49:48 +14 2021 +I: pbuilder-time-stamp: 1627346988 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ruby-listen_3.2.1-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.FEElSgST/trustedkeys.kbx': General error -gpgv: Signature made Mon Aug 3 00:35:59 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.fjB168IR/trustedkeys.kbx': General error +gpgv: Signature made Tue Aug 4 02:35:59 2020 +14 gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-listen_3.2.1-1.dsc @@ -31,137 +31,171 @@ dpkg-source: info: applying 0006-Disable-coveralls.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/306/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13297/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/13297/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13297/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=7' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='f88a5901e44d4a94bc7810239d46bcd9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='306' - PS1='# ' - PS2='> ' + INVOCATION_ID=99f4d121f32a42e39e2aaf1680e28ed6 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=13297 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.xHBEnJdjDZ/pbuilderrc_xCdI --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.xHBEnJdjDZ/b1 --logfile b1/build.log ruby-listen_3.2.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.xHBEnJdjDZ/pbuilderrc_EDmf --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.xHBEnJdjDZ/b2 --logfile b2/build.log --extrapackages usrmerge ruby-listen_3.2.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Jun 21 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 27 03:48 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/306/tmp/hooks/D02_print_environment finished + total 5808 + -rwxr-xr-x 1 root root 1367848 Jun 22 16:25 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:25 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 27 14:51 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 26 23:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/13297/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -341,7 +375,7 @@ Get: 132 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 133 http://deb.debian.org/debian bullseye/main i386 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] Get: 134 http://deb.debian.org/debian bullseye/main i386 ruby-thor all 1.0.1-1 [51.1 kB] -Fetched 45.0 MB in 1s (85.7 MB/s) +Fetched 45.0 MB in 8s (5973 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -901,8 +935,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (922 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 27037 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ruby-listen-3.2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-listen-3.2.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-listen dpkg-buildpackage: info: source version 3.2.1-1 dpkg-buildpackage: info: source distribution unstable @@ -945,37 +1015,37 @@ install -d /build/ruby-listen-3.2.1/debian/ruby-listen/usr/bin install -D -m755 /build/ruby-listen-3.2.1/bin/listen /build/ruby-listen-3.2.1/debian/ruby-listen/usr/bin/listen install -d /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby +install -D -m644 /build/ruby-listen-3.2.1/lib/listen.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/version.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/version.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/silencer.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/backend.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/backend.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/directory.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/directory.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/fsm.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/fsm.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/listener/config.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener/config.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/record/symlink_detector.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/symlink_detector.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/record/entry.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/entry.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/file.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/file.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/options.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/options.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/record.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/change.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/change.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/silencer/controller.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer/controller.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/queue_optimizer.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/queue_optimizer.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/queue.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/queue.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/config.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/config.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/loop.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/loop.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/processor.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/processor.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/cli.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/cli.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/listener.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/config.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/config.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/windows.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/windows.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/bsd.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/bsd.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/linux.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/linux.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/base.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/base.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/polling.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/polling.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/darwin.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/darwin.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/windows.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/windows.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/record/entry.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/entry.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/record/symlink_detector.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/symlink_detector.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/change.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/change.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/version.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/version.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/cli.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/cli.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/file.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/file.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/silencer/controller.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer/controller.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/linux.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/linux.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter/polling.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/polling.rb +install -D -m644 /build/ruby-listen-3.2.1/lib/listen/logger.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/logger.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/adapter.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/listener.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/backend.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/backend.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/config.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/config.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/processor.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/processor.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/queue.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/queue.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/event/loop.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/loop.rb install -D -m644 /build/ruby-listen-3.2.1/lib/listen/internals/thread_pool.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/internals/thread_pool.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/silencer.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/queue_optimizer.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/queue_optimizer.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/logger.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/logger.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/record.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/listener/config.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener/config.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen/fsm.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/fsm.rb -install -D -m644 /build/ruby-listen-3.2.1/lib/listen.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen.rb Rewriting shebang line of /build/ruby-listen-3.2.1/debian/ruby-listen/usr/bin/listen ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1005,90 +1075,42 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 37135 +Randomized with seed 40976 -Listen::Listener - #only - with existing only options - overwrites existing ignore options - #listen? - when processing - is expected to be processing +Listen::Event::Processor + #loop_for + when not stopped + when initially paused + when stopped after sleeping + breaks + sleeps, waiting to be woken up + when still paused after sleeping + when there were no events before + sleeps for latency to possibly later optimize some events + when there were no events for ages + still does not process events because it is paused + when initially processing + when event queue is empty + when stopped after sleeping + breaks + sleeps, waiting to be woken up + when event queue has events + when there were events ages ago + processes events when stopped - is expected not to be processing - when paused - is expected not to be processing - #pause - sets paused to true - #ignore! - with existing ignore options - deletes ignore options - with no existing options - sets options - with existing ignore! options - overwrites existing ignore options - #start - sets paused to false - starts adapter - unpause with start - sets paused to false - initialize - is expected not to be paused - with a block - passes the block to the event processor - with directories - passes directories to backend - #paused? - returns true when paused - returns false when not paused - #ignore - with existing ignore options (array) - adds up to existing ignore options - with existing ignore options - adds up to existing ignore options - #stop - when fully started - terminates - when frontend is ready - terminates - when only backend is already started - terminates - when only initialized - terminates - -Listen::QueueOptimizer - smoosh_changes - with no cookie - with ignored file - is expected to eq {:added=>[], :modified=>[], :removed=>[]} - with a deteted temp file - is expected to eq {:added=>[], :modified=>[], :removed=>[]} - with rename from temp file - is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} - when double move - is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} - with cookie - when related moved_to - is expected to eq {:added=>["bar"], :modified=>[], :removed=>[]} - when single moved - is expected to eq {:added=>["foo"], :modified=>[], :removed=>[]} - when related moved_to with ignored moved_from - is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} + with pending changes + does not sleep + does not change the event queue -Listen::Adapter::Polling - with a valid configuration - #start - notifies change on every listener directories path - #_latency - with no overriding option - is expected to eq 1.0 - with custom latency overriding - is expected to eq 1234 - class - is expected to be usable +Listen::Forwarder + passes relative option to Listen Listen::Change #change + with build options + calls still_building! on record + directory + calls Listen::Directory#new file with unknown change doesn't call Listen::File#change if path is silenced @@ -1101,62 +1123,15 @@ silence option notifies change to listener with known change - notifies change directly to listener doesn't notify to listener if path is silenced - with build options - calls still_building! on record - directory - calls Listen::Directory#new - -Listen::Event::Loop - when stopped - when wakeup_on_event is called - does nothing - when resume is called - fails - #setup - sets up the thread in a resumable state - when resumed - is not paused - when resume is called again - does nothing - when wakeup_on_event is called - when thread is alive - wakes up the thread - sets the reason for waking up - when thread is dead - does not wake up the thread - when set up / paused - #teardown - frees the thread - waits for the thread to finish - sets the reason for waking up - #resume - sets the reason for waking up - resumes the thread - -Listen - .stop - stops all listeners - .to - initalizes listener - -Listen::Listener::Config - options - custom options - extract adapter selecting options - extracts adapter options + notifies change directly to listener Listen::File - #inaccurate_mac_time? - with no accurate times - is expected to be truthy - with one accurate time - is expected to be falsey - with all accurate times - is expected to be falsey #change with file record + with non-existing file + sets path in record + is expected to eq :removed with existing file with different mode in record sets path in record with expected data @@ -1165,9 +1140,10 @@ with later mtime than in record sets path in record with expected data is expected to equal :modified + with earlier mtime than in record + sets path in record with expected data + is expected to equal :modified with indentical mtime in record - with accurate stat times - is expected to be nil with inaccurate stat times with real mtime barely not within last second is expected to be nil @@ -1176,23 +1152,135 @@ should not unset record is expected to equal :removed with available md5 + with same md5 in record + is expected to be nil + with no md5 in record + is expected to be nil with different md5 in record is expected to equal :modified sets path in record with expected data - with no md5 in record - is expected to be nil - with same md5 in record - is expected to be nil - with earlier mtime than in record - is expected to equal :modified - sets path in record with expected data - with non-existing file - sets path in record - is expected to eq :removed + with accurate stat times + is expected to be nil with empty record with existing path returns added sets path in record with expected data + #inaccurate_mac_time? + with no accurate times + is expected to be truthy + with one accurate time + is expected to be falsey + with all accurate times + is expected to be falsey + +Listen::Adapter::Polling + class + is expected to be usable + with a valid configuration + #_latency + with no overriding option + is expected to eq 1.0 + with custom latency overriding + is expected to eq 1234 + #start + notifies change on every listener directories path + +Listen::Adapter::BSD + class + is expected not to be usable + +Listen::Adapter::Linux + #stop + when not even initialized + does not crash + when configured + stops the worker + _callback + recognizes moved_from as moved_from + recognizes moved_to as moved_to + recognizes close_write as modify + class + is expected to be usable + inotify limit message +FATAL: Listen error: unable to monitor directories for changes. +Visit https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for info on how to fix this. + should be shown before calling abort + +Listen::CLI + directories option + with a multiple directories + is set to an array of the directories + with a single directory + is set to app + not specified + is set to local directory + relative option + without relative option + is set to false + when --relative + supports --relative option + supports -r option + when -r + is set to true + +Listen::Listener::Config + options + custom options + extract adapter selecting options + extracts adapter options + +Listen::Silencer::Controller + append_ignores + with no previous :ignore rules + when providing as array + sets the given :ignore rules + when providing multiple arguments + sets the given :ignore rules as a flat array + when providing a single regexp as argument + sets the given :ignore rules as array + when providing a nil + sets the given :ignore rules as empty array + with previous :ignore rules + when providing a single regexp as argument + appends the given :ignore rules as array + when providing a nil + reconfigures with existing :ignore rules + when providing multiple arguments + appends the given :ignore rules as a flat array + when providing as array + appends the given :ignore rules + +Listen::Event::Loop + when resumed + is not paused + when resume is called again + does nothing + when wakeup_on_event is called + when thread is dead + does not wake up the thread + when thread is alive + wakes up the thread + sets the reason for waking up + when stopped + when wakeup_on_event is called + does nothing + when resume is called + fails + when set up / paused + #resume + sets the reason for waking up + resumes the thread + #teardown + frees the thread + waits for the thread to finish + sets the reason for waking up + #setup + sets up the thread in a resumable state + +Listen::Event::Config + with a given block + calls the block + is callable Listen::Backend #initialize @@ -1203,80 +1291,28 @@ #stop stops the adapter -Listen::Event::Processor - #loop_for - when not stopped - when initially processing - when event queue has events - when there were events ages ago - processes events - when event queue is empty - when stopped after sleeping - sleeps, waiting to be woken up - breaks - when initially paused - when stopped after sleeping - breaks - sleeps, waiting to be woken up - when still paused after sleeping - when there were no events for ages - still does not process events because it is paused - when there were no events before - sleeps for latency to possibly later optimize some events - when stopped - with pending changes - does not sleep - does not change the event queue - -Listen::Adapter::Config - #adapter_options - provides a set of adapter_specific options - #silencer - provides a silencer object - #queue - provides a direct queue for filesystem events - #initialize - with directories as array - with strings for directories - when not resolved - returns array of resolved pathnames - when already resolved - returns array of pathnames - with Pathnames for directories - returns array of pathnames - with directories as messy array - implement me (PENDING: Not yet implemented) - with no directories - returns the current path in array - Listen::Record + #update_file + with path in watched dir + sets path by spliting dirname and basename + sets path and keeps old data not overwritten + with subdir path + sets path by spliting dirname and basename + sets path and keeps old data not overwritten #build re-inits paths - with a normal symlinked directory to another - shows message - with subdir containing symlink to parent - shows a warning + with subdir containing dirs + builds record with subdir containing symlinked file shows a warning - with no subdirs - builds record + with subdir containing symlink to parent + shows a warning with subdir containing files builds record - with subdir containing dirs + with no subdirs builds record - #update_file - with path in watched dir - sets path and keeps old data not overwritten - sets path by spliting dirname and basename - with subdir path - sets path and keeps old data not overwritten - sets path by spliting dirname and basename - #add_dir - sets itself when nil - sets itself when . - sets itself when empty - correctly sets new directory data - sets path and keeps old data not overwritten + with a normal symlinked directory to another + shows message #file_data with path in subdir when path is present @@ -1284,10 +1320,10 @@ path not present return empty hash with path in watched dir - when path is present - returns file data path not present return empty hash + when path is present + returns file data #unset_path within subdir when path is present @@ -1295,348 +1331,382 @@ when path not present unsets path within watched dir - when path not present - unsets path when path is present unsets path + when path not present + unsets path #dir_entries - in watched dir + in subdir /path with no entries is expected to be empty - with file.rb in record + with path/file.rb already in record is expected to eq {"file.rb"=>{:mtime=>1.1}} + in watched dir with subdir/file.rb in record is expected to eq {"subdir"=>{}} - in subdir /path + with file.rb in record + is expected to eq {"file.rb"=>{:mtime=>1.1}} with no entries is expected to be empty - with path/file.rb already in record - is expected to eq {"file.rb"=>{:mtime=>1.1}} - -Listen::Forwarder - passes relative option to Listen + #add_dir + sets path and keeps old data not overwritten + sets itself when nil + sets itself when . + sets itself when empty + correctly sets new directory data -Listen::Silencer::Controller - append_ignores - with no previous :ignore rules - when providing as array - sets the given :ignore rules - when providing multiple arguments - sets the given :ignore rules as a flat array - when providing a nil - sets the given :ignore rules as empty array - when providing a single regexp as argument - sets the given :ignore rules as array - with previous :ignore rules - when providing as array - appends the given :ignore rules - when providing a nil - reconfigures with existing :ignore rules - when providing a single regexp as argument - appends the given :ignore rules as array - when providing multiple arguments - appends the given :ignore rules as a flat array +Listen::QueueOptimizer + smoosh_changes + when double move + is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} + with cookie + when single moved + is expected to eq {:added=>["foo"], :modified=>[], :removed=>[]} + when related moved_to with ignored moved_from + is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} + when related moved_to + is expected to eq {:added=>["bar"], :modified=>[], :removed=>[]} + with a deteted temp file + is expected to eq {:added=>[], :modified=>[], :removed=>[]} + with rename from temp file + is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} + with no cookie + with ignored file + is expected to eq {:added=>[], :modified=>[], :removed=>[]} -Listen::Adapter::Linux - _callback - recognizes moved_to as moved_to - recognizes close_write as modify - recognizes moved_from as moved_from +Listen::Listener + #pause + sets paused to true + #only + with existing only options + overwrites existing ignore options + initialize + is expected not to be paused + with a block + passes the block to the event processor + with directories + passes directories to backend + #start + sets paused to false + starts adapter + #paused? + returns false when not paused + returns true when paused + #ignore + with existing ignore options + adds up to existing ignore options + with existing ignore options (array) + adds up to existing ignore options + #listen? + when paused + is expected not to be processing + when stopped + is expected not to be processing + when processing + is expected to be processing + #ignore! + with no existing options + sets options + with existing ignore! options + overwrites existing ignore options + with existing ignore options + deletes ignore options + unpause with start + sets paused to false #stop - when not even initialized - does not crash - when configured - stops the worker - class - is expected to be usable - inotify limit message -FATAL: Listen error: unable to monitor directories for changes. -Visit https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers for info on how to fix this. - should be shown before calling abort + when only initialized + terminates + when only backend is already started + terminates + when fully started + terminates + when frontend is ready + terminates + +Listen + .stop + stops all listeners + .to + initalizes listener + +Listen::Event::Queue + #<< + when a block is given + calls the provided block + when relative option is true + when watched dir is the current dir + registers relative paths + when watched dir is on another drive + registers full path + when watched dir is not the current dir + registers relative path + when no block is given + calls the provided block + #empty? + when not empty + is expected not to be empty + when empty + is expected to be empty + #pop + when empty + forward the call to the queue + +Listen::Directory + #scan with recursive on + with file.rb & subdir in record + with subdir2 path present + snapshots changes for file, file2 & subdir paths + with empty dir + snapshots changes for file & subdir path + with empty record + with non-existing dir + reports no changes + with subdir present in dir + snapshots changes for subdir + #scan with recursive off + with file & subdir in record + with empty dir + snapshots changes for file path and dir that doesn't exist + sets record dir path + when file2.rb is added + notices file removed and file2 changed + when file.rb removed + notices file was removed + when subdir is removed + notices subdir does not exist + when file.rb no longer exists after scan + rescans + with empty record + when network share is disconnected + reports no changes + unsets record dir path + with file.rb in dir + snapshots changes for file & file2 paths + with non-existing dir path + unsets record dir path + reports no changes Listen::Silencer #silenced? is expected to accept :file and # when accepting only *.pid when ignoring bar* - is expected not to accept :file and "bar.pid" is expected to accept :file and "foo.pid" is expected not to accept :file and "foo.rb" - when ignoring *.pid - is expected not to accept :file and "foo.pid" + is expected not to accept :file and "bar.pid" when ignoring foo/bar* and *.pid is expected not to accept :file and "foo/bar/baz" is expected not to accept :file and "foo.pid" - when accepting only *foo* - is expected to accept :file and "foo" - is expected not to accept :file and "bar" when ignoring only *.pid is expected not to accept :file and "foo.pid" is expected to accept :file and ".git" - when accepting only foo/* and *.txt - is expected not to accept :file and "bar.rb" - is expected to accept :file and "bar.txt" - is expected to accept :file and "foo/bar.rb" - is expected not to accept :file and "bar/baz.rb" + when accepting only *foo* + is expected to accept :file and "foo" + is expected not to accept :file and "bar" with default ignore - is expected not to accept :file and ".mutagen-temporary-unicode-test-\u00E9ntry0" - is expected to accept :dir and "foo.bundle" - is expected to accept :file and "foo.tmpl" - is expected to accept :file and "a.swf" - is expected to accept :file and "sedatives" - is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" - is expected to accept :dir and ".bundlefoo" - is expected not to accept :file and "sed86w1kB" - is expected not to accept :dir and ".git" - is expected to accept :file and "sediments" is expected not to accept :file and "foo~" - is expected to accept :dir and "foobundle" - is expected to accept :dir and "foo.hg" - is expected not to accept :dir and ".rbx" - is expected to accept :dir and "footmp" + is expected not to accept :dir and ".bundle" is expected not to accept :file and "foo.rb.kate-swp" - is expected to accept :dir and "foo.git" - is expected to accept :dir and "tmpfoo" + is expected to accept :dir and "foo.hg" is expected not to accept :file and "foo.rb___jb_old___" - is expected to accept :file and "foo.sedq7eVAR" + is expected to accept :file and "sed_ABCDE" + is expected not to accept :dir and ".git" + is expected to accept :file and "sedan2014" + is expected to accept :dir and "logfoo" + is expected not to accept :file and "foo.rbB22583.new" is expected to accept :file and ".sedq7eVAR" - is expected to accept :dir and ".hgfoo" - is expected to accept :dir and "vendor/bundlefoo" - is expected not to accept :file and "foo.swp" - is expected to accept :dir and "vendor/rubyfoo" + is expected not to accept :dir and "bundle" + is expected to accept :dir and "foo.rbx" + is expected to accept :dir and ".bundlefoo" + is expected to accept :file and "sedatives" + is expected to accept :dir and ".gitfoo" + is expected not to accept :file and "foo.swpx" + is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" is expected not to accept :dir and "log" + is expected not to accept :file and "foo.rbo54321.new" + is expected to accept :file and "sedabcdefg" + is expected not to accept :file and "4913" is expected not to accept :file and "sedq7eVAR" - is expected to accept :dir and "foo.svn" + is expected to accept :dir and ".svnfoo" + is expected to accept :dir and "vendor/rubyfoo" + is expected not to accept :dir and "vendor/bundle" + is expected not to accept :file and "foo.rb___jb_bak___" + is expected to accept :dir and "foovendor/bundle" + is expected to accept :file and "foo.sedq7eVAR" is expected not to accept :dir and ".hg" - is expected to accept :file and "sed_ABCDE" - is expected not to accept :file and ".goutputstream-S3FBGX" - is expected not to accept :file and "4913" - is expected not to accept :dir and ".bundle" - is expected not to accept :dir and "tmp" - is expected to accept :dir and "foovendor/ruby" - is expected not to accept :file and "foo.swpx" - is expected not to accept :file and "foo.rbo54321.new" - is expected not to accept :dir and "bundle" is expected not to accept :file and "foo.tmp" - is expected not to accept :file and "foo.rbB22583.new" + is expected to accept :dir and "foolog" + is expected not to accept :file and "foo.swp" + is expected not to accept :file and ".goutputstream-S3FBGX" + is expected to accept :dir and "footmp" + is expected to accept :dir and "bundlefoo" + is expected to accept :dir and "foobundle" + is expected not to accept :dir and "vendor/ruby" + is expected not to accept :dir and ".svn" is expected not to accept :file and "foo.swx" - is expected to accept :dir and "foovendor/bundle" - is expected to accept :dir and ".svnfoo" + is expected to accept :dir and "foovendor/ruby" + is expected to accept :file and "file54321.new" + is expected not to accept :file and ".mutagen-temporary-unicode-test-\u00E9ntry0" + is expected to accept :dir and "vendor/bundlefoo" + is expected to accept :file and "file.new" + is expected to accept :dir and "foo.git" + is expected not to accept :file and "sed86w1kB" + is expected to accept :file and "foo.tmpl" is expected to accept :file and "14913" - is expected to accept :dir and "foo.rbx" - is expected not to accept :file and "foo.rb___jb_bak___" + is expected to accept :file and "a.swf" + is expected not to accept :dir and ".rbx" + is expected to accept :dir and "foo.bundle" is expected to accept :dir and ".rbxfoo" + is expected not to accept :dir and "tmp" is expected to accept :file and "49131" - is expected to accept :file and "file54321.new" - is expected not to accept :dir and ".svn" - is expected to accept :dir and "logfoo" is expected not to accept :file and ".DS_Store" - is expected to accept :dir and "bundlefoo" - is expected not to accept :dir and "vendor/ruby" - is expected to accept :file and "sedabcdefg" - is expected not to accept :dir and "vendor/bundle" - is expected to accept :dir and ".gitfoo" - is expected to accept :file and "file.new" - is expected to accept :file and "sedan2014" - is expected to accept :dir and "foolog" - -Listen::Event::Queue - #empty? - when not empty - is expected not to be empty - when empty - is expected to be empty - #<< - when a block is given - calls the provided block - when relative option is true - when watched dir is on another drive - registers full path - when watched dir is the current dir - registers relative paths - when watched dir is not the current dir - registers relative path - when no block is given - calls the provided block - #pop - when empty - forward the call to the queue + is expected to accept :dir and "tmpfoo" + is expected to accept :dir and ".hgfoo" + is expected to accept :file and "sediments" + is expected to accept :dir and "foo.svn" + when ignoring *.pid + is expected not to accept :file and "foo.pid" + when accepting only foo/* and *.txt + is expected to accept :file and "bar.txt" + is expected to accept :file and "foo/bar.rb" + is expected not to accept :file and "bar/baz.rb" + is expected not to accept :file and "bar.rb" -Listen::Adapter::Base - #start - builds record - runs the adapter - handling events - when an event occurs - passes invalidates the snapshot based on the event +Listen::Adapter::Config + #adapter_options + provides a set of adapter_specific options + #silencer + provides a silencer object + #queue + provides a direct queue for filesystem events + #initialize + with directories as array + with Pathnames for directories + returns array of pathnames + with strings for directories + when not resolved + returns array of resolved pathnames + when already resolved + returns array of pathnames + with no directories + returns the current path in array + with directories as messy array + implement me (PENDING: Not yet implemented) Listen with one listen dir - force_polling option to false - when driver does not support option - does not pass the latency option - with default ignore options - with nothing in listen dir - is expected to process addition of ".hidden" - listens to file moved inside - listens to multiple files addition - is expected to process addition of "file.rb" - dir in listen dir - is expected to process addition of "dir/file.rb" - hidden file in listen dir - is expected to process modification of ".hidden" - two dirs with files in listen dir - listens to dir move - listens to multiple file moves - dir with file in listen dir - listens to file move - with .bundle dir ignored by default - is expected not to process addition of ".bundle/file.rb" - existing file.rb in listen dir - listens to file mode change - is expected to process modification of "file.rb" - listens to file.rb moved out - is expected to process removal of "file.rb" + force_polling option to true + when polling + with a large latency + passes the latency option correctly when :ignore is *ignored_dir* - ignored dir with file in listen dir - is expected not to process addition of "ignored_dir/file.rb" when :ignore is bar.rb when :only is *.rb - is expected not to process addition of "file.txt" is expected to process addition of "file.rb" + is expected not to process addition of "file.txt" is expected not to process addition of "bar.rb" - when :only is *.rb - is expected to process addition of "file.rb" - is expected not to process addition of "file.txt" when default ignore is *.rb is expected not to process addition of "file.rb" - with #ignore! on *.txt mask - is expected not to process addition of "file.txt" - is expected to process addition of "file.rb" with #ignore on *.txt mask is expected not to process addition of "file.txt" is expected not to process addition of "file.rb" - with change block raising - warns the backtrace - force_polling option to true - when :ignore is *ignored_dir* - when :ignore is bar.rb - when :only is *.rb - is expected not to process addition of "file.txt" - is expected to process addition of "file.rb" - is expected not to process addition of "bar.rb" - when default ignore is *.rb - is expected not to process addition of "file.rb" with #ignore! on *.txt mask is expected not to process addition of "file.txt" is expected to process addition of "file.rb" - with #ignore on *.txt mask - is expected not to process addition of "file.rb" - is expected not to process addition of "file.txt" when :only is *.rb is expected to process addition of "file.rb" is expected not to process addition of "file.txt" ignored dir with file in listen dir is expected not to process addition of "ignored_dir/file.rb" - when polling - with a large latency - passes the latency option correctly with default ignore options - with nothing in listen dir - is expected to process addition of ".hidden" - listens to multiple files addition - listens to file moved inside - is expected to process addition of "file.rb" + existing file.rb in listen dir + is expected to process removal of "file.rb" + listens to file mode change + listens to file.rb moved out + is expected to process modification of "file.rb" hidden file in listen dir is expected to process modification of ".hidden" dir in listen dir is expected to process addition of "dir/file.rb" dir with file in listen dir listens to file move + two dirs with files in listen dir + listens to multiple file moves + listens to dir move + with .bundle dir ignored by default + is expected not to process addition of ".bundle/file.rb" + with nothing in listen dir + is expected to process addition of "file.rb" + listens to file moved inside + listens to multiple files addition + is expected to process addition of ".hidden" + with change block raising + warns the backtrace + force_polling option to false + when driver does not support option + does not pass the latency option + with default ignore options + dir with file in listen dir + listens to file move existing file.rb in listen dir - is expected to process removal of "file.rb" - listens to file mode change listens to file.rb moved out + listens to file mode change is expected to process modification of "file.rb" + is expected to process removal of "file.rb" + with .bundle dir ignored by default + is expected not to process addition of ".bundle/file.rb" + with nothing in listen dir + is expected to process addition of ".hidden" + is expected to process addition of "file.rb" + listens to multiple files addition + listens to file moved inside two dirs with files in listen dir listens to dir move listens to multiple file moves - with .bundle dir ignored by default - is expected not to process addition of ".bundle/file.rb" - -Listen::Event::Config - with a given block - is callable - calls the block + dir in listen dir + is expected to process addition of "dir/file.rb" + hidden file in listen dir + is expected to process modification of ".hidden" + when :ignore is *ignored_dir* + when :only is *.rb + is expected not to process addition of "file.txt" + is expected to process addition of "file.rb" + when :ignore is bar.rb + when :only is *.rb + is expected not to process addition of "bar.rb" + is expected to process addition of "file.rb" + is expected not to process addition of "file.txt" + when default ignore is *.rb + is expected not to process addition of "file.rb" + with #ignore! on *.txt mask + is expected not to process addition of "file.txt" + is expected to process addition of "file.rb" + with #ignore on *.txt mask + is expected not to process addition of "file.txt" + is expected not to process addition of "file.rb" + ignored dir with file in listen dir + is expected not to process addition of "ignored_dir/file.rb" Listen::Adapter .select - returns BSD adapter when usable returns Darwin adapter when usable - returns Polling adapter if forced - returns Windows adapter when usable returns Linux adapter when usable + returns Windows adapter when usable + returns Polling adapter if forced + returns BSD adapter when usable no usable adapters returns Polling adapter doesn't warn if polling_fallback_message is false - warns polling fallback with custom message if set warns polling fallback with default message + warns polling fallback with custom message if set -Listen::CLI - relative option - when --relative - supports --relative option - supports -r option - when -r - is set to true - without relative option - is set to false - directories option - with a multiple directories - is set to an array of the directories - with a single directory - is set to app - not specified - is set to local directory - -Listen::Adapter::BSD - class - is expected not to be usable - -Listen::Directory - #scan with recursive off - with empty record - with file.rb in dir - snapshots changes for file & file2 paths - when network share is disconnected - reports no changes - unsets record dir path - with non-existing dir path - unsets record dir path - reports no changes - with file & subdir in record - when file2.rb is added - notices file removed and file2 changed - with empty dir - sets record dir path - snapshots changes for file path and dir that doesn't exist - when subdir is removed - notices subdir does not exist - when file.rb no longer exists after scan - rescans - when file.rb removed - notices file was removed - #scan with recursive on - with empty record - with non-existing dir - reports no changes - with subdir present in dir - snapshots changes for subdir - with file.rb & subdir in record - with subdir2 path present - snapshots changes for file, file2 & subdir paths - with empty dir - snapshots changes for file & subdir path +Listen::Adapter::Base + handling events + when an event occurs + passes invalidates the snapshot based on the event + #start + builds record + runs the adapter Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1644,10 +1714,10 @@ # Not yet implemented # ./spec/lib/listen/adapter/config_spec.rb:82 -Finished in 2 minutes 18.3 seconds (files took 0.24601 seconds to load) +Finished in 2 minutes 18.5 seconds (files took 0.72315 seconds to load) 318 examples, 0 failures, 1 pending -Randomized with seed 37135 +Randomized with seed 40976 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1680,12 +1750,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/13297/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13297/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/306 and its subdirectories -I: Current time: Sun Aug 28 19:12:42 -12 2022 -I: pbuilder-time-stamp: 1661757162 +I: removing directory /srv/workspace/pbuilder/13297 and its subdirectories +I: Current time: Tue Jul 27 14:56:31 +14 2021 +I: pbuilder-time-stamp: 1627347391