Diff of the two buildlogs: -- --- b1/build.log 2020-07-14 02:56:33.280033549 +0000 +++ b2/build.log 2020-07-14 03:01:28.016577866 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 13 14:52:26 -12 2020 -I: pbuilder-time-stamp: 1594695146 +I: Current time: Tue Jul 14 16:56:42 +14 2020 +I: pbuilder-time-stamp: 1594695402 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Mon Dec 4 19:46:34 2017 -12 +gpgv: Signature made Tue Dec 5 21:46:34 2017 +14 gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-listen_3.1.5-1.dsc @@ -30,136 +30,170 @@ dpkg-source: info: applying 0004-disable-ruby_dep.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/750/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8879/tmp/hooks/D01_modify_environment starting +debug: Running on odu3a. +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/8879/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8879/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 parallel=5' - 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]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.0.3(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 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='0c62a5f1c5954d1cafa22d729cb0c20f' - 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='750' - PS1='# ' - PS2='> ' + INVOCATION_ID=4e81542f26294c85ac1ff219bbd25883 + 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=8879 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.se22P73hUm/pbuilderrc_ZWKM --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.se22P73hUm/b1 --logfile b1/build.log ruby-listen_3.1.5-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.se22P73hUm/pbuilderrc_86l5 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.se22P73hUm/b2 --logfile b2/build.log ruby-listen_3.1.5-1.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 odxu4b 4.19.0-9-armmp-lpae #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) armv7l GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-armmp #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) armv7l GNU/Linux I: ls -l /bin total 3328 - -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 22432 Feb 28 2019 cat - -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown - -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp - -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash - -rwxr-xr-x 1 root root 71648 Feb 28 2019 date - -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd - -rwxr-xr-x 1 root root 55672 Feb 28 2019 df - -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir - -rwxr-xr-x 1 root root 54872 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 22364 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 18260 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 124508 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 64232 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln - -rwxr-xr-x 1 root root 34932 Jul 26 2018 login - -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls - -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 26024 Jan 9 2019 more - -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount - -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 84284 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 22416 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm - -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 11 20:26 sh -> dash - -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty - -rwsr-xr-x 1 root root 42472 Jan 9 2019 su - -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync - -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar - -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch - -rwxr-xr-x 1 root root 18260 Feb 28 2019 true - -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount - -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 21980 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/750/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat + -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown + -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp + -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash + -rwxr-xr-x 1 root root 71648 Mar 1 2019 date + -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd + -rwxr-xr-x 1 root root 55672 Mar 1 2019 df + -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir + -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 18260 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln + -rwxr-xr-x 1 root root 34932 Jul 27 2018 login + -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls + -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 26024 Jan 10 2019 more + -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount + -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm + -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 14 16:57 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 12 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty + -rwsr-xr-x 1 root root 42472 Jan 10 2019 su + -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync + -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar + -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch + -rwxr-xr-x 1 root root 18260 Mar 1 2019 true + -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount + -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/8879/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -343,7 +377,7 @@ Get: 136 http://deb.debian.org/debian buster/main armhf ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 137 http://deb.debian.org/debian buster/main armhf ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 138 http://deb.debian.org/debian buster/main armhf ruby-thor all 0.19.4-1 [47.0 kB] -Fetched 41.0 MB in 5s (7753 kB/s) +Fetched 41.0 MB in 5s (7548 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (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 ... 18932 files and directories currently installed.) @@ -927,7 +961,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-listen-3.1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-listen-3.1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-listen dpkg-buildpackage: info: source version 3.1.5-1 dpkg-buildpackage: info: source distribution unstable @@ -973,35 +1007,35 @@ install -D -m755 /build/ruby-listen-3.1.5/bin/listen /build/ruby-listen-3.1.5/debian/ruby-listen/usr/bin/listen install -d /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-listen-3.1.5/lib/listen.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/silencer.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/queue_optimizer.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/queue_optimizer.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/listener/config.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener/config.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/logger.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/logger.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/cli.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/cli.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/options.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/options.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/internals/thread_pool.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/internals/thread_pool.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/silencer/controller.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer/controller.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/record.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/base.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/base.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/listener.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/queue_optimizer.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/queue_optimizer.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/directory.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/directory.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/config.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/config.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/bsd.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/bsd.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/darwin.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/darwin.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/linux.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/linux.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/polling.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/polling.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/darwin.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/darwin.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/bsd.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/bsd.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/windows.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/windows.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/polling.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/polling.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter/base.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter/base.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/options.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/options.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/record.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/backend.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/backend.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/listener/config.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener/config.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/file.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/file.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/version.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/version.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/logger.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/logger.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/silencer.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/adapter.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/adapter.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/record/symlink_detector.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/symlink_detector.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/record/entry.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/entry.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/file.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/file.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/event/queue.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/queue.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/event/config.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/config.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/event/processor.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/processor.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/event/loop.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/loop.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/event/queue.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/event/queue.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/record/entry.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/entry.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/record/symlink_detector.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/record/symlink_detector.rb +install -D -m644 /build/ruby-listen-3.1.5/lib/listen/silencer/controller.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/silencer/controller.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/fsm.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/fsm.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/listener.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/listener.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/backend.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/backend.rb -install -D -m644 /build/ruby-listen-3.1.5/lib/listen/directory.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/directory.rb install -D -m644 /build/ruby-listen-3.1.5/lib/listen/change.rb /build/ruby-listen-3.1.5/debian/ruby-listen/usr/lib/ruby/vendor_ruby/listen/change.rb dh_installchangelogs -pruby-listen /build/ruby-listen-3.1.5/CHANGELOG.md upstream Rewriting shebang line of /build/ruby-listen-3.1.5/debian/ruby-listen/usr/bin/listen @@ -1030,117 +1064,281 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 33112 +Randomized with seed 17226 + +Listen::Listener + #only + with existing only options + overwrites existing ignore options + #ignore! + with existing ignore options + deletes ignore options + with existing ignore! options + overwrites existing ignore options + with no existing options + sets options + #pause + sets paused to true + #start + sets paused to false + starts adapter + initialize + should not be paused + with a block + passes the block to the event processor + with directories + passes directories to backend + unpause with start + sets paused to false + #paused? + returns false when not paused + returns true when paused + #stop + when fully started + terminates + when only backend is already started + terminates + when frontend is ready + terminates + when only initialized + terminates + #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 + should be processing + when stopped + should not be processing + when paused + should not be processing + +Listen::Adapter::Base + handling events + when an event occurs + passes invalidates the snapshot based on the event + #start + builds record + runs the adapter + +Listen::Adapter::Config + #initialize + with no directories + returns the current path in array + with directories as messy array + implement me (PENDING: Not yet implemented) + 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 + #silencer + provides a silencer object + #queue + provides a direct queue for filesystem events + #adapter_options + provides a set of adapter_specific options + +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 + with nothing in listen dir + listens to file moved inside + should process addition of "file.rb" + listens to multiple files addition + should process addition of ".hidden" + two dirs with files in listen dir + listens to multiple file moves + listens to dir move + hidden file in listen dir + should process modification of ".hidden" + dir in listen dir + should process addition of "dir/file.rb" + existing file.rb in listen dir + listens to file.rb moved out + listens to file mode change + should process modification of "file.rb" + should process removal of "file.rb" + dir with file in listen dir + listens to file move + with .bundle dir ignored by default + should not process addition of ".bundle/file.rb" + when :ignore is *ignored_dir* + ignored dir with file in listen dir + should not process addition of "ignored_dir/file.rb" + when :ignore is bar.rb + when :only is *.rb + should process addition of "file.rb" + should not process addition of "file.txt" + should not process addition of "bar.rb" + when :only is *.rb + should not process addition of "file.txt" + should process addition of "file.rb" + when default ignore is *.rb + should not process addition of "file.rb" + with #ignore! on *.txt mask + should process addition of "file.rb" + should not process addition of "file.txt" + with #ignore on *.txt mask + should not process addition of "file.rb" + should not process addition of "file.txt" + 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 + with .bundle dir ignored by default + should not process addition of ".bundle/file.rb" + two dirs with files in listen dir + listens to dir move + listens to multiple file moves + with nothing in listen dir + should process addition of ".hidden" + listens to file moved inside + should process addition of "file.rb" + listens to multiple files addition + dir with file in listen dir + listens to file move + hidden file in listen dir + should process modification of ".hidden" + dir in listen dir + should process addition of "dir/file.rb" + existing file.rb in listen dir + should process modification of "file.rb" + should process removal of "file.rb" + listens to file.rb moved out + listens to file mode change + when :ignore is *ignored_dir* + when :ignore is bar.rb + when :only is *.rb + should not process addition of "file.txt" + should not process addition of "bar.rb" + should process addition of "file.rb" + when :only is *.rb + should not process addition of "file.txt" + should process addition of "file.rb" + when default ignore is *.rb + should not process addition of "file.rb" + with #ignore on *.txt mask + should not process addition of "file.rb" + should not process addition of "file.txt" + with #ignore! on *.txt mask + should not process addition of "file.txt" + should process addition of "file.rb" + ignored dir with file in listen dir + should not process addition of "ignored_dir/file.rb" + +Listen::Listener::Config + options + custom options + extract adapter selecting options + extracts adapter options + +Listen::QueueOptimizer + smoosh_changes + with rename from temp file + should eq {:added=>[], :modified=>["foo"], :removed=>[]} + when double move + should eq {:added=>[], :modified=>["foo"], :removed=>[]} + with a deteted temp file + should eq {:added=>[], :modified=>[], :removed=>[]} + with cookie + when related moved_to + should eq {:added=>["bar"], :modified=>[], :removed=>[]} + when single moved + should eq {:added=>["foo"], :modified=>[], :removed=>[]} + when related moved_to with ignored moved_from + should eq {:added=>[], :modified=>["foo"], :removed=>[]} + with no cookie + with ignored file + should eq {:added=>[], :modified=>[], :removed=>[]} Listen::File #change + with empty record + with existing path + sets path in record with expected data + returns added with file record with non-existing file sets path in record should eq :removed with existing file with different mode in record - sets path in record with expected data should equal :modified + sets path in record with expected data with same mode in record - with earlier mtime than in record - sets path in record with expected data - should equal :modified - with later mtime than in record - should equal :modified - sets path in record with expected data with indentical mtime in record - with accurate stat times - should be nil with inaccurate stat times + with real mtime barely not within last second + should be nil with real mtime barely within last second without available md5 should not unset record should equal :removed with available md5 + with no md5 in record + should be nil with different md5 in record - sets path in record with expected data should equal :modified + sets path in record with expected data with same md5 in record should be nil - with no md5 in record - should be nil - with real mtime barely not within last second - should be nil - with empty record - with existing path - sets path in record with expected data - returns added + with accurate stat times + should be nil + with earlier mtime than in record + should equal :modified + sets path in record with expected data + with later mtime than in record + sets path in record with expected data + should equal :modified #inaccurate_mac_time? - with all accurate times - should be falsey with no accurate times should be truthy + with all accurate times + should be falsey with one accurate time should be falsey -Listen::CLI - relative option - when --relative - supports --relative option - supports -r option - without relative option - is set to false - when -r - is set to true - 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 - -Listen::Directory - #scan with recursive on - with empty record - with non-existing dir - reports no changes - with subdir present in dir - snapshots changes for subdir - with file.rb & subdir in record - with empty dir - snapshots changes for file & subdir path - with subdir2 path present - snapshots changes for file, file2 & subdir paths - #scan with recursive off - with empty record - when network share is disconnected - reports no changes - unsets record dir path - with file.rb in dir - snapshots changes for file & file2 paths - with non-existing dir path - 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 - with empty dir - sets record dir path - snapshots changes for file path and dir that doesn't exist - when file.rb removed - notices file was removed +Listen::Event::Config + with a given block + is callable + calls the block -Listen::Forwarder - passes relative option to Listen +Listen::Adapter::BSD + class + should not be usable Listen::Event::Processor #loop_for when stopped with pending changes - does not sleep does not change the event queue + does not sleep when not stopped + when initially paused + when still paused after sleeping + when there were no events before +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:107:in `block (7 levels) in '. +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:111:in `block (7 levels) in '. + sleeps for latency to possibly later optimize some events + when there were no events for ages +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:125:in `block (7 levels) in '. +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:132:in `block (7 levels) in '. + 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 @@ -1149,68 +1347,39 @@ when event queue has events when there were events ages ago processes events - when initially paused - when stopped after sleeping - breaks - sleeps, waiting to be woken up - when still paused after sleeping - when there were no events for ages -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:125:in `block (7 levels) in '. -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:132:in `block (7 levels) in '. - still does not process events because it is paused - when there were no events before -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:107:in `block (7 levels) in '. -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/processor_spec.rb:111:in `block (7 levels) in '. - sleeps for latency to possibly later optimize some events -Listen::Listener - #listen? - when paused - should not be processing - when processing - should be processing - when stopped - should not be processing - #stop - when only initialized - terminates - when fully started - terminates - when frontend is ready - terminates - when only backend is already started - terminates - #start - sets paused to false - starts adapter - unpause with start - sets paused to false - initialize - should not be paused - with a block - passes the block to the event processor - with directories - passes directories to backend - #ignore - with existing ignore options - adds up to existing ignore options - with existing ignore options (array) - adds up to existing ignore options - #paused? - returns true when paused - returns false when not paused - #only - with existing only options - overwrites existing ignore options - #ignore! - with no existing options - sets options - with existing ignore options - deletes ignore options - with existing ignore! options - overwrites existing ignore options - #pause - sets paused to true +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 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 + when providing as array + sets the given :ignore rules + +Listen::Adapter::Polling + class + should be usable + with a valid configuration + #start + notifies change on every listener directories path + #_latency + with no overriding option + should eq 1.0 + with custom latency overriding + should eq 1234 Listen::Backend #stop @@ -1221,314 +1390,162 @@ #start starts the adapter -Listen::Event::Queue - #empty? - when not empty - should not be empty - when empty - should be empty - #pop - when empty - forward the call to the 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 not the current dir - registers relative path - when watched dir is the current dir - registers relative paths - when watched dir is on another drive - registers full path - -Listen::Silencer - #silenced? - should accept :file and # - when ignoring only *.pid - should accept :file and ".git" - should not accept :file and "foo.pid" - when accepting only foo/* and *.txt - should accept :file and "foo/bar.rb" - should accept :file and "bar.txt" - should not accept :file and "bar.rb" - should not accept :file and "bar/baz.rb" - when ignoring foo/bar* and *.pid - should not accept :file and "foo/bar/baz" - should not accept :file and "foo.pid" - when accepting only *foo* - should accept :file and "foo" - should not accept :file and "bar" - when ignoring *.pid - should not accept :file and "foo.pid" - when accepting only *.pid - when ignoring bar* - should not accept :file and "foo.rb" - should not accept :file and "bar.pid" - should accept :file and "foo.pid" - with default ignore - should accept :dir and "footmp" - should not accept :dir and "log" - should accept :file and "sed_ABCDE" - should not accept :dir and "vendor/bundle" - should accept :file and "sediments" - should not accept :file and "foo.rb___jb_bak___" - should not accept :dir and ".bundle" - should accept :dir and ".hgfoo" - should not accept :file and "foo.rbB22583.new" - should accept :file and "sedabcdefg" - should not accept :file and "foo.tmp" - should accept :dir and "logfoo" - should not accept :dir and ".hg" - should not accept :dir and ".rbx" - should not accept :file and "foo.rb.kate-swp" - should not accept :file and "foo.rb___jb_old___" - should not accept :dir and "bundle" - should accept :dir and "foo.svn" - should accept :dir and ".rbxfoo" - should accept :dir and "bundlefoo" - should not accept :file and "foo.swpx" - should accept :dir and "foovendor/bundle" - should accept :file and "foo.sedq7eVAR" - should not accept :file and "sedq7eVAR" - should accept :file and ".sedq7eVAR" - should accept :dir and "foo.git" - should not accept :file and "foo.swp" - should accept :file and "sedan2014" - should accept :file and "sedatives" - should not accept :file and "foo.rbo54321.new" - should accept :file and "file54321.new" - should accept :file and "a.swf" - should not accept :file and ".goutputstream-S3FBGX" - should accept :dir and "vendor/rubyfoo" - should accept :dir and "tmpfoo" - should accept :dir and "foovendor/ruby" - should accept :dir and "vendor/bundlefoo" - should accept :dir and "foolog" - should accept :file and "file.new" - should not accept :file and "4913" - should accept :dir and "foo.rbx" - should not accept :dir and "vendor/ruby" - should not accept :dir and "tmp" - should accept :file and "foo.tmpl" - should accept :dir and "foo.hg" - should accept :dir and "foo.bundle" - should accept :dir and ".svnfoo" - should not accept :dir and ".git" - should not accept :file and ".DS_Store" - should not accept :file and "sed86w1kB" - should not accept :file and "foo~" - should accept :dir and ".bundlefoo" - should accept :dir and ".gitfoo" - should accept :file and "49131" - should not accept :dir and ".svn" - should accept :file and "14913" - should not accept :file and "foo.swx" - should accept :dir and "foobundle" - -Listen::QueueOptimizer - smoosh_changes - with rename from temp file - should eq {:added=>[], :modified=>["foo"], :removed=>[]} - with no cookie - with ignored file - should eq {:added=>[], :modified=>[], :removed=>[]} - with a deteted temp file - should eq {:added=>[], :modified=>[], :removed=>[]} - with cookie - when single moved - should eq {:added=>["foo"], :modified=>[], :removed=>[]} - when related moved_to with ignored moved_from - should eq {:added=>[], :modified=>["foo"], :removed=>[]} - when related moved_to - should eq {:added=>["bar"], :modified=>[], :removed=>[]} - when double move - should eq {:added=>[], :modified=>["foo"], :removed=>[]} - -Listen::Event::Config - with a given block - calls the block - is callable +Listen::CLI + relative option + without relative option + is set to false + when -r + is set to true + when --relative + supports --relative option + supports -r option + 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 -Listen::Adapter::BSD +Listen::Adapter::Linux + _callback + recognizes moved_from as moved_from + recognizes moved_to as moved_to + recognizes close_write as modify + 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 not even initialized + does not crash + when configured + stops the worker class - should not be usable - -Listen::Listener::Config - options - custom options - extract adapter selecting options - extracts adapter options - -Listen::Adapter::Config - #adapter_options - provides a set of adapter_specific options - #queue - provides a direct queue for filesystem events - #silencer - provides a silencer object - #initialize - with directories as messy array - implement me (PENDING: Not yet implemented) - with directories as array - with Pathnames for directories - returns array of pathnames - with strings for directories - when not resolved - returns array of resolved pathnames - when already resolved - returns array of pathnames - with no directories - returns the current path in array + should be usable Listen::Change #change - directory - calls Listen::Directory#new - with build options - calls still_building! on record file with unknown change - doesn't call Listen::File#change if path is silenced calls Listen::File#change + doesn't call Listen::File#change if path is silenced + that returns no change + doesn't notifies no 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 - -Listen::Adapter - .select - returns Polling adapter if forced - returns Windows adapter when usable - returns BSD adapter when usable - returns Linux adapter when usable - returns Darwin adapter when usable - no usable adapters - warns polling fallback with default message - doesn't warn if polling_fallback_message is false - warns polling fallback with custom message if set - returns Polling adapter - -Listen::Adapter::Polling - with a valid configuration - #_latency - with no overriding option - should eq 1.0 - with custom latency overriding - should eq 1234 - #start - notifies change on every listener directories path - class - should be usable + directory + calls Listen::Directory#new + with build options + calls still_building! on record Listen::Event::Loop when resumed WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. is not paused - when resume is called again + when wakeup_on_event is called + when thread is dead WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. + does not wake up the thread + when thread is alive WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - does nothing - when wakeup_on_event is called - when thread is alive WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. + sets the reason for waking up WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - wakes up the thread WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. + wakes up the thread + when resume is called again WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - sets the reason for waking up - when thread is dead WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:94:in `block (4 levels) in '. WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:95:in `block (4 levels) in '. - does not wake up the thread + does nothing + when stopped + when wakeup_on_event is called + does nothing + when resume is called + fails + #setup +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:68:in `block (3 levels) in '. + sets up the thread in a resumable state when set up / paused - #resume -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. - sets the reason for waking up -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. - resumes the thread #teardown WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. frees the thread WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. + sets the reason for waking up +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. waits for the thread to finish + #resume WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. sets the reason for waking up - #setup -WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:68:in `block (3 levels) in '. - sets up the thread in a resumable state - when stopped - when wakeup_on_event is called - does nothing - when resume is called - fails +WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/ruby-listen-3.1.5/spec/lib/listen/event/loop_spec.rb:156:in `block (3 levels) in '. + resumes the thread Listen::Record - #add_dir - sets itself when . - sets itself when empty - sets itself when nil - correctly sets new directory data - sets path and keeps old data not overwritten + #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 + #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 #build re-inits paths + with no subdirs + builds record + with subdir containing dirs + builds record with subdir containing symlink to parent shows a warning with subdir containing symlinked file shows a warning - with subdir containing dirs - builds record with a normal symlinked directory to another shows message with subdir containing files builds record - with no subdirs - builds record #dir_entries - in subdir /path - with path/file.rb already in record + in watched dir + with file.rb in record should eq {"file.rb"=>{:mtime=>1.1}} with no entries should be empty - in watched dir + with subdir/file.rb in record + should eq {"subdir"=>{}} + in subdir /path with no entries should be empty - with file.rb in record + with path/file.rb already in record should eq {"file.rb"=>{:mtime=>1.1}} - with subdir/file.rb in record - should eq {"subdir"=>{}} - #update_file - with path in watched dir - sets path and keeps old data not overwritten - sets path by spliting dirname and basename - with subdir path - sets path by spliting dirname and basename - sets path and keeps old data not overwritten - #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 + #add_dir + sets path and keeps old data not overwritten + sets itself when . + sets itself when nil + sets itself when empty + correctly sets new directory data #unset_path within watched dir when path is present @@ -1541,137 +1558,18 @@ when path not present unsets path -Listen - with one listen dir - force_polling option to true - when :ignore is *ignored_dir* - when :ignore is bar.rb - when :only is *.rb - should process addition of "file.rb" - should not process addition of "file.txt" - should not process addition of "bar.rb" - ignored dir with file in listen dir - should not process addition of "ignored_dir/file.rb" - when default ignore is *.rb - should not process addition of "file.rb" - with #ignore! on *.txt mask - should process addition of "file.rb" - should not process addition of "file.txt" - with #ignore on *.txt mask - should not process addition of "file.rb" - should not process addition of "file.txt" - when :only is *.rb - should not process addition of "file.txt" - should process addition of "file.rb" - with default ignore options - hidden file in listen dir - should process modification of ".hidden" - dir with file in listen dir - listens to file move - with nothing in listen dir - should process addition of ".hidden" - listens to multiple files addition - should process addition of "file.rb" - listens to file moved inside - dir in listen dir - should process addition of "dir/file.rb" - with .bundle dir ignored by default - should not process addition of ".bundle/file.rb" - existing file.rb in listen dir - listens to file mode change - listens to file.rb moved out - should process modification of "file.rb" - should process removal of "file.rb" - two dirs with files in listen dir - listens to dir move - listens to multiple file moves - when polling - with a large latency - passes the latency option correctly - force_polling option to false - when driver does not support option - does not pass the latency option - with default ignore options - two dirs with files in listen dir - listens to multiple file moves - listens to dir move - dir with file in listen dir - listens to file move - existing file.rb in listen dir - listens to file mode change - should process removal of "file.rb" - listens to file.rb moved out - should process modification of "file.rb" - with .bundle dir ignored by default - should not process addition of ".bundle/file.rb" - hidden file in listen dir - should process modification of ".hidden" - dir in listen dir - should process addition of "dir/file.rb" - with nothing in listen dir - listens to file moved inside - should process addition of ".hidden" - listens to multiple files addition - should process addition of "file.rb" - when :ignore is *ignored_dir* - when default ignore is *.rb - should not process addition of "file.rb" - with #ignore! on *.txt mask - should process addition of "file.rb" - should not process addition of "file.txt" - with #ignore on *.txt mask - should not process addition of "file.txt" - should not process addition of "file.rb" - when :only is *.rb - should not process addition of "file.txt" - should process addition of "file.rb" - when :ignore is bar.rb - when :only is *.rb - should process addition of "file.rb" - should not process addition of "bar.rb" - should not process addition of "file.txt" - ignored dir with file in listen dir - should not process addition of "ignored_dir/file.rb" - with change block raising - warns the backtrace - -Listen::Silencer::Controller - append_ignores - with previous :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 - 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 a single regexp as argument - sets the given :ignore rules as array - when providing a nil - sets the given :ignore rules as empty array - when providing multiple arguments - sets the given :ignore rules as a flat array - when providing as array - sets the given :ignore rules - -Listen::Adapter::Linux - class - should be usable - _callback - recognizes moved_to as moved_to - recognizes moved_from as moved_from - recognizes close_write as modify - #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 + .select + returns Darwin adapter when usable + returns BSD adapter when usable + returns Linux adapter when usable + returns Windows adapter when usable + returns Polling adapter if forced + no usable adapters + warns polling fallback with custom message if set + warns polling fallback with default message + returns Polling adapter + doesn't warn if polling_fallback_message is false Listen .stop @@ -1679,13 +1577,149 @@ .to initalizes listener -Listen::Adapter::Base - handling events - when an event occurs - passes invalidates the snapshot based on the event - #start - builds record - runs the adapter +Listen::Silencer + #silenced? + should accept :file and # + when ignoring only *.pid + should accept :file and ".git" + should not accept :file and "foo.pid" + when accepting only foo/* and *.txt + should not accept :file and "bar.rb" + should accept :file and "foo/bar.rb" + should accept :file and "bar.txt" + should not accept :file and "bar/baz.rb" + when accepting only *foo* + should accept :file and "foo" + should not accept :file and "bar" + with default ignore + should accept :file and "sed_ABCDE" + should accept :dir and "foo.hg" + should not accept :file and "4913" + should accept :dir and ".gitfoo" + should not accept :file and "sed86w1kB" + should not accept :dir and "bundle" + should not accept :file and "sedq7eVAR" + should accept :file and "sedan2014" + should not accept :dir and "tmp" + should accept :dir and "foo.bundle" + should not accept :file and "foo.rb.kate-swp" + should not accept :file and "foo.tmp" + should not accept :file and "foo.rbo54321.new" + should accept :dir and ".bundlefoo" + should accept :file and "14913" + should accept :file and "foo.sedq7eVAR" + should not accept :file and "foo.rb___jb_old___" + should accept :dir and "foovendor/bundle" + should not accept :file and "foo.rbB22583.new" + should accept :dir and "tmpfoo" + should accept :file and "sediments" + should accept :file and "49131" + should not accept :dir and "vendor/ruby" + should accept :dir and "vendor/bundlefoo" + should not accept :file and ".goutputstream-S3FBGX" + should accept :dir and "footmp" + should accept :dir and ".svnfoo" + should accept :dir and "foo.rbx" + should accept :file and "sedatives" + should accept :dir and "foovendor/ruby" + should accept :file and "sedabcdefg" + should accept :dir and ".hgfoo" + should accept :dir and ".rbxfoo" + should accept :dir and "foolog" + should not accept :dir and ".svn" + should accept :file and "a.swf" + should accept :dir and "foo.git" + should not accept :dir and ".hg" + should not accept :file and ".DS_Store" + should not accept :dir and ".bundle" + should not accept :file and "foo.swx" + should accept :dir and "vendor/rubyfoo" + should accept :dir and "foo.svn" + should not accept :dir and ".git" + should not accept :dir and "vendor/bundle" + should accept :dir and "bundlefoo" + should accept :dir and "logfoo" + should not accept :file and "foo.rb___jb_bak___" + should accept :file and "file54321.new" + should not accept :file and "foo.swp" + should accept :file and "file.new" + should not accept :file and "foo~" + should not accept :dir and "log" + should accept :file and "foo.tmpl" + should not accept :dir and ".rbx" + should not accept :file and "foo.swpx" + should accept :file and ".sedq7eVAR" + should accept :dir and "foobundle" + when accepting only *.pid + when ignoring bar* + should not accept :file and "foo.rb" + should not accept :file and "bar.pid" + should accept :file and "foo.pid" + when ignoring *.pid + should not accept :file and "foo.pid" + when ignoring foo/bar* and *.pid + should not accept :file and "foo.pid" + should not accept :file and "foo/bar/baz" + +Listen::Forwarder + passes relative option to Listen + +Listen::Directory + #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 + with non-existing dir path + unsets record dir path + reports no changes + 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 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 + +Listen::Event::Queue + #<< + when relative option is true + when watched dir is on another drive + registers full path + when watched dir is the current dir + registers relative paths + when watched dir is not the current dir + registers relative path + when no block is given + calls the provided block + when a block is given + calls the provided block + #pop + when empty + forward the call to the queue + #empty? + when empty + should be empty + when not empty + should not be empty Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1693,10 +1727,10 @@ # Not yet implemented # ./spec/lib/listen/adapter/config_spec.rb:82 -Finished in 2 minutes 19.5 seconds (files took 1.07 seconds to load) +Finished in 2 minutes 20.3 seconds (files took 1.02 seconds to load) 316 examples, 0 failures, 1 pending -Randomized with seed 33112 +Randomized with seed 17226 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1727,12 +1761,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/8879/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8879/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/750 and its subdirectories -I: Current time: Mon Jul 13 14:56:29 -12 2020 -I: pbuilder-time-stamp: 1594695389 +I: removing directory /srv/workspace/pbuilder/8879 and its subdirectories +I: Current time: Tue Jul 14 17:01:24 +14 2020 +I: pbuilder-time-stamp: 1594695684