Diff of the two buildlogs: -- --- b1/build.log 2021-08-25 04:52:03.044716406 +0000 +++ b2/build.log 2021-08-25 04:59:08.036775536 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Aug 24 16:48:14 -12 2021 -I: pbuilder-time-stamp: 1629866894 +I: Current time: Wed Aug 25 18:52:11 +14 2021 +I: pbuilder-time-stamp: 1629867131 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.ZuAjNUAB/trustedkeys.kbx': General error -gpgv: Signature made Mon Aug 3 00:35:59 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.A50f7BKw/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/23977/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5541/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1b. +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/5541/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5541/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='1970adb057814c35bef521ad378a002f' - 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='23977' - PS1='# ' - PS2='> ' + INVOCATION_ID=0d11195f86634524bbfc844890a37de4 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=5541 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.2P330IEsmu/pbuilderrc_IAtp --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.2P330IEsmu/b1 --logfile b1/build.log ruby-listen_3.2.1-1.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.2P330IEsmu/pbuilderrc_BgBj --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.2P330IEsmu/b2 --logfile b2/build.log ruby-listen_3.2.1-1.dsc' + SUDO_GID=114 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux virt32b 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/23977/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 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 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 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 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 25 18:52 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 21 23:28 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 2021 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 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/5541/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 armhf ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 133 http://deb.debian.org/debian bullseye/main armhf ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] Get: 134 http://deb.debian.org/debian bullseye/main armhf ruby-thor all 1.0.1-1 [51.1 kB] -Fetched 42.5 MB in 4s (10.4 MB/s) +Fetched 42.5 MB in 10s (4116 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 ... 19398 files and directories currently installed.) @@ -899,7 +933,8 @@ Building tag database... -> Finished parsing the build-deps 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: Name or service not known +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 @@ -943,36 +978,36 @@ 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/backend.rb /build/ruby-listen-3.2.1/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/backend.rb Rewriting shebang line of /build/ruby-listen-3.2.1/debian/ruby-listen/usr/bin/listen ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1002,515 +1037,207 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 3539 +Randomized with seed 46925 -Listen::Adapter::BSD - class - is expected not to be usable - -Listen::Record - #unset_path - within watched dir - when path is present - unsets path - when path not present - unsets path - within subdir - when path not present - unsets path - when path is present - unsets path - #build - re-inits paths - with subdir containing symlink to parent - shows a warning - with a normal symlinked directory to another - shows message - with subdir containing files - builds record - with no subdirs - builds record - with subdir containing dirs - builds record - with subdir containing symlinked file - shows a warning - #dir_entries - in subdir /path - with path/file.rb already in record - is expected to eq {"file.rb"=>{:mtime=>1.1}} - with no entries - is expected to be empty - in watched dir - with subdir/file.rb in record - is expected to eq {"subdir"=>{}} - with no entries - is expected to be empty - with file.rb in record - is expected to eq {"file.rb"=>{:mtime=>1.1}} - #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 and keeps old data not overwritten - sets path by spliting dirname and basename - #add_dir - sets itself when empty - sets itself when nil - sets itself when . - correctly sets new directory data - sets path and keeps old data not overwritten - #file_data - with path in watched dir - path not present - return empty hash - when path is present - returns file data - with path in subdir - path not present - return empty hash - when path is present - returns file data +Listen::Forwarder + passes relative option to Listen -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 not the current dir - registers relative path - when watched dir is the current dir - registers relative paths - when no block is given - calls the provided block - #pop - when empty - forward the call to the queue +Listen::Listener::Config + options + custom options + extracts adapter options + extract adapter selecting options Listen::Change #change with build options calls still_building! on record file + with known change + notifies change directly to listener + doesn't notify to listener if path is silenced with unknown change - doesn't call Listen::File#change if path is silenced calls Listen::File#change - that returns no change - doesn't notifies no change + doesn't call Listen::File#change if path is silenced that returns a change listener listen notifies change to listener silence option notifies change to listener - with known change - doesn't notify to listener if path is silenced - notifies change directly to listener + that returns no change + doesn't notifies no change directory calls Listen::Directory#new -Listen::Event::Config - with a given block - calls the block - is callable - -Listen::Silencer - #silenced? - is expected to accept :file and # - 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 accepting only foo/* and *.txt - 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" - is expected to accept :file and "foo/bar.rb" - when ignoring only *.pid - is expected not to accept :file and "foo.pid" - is expected to accept :file and ".git" - 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" - when accepting only *foo* - is expected not to accept :file and "bar" - is expected to accept :file and "foo" - when ignoring *.pid - is expected not to accept :file and "foo.pid" - with default ignore - is expected to accept :dir and "vendor/bundlefoo" - is expected not to accept :dir and ".hg" - is expected to accept :dir and ".gitfoo" - is expected to accept :dir and "foovendor/bundle" - is expected not to accept :file and "foo.rbo54321.new" - is expected to accept :dir and "logfoo" - is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" - 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 "sedabcdefg" - is expected to accept :dir and "foo.git" - is expected to accept :dir and ".hgfoo" - is expected not to accept :file and "sed86w1kB" - is expected to accept :dir and "foolog" - is expected not to accept :file and ".mutagen-temporary-unicode-test-\u00E9ntry0" - is expected not to accept :dir and "vendor/ruby" - is expected to accept :dir and "foo.hg" - is expected to accept :file and "sedan2014" - is expected to accept :dir and "vendor/rubyfoo" - is expected not to accept :file and "foo.swx" - is expected to accept :file and "sed_ABCDE" - is expected not to accept :dir and "bundle" - is expected not to accept :file and "foo.tmp" - is expected to accept :file and "a.swf" - is expected not to accept :file and "4913" - is expected to accept :dir and "footmp" - is expected not to accept :file and "foo.rb___jb_bak___" - is expected to accept :file and ".sedq7eVAR" - is expected not to accept :file and ".DS_Store" - is expected to accept :file and "file.new" - is expected not to accept :file and "foo.rb.kate-swp" - is expected to accept :file and "49131" - is expected to accept :file and "foo.sedq7eVAR" - is expected to accept :dir and "foobundle" - is expected to accept :file and "file54321.new" - is expected to accept :dir and "foo.svn" - is expected to accept :file and "sediments" - is expected not to accept :file and "foo.rb___jb_old___" - is expected to accept :file and "foo.tmpl" - is expected not to accept :dir and "vendor/bundle" - is expected not to accept :file and "foo~" - is expected to accept :file and "14913" - is expected not to accept :dir and ".bundle" - is expected not to accept :file and "sedq7eVAR" - is expected to accept :dir and "foo.bundle" - is expected to accept :file and "sedatives" - is expected to accept :dir and ".svnfoo" - is expected not to accept :file and "foo.swpx" - is expected to accept :dir and ".rbxfoo" - is expected not to accept :dir and ".rbx" - is expected to accept :dir and "bundlefoo" - is expected to accept :dir and ".bundlefoo" - is expected to accept :dir and "tmpfoo" - is expected not to accept :dir and ".svn" - is expected not to accept :dir and ".git" - is expected to accept :dir and "foovendor/ruby" - is expected not to accept :dir and "tmp" - is expected not to accept :file and ".goutputstream-S3FBGX" - is expected not to accept :file and "foo.rbB22583.new" - -Listen - with one listen dir - force_polling option to false - when :ignore is *ignored_dir* - 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" - 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 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" - listens to multiple files addition - listens to file moved inside - is expected to process addition of ".hidden" - dir with file in listen dir - listens to file move - existing file.rb in listen dir - listens to file.rb moved out - is expected to process modification of "file.rb" - listens to file mode change - is expected to process removal of "file.rb" - 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" - two dirs with files in listen dir - listens to multiple file moves - listens to dir move - hidden file in listen dir - is expected to process modification of ".hidden" - with change block raising - warns the backtrace - force_polling option to true - with default ignore options - dir with file in listen dir - listens to file move - hidden file in listen dir - is expected to process modification of ".hidden" - 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" - 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" - 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* - 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 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 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 not to process addition of "file.txt" - is expected to process addition of "file.rb" - when polling - with a large latency - passes the latency option correctly - -Listen::Adapter::Base - #start - runs the adapter - builds record - handling events - when an event occurs - passes invalidates the snapshot based on the event - -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::Backend - #start - starts the adapter - #stop - stops the adapter - #initialize - with config - sets up an adapter class - -Listen - .stop - stops all listeners - .to - initalizes listener - -Listen::Listener::Config - options - custom options - extracts adapter options - extract adapter selecting options - -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 - sets path in record with expected data - returns added - with file record - with existing file - with different mode in record - sets path in record with expected data - is expected to equal :modified - with same mode in record - 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 - with real mtime barely within last second - with available md5 - with no md5 in record - is expected to be nil - with same md5 in record - is expected to be nil - with different md5 in record - sets path in record with expected data - is expected to equal :modified - without available md5 - should not unset record - is expected to equal :removed - 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 non-existing file - sets path in record - is expected to eq :removed - Listen::Event::Processor #loop_for + when stopped + with pending changes + does not change the event queue + does not sleep when not stopped + 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 initially paused 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 there were no events for ages + still does not process events because it is paused when stopped after sleeping breaks sleeps, waiting to be woken up - 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::Event::Loop - #setup - sets up the thread in a resumable state - when set up / paused - #teardown - sets the reason for waking up - frees the thread - waits for the thread to finish - #resume - resumes the thread - sets the reason for waking up - when stopped - when resume is called - fails - when wakeup_on_event is called - does nothing 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 sets the reason for waking up wakes up the thread - when thread is dead - does not wake up the thread - when resume is called again + when set up / paused + #resume + sets the reason for waking up + resumes the thread + #teardown + sets the reason for waking up + waits for the thread to finish + frees the thread + when stopped + when wakeup_on_event is called does nothing - -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 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=>[]} - when double move - is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} - with rename from temp file - is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} + when resume is called + fails + #setup + sets up the thread in a resumable state Listen::Directory #scan with recursive off - with empty record - when network share is disconnected - unsets record dir path - reports no changes - with file.rb in dir - snapshots changes for file & file2 paths - with non-existing dir path - unsets record dir path - reports no changes 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 file.rb no longer exists after scan + rescans when subdir is removed notices subdir does not exist with empty dir - sets record dir path snapshots changes for file path and dir that doesn't exist + sets record dir path when file.rb removed notices file was removed - #scan with recursive on with empty record - with non-existing dir + with non-existing dir path reports no changes - with subdir present in dir - snapshots changes for subdir + unsets record dir path + when network share is disconnected + unsets record dir path + reports no changes + with file.rb in dir + snapshots changes for file & file2 paths + #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 -Listen::Adapter - .select - returns Darwin adapter when usable - returns Windows adapter when usable - returns Linux adapter when usable - returns Polling adapter if forced - returns BSD adapter when usable - no usable adapters - warns polling fallback with custom message if set - doesn't warn if polling_fallback_message is false - returns Polling adapter - warns polling fallback with default message +Listen::File + #change + with file record + with existing file + with same mode in record + 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 + with real mtime barely within last second + 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 + sets path in record with expected data + is expected to equal :modified + without available md5 + should not unset record + is expected to equal :removed + with earlier mtime than in record + is expected to equal :modified + sets path in record with expected data + with later mtime than in record + is expected to equal :modified + sets path in record with expected data + with different mode in record + is expected to equal :modified + sets path in record with expected data + with non-existing file + is expected to eq :removed + sets path in record + with empty record + with existing path + returns added + sets path in record with expected data + #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::Forwarder - passes relative option to Listen +Listen::Adapter::BSD + class + is expected not to be usable + +Listen::Event::Queue + #pop + when empty + forward the call to the 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 empty + is expected to be empty + when not empty + is expected not to be empty Listen::CLI + relative option + when --relative + supports -r option + supports --relative 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 @@ -1518,69 +1245,109 @@ is set to local directory with a single directory is set to app - relative option - when -r - is set to true - without relative option - is set to false - when --relative - supports -r option - supports --relative option - -Listen::Silencer::Controller - append_ignores - with previous :ignore rules - when providing a nil - reconfigures with existing :ignore rules - when providing multiple arguments - appends the given :ignore rules as a flat array - when providing a single regexp as argument - appends the given :ignore rules as array - when providing as array - appends the given :ignore rules - with no previous :ignore rules - 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 - when providing as array - sets the given :ignore rules - when providing multiple arguments - sets the given :ignore rules as a flat array Listen::Adapter::Linux - class - is expected to be usable _callback + recognizes moved_from as moved_from recognizes moved_to as moved_to recognizes close_write as modify - recognizes moved_from as moved_from + 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 #stop when configured stops the worker when not even initialized does not crash - 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::Config + #adapter_options + provides a set of adapter_specific options + #queue + provides a direct queue for filesystem events + #initialize + with no directories + returns the current path in array + 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) + #silencer + provides a silencer object + +Listen::Adapter + .select + returns Windows adapter when usable + returns Polling adapter if forced + returns Darwin adapter when usable + returns Linux adapter when usable + returns BSD adapter when usable + no usable adapters + doesn't warn if polling_fallback_message is false + warns polling fallback with custom message if set + returns Polling adapter + warns polling fallback with default message + +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::Listener + #listen? + when stopped + is expected not to be processing + when processing + is expected to be processing + when paused + is expected not to be processing + #paused? + returns false when not paused + returns true when paused + #ignore + with existing ignore options (array) + adds up to existing ignore options + with existing ignore options + adds up to existing ignore options #pause sets paused to true - #ignore! - with no existing options - sets options - with existing ignore options - deletes ignore options - with existing ignore! 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 + #only + with existing only options + overwrites existing ignore options + #ignore! + with existing ignore! options + overwrites existing ignore options + with no existing options + sets options + with existing ignore options + deletes ignore options + #start + sets paused to false + starts adapter + unpause with start + sets paused to false #stop when fully started terminates @@ -1590,50 +1357,318 @@ terminates when frontend is ready terminates - #paused? - returns false when not paused - returns true when paused - unpause with start - sets paused to false - #only - with existing only options - overwrites existing ignore options - #ignore - with existing ignore options - adds up to existing ignore options - with existing ignore options (array) - adds up to existing ignore options - #listen? - when processing - is expected to be processing - when paused - is expected not to be processing - when stopped - is expected not to be processing - #start - sets paused to false - starts adapter -Listen::Adapter::Config +Listen::Event::Config + with a given block + calls the block + is callable + +Listen::Silencer::Controller + append_ignores + with previous :ignore rules + when providing multiple arguments + appends the given :ignore rules as a flat array + when providing a single regexp as argument + appends the given :ignore rules as array + when providing as array + appends the given :ignore rules + when providing a nil + reconfigures with existing :ignore rules + with no previous :ignore rules + when providing as array + sets the given :ignore rules + 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 + when providing multiple arguments + sets the given :ignore rules as a flat array + +Listen + with one listen dir + force_polling option to true + when polling + with a large latency + passes the latency option correctly + with default ignore options + 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 multiple file moves + listens to dir move + with nothing in listen dir + listens to multiple files addition + listens to file moved inside + 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 + existing file.rb in listen dir + is expected to process modification of "file.rb" + listens to file.rb moved out + listens to file mode change + is expected to process removal of "file.rb" + with .bundle dir ignored by default + is expected not to process addition of ".bundle/file.rb" + when :ignore is *ignored_dir* + 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 :only is *.rb + is expected not to process addition of "file.txt" + is expected to process addition of "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 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" + with change block raising + warns the backtrace + force_polling option to false + with default ignore options + dir in listen dir + is expected to process addition of "dir/file.rb" + dir with file in listen dir + listens to file move + 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 mode change + listens to file.rb moved out + with .bundle dir ignored by default + is expected not to process addition of ".bundle/file.rb" + two dirs with files in listen dir + listens to multiple file moves + listens to dir move + hidden file in listen dir + is expected to process modification of ".hidden" + with nothing in listen dir + listens to file moved inside + is expected to process addition of ".hidden" + listens to multiple files addition + is expected to process addition of "file.rb" + when driver does not support option + does not pass the latency option + 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" + 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 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" + 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" + +Listen::Backend + #start + starts the adapter #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 not resolved - returns array of resolved pathnames - when already resolved - returns array of pathnames - with directories as messy array - implement me (PENDING: Not yet implemented) - #queue - provides a direct queue for filesystem events - #silencer - provides a silencer object - #adapter_options - provides a set of adapter_specific options + with config + sets up an adapter class + #stop + stops the adapter + +Listen + .stop + stops all listeners + .to + initalizes listener + +Listen::Silencer + #silenced? + is expected to accept :file and # + with default ignore + is expected not to accept :file and ".DS_Store" + is expected not to accept :dir and "vendor/bundle" + is expected not to accept :file and "foo.rb.kate-swp" + is expected not to accept :file and "sedq7eVAR" + is expected not to accept :file and ".mutagen-temporary-unicode-test-\u00E9ntry0" + is expected to accept :dir and "bundlefoo" + is expected not to accept :dir and ".hg" + is expected not to accept :dir and "vendor/ruby" + is expected not to accept :file and "foo.swpx" + is expected not to accept :file and "foo~" + is expected to accept :dir and "logfoo" + is expected not to accept :file and "4913" + is expected to accept :dir and ".rbxfoo" + is expected to accept :file and "sedan2014" + is expected not to accept :file and "foo.swx" + is expected to accept :dir and ".bundlefoo" + is expected not to accept :file and "foo.rbo54321.new" + is expected not to accept :dir and ".bundle" + is expected to accept :file and "14913" + is expected to accept :dir and "foo.bundle" + is expected to accept :file and "sedatives" + is expected to accept :dir and "footmp" + is expected not to accept :file and "sed86w1kB" + is expected to accept :dir and "vendor/bundlefoo" + is expected not to accept :dir and ".rbx" + is expected to accept :file and ".sedq7eVAR" + is expected to accept :dir and "foo.svn" + is expected to accept :dir and "foo.git" + is expected to accept :dir and ".gitfoo" + is expected to accept :dir and "foobundle" + is expected to accept :dir and "tmpfoo" + is expected not to accept :dir and ".git" + is expected to accept :file and "sedabcdefg" + is expected to accept :file and "file54321.new" + is expected not to accept :file and "foo.rb___jb_old___" + is expected to accept :dir and "foo.rbx" + is expected not to accept :dir and ".svn" + is expected to accept :dir and ".svnfoo" + is expected to accept :file and "a.swf" + is expected to accept :file and "sed_ABCDE" + is expected not to accept :dir and "tmp" + is expected not to accept :file and "foo.swp" + is expected to accept :file and "foo.tmpl" + is expected to accept :dir and "foolog" + is expected not to accept :file and "foo.rbB22583.new" + is expected not to accept :file and ".mutagen-temporary-cross-device-rename0" + is expected to accept :dir and "foovendor/bundle" + is expected not to accept :dir and "log" + is expected to accept :file and "foo.sedq7eVAR" + is expected to accept :file and "sediments" + is expected to accept :dir and "vendor/rubyfoo" + is expected not to accept :file and "foo.rb___jb_bak___" + is expected to accept :dir and "foo.hg" + is expected not to accept :file and "foo.tmp" + is expected to accept :dir and ".hgfoo" + is expected not to accept :dir and "bundle" + is expected to accept :dir and "foovendor/ruby" + is expected not to accept :file and ".goutputstream-S3FBGX" + is expected to accept :file and "file.new" + is expected to accept :file and "49131" + 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 only *.pid + is expected to accept :file and ".git" + is expected not to accept :file and "foo.pid" + when accepting only *.pid + when ignoring bar* + is expected not to accept :file and "foo.rb" + is expected not to accept :file and "bar.pid" + is expected to accept :file and "foo.pid" + when accepting only foo/* and *.txt + is expected not to accept :file and "bar/baz.rb" + 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" + when accepting only *foo* + is expected to accept :file and "foo" + is expected not to accept :file and "bar" + when ignoring *.pid + is expected not to accept :file and "foo.pid" + +Listen::Record + #file_data + with path in subdir + when path is present + returns file data + path not present + return empty hash + with path in watched dir + when path is present + returns file data + path not present + return empty hash + #unset_path + within watched dir + when path not present + unsets path + when path is present + unsets path + within subdir + when path is present + unsets path + when path not present + unsets path + #update_file + with subdir path + sets path and keeps old data not overwritten + sets path by spliting dirname and basename + with path in watched dir + sets path and keeps old data not overwritten + sets path by spliting dirname and basename + #add_dir + sets itself when empty + sets itself when nil + sets path and keeps old data not overwritten + sets itself when . + correctly sets new directory data + #build + re-inits paths + with subdir containing dirs + builds record + with subdir containing symlink to parent + shows a warning + with subdir containing symlinked file + shows a warning + with a normal symlinked directory to another + shows message + with subdir containing files + builds record + with no subdirs + builds record + #dir_entries + in watched dir + with no entries + is expected to be empty + with file.rb in record + is expected to eq {"file.rb"=>{:mtime=>1.1}} + with subdir/file.rb in record + is expected to eq {"subdir"=>{}} + in subdir /path + with path/file.rb already in record + is expected to eq {"file.rb"=>{:mtime=>1.1}} + with no entries + is expected to be empty + +Listen::Adapter::Base + handling events + when an event occurs + passes invalidates the snapshot based on the event + #start + builds record + runs the adapter + +Listen::QueueOptimizer + smoosh_changes + 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=>[]} + when double move + is expected to eq {:added=>[], :modified=>["foo"], :removed=>[]} Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1641,10 +1676,10 @@ # Not yet implemented # ./spec/lib/listen/adapter/config_spec.rb:82 -Finished in 2 minutes 18.4 seconds (files took 0.92088 seconds to load) +Finished in 2 minutes 19.5 seconds (files took 1.12 seconds to load) 318 examples, 0 failures, 1 pending -Randomized with seed 3539 +Randomized with seed 46925 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1678,12 +1713,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/5541/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5541/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/23977 and its subdirectories -I: Current time: Tue Aug 24 16:51:58 -12 2021 -I: pbuilder-time-stamp: 1629867118 +I: removing directory /srv/workspace/pbuilder/5541 and its subdirectories +I: Current time: Wed Aug 25 18:59:04 +14 2021 +I: pbuilder-time-stamp: 1629867544