Diff of the two buildlogs: -- --- b1/build.log 2020-08-08 14:51:47.365446652 +0000 +++ b2/build.log 2020-08-08 14:52:20.144432064 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Aug 8 02:48:21 -12 2020 -I: pbuilder-time-stamp: 1596898101 +I: Current time: Sat Sep 11 11:14:48 +14 2021 +I: pbuilder-time-stamp: 1631308488 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Fri Feb 2 00:47:33 2018 -12 +gpgv: Signature made Sat Feb 3 02:47:33 2018 +14 gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-ffi-yajl_2.3.1-1.dsc @@ -29,138 +29,172 @@ dpkg-source: info: applying 0001-Use-the-system-libyajl2.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/25924/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7979/tmp/hooks/D01_modify_environment starting +debug: Running on profitbricks-build16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/7979/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7979/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=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='d3f41caa236e4a809d3ef4d1873c70c4' - 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='25924' - PS1='# ' - PS2='> ' + INVOCATION_ID=15218de6f9d04076b161caaa3d531f8d + 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=7979 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.5w0uWpNV0x/pbuilderrc_C9Ix --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.5w0uWpNV0x/b1 --logfile b1/build.log ruby-ffi-yajl_2.3.1-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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/tmp.5w0uWpNV0x/pbuilderrc_kTmj --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.5w0uWpNV0x/b2 --logfile b2/build.log ruby-ffi-yajl_2.3.1-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux profitbricks-build12-i386 4.19.0-10-686-pae #1 SMP Debian 4.19.132-1 (2020-07-24) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux I: ls -l /bin - total 5480 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 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 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 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 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 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 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 206392 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 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 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 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 7 20:26 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 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/25924/tmp/hooks/D02_print_environment finished + total 5476 + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 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 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 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 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 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 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 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 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 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 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 11 11:14 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 11 04:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 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/7979/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -341,7 +375,7 @@ Get: 135 http://deb.debian.org/debian buster/main i386 ruby-thread-order all 1.1.0-1 [5096 B] Get: 136 http://deb.debian.org/debian buster/main i386 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 137 http://deb.debian.org/debian buster/main i386 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] -Fetched 43.8 MB in 9s (4903 kB/s) +Fetched 43.8 MB in 1s (73.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19234 files and directories currently installed.) @@ -921,7 +955,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-ffi-yajl-2.3.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-ffi-yajl-2.3.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-ffi-yajl dpkg-buildpackage: info: source version 2.3.1-1 dpkg-buildpackage: info: source distribution unstable @@ -964,37 +998,37 @@ install -d /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/bin install -D -m755 /build/ruby-ffi-yajl-2.3.1/bin/ffi-yajl-bench /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/bin/ffi-yajl-bench install -d /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_json_and_marshal.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode_profile.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode_profile.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_profile_ruby_prof.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode_json_and_yaml.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode_json_and_yaml.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_profile.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_profile.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_json_and_yaml.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode_json_and_marshal.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode_json_and_marshal.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/http.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/http.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_stream.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_stream.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/MIT-LICENSE /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/MIT-LICENSE -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/ohai.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/ohai.json -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/item.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/item.json -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/ohai.marshal_dump /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/ohai.marshal_dump +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_json_and_yaml.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_json_and_yaml.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode_profile.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode_profile.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_json_and_marshal.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_json_and_marshal.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_profile_ruby_prof.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_profile_ruby_prof.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/unicode.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/unicode.json install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/twitter_stream.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/twitter_stream.json install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/ohai.yml /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/ohai.yml -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/unicode.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/unicode.json install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/twitter_search.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/twitter_search.json +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/item.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/item.json +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/ohai.marshal_dump /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/ohai.marshal_dump +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/subjects/ohai.json /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/subjects/ohai.json +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/MIT-LICENSE /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/MIT-LICENSE +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode_json_and_yaml.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode_json_and_yaml.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/encode_json_and_marshal.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/encode_json_and_marshal.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark/parse_stream.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark/parse_stream.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/ext.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/ext.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/parser.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/parser.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/version.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/version.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/ext.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/ext.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/encoder.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/encoder.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/map_library_name.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/map_library_name.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/platform.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/platform.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/ffi.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/ffi.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/ffi/parser.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/ffi/parser.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/ffi/encoder.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/ffi/encoder.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/benchmark.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/benchmark.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/encoder.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/encoder.rb +install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl/platform.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl/platform.rb install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/libyajl2.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/libyajl2.rb -install -D -m644 /build/ruby-ffi-yajl-2.3.1/lib/ffi_yajl.rb /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/ruby/vendor_ruby/ffi_yajl.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build native extensions for ruby2.5 │ @@ -1002,7 +1036,7 @@ /usr/bin/ruby2.5 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /build/ruby-ffi-yajl-2.3.1 debian/ruby-ffi-yajl current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen -/usr/bin/ruby2.5 -r ./siteconf20200808-20368-uchzmn.rb extconf.rb +/usr/bin/ruby2.5 -r ./siteconf20210911-12980-1buia0i.rb extconf.rb -g -O2 -fdebug-prefix-map=/build/ruby2.5-s19UOV/ruby2.5-2.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic checking for dlfcn.h... yes @@ -1024,13 +1058,13 @@ current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen make V=1 "DESTDIR=" install make[2]: Entering directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen' -/bin/mkdir -p . ./.gem.20200808-20368-11av82i/ffi_yajl/ext +/bin/mkdir -p . ./.gem.20210911-12980-13tbwom/ffi_yajl/ext exit > .sitearchdir.-.ffi_yajl.-.ext.time -/usr/bin/install -c -m 0755 dlopen.so ./.gem.20200808-20368-11av82i/ffi_yajl/ext +/usr/bin/install -c -m 0755 dlopen.so ./.gem.20210911-12980-13tbwom/ffi_yajl/ext make[2]: Leaving directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen' rm -f /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/mkmf.log current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder -/usr/bin/ruby2.5 -r ./siteconf20200808-20368-31wtn1.rb extconf.rb +/usr/bin/ruby2.5 -r ./siteconf20210911-12980-19rc067.rb extconf.rb -g -O2 -fdebug-prefix-map=/build/ruby2.5-s19UOV/ruby2.5-2.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic checking for yajl/yajl_tree.h... yes @@ -1054,13 +1088,13 @@ current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder make V=1 "DESTDIR=" install make[2]: Entering directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder' -/bin/mkdir -p . ./.gem.20200808-20368-m14rb2/ffi_yajl/ext +/bin/mkdir -p . ./.gem.20210911-12980-70n0n6/ffi_yajl/ext exit > .sitearchdir.-.ffi_yajl.-.ext.time -/usr/bin/install -c -m 0755 encoder.so ./.gem.20200808-20368-m14rb2/ffi_yajl/ext +/usr/bin/install -c -m 0755 encoder.so ./.gem.20210911-12980-70n0n6/ffi_yajl/ext make[2]: Leaving directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder' rm -f /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/mkmf.log current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser -/usr/bin/ruby2.5 -r ./siteconf20200808-20368-2dwwiv.rb extconf.rb +/usr/bin/ruby2.5 -r ./siteconf20210911-12980-16mfkli.rb extconf.rb -g -O2 -fdebug-prefix-map=/build/ruby2.5-s19UOV/ruby2.5-2.5.5=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic checking for yajl/yajl_tree.h... yes @@ -1081,9 +1115,9 @@ current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser make V=1 "DESTDIR=" install make[2]: Entering directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser' -/bin/mkdir -p . ./.gem.20200808-20368-19dfmta/ffi_yajl/ext +/bin/mkdir -p . ./.gem.20210911-12980-55c00m/ffi_yajl/ext exit > .sitearchdir.-.ffi_yajl.-.ext.time -/usr/bin/install -c -m 0755 parser.so ./.gem.20200808-20368-19dfmta/ffi_yajl/ext +/usr/bin/install -c -m 0755 parser.so ./.gem.20210911-12980-55c00m/ffi_yajl/ext make[2]: Leaving directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser' rm -f /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/mkmf.log Rewriting shebang line of /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/bin/ffi-yajl-bench @@ -1109,78 +1143,110 @@ /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation WARN: yajl cannot be loaded, expected if this is jruby -Randomized with seed 58953 +Randomized with seed 47366 + +FFI_Yajl::Encoder + encodes false in keys as strings + can encode DateTime objects + encodes an object in a key which has a #to_json method as strings + can encode 32-bit unsigned ints + encodes floats in keys as strings + can encode Date objects + encodes symbols in values as strings + encodes fixnums in keys as strings + encodes nil in keys as strings + encodes bignums in keys as strings + encodes hashes in keys as strings + raises an exception for deeply nested hashes + raises an exception for deeply nested arrays + encodes true in keys as strings + encodes arrays in keys as strings + can encode StringIOs + encodes objects in keys as strings + encodes symbols in keys as strings + when encoding invalid utf-8 + raises an error on invalid json + when validate_utf8 is off + does not grow after a round trip + returns valid utf8 + does not raise an error + returns utf8 + does not mangle valid utf8 + when encoding Time objects in UTC timezone + encodes them correctly + testing .to_json for Objects + calls .to_s for objects without .to_json + calls .to_json for objects wit .to_json + when the encoder has nil passed in for options + does not throw an exception FFI_Yajl::Parser - when options are set to nil + when options are set to empty hash when using the class method behaves like correct json parsing + when json has 23456789012E666 + should return infinity when dealing with too much or too little input - when trailing brackets are missing - raises an exception - when an extra bracket is present - raises an exception when an extra brace is present raises an exception with allow_trailing_garbage parses + when an extra bracket is present + raises an exception + when trailing brackets are missing + raises an exception when trailing braces are missing raises an exception - when parsing bare null - should parse to the nil value - when parsing heavy metal umlauts in keys - correctly parses - should ignore repeated keys by default - should replace the first hash key with the second - should raise an exception for repeated keys - should raise when parsing nil should not coredump ruby - when json has 23456789012E666 - should return infinity - when json has comments - by default - should parse - when allow_comments is false - should not parse - when allow_comments is true - should parse - when parsing bare string - should parse to the string value - when parsing 2147483649 - should parse corectly - when parsing long hash keys with symbolize_keys option - parses + should ignore repeated keys by default + should replace the first hash key with the second + when parsing bare true + should parse to the true value when parsing floats - parses floats with positive exponents and a small e - correctly parses parses floats with an exponent without a sign and a small e correctly parses parses floats with negative exponents and a large E correctly parses parses floats with negative exponents and a small e correctly parses - parses simple floating point values - correctly parses parses simple negative floating point values correctly parses + parses floats with positive exponents and a large E + correctly parses + parses simple floating point values + correctly parses parses floats with an exponent without a sign and a large E correctly parses - parses floats with positive exponents and a large E + parses floats with positive exponents and a small e correctly parses - when JSON is a StringIO - should parse - when json has multiline comments - when allow_comments is false - should not parse - when allow_comments is true - should parse + should raise an exception for repeated keys + should raise when parsing 5687389800 should parse corectly - when parsing bare true - should parse to the true value - when parsing bare int - should parse to the int value + when parsing 1046289770033519442869495707521600000000 + should parse corectly + when parsing a JSON string + should parse correctly + when passing a block + should parse correctly (PENDING: handle blocks) + when symbolize_keys is true + should symbolize keys correctly + when a parsed key has utf-8 multibyte characters + should parse correctly + when symbolize_keys is true + should parse non-ascii symbols in UTF-8 + should symbolize keys correctly + when parsing a JSON hash with only strings + when Encoding.default_internal is us-ascii + encodes values to us-ascii (PENDING: fix us-ascii) + encodes keys to us-ascii (PENDING: fix us-ascii) + when Encoding.default_internal is nil + encodes values to UTF-8 + encodes keys to UTF-8 + when Encoding.default_internal is utf-8 + encodes values to utf-8 + encodes keys to utf-8 when json is invalid UTF8 should not parse by default when :check_utf8 is set to false @@ -1189,488 +1255,382 @@ should raise an ArgumentError when :dont_validate_strings is set to true should parse + when :dont_validate_strings is set to true + should parse when :check_utf8 is set to true should not parse - when :dont_validate_strings is set to true - should raise an ArgumentError when :dont_validate_strings is set to false should not parse - when :dont_validate_strings is set to true - should parse + when :dont_validate_strings is set to true + should raise an ArgumentError when :dont_validate_strings is set to false should not parse + when parsing bare null + should parse to the nil value + when parsing long hash keys with symbolize_keys option + parses when parsing bare false should parse to the false value - when parsing a JSON string - should parse correctly - when symbolize_keys is true - should symbolize keys correctly - when passing a block - should parse correctly (PENDING: handle blocks) - when parsing 1046289770033519442869495707521600000000 - should parse corectly - when a parsed key has utf-8 multibyte characters - should parse correctly - when symbolize_keys is true - should symbolize keys correctly - should parse non-ascii symbols in UTF-8 - when parsing big floats - parses when the JSON is empty string returns nil - when parsing a JSON hash with only strings - when Encoding.default_internal is us-ascii - encodes values to us-ascii (PENDING: fix us-ascii) - encodes keys to us-ascii (PENDING: fix us-ascii) - when Encoding.default_internal is utf-8 - encodes keys to utf-8 - encodes values to utf-8 - when Encoding.default_internal is nil - encodes keys to UTF-8 - encodes values to UTF-8 + when parsing 2147483649 + should parse corectly when parsing bare float should parse to the a float - when json has inline comments + when parsing bare string + should parse to the string value + when parsing heavy metal umlauts in keys + correctly parses + when json has multiline comments when allow_comments is true should parse when allow_comments is false should not parse - when using a parsing object - behaves like correct json parsing + when parsing bare int + should parse to the int value + when parsing big floats + parses when json has inline comments - when allow_comments is true - should parse - when allow_comments is false - should not parse - when parsing 1046289770033519442869495707521600000000 - should parse corectly - when json has multiline comments when allow_comments is false should not parse when allow_comments is true should parse - when parsing big floats - parses - when parsing bare null - should parse to the nil value - when parsing nil - should not coredump ruby - should ignore repeated keys by default - should replace the first hash key with the second when json has comments + when allow_comments is true + should parse when allow_comments is false should not parse by default should parse - when allow_comments is true - should parse - when parsing bare float - should parse to the a float - should raise an exception for repeated keys - should raise + when JSON is a StringIO + should parse + when using a parsing object + behaves like correct json parsing + when the JSON is empty string + returns nil when dealing with too much or too little input when trailing brackets are missing raises an exception - when trailing braces are missing + when an extra bracket is present raises an exception when an extra brace is present raises an exception with allow_trailing_garbage parses - when an extra bracket is present + when trailing braces are missing raises an exception + when parsing heavy metal umlauts in keys + correctly parses when parsing bare true should parse to the true value - when parsing a JSON string - should parse correctly - when symbolize_keys is true - should symbolize keys correctly - when passing a block - should parse correctly (PENDING: handle blocks) + when JSON is a StringIO + should parse + when json has comments + when allow_comments is true + should parse + by default + should parse + when allow_comments is false + should not parse + when parsing bare float + should parse to the a float when parsing bare int should parse to the int value - when parsing bare string - should parse to the string value - when parsing 2147483649 - should parse corectly - when json has 23456789012E666 - should return infinity - when the JSON is empty string - returns nil + when parsing bare false + should parse to the false value + when parsing a JSON hash with only strings + when Encoding.default_internal is utf-8 + encodes keys to utf-8 + encodes values to utf-8 + when Encoding.default_internal is us-ascii + encodes keys to us-ascii (PENDING: fix us-ascii) + encodes values to us-ascii (PENDING: fix us-ascii) + when Encoding.default_internal is nil + encodes keys to UTF-8 + encodes values to UTF-8 when a parsed key has utf-8 multibyte characters should parse correctly when symbolize_keys is true should parse non-ascii symbols in UTF-8 should symbolize keys correctly + when json has inline comments + when allow_comments is true + should parse + when allow_comments is false + should not parse + when parsing bare null + should parse to the nil value + when parsing 1046289770033519442869495707521600000000 + should parse corectly + when parsing nil + should not coredump ruby + when parsing a JSON string + should parse correctly + when symbolize_keys is true + should symbolize keys correctly + when passing a block + should parse correctly (PENDING: handle blocks) when parsing 5687389800 should parse corectly - when parsing bare false - should parse to the false value - when parsing floats - parses floats with positive exponents and a large E - correctly parses - parses floats with an exponent without a sign and a large E - correctly parses - parses floats with positive exponents and a small e - correctly parses - parses simple negative floating point values - correctly parses - parses floats with negative exponents and a large E - correctly parses - parses floats with negative exponents and a small e - correctly parses - parses simple floating point values - correctly parses - parses floats with an exponent without a sign and a small e - correctly parses + when parsing 2147483649 + should parse corectly + should raise an exception for repeated keys + should raise when parsing long hash keys with symbolize_keys option parses - when JSON is a StringIO - should parse when json is invalid UTF8 should not parse by default - when :dont_validate_strings is set to true - should parse when :check_utf8 is set to false should parse - when :dont_validate_strings is set to true - should parse when :dont_validate_strings is set to false should raise an ArgumentError - when :dont_validate_strings is set to false - should not parse + when :dont_validate_strings is set to true + should parse when :check_utf8 is set to true should not parse - when :dont_validate_strings is set to false - should not parse when :dont_validate_strings is set to true should raise an ArgumentError - when parsing heavy metal umlauts in keys - correctly parses - when parsing a JSON hash with only strings - when Encoding.default_internal is utf-8 - encodes values to utf-8 - encodes keys to utf-8 - when Encoding.default_internal is nil - encodes keys to UTF-8 - encodes values to UTF-8 - when Encoding.default_internal is us-ascii - encodes keys to us-ascii (PENDING: fix us-ascii) - encodes values to us-ascii (PENDING: fix us-ascii) - when options default to nothing - when using a parsing object - behaves like correct json parsing - when parsing bare false - should parse to the false value - when parsing bare null - should parse to the nil value - when json has comments - when allow_comments is false + when :dont_validate_strings is set to false + should not parse + when :dont_validate_strings is set to false should not parse - by default + when :dont_validate_strings is set to true should parse + when json has multiline comments when allow_comments is true should parse - when parsing bare float - should parse to the a float - when parsing bare string - should parse to the string value - when the JSON is empty string - returns nil - when json has 23456789012E666 - should return infinity - when dealing with too much or too little input - when an extra bracket is present - raises an exception - when trailing braces are missing - raises an exception - when trailing brackets are missing - raises an exception - when an extra brace is present - raises an exception - with allow_trailing_garbage - parses + when allow_comments is false + should not parse + should ignore repeated keys by default + should replace the first hash key with the second when parsing floats parses simple negative floating point values correctly parses - parses floats with negative exponents and a large E - correctly parses - parses floats with an exponent without a sign and a large E + parses simple floating point values correctly parses parses floats with negative exponents and a small e correctly parses + parses floats with positive exponents and a small e + correctly parses parses floats with positive exponents and a large E correctly parses - parses floats with positive exponents and a small e + parses floats with negative exponents and a large E correctly parses - parses floats with an exponent without a sign and a small e + parses floats with an exponent without a sign and a large E correctly parses - parses simple floating point values + parses floats with an exponent without a sign and a small e correctly parses + when parsing big floats + parses + when json has 23456789012E666 + should return infinity + when parsing bare string + should parse to the string value + when options default to nothing + when using a parsing object + behaves like correct json parsing when parsing bare true should parse to the true value - when JSON is a StringIO - should parse - when a parsed key has utf-8 multibyte characters + when parsing bare string + should parse to the string value + when json has multiline comments + when allow_comments is false + should not parse + when allow_comments is true + should parse + when parsing a JSON string should parse correctly + when passing a block + should parse correctly (PENDING: handle blocks) when symbolize_keys is true - should parse non-ascii symbols in UTF-8 should symbolize keys correctly - when parsing 1046289770033519442869495707521600000000 - should parse corectly when parsing big floats parses - when parsing 2147483649 - should parse corectly - should raise an exception for repeated keys - should raise - when parsing bare int - should parse to the int value - when parsing 5687389800 - should parse corectly - when parsing a JSON string + when json has 23456789012E666 + should return infinity + when a parsed key has utf-8 multibyte characters should parse correctly when symbolize_keys is true + should parse non-ascii symbols in UTF-8 should symbolize keys correctly - when passing a block - should parse correctly (PENDING: handle blocks) + when json has inline comments + when allow_comments is false + should not parse + when allow_comments is true + should parse + when parsing bare float + should parse to the a float should ignore repeated keys by default should replace the first hash key with the second when parsing heavy metal umlauts in keys correctly parses - when json has multiline comments - when allow_comments is false - should not parse + when parsing bare null + should parse to the nil value + when parsing long hash keys with symbolize_keys option + parses + when json has comments when allow_comments is true should parse - when parsing nil - should not coredump ruby - when json has inline comments when allow_comments is false should not parse - when allow_comments is true + by default should parse - when parsing a JSON hash with only strings - when Encoding.default_internal is us-ascii - encodes values to us-ascii (PENDING: fix us-ascii) - encodes keys to us-ascii (PENDING: fix us-ascii) - when Encoding.default_internal is nil - encodes keys to UTF-8 - encodes values to UTF-8 - when Encoding.default_internal is utf-8 - encodes values to utf-8 - encodes keys to utf-8 + when parsing nil + should not coredump ruby + when JSON is a StringIO + should parse when json is invalid UTF8 should not parse by default - when :check_utf8 is set to true - should not parse - when :dont_validate_strings is set to true - should raise an ArgumentError - when :dont_validate_strings is set to false - should not parse when :check_utf8 is set to false should parse when :dont_validate_strings is set to true should parse when :dont_validate_strings is set to false should raise an ArgumentError - when :dont_validate_strings is set to false - should not parse when :dont_validate_strings is set to true should parse - when parsing long hash keys with symbolize_keys option - parses - when using the class method - behaves like correct json parsing - when parsing bare null - should parse to the nil value - when parsing nil - should not coredump ruby - when parsing long hash keys with symbolize_keys option - parses - when json has 23456789012E666 - should return infinity - when parsing bare string - should parse to the string value - when parsing bare int - should parse to the int value - when a parsed key has utf-8 multibyte characters - should parse correctly - when symbolize_keys is true - should symbolize keys correctly - should parse non-ascii symbols in UTF-8 - when parsing bare false - should parse to the false value - when parsing bare true - should parse to the true value - when parsing 2147483649 - should parse corectly - should ignore repeated keys by default - should replace the first hash key with the second - when json has comments - when allow_comments is true - should parse - by default - should parse - when allow_comments is false + when :dont_validate_strings is set to false should not parse - when json is invalid UTF8 - should not parse by default when :check_utf8 is set to true should not parse - when :dont_validate_strings is set to false - should not parse when :dont_validate_strings is set to true should raise an ArgumentError - when :dont_validate_strings is set to true - should parse - when :dont_validate_strings is set to false - should not parse - when :check_utf8 is set to false - should parse when :dont_validate_strings is set to false - should raise an ArgumentError - when :dont_validate_strings is set to true - should parse - when parsing a JSON string - should parse correctly - when passing a block - should parse correctly (PENDING: handle blocks) - when symbolize_keys is true - should symbolize keys correctly - when parsing big floats - parses - when parsing 5687389800 - should parse corectly - when json has multiline comments - when allow_comments is true - should parse - when allow_comments is false - should not parse - when JSON is a StringIO - should parse + should not parse + should raise an exception for repeated keys + should raise + when dealing with too much or too little input + when trailing brackets are missing + raises an exception + when an extra bracket is present + raises an exception + when trailing braces are missing + raises an exception + when an extra brace is present + raises an exception + with allow_trailing_garbage + parses + when parsing bare int + should parse to the int value when parsing 1046289770033519442869495707521600000000 should parse corectly + when parsing 2147483649 + should parse corectly + when parsing 5687389800 + should parse corectly + when the JSON is empty string + returns nil when parsing a JSON hash with only strings + when Encoding.default_internal is utf-8 + encodes values to utf-8 + encodes keys to utf-8 when Encoding.default_internal is nil encodes values to UTF-8 encodes keys to UTF-8 when Encoding.default_internal is us-ascii encodes values to us-ascii (PENDING: fix us-ascii) encodes keys to us-ascii (PENDING: fix us-ascii) - when Encoding.default_internal is utf-8 - encodes keys to utf-8 - encodes values to utf-8 - should raise an exception for repeated keys - should raise - when json has inline comments - when allow_comments is true - should parse - when allow_comments is false - should not parse + when parsing bare false + should parse to the false value when parsing floats - parses simple negative floating point values - correctly parses - parses floats with an exponent without a sign and a small e - correctly parses parses floats with positive exponents and a large E correctly parses - parses floats with positive exponents and a small e + parses simple floating point values correctly parses - parses floats with an exponent without a sign and a large E + parses floats with an exponent without a sign and a small e + correctly parses + parses floats with negative exponents and a small e correctly parses parses floats with negative exponents and a large E correctly parses - parses simple floating point values + parses floats with positive exponents and a small e correctly parses - parses floats with negative exponents and a small e + parses simple negative floating point values correctly parses - when parsing bare float - should parse to the a float - when the JSON is empty string - returns nil - when dealing with too much or too little input - when trailing braces are missing - raises an exception - when an extra brace is present - raises an exception - with allow_trailing_garbage - parses - when an extra bracket is present - raises an exception - when trailing brackets are missing - raises an exception - when parsing heavy metal umlauts in keys - correctly parses - when options are set to empty hash - when using a parsing object + parses floats with an exponent without a sign and a large E + correctly parses + when using the class method behaves like correct json parsing + when parsing 2147483649 + should parse corectly when parsing nil should not coredump ruby - should raise an exception for repeated keys - should raise + when a parsed key has utf-8 multibyte characters + should parse correctly + when symbolize_keys is true + should symbolize keys correctly + should parse non-ascii symbols in UTF-8 + when json has inline comments + when allow_comments is true + should parse + when allow_comments is false + should not parse when parsing floats + parses floats with an exponent without a sign and a small e + correctly parses parses simple negative floating point values correctly parses parses simple floating point values correctly parses - parses floats with negative exponents and a large E + parses floats with positive exponents and a large E correctly parses - parses floats with an exponent without a sign and a small e + parses floats with negative exponents and a large E correctly parses parses floats with positive exponents and a small e correctly parses - parses floats with an exponent without a sign and a large E - correctly parses parses floats with negative exponents and a small e correctly parses - parses floats with positive exponents and a large E + parses floats with an exponent without a sign and a large E correctly parses - when parsing big floats - parses + when parsing bare true + should parse to the true value when json has comments + when allow_comments is true + should parse when allow_comments is false should not parse by default should parse + when json has multiline comments + when allow_comments is false + should not parse when allow_comments is true should parse - when json has 23456789012E666 - should return infinity - when parsing bare true - should parse to the true value - when parsing 2147483649 - should parse corectly + should ignore repeated keys by default + should replace the first hash key with the second + when parsing bare false + should parse to the false value + when parsing big floats + parses when parsing heavy metal umlauts in keys correctly parses + when parsing bare int + should parse to the int value + when json has 23456789012E666 + should return infinity + when parsing long hash keys with symbolize_keys option + parses + when parsing a JSON string + should parse correctly + when passing a block + should parse correctly (PENDING: handle blocks) + when symbolize_keys is true + should symbolize keys correctly + should raise an exception for repeated keys + should raise when dealing with too much or too little input - when an extra bracket is present + when trailing brackets are missing raises an exception when an extra brace is present raises an exception with allow_trailing_garbage parses - when trailing brackets are missing + when an extra bracket is present raises an exception when trailing braces are missing raises an exception - when parsing a JSON hash with only strings - when Encoding.default_internal is nil - encodes values to UTF-8 - encodes keys to UTF-8 - when Encoding.default_internal is us-ascii - encodes keys to us-ascii (PENDING: fix us-ascii) - encodes values to us-ascii (PENDING: fix us-ascii) - when Encoding.default_internal is utf-8 - encodes keys to utf-8 - encodes values to utf-8 - when a parsed key has utf-8 multibyte characters - should parse correctly - when symbolize_keys is true - should symbolize keys correctly - should parse non-ascii symbols in UTF-8 - when parsing bare string - should parse to the string value + when the JSON is empty string + returns nil when json is invalid UTF8 should not parse by default when :dont_validate_strings is set to false @@ -1689,141 +1649,241 @@ should not parse when :dont_validate_strings is set to true should raise an ArgumentError - should ignore repeated keys by default - should replace the first hash key with the second - when json has multiline comments - when allow_comments is true - should parse - when allow_comments is false - should not parse - when json has inline comments - when allow_comments is false - should not parse - when allow_comments is true - should parse - when parsing bare float - should parse to the a float - when parsing a JSON string - should parse correctly - when passing a block - should parse correctly (PENDING: handle blocks) - when symbolize_keys is true - should symbolize keys correctly when parsing bare null should parse to the nil value + when parsing bare string + should parse to the string value + when parsing bare float + should parse to the a float + when parsing 5687389800 + should parse corectly + when parsing 1046289770033519442869495707521600000000 + should parse corectly when JSON is a StringIO should parse + when parsing a JSON hash with only strings + when Encoding.default_internal is us-ascii + encodes values to us-ascii (PENDING: fix us-ascii) + encodes keys to us-ascii (PENDING: fix us-ascii) + when Encoding.default_internal is utf-8 + encodes keys to utf-8 + encodes values to utf-8 + when Encoding.default_internal is nil + encodes values to UTF-8 + encodes keys to UTF-8 + when options are set to nil + when using a parsing object + behaves like correct json parsing when parsing long hash keys with symbolize_keys option parses - when the JSON is empty string - returns nil - when parsing 1046289770033519442869495707521600000000 - should parse corectly - when parsing bare int - should parse to the int value - when parsing bare false - should parse to the false value - when parsing 5687389800 - should parse corectly - when using the class method - behaves like correct json parsing - when parsing bare int - should parse to the int value when parsing nil should not coredump ruby - when parsing 5687389800 + when JSON is a StringIO + should parse + when parsing heavy metal umlauts in keys + correctly parses + when parsing bare true + should parse to the true value + when json has 23456789012E666 + should return infinity + when parsing 1046289770033519442869495707521600000000 should parse corectly - should raise an exception for repeated keys - should raise - when parsing bare float - should parse to the a float when parsing floats - parses floats with negative exponents and a small e - correctly parses - parses floats with negative exponents and a large E - correctly parses - parses floats with an exponent without a sign and a small e + parses floats with positive exponents and a small e correctly parses - parses floats with positive exponents and a large E + parses simple floating point values correctly parses parses floats with an exponent without a sign and a large E correctly parses parses simple negative floating point values correctly parses - parses simple floating point values + parses floats with an exponent without a sign and a small e correctly parses - parses floats with positive exponents and a small e + parses floats with negative exponents and a large E correctly parses - when parsing a JSON string - should parse correctly - when passing a block - should parse correctly (PENDING: handle blocks) - when symbolize_keys is true - should symbolize keys correctly - when parsing big floats - parses + parses floats with negative exponents and a small e + correctly parses + parses floats with positive exponents and a large E + correctly parses + when parsing a JSON hash with only strings + when Encoding.default_internal is us-ascii + encodes keys to us-ascii (PENDING: fix us-ascii) + encodes values to us-ascii (PENDING: fix us-ascii) + when Encoding.default_internal is utf-8 + encodes values to utf-8 + encodes keys to utf-8 + when Encoding.default_internal is nil + encodes values to UTF-8 + encodes keys to UTF-8 when parsing bare string should parse to the string value - when parsing bare false - should parse to the false value - when parsing long hash keys with symbolize_keys option - parses - when parsing bare null - should parse to the nil value - when parsing 1046289770033519442869495707521600000000 + when parsing 5687389800 should parse corectly - when json has multiline comments - when allow_comments is false - should not parse - when allow_comments is true - should parse when dealing with too much or too little input when trailing brackets are missing raises an exception when an extra bracket is present raises an exception + when trailing braces are missing + raises an exception when an extra brace is present raises an exception with allow_trailing_garbage parses - when trailing braces are missing - raises an exception - when json has inline comments + when parsing big floats + parses + when parsing bare int + should parse to the int value + when json has comments when allow_comments is false should not parse + by default + should parse when allow_comments is true should parse + should raise an exception for repeated keys + should raise + when parsing bare false + should parse to the false value + when parsing a JSON string + should parse correctly + when symbolize_keys is true + should symbolize keys correctly + when passing a block + should parse correctly (PENDING: handle blocks) when parsing 2147483649 should parse corectly - when json has 23456789012E666 - should return infinity + should ignore repeated keys by default + should replace the first hash key with the second + when a parsed key has utf-8 multibyte characters + should parse correctly + when symbolize_keys is true + should symbolize keys correctly + should parse non-ascii symbols in UTF-8 + when json is invalid UTF8 + should not parse by default + when :check_utf8 is set to true + should not parse + when :dont_validate_strings is set to true + should raise an ArgumentError + when :dont_validate_strings is set to false + should not parse + when :dont_validate_strings is set to false + should not parse + when :check_utf8 is set to false + should parse + when :dont_validate_strings is set to false + should raise an ArgumentError + when :dont_validate_strings is set to true + should parse + when :dont_validate_strings is set to true + should parse + when parsing bare null + should parse to the nil value + when parsing bare float + should parse to the a float + when json has inline comments + when allow_comments is false + should not parse + when allow_comments is true + should parse + when json has multiline comments + when allow_comments is false + should not parse + when allow_comments is true + should parse + when the JSON is empty string + returns nil + when using the class method + behaves like correct json parsing + should raise an exception for repeated keys + should raise + when parsing 1046289770033519442869495707521600000000 + should parse corectly when parsing a JSON hash with only strings - when Encoding.default_internal is us-ascii - encodes values to us-ascii (PENDING: fix us-ascii) - encodes keys to us-ascii (PENDING: fix us-ascii) when Encoding.default_internal is utf-8 encodes keys to utf-8 encodes values to utf-8 when Encoding.default_internal is nil - encodes keys to UTF-8 encodes values to UTF-8 - when json has comments - by default + encodes keys to UTF-8 + when Encoding.default_internal is us-ascii + encodes values to us-ascii (PENDING: fix us-ascii) + encodes keys to us-ascii (PENDING: fix us-ascii) + when parsing 2147483649 + should parse corectly + when parsing bare float + should parse to the a float + when parsing big floats + parses + when a parsed key has utf-8 multibyte characters + should parse correctly + when symbolize_keys is true + should parse non-ascii symbols in UTF-8 + should symbolize keys correctly + when json has 23456789012E666 + should return infinity + when parsing 5687389800 + should parse corectly + when json has multiline comments + when allow_comments is true should parse when allow_comments is false should not parse - when allow_comments is true - should parse + when parsing a JSON string + should parse correctly + when symbolize_keys is true + should symbolize keys correctly + when passing a block + should parse correctly (PENDING: handle blocks) when the JSON is empty string returns nil + should ignore repeated keys by default + should replace the first hash key with the second + when parsing bare true + should parse to the true value + when parsing floats + parses floats with positive exponents and a small e + correctly parses + parses floats with an exponent without a sign and a small e + correctly parses + parses floats with negative exponents and a large E + correctly parses + parses floats with positive exponents and a large E + correctly parses + parses simple negative floating point values + correctly parses + parses floats with negative exponents and a small e + correctly parses + parses simple floating point values + correctly parses + parses floats with an exponent without a sign and a large E + correctly parses + when parsing bare string + should parse to the string value + when JSON is a StringIO + should parse + when dealing with too much or too little input + when trailing braces are missing + raises an exception + when an extra bracket is present + raises an exception + when trailing brackets are missing + raises an exception + when an extra brace is present + raises an exception + with allow_trailing_garbage + parses + when parsing bare null + should parse to the nil value + when parsing bare int + should parse to the int value + when parsing heavy metal umlauts in keys + correctly parses + when parsing nil + should not coredump ruby when json is invalid UTF8 should not parse by default - when :check_utf8 is set to false - should parse - when :dont_validate_strings is set to true - should parse - when :dont_validate_strings is set to false - should raise an ArgumentError when :check_utf8 is set to true should not parse when :dont_validate_strings is set to true @@ -1834,193 +1894,167 @@ should parse when :dont_validate_strings is set to false should not parse - when a parsed key has utf-8 multibyte characters - should parse correctly - when symbolize_keys is true - should symbolize keys correctly - should parse non-ascii symbols in UTF-8 - when parsing heavy metal umlauts in keys - correctly parses - when JSON is a StringIO - should parse - when parsing bare true - should parse to the true value - should ignore repeated keys by default - should replace the first hash key with the second + when :check_utf8 is set to false + should parse + when :dont_validate_strings is set to false + should raise an ArgumentError + when :dont_validate_strings is set to true + should parse + when parsing bare false + should parse to the false value + when parsing long hash keys with symbolize_keys option + parses + when json has inline comments + when allow_comments is true + should parse + when allow_comments is false + should not parse + when json has comments + when allow_comments is true + should parse + when allow_comments is false + should not parse + by default + should parse FFI_Yajl::MapLibraryName - #expanded_library_names - maps mingw correctly #dlopen_yajl_library - should call dlopen against an expanded library name if it finds it on hpux - if dlopen calls all raise it should still use the short names on hpux + should call dlopen against an expanded library name if it finds it on mswin + if dlopen calls all raise it should still use the short names on mswin #expanded_library_names - maps mswin correctly - #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on darwin - should call dlopen against an expanded library name if it finds it on darwin + maps netbsd correctly #expanded_library_names maps cygwin correctly - #expanded_library_names + ffi_open_yajl_library + if dlopen calls all raise it should still use 'yajl' on mingw + should call ffi_lib against an expanded library name if it finds it on mingw + #dlopen_yajl_library + should call dlopen against an expanded library name if it finds it on netbsd + if dlopen calls all raise it should still use the short names on netbsd + #library_names + maps openbsd correctly + #dlopen_yajl_library + should call dlopen against an expanded library name if it finds it on openbsd + if dlopen calls all raise it should still use the short names on openbsd + #library_names maps hpux correctly + #library_names + maps mingw correctly #expanded_library_names - maps linux correctly + maps mingw correctly #dlopen_yajl_library if dlopen calls all raise it should still use the short names on mingw should call dlopen against an expanded library name if it finds it on mingw - #expanded_library_names - maps solaris2 correctly - #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on solaris2 - should call dlopen against an expanded library name if it finds it on solaris2 ffi_open_yajl_library - if dlopen calls all raise it should still use 'yajl' on hpux - should call ffi_lib against an expanded library name if it finds it on hpux + should call ffi_lib against an expanded library name if it finds it on netbsd + if dlopen calls all raise it should still use 'yajl' on netbsd + #dlopen_yajl_library + if dlopen calls all raise it should still use the short names on cygwin + should call dlopen against an expanded library name if it finds it on cygwin + #expanded_library_names + maps mswin correctly #library_names maps netbsd correctly #library_names - maps linux correctly + maps cygwin correctly #library_names - maps hpux correctly + maps mswin correctly ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on cygwin - if dlopen calls all raise it should still use 'yajl' on cygwin + should call ffi_lib against an expanded library name if it finds it on hpux + if dlopen calls all raise it should still use 'yajl' on hpux #library_names maps freebsd correctly - #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on cygwin - should call dlopen against an expanded library name if it finds it on cygwin #library_names - maps mswin correctly - #library_names - maps mingw correctly - #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on mswin - should call dlopen against an expanded library name if it finds it on mswin - #expanded_library_names - maps openbsd correctly + maps linux correctly ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on darwin - if dlopen calls all raise it should still use 'yajl' on darwin + if dlopen calls all raise it should still use 'yajl' on mswin + should call ffi_lib against an expanded library name if it finds it on mswin + ffi_open_yajl_library + if dlopen calls all raise it should still use 'yajl' on aix + should call ffi_lib against an expanded library name if it finds it on aix + #dlopen_yajl_library + should call dlopen against an expanded library name if it finds it on aix + if dlopen calls all raise it should still use the short names on aix ffi_open_yajl_library if dlopen calls all raise it should still use 'yajl' on freebsd should call ffi_lib against an expanded library name if it finds it on freebsd #expanded_library_names - maps netbsd correctly + maps linux correctly + ffi_open_yajl_library + if dlopen calls all raise it should still use 'yajl' on openbsd + should call ffi_lib against an expanded library name if it finds it on openbsd + #expanded_library_names + maps aix correctly ffi_open_yajl_library should call ffi_lib against an expanded library name if it finds it on solaris2 if dlopen calls all raise it should still use 'yajl' on solaris2 ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on mingw - if dlopen calls all raise it should still use 'yajl' on mingw - ffi_open_yajl_library - if dlopen calls all raise it should still use 'yajl' on mswin - should call ffi_lib against an expanded library name if it finds it on mswin - #dlopen_yajl_library - should call dlopen against an expanded library name if it finds it on freebsd - if dlopen calls all raise it should still use the short names on freebsd + should call ffi_lib against an expanded library name if it finds it on darwin + if dlopen calls all raise it should still use 'yajl' on darwin #expanded_library_names - maps aix correctly + maps hpux correctly + #expanded_library_names + maps solaris2 correctly #library_names maps solaris2 correctly - #expanded_library_names - maps darwin correctly - ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on netbsd - if dlopen calls all raise it should still use 'yajl' on netbsd + #library_names + maps aix correctly ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on linux - if dlopen calls all raise it should still use 'yajl' on linux + should call ffi_lib against an expanded library name if it finds it on cygwin + if dlopen calls all raise it should still use 'yajl' on cygwin #library_names maps darwin correctly - #library_names - maps openbsd correctly - #library_names - maps aix correctly #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on aix - should call dlopen against an expanded library name if it finds it on aix - #expanded_library_names - maps freebsd correctly - ffi_open_yajl_library - if dlopen calls all raise it should still use 'yajl' on aix - should call ffi_lib against an expanded library name if it finds it on aix - ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on openbsd - if dlopen calls all raise it should still use 'yajl' on openbsd + should call dlopen against an expanded library name if it finds it on solaris2 + if dlopen calls all raise it should still use the short names on solaris2 #dlopen_yajl_library - should call dlopen against an expanded library name if it finds it on openbsd - if dlopen calls all raise it should still use the short names on openbsd + if dlopen calls all raise it should still use the short names on darwin + should call dlopen against an expanded library name if it finds it on darwin + #expanded_library_names + maps darwin correctly #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on linux should call dlopen against an expanded library name if it finds it on linux + if dlopen calls all raise it should still use the short names on linux + #expanded_library_names + maps openbsd correctly + #expanded_library_names + maps freebsd correctly #dlopen_yajl_library - should call dlopen against an expanded library name if it finds it on netbsd - if dlopen calls all raise it should still use the short names on netbsd - #library_names - maps cygwin correctly - -FFI_Yajl::Encoder - encodes floats in keys as strings - encodes symbols in keys as strings - encodes symbols in values as strings - encodes fixnums in keys as strings - encodes an object in a key which has a #to_json method as strings - raises an exception for deeply nested hashes - encodes objects in keys as strings - encodes bignums in keys as strings - raises an exception for deeply nested arrays - encodes true in keys as strings - can encode 32-bit unsigned ints - can encode DateTime objects - encodes arrays in keys as strings - can encode StringIOs - encodes false in keys as strings - can encode Date objects - encodes hashes in keys as strings - encodes nil in keys as strings - when encoding Time objects in UTC timezone - encodes them correctly - when encoding invalid utf-8 - raises an error on invalid json - when validate_utf8 is off - does not mangle valid utf8 - returns utf8 - does not grow after a round trip - does not raise an error - returns valid utf8 - testing .to_json for Objects - calls .to_json for objects wit .to_json - calls .to_s for objects without .to_json - when the encoder has nil passed in for options - does not throw an exception + should call dlopen against an expanded library name if it finds it on freebsd + if dlopen calls all raise it should still use the short names on freebsd + ffi_open_yajl_library + if dlopen calls all raise it should still use 'yajl' on linux + should call ffi_lib against an expanded library name if it finds it on linux + #dlopen_yajl_library + should call dlopen against an expanded library name if it finds it on hpux + if dlopen calls all raise it should still use the short names on hpux Pending: (Failures listed here are expected and do not affect your suite's status) - 1) FFI_Yajl::Parser when options are set to nil when using the class method behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly + 1) FFI_Yajl::Parser when options are set to empty hash when using the class method behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly # handle blocks # ./spec/ffi_yajl/parser_spec.rb:250 - 2) FFI_Yajl::Parser when options are set to nil when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii + 2) FFI_Yajl::Parser when options are set to empty hash when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:294 - 3) FFI_Yajl::Parser when options are set to nil when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii + 3) FFI_Yajl::Parser when options are set to empty hash when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:290 - 4) FFI_Yajl::Parser when options are set to nil when using a parsing object behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly - # handle blocks - # ./spec/ffi_yajl/parser_spec.rb:250 - - 5) FFI_Yajl::Parser when options are set to nil when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii + 4) FFI_Yajl::Parser when options are set to empty hash when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:290 - 6) FFI_Yajl::Parser when options are set to nil when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii + 5) FFI_Yajl::Parser when options are set to empty hash when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:294 + 6) FFI_Yajl::Parser when options are set to empty hash when using a parsing object behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly + # handle blocks + # ./spec/ffi_yajl/parser_spec.rb:250 + 7) FFI_Yajl::Parser when options default to nothing when using a parsing object behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly # handle blocks # ./spec/ffi_yajl/parser_spec.rb:250 @@ -2045,34 +2079,34 @@ # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:290 - 13) FFI_Yajl::Parser when options are set to empty hash when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii + 13) FFI_Yajl::Parser when options are set to nil when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:290 - 14) FFI_Yajl::Parser when options are set to empty hash when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii + 14) FFI_Yajl::Parser when options are set to nil when using a parsing object behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:294 - 15) FFI_Yajl::Parser when options are set to empty hash when using a parsing object behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly + 15) FFI_Yajl::Parser when options are set to nil when using a parsing object behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly # handle blocks # ./spec/ffi_yajl/parser_spec.rb:250 - 16) FFI_Yajl::Parser when options are set to empty hash when using the class method behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly - # handle blocks - # ./spec/ffi_yajl/parser_spec.rb:250 - - 17) FFI_Yajl::Parser when options are set to empty hash when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii + 16) FFI_Yajl::Parser when options are set to nil when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes values to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:294 - 18) FFI_Yajl::Parser when options are set to empty hash when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii + 17) FFI_Yajl::Parser when options are set to nil when using the class method behaves like correct json parsing when parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii # fix us-ascii # ./spec/ffi_yajl/parser_spec.rb:290 -Finished in 1.46 seconds (files took 0.43937 seconds to load) + 18) FFI_Yajl::Parser when options are set to nil when using the class method behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly + # handle blocks + # ./spec/ffi_yajl/parser_spec.rb:250 + +Finished in 0.78883 seconds (files took 0.21381 seconds to load) 448 examples, 0 failures, 18 pending -Randomized with seed 58953 +Randomized with seed 47366 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2097,29 +2131,31 @@ dh_strip -O--buildsystem=ruby dh_makeshlibs -O--buildsystem=ruby dh_shlibdeps -O--buildsystem=ruby -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so were not linked against libpthread.so.0 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so were not linked against libgmp.so.10 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so were not linked against libcrypt.so.1 (they use none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so were not linked against libm.so.6 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so were not linked against libgmp.so.10 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so were not linked against libm.so.6 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so were not linked against libpthread.so.0 (they use none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/encoder.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.5.0/ffi_yajl/ext/dlopen.so were not linked against libcrypt.so.1 (they use none of the library's symbols) dh_ruby_fixdepends -O--buildsystem=ruby dh_installdeb -O--buildsystem=ruby dh_gencontrol -O--buildsystem=ruby dh_md5sums -O--buildsystem=ruby dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-ffi-yajl-dbgsym' in '../ruby-ffi-yajl-dbgsym_2.3.1-1_i386.deb'. dpkg-deb: building package 'ruby-ffi-yajl' in '../ruby-ffi-yajl_2.3.1-1_i386.deb'. +dpkg-deb: building package 'ruby-ffi-yajl-dbgsym' in '../ruby-ffi-yajl-dbgsym_2.3.1-1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ruby-ffi-yajl_2.3.1-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/7979/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7979/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/25924 and its subdirectories -I: Current time: Sat Aug 8 02:51:46 -12 2020 -I: pbuilder-time-stamp: 1596898306 +I: removing directory /srv/workspace/pbuilder/7979 and its subdirectories +I: Current time: Sat Sep 11 11:15:19 +14 2021 +I: pbuilder-time-stamp: 1631308519