Diff of the two buildlogs: -- --- b1/build.log 2023-06-09 18:21:35.094324036 +0000 +++ b2/build.log 2023-06-09 18:22:09.460819174 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jun 9 06:18:29 -12 2023 -I: pbuilder-time-stamp: 1686334709 +I: Current time: Fri Jul 12 14:44:34 +14 2024 +I: pbuilder-time-stamp: 1720745074 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: copying [./node-ajv_6.12.6.orig.tar.gz] I: copying [./node-ajv_6.12.6-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Nov 22 02:29:05 2021 -12 +gpgv: Signature made Tue Nov 23 04:29:05 2021 +14 gpgv: using RSA key 00DFE58B8B555779D1005EC9F6D74CA7C999EEE9 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./node-ajv_6.12.6-3.dsc: no acceptable signature found @@ -30,137 +30,169 @@ dpkg-source: info: applying skip-beautify.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/14438/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/39070/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 12 14:44 /bin/sh -> /bin/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/39070/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/39070/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='b36af2d7b50846b8a32dcb1a12eff432' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='14438' - PS1='# ' - PS2='> ' + INVOCATION_ID=eceef5b47e7244f3b3ec535387ca8a1e + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=39070 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/r-b-build.mPkkoWLO/pbuilderrc_Lnai --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mPkkoWLO/b1 --logfile b1/build.log node-ajv_6.12.6-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.mPkkoWLO/pbuilderrc_etNS --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mPkkoWLO/b2 --logfile b2/build.log --extrapackages usrmerge node-ajv_6.12.6-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-23-686-pae #1 SMP Debian 5.10.179-1 (2023-05-12) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/14438/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jul 12 14:44 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/39070/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -436,7 +468,7 @@ Get: 218 http://deb.debian.org/debian bookworm/main i386 node-json-stable-stringify all 1.0.2+~cs5.2.34-1 [11.3 kB] Get: 219 http://deb.debian.org/debian bookworm/main i386 node-punycode all 2.1.1-6 [9444 B] Get: 220 http://deb.debian.org/debian bookworm/main i386 node-uri-js all 4.4.0+dfsg-8 [47.3 kB] -Fetched 41.6 MB in 2s (22.3 MB/s) +Fetched 41.6 MB in 1s (58.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package isa-support:i386. (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 ... 19599 files and directories currently installed.) @@ -1343,8 +1375,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/node-ajv-6.12.6/ && 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 > ../node-ajv_6.12.6-3_source.changes +I: user script /srv/workspace/pbuilder/39070/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/39070/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/node-ajv-6.12.6/ && 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 > ../node-ajv_6.12.6-3_source.changes dpkg-buildpackage: info: source package node-ajv dpkg-buildpackage: info: source version 6.12.6-3 dpkg-buildpackage: info: source distribution unstable @@ -1407,20 +1450,458 @@ dh_auto_test --buildsystem=nodejs ln -s ../. node_modules/ajv /bin/sh -ex debian/tests/pkg-js/test -+ find spec -name *.spec.js -+ grep -v -f debian/tests/test_exclude -+ mocha spec/ajv.spec.js spec/coercion.spec.js spec/resolve.spec.js spec/boolean.spec.js spec/errors.spec.js spec/custom.spec.js spec/options/options_add_schemas.spec.js spec/options/options_code.spec.js spec/options/nullable.spec.js spec/options/options_validation.spec.js spec/options/strictDefaults.spec.js spec/options/comment.spec.js spec/options/strictKeywords.spec.js spec/options/options_reporting.spec.js spec/options/unknownFormats.spec.js spec/options/options_refs.spec.js spec/options/schemaId.spec.js spec/options/removeAdditional.spec.js spec/options/useDefaults.spec.js spec/options/ownProperties.spec.js spec/options/meta_validateSchema.spec.js spec/async.spec.js spec/issues/617_full_format_leap_year.spec.js spec/issues/204_options_schemas_data_together.spec.js spec/issues/50_refs_with_definitions.spec.js spec/issues/182_nan_validation.spec.js spec/issues/181_allErrors_custom_keyword_skipped.spec.js spec/issues/240_mutual_recur_frags_common_ref.spec.js spec/issues/8_shared_refs.spec.js spec/issues/955_removeAdditional_custom_keywords.spec.js spec/issues/259_validate_meta_against_itself.spec.js spec/issues/273_error_schemaPath_refd_schema.spec.js spec/issues/768_passContext_recursive_ref.spec.js spec/issues/1001_addKeyword_and_schema_without_id.spec.js spec/issues/485_type_validation_priority.spec.js spec/issues/533_missing_ref_error_when_ignore.spec.js spec/issues/342_uniqueItems_non-json_objects.spec.js spec/issues/743_removeAdditional_to_remove_proto.spec.js spec/issues/210_mutual_recur_frags.spec.js spec/issues/521_wrong_warning_id_property.spec.js +++ find spec -name '*.spec.js' +++ grep -v -f debian/tests/test_exclude ++ mocha spec/coercion.spec.js spec/custom.spec.js spec/issues/181_allErrors_custom_keyword_skipped.spec.js spec/issues/521_wrong_warning_id_property.spec.js spec/issues/485_type_validation_priority.spec.js spec/issues/1001_addKeyword_and_schema_without_id.spec.js spec/issues/182_nan_validation.spec.js spec/issues/768_passContext_recursive_ref.spec.js spec/issues/259_validate_meta_against_itself.spec.js spec/issues/617_full_format_leap_year.spec.js spec/issues/342_uniqueItems_non-json_objects.spec.js spec/issues/210_mutual_recur_frags.spec.js spec/issues/533_missing_ref_error_when_ignore.spec.js spec/issues/743_removeAdditional_to_remove_proto.spec.js spec/issues/273_error_schemaPath_refd_schema.spec.js spec/issues/50_refs_with_definitions.spec.js spec/issues/955_removeAdditional_custom_keywords.spec.js spec/issues/240_mutual_recur_frags_common_ref.spec.js spec/issues/8_shared_refs.spec.js spec/issues/204_options_schemas_data_together.spec.js spec/errors.spec.js spec/async.spec.js spec/options/removeAdditional.spec.js spec/options/comment.spec.js spec/options/unknownFormats.spec.js spec/options/schemaId.spec.js spec/options/options_add_schemas.spec.js spec/options/strictKeywords.spec.js spec/options/meta_validateSchema.spec.js spec/options/options_refs.spec.js spec/options/options_code.spec.js spec/options/options_reporting.spec.js spec/options/options_validation.spec.js spec/options/strictDefaults.spec.js spec/options/nullable.spec.js spec/options/useDefaults.spec.js spec/options/ownProperties.spec.js spec/ajv.spec.js spec/resolve.spec.js spec/boolean.spec.js + + + Type coercion + undefined should coerce scalar values (59ms) + undefined should coerce scalar values (coerceTypes = array) (44ms) + undefined should coerce values in objects/arrays and update properties/items (96ms) + undefined should coerce to multiple types in order with number type + undefined should coerce to multiple types in order with integer type + undefined should fail to coerce non-number if multiple properties/items are coerced (issue #152) + undefined should update data if the schema is in ref that is not inlined + undefined should generate one error for type with coerceTypes option (issue #469) + undefined should check "uniqueItems" after coercion + undefined should check "contains" after coercion + + Custom keywords + custom rules + rule with "interpreted" keyword validation + undefined should add and validate rule (85ms) + undefined should add, validate keyword schema and validate rule (74ms) + undefined should pass parent schema to "interpreted" keyword validation (48ms) + undefined should validate meta schema and pass parent schema to "interpreted" keyword validation (52ms) + undefined should allow defining custom errors for "interpreted" keyword (44ms) + rule with "compiled" keyword validation + undefined should add and validate rule (39ms) + undefined should add, validate keyword schema and validate rule + undefined should compile keyword validating function only once per schema + undefined should allow multiple schemas for the same keyword (39ms) + undefined should pass parent schema to "compiled" keyword validation (41ms) + undefined should allow multiple parent schemas for the same keyword (40ms) + macro rules + undefined should add and validate rule with "macro" keyword + undefined should add and expand macro rule + undefined should allow multiple schemas for the same macro keyword (40ms) + undefined should pass parent schema to "macro" keyword (43ms) + undefined should allow multiple parent schemas for the same macro keyword (42ms) + undefined should support resolving $ref without id or $id (56ms) + undefined should recursively expand macro keywords (45ms) + undefined should correctly expand multiple macros on the same level (38ms) + undefined should validate macro keyword when it resolves to the same keyword as exists + undefined should correctly expand macros in subschemas + undefined should correctly expand macros in macro expansions (39ms) + undefined should throw exception if macro expansion is an invalid schema + inline rules + undefined should add and validate rule with "inline" code keyword + undefined should pass parent schema to "inline" keyword (40ms) + undefined should define "inline" keyword as template + undefined should define "inline" keyword without errors (38ms) + undefined should allow defining optional errors (40ms) + undefined should allow defining required errors (39ms) + $data reference support with custom keywords (with $data option) + undefined should validate "interpreted" rule (133ms) + undefined should validate rule with "compile" and "validate" funcs (123ms) + undefined should validate with "compile" and "validate" funcs with meta-schema (70ms) + undefined should validate rule with "macro" and "validate" funcs (60ms) + undefined should validate with "macro" and "validate" funcs with meta-schema (65ms) + undefined should validate rule with "inline" and "validate" funcs (57ms) + undefined should validate with "inline" and "validate" funcs with meta-schema (62ms) + undefined should fail if keyword definition has "$data" but no "validate" + addKeyword method + undefined should throw if defined keyword is passed + undefined should throw if keyword is not a valid name + undefined should return instance of itself + undefined should throw if unknown type is passed + getKeyword + undefined should return boolean for pre-defined and unknown keywords + undefined should return keyword definition for custom keywords + removeKeyword + undefined should remove and allow redefining custom keyword + undefined should remove and allow redefining standard keyword + undefined should return instance of itself + custom keywords mutating data + undefined should NOT update data without option modifying + undefined should update data with option modifying + custom keywords with predefined validation result + undefined should ignore result from validation function + undefined should throw exception if used with macro keyword + "dependencies" in keyword definition + undefined should require properties in the parent schema + undefined 'dependencies'should be array of valid strings + + issue #181, custom keyword is not validated in allErrors mode if there were previous error + undefined should validate custom keyword that doesn't create errors + undefined should validate custom keyword that creates errors + + issue #521, incorrect warning with "id" property + undefined should not log warning + + issue #485, order of type validation + undefined should validate types before keywords + + issue #1001: addKeyword breaks schema without ID + undefined should allow using schemas without ID with addKeyword + + issue #182, NaN validation + undefined should not pass minimum/maximum validation + undefined should pass type: number validation + undefined should not pass type: integer validation + + issue #768, fix passContext in recursive $ref + passContext = true + undefined should pass this value as context to custom keyword validation function + passContext = false + undefined should pass ajv instance as context to custom keyword validation function + ref is fragment and passContext = true + undefined should pass this value as context to custom keyword validation function + ref is fragment and passContext = false + undefined should pass ajv instance as context to custom keyword validation function + + issue #259, support validating [meta-]schemas against themselves + undefined should add schema before validation if "id" is the same as "$schema" + + PR #617, full date format validation should understand leap years + undefined should handle non leap year affected dates with date-time + undefined should handle non leap year affected dates with date + undefined should handle year leaps as date-time + undefined should handle year leaps as date + + issue #342, support uniqueItems with some non-JSON objects + undefined should allow different RegExps + undefined should allow different Dates + undefined should allow undefined properties + + issue #210, mutual recursive $refs that are schema fragments + undefined should compile and validate schema when one ref is fragment + undefined should compile and validate schema when both refs are fragments + + issue #533, throwing missing ref exception with option missingRefs: "ignore" +can't resolve reference #/definitions/missing from id # +can't resolve reference #/definitions/missing from id # + undefined should pass validation without throwing exception + undefined should throw exception during schema compilation with option missingRefs: true + issue #743, property __proto__ should be removed with removeAdditional option + undefined should remove additional properties + + issue #273, schemaPath in error in referenced schema + - should have canonic reference with hash after file name + + issue #50: references with "definitions" + undefined should be supported by addSchema + undefined should be supported by compile + + issue #955: option removeAdditional breaks custom keywords + undefined should support custom keywords with option removeAdditional + + issue #240, mutually recursive fragment refs reference a common schema + undefined should compile and validate schema when one ref is fragment + undefined should compile and validate schema when both refs are fragments + + issue #8: schema with shared references + undefined should be supported by addSchema + undefined should be supported by compile + + issue #204, options schemas and $data used together + undefined should use v5 metaschemas by default + + Validation errors + undefined error should include dataPath + undefined "refs" error should include dataPath + undefined "items" errors should include item index without quotes in dataPath (#48) + undefined should have correct schema path for additionalItems + "additionalProperties" errors + undefined should include property in dataPath with option errorDataPath="property" + undefined should NOT include property in dataPath WITHOUT option errorDataPath + errors when "additionalProperties" is schema + undefined should include property in dataPath with option errorDataPath="property" + undefined should NOT include property in dataPath WITHOUT option errorDataPath + "required" errors + undefined should include missing property in dataPath with option errorDataPath="property" + undefined should NOT include missing property in dataPath WITHOUT option errorDataPath + undefined large data/schemas with option errorDataPath="property" + undefined large data/schemas WITHOUT option errorDataPath + undefined with "properties" with option errorDataPath="property" + undefined with "properties" WITHOUT option errorDataPath + undefined in "anyOf" with option errorDataPath="property" + undefined in "anyOf" WITHOUT option errorDataPath + undefined should not validate required twice in large schemas with loopRequired option + undefined should not validate required twice with $data ref + "dependencies" errors + undefined should include missing property in dataPath with option errorDataPath="property" + undefined should NOT include missing property in dataPath WITHOUT option errorDataPath + "propertyNames" errors + undefined should add propertyName to errors + oneOf errors + undefined should have errors from inner schemas + undefined should return passing schemas in error params + anyOf errors + undefined should have errors from inner schemas + type errors + integer + undefined should have only one error in {allErrors: false} mode + undefined should return all errors in {allErrors: true} mode + keyword for another type + undefined should have only one error in {allErrors: false} mode + undefined should return all errors in {allErrors: true} mode + array of types + undefined should have only one error in {allErrors: false} mode + undefined should return all errors in {allErrors: true} mode + exclusiveMaximum/Minimum errors + undefined should include limits in error message + undefined should include limits in error message with $data + if/then/else errors + undefined if/then/else should include failing keyword in message and params + undefined if/then should include failing keyword in message and params + undefined if/else should include failing keyword in message and params + uniqueItems errors + undefined should not return uniqueItems error when non-unique items are of a different type than required + + compileAsync method + undefined should compile schemas loading missing schemas with options.loadSchema function + undefined should compile schemas loading missing schemas and return function via callback + undefined should correctly load schemas when missing reference has JSON path + undefined should correctly compile with remote schemas that have mutual references + undefined should correctly compile with remote schemas that reference the compiled schema + undefined should resolve reference containing "properties" segment with the same property (issue #220) + undefined should return compiled schema on the next tick if there are no references (#51) + undefined should queue calls so only one compileAsync executes at a time (#52) + undefined should throw exception if loadSchema is not passed + loading metaschemas (#334) + undefined should load metaschema if not available + undefined should load metaschema of referenced schema if not available + should return error via callback + undefined if passed schema is invalid + undefined if loaded schema is invalid + undefined if required schema is loaded but the reference cannot be resolved + undefined if loadSchema returned error + undefined if schema compilation throws some other exception + should return error via promise + undefined if passed schema is invalid + undefined if loaded schema is invalid + undefined if required schema is loaded but the reference cannot be resolved + undefined if loadSchema returned error + undefined if schema compilation throws some other exception + schema with multiple remote properties, the first is recursive schema (#801) + undefined should validate data + + removeAdditional option + undefined should remove all additional properties + undefined should remove properties that would error when `additionalProperties = false` + undefined should remove properties that would error when `additionalProperties = false` (many properties, boolean schema) + undefined should remove properties that would error when `additionalProperties` is a schema + + $comment option + = true + undefined should log the text from $comment keyword + function hook + undefined should pass the text from $comment keyword to the hook + + unknownFormats option + = true (default) + undefined should fail schema compilation if unknown format is used + undefined should fail validation if unknown format is used via $data + = "ignore (default before 5.0.0)" +unknown format "unknown" ignored in schema at path "#" +unknown format "unknown" ignored in schema at path "#" + undefined should pass schema compilation and be valid if unknown format is used + undefined should be valid if unknown format is used via $data + = [String] + undefined should pass schema compilation and be valid if allowed unknown format is used + undefined should be valid if allowed unknown format is used via $data + + schemaId option + = "$id" (default) +schema id ignored mySchema2 +schema id ignored mySchema2 +schema id ignored mySchema2 +schema id ignored mySchema2 +schema id ignored mySchema2 +schema id ignored mySchema2 +schema id ignored mySchema2 +schema id ignored mySchema2 + undefined should use $id and ignore id + = "id" +schema $id ignored mySchema2 +schema $id ignored mySchema2 +schema $id ignored mySchema2 +schema $id ignored mySchema2 + undefined should use id and ignore $id + = "auto" + undefined should use both id and $id + undefined should throw if both id and $id are available and different + + options to add schemas + schemas + undefined should add schemas from object + undefined should add schemas from array + addUsedSchema + = true + compile and validate + undefined should add schema + undefined should throw with duplicate ID + = undefined + compile and validate + undefined should add schema + undefined should throw with duplicate ID + = false + compile and validate + undefined should NOT add schema + undefined should NOT throw with duplicate ID + serialize + undefined should use custom function to serialize schema to string + + strictKeywords option + strictKeywords = false + undefined should NOT throw an error or log a warning given an unknown keyword + strictKeywords = true + undefined should throw an error given an unknown keyword in the schema root when strictKeywords is true + strictKeywords = "log" + undefined should log a warning given an unknown keyword in the schema root when strictKeywords is "log" + unknown keyword inside schema that has no known keyword in compound keyword + undefined should throw an error given an unknown keyword when strictKeywords is true + + meta and validateSchema options + undefined should add draft-7 meta schema by default +meta-schema not available + undefined should throw if meta: false and validateSchema: true + undefined should skip schema validation with validateSchema: false +schema is invalid: data.type should be equal to one of the allowed values, data.type should be array, data.type should match some schema in anyOf +meta-schema not available + undefined should not throw on invalid schema with validateSchema: "log" + undefined should validate v6 schema + undefined should use option meta as default meta schema + + referenced schema options + extendRefs + = true + undefined should allow extending $ref with other keywords + undefined should NOT log warning if extendRefs is true + = "ignore" and default +$ref: keywords ignored in schema at path "#" +$ref: keywords ignored in schema at path "#/properties/foo" +$ref: keywords ignored in schema at path "#" +$ref: keywords ignored in schema at path "#/properties/foo" + undefined should ignore other keywords when $ref is used + undefined should log warning when other keywords are used with $ref + = "fail" + undefined should fail schema compilation if other keywords are used with $ref + missingRefs + undefined should throw if ref is missing without this option +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # + undefined should not throw and pass validation with missingRef == "ignore" +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # +can't resolve reference missing_reference from id # + undefined should not throw and fail validation with missingRef == "fail" if the ref is used + + code generation options + sourceCode + = true + undefined should add source.code property + = false and default + undefined should not add source and sourceCode properties + processCode + undefined should process generated code (126ms) + passContext option + = true + undefined should pass this value as context to custom keyword validation function + = false + undefined should pass ajv instance as context to custom keyword validation function + + reporting options + verbose + undefined should add schema, parentSchema and data to errors with verbose option == true + allErrors + undefined should be disabled inside "not" keyword + logger + undefined no custom logger is given - global console should be used + undefined custom logger is an object - logs should only report to it + undefined logger option is false - no logs should be reported + undefined logger option is an object without required methods - an error should be thrown + + validation options + format + undefined should not validate formats if option format == false + formats + undefined should add formats from options + keywords +meta-schema not available + undefined should add keywords from options + uniqueItems + undefined should not validate uniqueItems with uniqueItems option == false + unicode + undefined should use String.prototype.length with unicode option == false + multipleOfPrecision + undefined should allow for some deviation from 0 when validating multipleOf with value < 1 + + strictDefaults option + useDefaults = true + strictDefaults = false + undefined should NOT throw an error or log a warning given an ignored default + undefined should NOT throw an error or log a warning given an ignored default + strictDefaults = true + undefined should throw an error given an ignored default in the schema root when strictDefaults is true + undefined should throw an error given an ignored default in oneOf when strictDefaults is true + strictDefaults = "log" + undefined should log a warning given an ignored default in the schema root when strictDefaults is "log" + undefined should log a warning given an ignored default in oneOf when strictDefaults is "log" + useDefaults = false + strictDefaults = true + undefined should NOT throw an error given an ignored default in the schema root when useDefaults is false + undefined should NOT throw an error given an ignored default in oneOf when useDefaults is false + + nullable option + = true + undefined should add keyword "nullable" + undefined should respect "nullable" == false with opts.nullable == true + without option "nullable" + undefined should ignore keyword nullable + + useDefaults options + undefined should replace undefined property with default value + undefined should replace undefined item with default value + undefined should apply default in "then" subschema (issue #635) + useDefaults: by value / by reference + using by value + undefined should NOT modify underlying defaults when modifying validated data + using by reference + undefined should modify underlying defaults when modifying validated data + defaults with "empty" values + undefined should NOT assign defaults when useDefaults is true/"shared" + undefined should assign defaults when useDefaults = "empty" + + ownProperties option + undefined should only validate own properties with additionalProperties + undefined should only validate own properties with properties keyword + undefined should only validate own properties with required keyword + undefined should only validate own properties with required keyword - many properties + undefined should only validate own properties with required keyword as $data (43ms) + undefined should only validate own properties with properties and required keyword + undefined should only validate own properties with dependencies keyword + undefined should only validate own properties with schema dependencies + undefined should only validate own properties with patternProperties + undefined should only validate own properties with propertyNames Ajv undefined should create instance compile method - undefined should compile schema and return validating function (114ms) + undefined should compile schema and return validating function undefined should cache compiled functions for the same schema undefined should throw if different schema has the same id undefined should throw if invalid schema is compiled Error compiling schema, function code: var customRule0 = customRules[0]; var validate = function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; var vErrors = null; var errors = 0; if (rootData === undefined) rootData = data; var errs__0 = errors;var valid0; valid0 = data % 2 !=== 0; if ( !valid0) { if (errs__0 == errors) { validate.errors = [ { keyword: 'even' , dataPath: (dataPath || '') + "" , schemaPath: '#/even' , params: { keyword: 'even' } , message: 'should pass "even" keyword validation' } ]; return false; } else { for (var i0=errs__0; i0