Diff of the two buildlogs: -- --- b1/build.log 2021-08-14 05:20:24.916459431 +0000 +++ b2/build.log 2021-08-14 05:24:06.368165980 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Sep 15 23:40:18 -12 2022 -I: pbuilder-time-stamp: 1663328418 +I: Current time: Sat Aug 14 19:20:29 +14 2021 +I: pbuilder-time-stamp: 1628918429 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,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.yRWdlubk/trustedkeys.kbx': General error -gpgv: Signature made Mon Aug 3 00:35:59 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.4KCnkPOI/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 @@ -30,135 +30,169 @@ 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/26380/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4434/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +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/4434/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4434/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='26380' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=4434 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.F31Bk52emY/pbuilderrc_tErm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.F31Bk52emY/b1 --logfile b1/build.log ruby-listen_3.2.1-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.F31Bk52emY/pbuilderrc_XT30 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.F31Bk52emY/b2 --logfile b2/build.log --extrapackages usrmerge ruby-listen_3.2.1-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 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 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 2021 more - -rwsr-xr-x 1 root root 51360 Jul 28 2021 mount - -rwxr-xr-x 1 root root 14496 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 134808 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 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 15 03:48 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 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/26380/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 09:09 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 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 93744 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 09:09 more + -rwsr-xr-x 1 root root 51360 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 14496 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 134808 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 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 14 19:20 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 12 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 09:09 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 09:09 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/4434/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -338,7 +372,7 @@ Get: 132 http://deb.debian.org/debian bullseye/main arm64 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 133 http://deb.debian.org/debian bullseye/main arm64 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] Get: 134 http://deb.debian.org/debian bullseye/main arm64 ruby-thor all 1.0.1-1 [51.1 kB] -Fetched 43.4 MB in 1s (43.8 MB/s) +Fetched 43.4 MB in 1s (34.6 MB/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 ... 19646 files and directories currently installed.) @@ -898,8 +932,45 @@ 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 arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 3s (18.7 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 ... 27008 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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-listen_3.2.1-1_source.changes +hostname: Temporary failure in name resolution +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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-listen_3.2.1-1_source.changes dpkg-buildpackage: info: source package ruby-listen dpkg-buildpackage: info: source version 3.2.1-1 dpkg-buildpackage: info: source distribution unstable @@ -1002,122 +1073,72 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 18729 +Randomized with seed 43661 -Listen - .stop - stops all listeners - .to - initalizes listener +Listen::Event::Config + with a given block + is callable + calls the block -Listen - with one listen dir - 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 in listen dir - is expected to process addition of "dir/file.rb" - with .bundle dir ignored by default - is expected not to process addition of ".bundle/file.rb" - with nothing in listen dir - listens to file moved inside - listens to multiple files addition - is expected to process addition of ".hidden" - is expected to process addition of "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 - existing file.rb in listen dir - listens to file mode change - is expected to process removal of "file.rb" - 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" - when :ignore is *ignored_dir* - ignored dir with file in listen dir - is expected not to process addition of "ignored_dir/file.rb" - 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 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 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.rb" - is expected not to process addition of "file.txt" - with #ignore! on *.txt mask - is expected to process addition of "file.rb" - is expected not to process addition of "file.txt" - 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 not to process addition of "bar.rb" - is expected to process addition of "file.rb" - when :only is *.rb - is expected not to process addition of "file.txt" - is expected to process addition of "file.rb" - ignored dir with file in listen dir - is expected not to process addition of "ignored_dir/file.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 not to process addition of "file.rb" - with #ignore! on *.txt mask - is expected to process addition of "file.rb" - is expected not to process addition of "file.txt" - when polling - with a large latency - passes the latency option correctly - with default ignore options - hidden file in listen dir - is expected to process modification of ".hidden" - with .bundle dir ignored by default - is expected not to process addition of ".bundle/file.rb" - 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 dir move - listens to multiple file moves - with nothing in listen dir - is expected to process addition of "file.rb" - is expected to process addition of ".hidden" - listens to file moved inside - listens to multiple files addition - existing file.rb in listen dir - is expected to process modification of "file.rb" - is expected to process removal of "file.rb" - listens to file.rb moved out - listens to file mode change +Listen::Backend + #start + starts the adapter + #initialize + with config + sets up an adapter class + #stop + stops the adapter + +Listen::Listener + initialize + is expected not to be paused + with a block + passes the block to the event processor + with directories + passes directories to backend + #listen? + when processing + is expected to be processing + when stopped + is expected not to be processing + when paused + is expected not to be processing + #ignore + with existing ignore options (array) + adds up to existing ignore options + with existing ignore options + adds up to existing ignore options + #start + starts adapter + sets paused to false + #pause + sets paused to true + #stop + when only initialized + terminates + when fully started + terminates + when only backend is already started + terminates + when frontend is ready + terminates + #paused? + returns true when paused + returns false when not paused + unpause with start + sets paused to false + #ignore! + with no existing options + sets options + with existing ignore! options + overwrites existing ignore options + with existing ignore options + deletes ignore options + #only + with existing only options + overwrites existing ignore options Listen::Event::Loop - when set up / paused - #teardown - frees the thread - sets the reason for waking up - waits for the thread to finish - #resume - sets the reason for waking up - resumes the thread - when stopped - when wakeup_on_event is called - does nothing - when resume is called - fails when resumed is not paused when resume is called again @@ -1130,343 +1151,313 @@ does not wake up the thread #setup sets up the thread in a resumable state + when set up / paused + #resume + resumes the thread + sets the reason for waking up + #teardown + frees the thread + sets the reason for waking up + waits for the thread to finish + when stopped + when resume is called + fails + when wakeup_on_event is called + does nothing -Listen::Forwarder - passes relative option to Listen +Listen::Adapter::Linux + class + is expected to be usable + #stop + when configured + stops the worker + when not even initialized + does not crash + _callback + recognizes moved_to as moved_to + recognizes close_write as modify + recognizes moved_from as moved_from + 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::Event::Queue - #<< - when no block is given - calls the provided block - 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 not the current dir - registers relative path - when watched dir is the current dir - registers relative paths - #pop - when empty - forward the call to the queue - #empty? - when not empty - is expected not to be empty - when empty - is expected to be empty +Listen::Silencer::Controller + append_ignores + 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 + with no previous :ignore rules + when providing a nil + sets the given :ignore rules as empty array + when providing as array + sets the given :ignore rules + when providing a single regexp as argument + sets the given :ignore rules as array + when providing multiple arguments + sets the given :ignore rules as a flat array + +Listen::Event::Processor + #loop_for + when not stopped + when initially paused + when stopped after sleeping + sleeps, waiting to be woken up + breaks + 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 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 stopped + with pending changes + does not sleep + does not change the event queue Listen::QueueOptimizer smoosh_changes - with rename from temp file + 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=>[]} - when related moved_to - is expected to eq {:added=>["bar"], :modified=>[], :removed=>[]} - with a deteted temp file - is expected to eq {:added=>[], :modified=>[], :removed=>[]} - when double move + 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=>[]} + with a deteted temp file + is expected to eq {:added=>[], :modified=>[], :removed=>[]} -Listen::Silencer - #silenced? - is expected to accept :file and # - when ignoring only *.pid - is expected to accept :file and ".git" - 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" - when accepting only *.pid - when ignoring bar* - is expected to accept :file and "foo.pid" - is expected not to accept :file and "foo.rb" - is expected not to accept :file and "bar.pid" - with default ignore - is expected not to accept :dir and "vendor/bundle" - is expected to accept :dir and "footmp" - is expected to accept :dir and "foolog" - is expected to accept :file and "file.new" - is expected not to accept :file and "sedq7eVAR" - is expected to accept :file and "sedatives" - is expected not to accept :dir and ".bundle" - is expected to accept :dir and "foo.hg" - is expected to accept :dir and "tmpfoo" - is expected not to accept :file and ".mutagen-temporary-unicode-test-\u00E9ntry0" - is expected not to accept :file and "foo.swpx" - is expected not to accept :dir and ".rbx" - is expected not to accept :dir and "vendor/ruby" - is expected not to accept :dir and "bundle" - is expected to accept :dir and "foo.rbx" - is expected not to accept :file and "foo.swp" - is expected not to accept :dir and "log" - is expected to accept :file and "file54321.new" - is expected to accept :file and "14913" - is expected to accept :dir and ".gitfoo" - is expected to accept :dir and ".rbxfoo" - is expected not to accept :file and "foo.rb.kate-swp" - is expected not to accept :file and "foo.swx" - is expected to accept :dir and "foo.svn" - is expected not to accept :dir and ".hg" - is expected to accept :file and "a.swf" - is expected not to accept :file and "foo.rb___jb_bak___" - is expected not to accept :file and "foo~" - is expected to accept :file and "sedabcdefg" - is expected to accept :dir and ".svnfoo" - is expected to accept :dir and "foobundle" - is expected to accept :dir and "foo.bundle" - is expected to accept :file and "sedan2014" - is expected not to accept :file and "foo.rbB22583.new" - is expected not to accept :dir and ".svn" - is expected not to accept :file and "foo.rb___jb_old___" - is expected to accept :dir and "logfoo" - is expected not to accept :file and ".goutputstream-S3FBGX" - is expected not to accept :file and "sed86w1kB" - is expected to accept :file and "49131" - is expected not to accept :file and "foo.rbo54321.new" - is expected not to accept :dir and "tmp" - is expected to accept :dir and "vendor/rubyfoo" - is expected to accept :file and "foo.sedq7eVAR" - is expected to accept :dir and ".bundlefoo" - is expected to accept :dir and "vendor/bundlefoo" - is expected not to accept :file and "4913" - is expected not to accept :dir and ".git" - is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" - is expected to accept :file and "foo.tmpl" - is expected to accept :dir and "foovendor/bundle" - is expected to accept :dir and "foovendor/ruby" - is expected to accept :dir and "foo.git" - is expected to accept :dir and "bundlefoo" - is expected to accept :dir and ".hgfoo" - is expected to accept :file and "sed_ABCDE" - is expected to accept :file and "sediments" - is expected to accept :file and ".sedq7eVAR" - is expected not to accept :file and "foo.tmp" - is expected not to accept :file and ".DS_Store" - 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 ignoring *.pid - 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" +Listen::Forwarder + passes relative option to Listen -Listen::Backend +Listen::Adapter::Base + handling events + when an event occurs + passes invalidates the snapshot based on the event #start - starts the adapter - #stop - stops the adapter + runs the adapter + builds record + +Listen::Adapter::BSD + class + is expected not to be usable + +Listen::Adapter::Config + #queue + provides a direct queue for filesystem events + #adapter_options + provides a set of adapter_specific options #initialize - with config - sets up an adapter class + with directories as messy array + implement me (PENDING: Not yet implemented) + 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 no directories + returns the current path in array + #silencer + provides a silencer object + +Listen + .stop + stops all listeners + .to + initalizes listener Listen::Listener::Config options custom options - extracts adapter options extract adapter selecting options - -Listen::Adapter - .select - returns Darwin 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 - warns polling fallback with default message - doesn't warn if polling_fallback_message is false - warns polling fallback with custom message if set - -Listen::Adapter::Base - #start - builds record - runs the adapter - handling events - when an event occurs - passes invalidates the snapshot based on the event + extracts adapter options Listen::Change #change with build options calls still_building! on record - directory - calls Listen::Directory#new file with unknown change - calls Listen::File#change doesn't call Listen::File#change if path is silenced - that returns no change - doesn't notifies no change + calls Listen::File#change that returns a change listener listen notifies change to listener silence option notifies change to listener + that returns no change + doesn't notifies no change with known change - notifies change directly to listener doesn't notify to listener if path is silenced + notifies change directly to listener + directory + calls Listen::Directory#new -Listen::Adapter::Polling - 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 - class - is expected to be usable - -Listen::Event::Processor - #loop_for - when not stopped - when initially paused - 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 stopped after sleeping - sleeps, waiting to be woken up - breaks - when initially processing - when event queue is empty - when stopped after sleeping - sleeps, waiting to be woken up - breaks - when event queue has events - when there were events ages ago - processes events - when stopped - with pending changes - does not change the event queue - does not sleep - -Listen::Adapter::Linux - _callback - recognizes close_write as modify - recognizes moved_from as moved_from - recognizes moved_to as moved_to - class - is expected to be usable - #stop - when not even initialized - does not crash - when configured - stops the worker - 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::Adapter::BSD - class - is expected not to be usable - -Listen::Directory - #scan with recursive on - with file.rb & subdir in record - with empty dir - snapshots changes for file & subdir path - with subdir2 path present - snapshots changes for file, file2 & subdir paths - 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 - sets record dir path - snapshots changes for file path and dir that doesn't exist - when file.rb no longer exists after scan - rescans - when file2.rb is added - notices file removed and file2 changed - when subdir is removed - notices subdir does not exist - when file.rb removed - notices file was removed - with empty record - when network share is disconnected - unsets record dir path - reports no changes - with non-existing dir path - unsets record dir path - reports no changes - with file.rb in dir - snapshots changes for file & file2 paths - -Listen::Event::Config - with a given block - calls the block - is callable +Listen::Silencer + #silenced? + is expected to accept :file and # + when ignoring *.pid + is expected not to accept :file and "foo.pid" + when ignoring foo/bar* and *.pid + is expected not to accept :file and "foo.pid" + is expected not to accept :file and "foo/bar/baz" + when ignoring only *.pid + is expected to accept :file and ".git" + is expected not to accept :file and "foo.pid" + with default ignore + is expected to accept :dir and "foo.rbx" + is expected to accept :file and "foo.tmpl" + is expected not to accept :dir and "vendor/ruby" + is expected not to accept :file and ".mutagen-temporary-unicode-test-\u00E9ntry0" + is expected to accept :file and "file.new" + is expected not to accept :file and "foo.rb___jb_bak___" + is expected not to accept :dir and "vendor/bundle" + is expected to accept :dir and ".rbxfoo" + is expected not to accept :dir and ".rbx" + is expected to accept :dir and "vendor/bundlefoo" + is expected to accept :dir and "foolog" + is expected to accept :file and ".sedq7eVAR" + is expected to accept :file and "sedabcdefg" + is expected to accept :file and "file54321.new" + is expected to accept :dir and "vendor/rubyfoo" + is expected not to accept :dir and ".bundle" + is expected not to accept :file and ".goutputstream-S3FBGX" + is expected to accept :dir and "foovendor/bundle" + is expected to accept :file and "sedatives" + is expected not to accept :file and "foo.tmp" + is expected to accept :dir and "logfoo" + is expected not to accept :dir and ".hg" + is expected to accept :file and "a.swf" + is expected to accept :dir and "tmpfoo" + is expected not to accept :file and "foo.rbB22583.new" + is expected to accept :file and "49131" + is expected not to accept :dir and "bundle" + is expected to accept :dir and "foo.hg" + is expected to accept :dir and "foobundle" + is expected to accept :file and "sedan2014" + is expected not to accept :file and "foo~" + is expected not to accept :file and "foo.swx" + is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" + is expected to accept :dir and "foovendor/ruby" + is expected to accept :dir and "foo.bundle" + is expected to accept :file and "foo.sedq7eVAR" + is expected to accept :dir and "foo.svn" + is expected not to accept :dir and ".git" + is expected to accept :file and "sed_ABCDE" + is expected not to accept :file and "sed86w1kB" + is expected not to accept :file and "sedq7eVAR" + is expected to accept :dir and ".svnfoo" + is expected not to accept :file and "4913" + is expected to accept :dir and ".gitfoo" + is expected to accept :dir and "bundlefoo" + is expected not to accept :file and "foo.swp" + is expected to accept :file and "14913" + is expected to accept :dir and "footmp" + is expected not to accept :file and ".DS_Store" + is expected to accept :dir and ".hgfoo" + is expected not to accept :file and "foo.swpx" + is expected not to accept :file and "foo.rbo54321.new" + is expected to accept :dir and ".bundlefoo" + is expected to accept :dir and "foo.git" + is expected not to accept :dir and ".svn" + is expected not to accept :file and "foo.rb___jb_old___" + is expected not to accept :file and "foo.rb.kate-swp" + is expected to accept :file and "sediments" + is expected not to accept :dir and "log" + is expected not to accept :dir and "tmp" + when accepting only foo/* and *.txt + is expected to accept :file and "foo/bar.rb" + is expected not to accept :file and "bar/baz.rb" + is expected to accept :file and "bar.txt" + is expected not to accept :file and "bar.rb" + when accepting only *.pid + when ignoring bar* + is expected to accept :file and "foo.pid" + is expected not to accept :file and "bar.pid" + is expected not to accept :file and "foo.rb" + when accepting only *foo* + is expected not to accept :file and "bar" + is expected to accept :file and "foo" Listen::Record + #build + re-inits paths + with no subdirs + builds record + 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 subdir containing files + builds record + #update_file + with subdir path + sets path by spliting dirname and basename + sets path and keeps old data not overwritten + with path in watched dir + sets path by spliting dirname and basename + sets path and keeps old data not overwritten #unset_path within watched dir - when path not present - unsets path when path is present unsets path - within subdir - when path is present + when path not present unsets path + within subdir when path not present unsets path + when path is present + unsets path #add_dir - sets itself when empty - sets itself when . - correctly sets new directory data sets itself when nil + correctly sets new directory data + sets itself when . sets path and keeps old data not overwritten + sets itself when empty #file_data - with path in subdir - when path is present - returns file data + with path in watched dir path not present return empty hash - with path in watched dir + when path is present + returns file data + with path in subdir path not present return empty hash when path is present returns file data - #update_file - with subdir path - sets path by spliting dirname and basename - sets path and keeps old data not overwritten - with path in watched dir - sets path by spliting dirname and basename - sets path and keeps old data not overwritten - #build - re-inits paths - with subdir containing symlink to parent - shows a warning - with no subdirs - builds record - with a normal symlinked directory to another - shows message - with subdir containing dirs - builds record - with subdir containing files - builds record - with subdir containing symlinked file - shows a warning #dir_entries + in subdir /path + with no entries + is expected to be empty + 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"=>{}} @@ -1474,79 +1465,125 @@ is expected to be empty with file.rb in record is expected to eq {"file.rb"=>{:mtime=>1.1}} - in subdir /path - 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::Silencer::Controller - append_ignores - with previous :ignore rules - when providing as array - appends the given :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 - with no previous :ignore rules - when providing a single regexp as argument - sets the given :ignore rules as array - 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 as array - sets the given :ignore rules +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 "file.rb" + is expected to process addition of ".hidden" + listens to file moved inside + listens to multiple files addition + hidden file in listen dir + is expected to process modification of ".hidden" + 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" + 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" + dir in listen dir + is expected to process addition of "dir/file.rb" + when :ignore is *ignored_dir* + 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 :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 not to process addition of "file.rb" + with #ignore! on *.txt mask + is expected to process addition of "file.rb" + is expected not to process addition of "file.txt" + force_polling option to true + with default ignore options + two dirs with files in listen dir + listens to multiple file moves + listens to dir move + dir in listen dir + is expected to process addition of "dir/file.rb" + with nothing in listen dir + is expected to process addition of ".hidden" + is expected to process addition of "file.rb" + listens to file moved inside + listens to multiple files addition + existing file.rb in listen dir + is expected to process modification of "file.rb" + listens to file.rb moved out + is expected to process removal of "file.rb" + listens to file mode change + hidden file in listen dir + is expected to process modification of ".hidden" + with .bundle dir ignored by default + is expected not to process addition of ".bundle/file.rb" + dir with file in listen dir + listens to file move + when :ignore is *ignored_dir* + ignored dir with file in listen dir + is expected not to process addition of "ignored_dir/file.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.rb" + is expected not to process addition of "file.txt" + when :ignore is bar.rb + when :only is *.rb + is expected to process addition of "file.rb" + is expected not to process addition of "bar.rb" + is expected not to process addition of "file.txt" + when polling + with a large latency + passes the latency option correctly + with change block raising + warns the backtrace -Listen::Adapter::Config - #queue - provides a direct queue for filesystem events - #initialize - with no directories - returns the current path in array - with directories as array - with Pathnames for directories - returns array of pathnames - with strings for directories - when already resolved - returns array of pathnames - when not resolved - returns array of resolved pathnames - with directories as messy array - implement me (PENDING: Not yet implemented) - #adapter_options - provides a set of adapter_specific options - #silencer - provides a silencer object +Listen::Adapter + .select + returns Linux adapter when usable + returns Windows adapter when usable + returns Darwin adapter when usable + returns Polling adapter if forced + returns BSD adapter when usable + no usable adapters + doesn't warn if polling_fallback_message is false + warns polling fallback with default message + warns polling fallback with custom message if set + returns Polling adapter 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 empty record - with existing path - returns added - sets path in record with expected data 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 is expected to equal :modified + sets path in record with expected data with same mode in record - with later mtime than in record - is expected to equal :modified - sets path in record with expected data with earlier mtime than in record is expected to equal :modified sets path in record with expected data @@ -1554,11 +1591,11 @@ with inaccurate stat times with real mtime barely within last second with available md5 - with same 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 + is expected to equal :modified + with same md5 in record + is expected to be nil with no md5 in record is expected to be nil without available md5 @@ -1568,70 +1605,104 @@ is expected to be nil with accurate stat times is expected to be nil + with later mtime than in record + sets path in record with expected data + is expected to equal :modified + with empty record + with existing path + sets path in record with expected data + returns added + #inaccurate_mac_time? + with one accurate time + is expected to be falsey + with no accurate times + is expected to be truthy + with all accurate times + is expected to be falsey -Listen::Listener - unpause with start - sets paused to false - #stop - when frontend is ready - terminates - when fully started - terminates - when only backend is already started - terminates - when only initialized - terminates - #paused? - returns false when not paused - returns true when paused - #ignore! - with existing ignore options - deletes ignore options - with existing ignore! options - overwrites existing ignore options - with no existing options - sets options - #start - sets paused to false - starts adapter - #ignore - with existing ignore options - adds up to existing ignore options - with existing ignore options (array) - adds up to 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 - #only - with existing only options - overwrites existing ignore options - #pause - sets paused to true - #listen? - when stopped - is expected not to be processing - when paused - is expected not to be processing - when processing - is expected to be processing +Listen::Event::Queue + #pop + when empty + forward the call to the queue + #empty? + when empty + is expected to be empty + when not empty + is expected not to be empty + #<< + when no block is given + calls the provided block + 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 + +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::Directory + #scan with recursive off + with empty record + with non-existing dir path + reports no changes + unsets record dir path + with file.rb in dir + snapshots changes for file & file2 paths + when network share is disconnected + reports no changes + unsets record dir path + with file & subdir in record + when file.rb no longer exists after scan + rescans + when file2.rb is added + notices file removed and file2 changed + when subdir is removed + notices subdir does not exist + when file.rb removed + notices file was removed + with empty dir + sets record dir path + snapshots changes for file path and dir that doesn't exist + #scan with recursive on + with file.rb & subdir in record + with empty dir + snapshots changes for file & subdir path + with subdir2 path present + snapshots changes for file, file2 & subdir paths + with empty record + with subdir present in dir + snapshots changes for subdir + with non-existing dir + reports no changes Listen::CLI directories option - with a single directory - is set to app with a multiple directories is set to an array of the directories not specified is set to local directory + with a single directory + is set to app relative option without relative option is set to false when --relative - supports -r option supports --relative option + supports -r option when -r is set to true @@ -1641,10 +1712,10 @@ # Not yet implemented # ./spec/lib/listen/adapter/config_spec.rb:82 -Finished in 2 minutes 17.5 seconds (files took 0.69476 seconds to load) +Finished in 2 minutes 19.1 seconds (files took 0.95867 seconds to load) 318 examples, 0 failures, 1 pending -Randomized with seed 18729 +Randomized with seed 43661 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1678,12 +1749,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4434/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4434/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/26380 and its subdirectories -I: Current time: Thu Sep 15 23:43:23 -12 2022 -I: pbuilder-time-stamp: 1663328603 +I: removing directory /srv/workspace/pbuilder/4434 and its subdirectories +I: Current time: Sat Aug 14 19:24:05 +14 2021 +I: pbuilder-time-stamp: 1628918645