Diff of the two buildlogs: -- --- b1/build.log 2023-04-27 13:23:46.642974045 +0000 +++ b2/build.log 2023-04-27 13:25:08.059363836 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 29 07:45:37 -12 2024 -I: pbuilder-time-stamp: 1717011937 +I: Current time: Fri Apr 28 03:23:49 +14 2023 +I: pbuilder-time-stamp: 1682601830 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-ffi-yajl_2.3.1.orig.tar.gz] I: copying [./ruby-ffi-yajl_2.3.1-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Apr 5 03:09:49 2020 -12 +gpgv: Signature made Mon Apr 6 05:09:49 2020 +14 gpgv: using RSA key 6C9D10484A9AE4CC385F7C71823E967606C34B96 gpgv: issuer "utkarsh@debian.org" gpgv: Can't check signature: No public key @@ -30,52 +30,84 @@ dpkg-source: info: applying disable-test-failing-on-arm-arch.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7401/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7501/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 28 03:24 /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/7501/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7501/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges: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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='7401' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=7501 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.cu5L2gnE/pbuilderrc_sP2o --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.cu5L2gnE/b1 --logfile b1/build.log ruby-ffi-yajl_2.3.1-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.cu5L2gnE/pbuilderrc_dzHG --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.cu5L2gnE/b2 --logfile b2/build.log --extrapackages usrmerge ruby-ffi-yajl_2.3.1-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 28 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7401/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 27 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/7501/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -252,7 +284,7 @@ Get: 131 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 132 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 133 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 45.6 MB in 4s (10.5 MB/s) +Fetched 45.6 MB in 1s (41.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -807,8 +839,17 @@ 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/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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-ffi-yajl_2.3.1-3_source.changes +I: user script /srv/workspace/pbuilder/7501/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/7501/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-ffi-yajl_2.3.1-3_source.changes dpkg-buildpackage: info: source package ruby-ffi-yajl dpkg-buildpackage: info: source version 2.3.1-3 dpkg-buildpackage: info: source distribution unstable @@ -885,7 +926,7 @@ /usr/bin/ruby3.1 /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/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20240529-16024-wscs4i.rb", "extconf.rb"] +["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20230428-31447-b9jbw2.rb", "extconf.rb"] -g -O2 -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed checking for dlfcn.h... yes @@ -907,12 +948,12 @@ current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen ["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/ruby-ffi-yajl-2.3.1=.", "CXX=g++ -fdebug-prefix-map=/build/ruby-ffi-yajl-2.3.1=.", "DESTDIR=", "install"] make[2]: Entering directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen' -/bin/mkdir -p . ./.gem.20240529-16024-ixr2yr/ffi_yajl/ext +/bin/mkdir -p . ./.gem.20230428-31447-takrb/ffi_yajl/ext exit > .sitearchdir.-.ffi_yajl.-.ext.time -/usr/bin/install -c -m 0755 dlopen.so ./.gem.20240529-16024-ixr2yr/ffi_yajl/ext +/usr/bin/install -c -m 0755 dlopen.so ./.gem.20230428-31447-takrb/ffi_yajl/ext make[2]: Leaving directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen' current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen -/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20240529-16024-wscs4i.rb extconf.rb +/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230428-31447-b9jbw2.rb extconf.rb current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. DESTDIR\= clean current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/dlopen @@ -921,7 +962,7 @@ make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. DESTDIR\= install rm -f /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/mkmf.log current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder -["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20240529-16024-yx5cu1.rb", "extconf.rb"] +["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20230428-31447-juulo0.rb", "extconf.rb"] -g -O2 -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed checking for yajl/yajl_tree.h... yes @@ -945,12 +986,12 @@ current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder ["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/ruby-ffi-yajl-2.3.1=.", "CXX=g++ -fdebug-prefix-map=/build/ruby-ffi-yajl-2.3.1=.", "DESTDIR=", "install"] make[2]: Entering directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder' -/bin/mkdir -p . ./.gem.20240529-16024-d2gki9/ffi_yajl/ext +/bin/mkdir -p . ./.gem.20230428-31447-b4tb5m/ffi_yajl/ext exit > .sitearchdir.-.ffi_yajl.-.ext.time -/usr/bin/install -c -m 0755 encoder.so ./.gem.20240529-16024-d2gki9/ffi_yajl/ext +/usr/bin/install -c -m 0755 encoder.so ./.gem.20230428-31447-b4tb5m/ffi_yajl/ext make[2]: Leaving directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder' current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder -/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20240529-16024-yx5cu1.rb extconf.rb +/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230428-31447-juulo0.rb extconf.rb current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. DESTDIR\= clean current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/encoder @@ -959,7 +1000,7 @@ make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. DESTDIR\= install rm -f /build/ruby-ffi-yajl-2.3.1/debian/ruby-ffi-yajl/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/mkmf.log current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser -["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20240529-16024-ykuafn.rb", "extconf.rb"] +["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20230428-31447-t5qkdq.rb", "extconf.rb"] -g -O2 -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed checking for yajl/yajl_tree.h... yes @@ -980,12 +1021,12 @@ current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser ["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/ruby-ffi-yajl-2.3.1=.", "CXX=g++ -fdebug-prefix-map=/build/ruby-ffi-yajl-2.3.1=.", "DESTDIR=", "install"] make[2]: Entering directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser' -/bin/mkdir -p . ./.gem.20240529-16024-i7jtfm/ffi_yajl/ext +/bin/mkdir -p . ./.gem.20230428-31447-gheh5b/ffi_yajl/ext exit > .sitearchdir.-.ffi_yajl.-.ext.time -/usr/bin/install -c -m 0755 parser.so ./.gem.20240529-16024-i7jtfm/ffi_yajl/ext +/usr/bin/install -c -m 0755 parser.so ./.gem.20230428-31447-gheh5b/ffi_yajl/ext make[2]: Leaving directory '/build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser' current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser -/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20240529-16024-ykuafn.rb extconf.rb +/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230428-31447-t5qkdq.rb extconf.rb current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-ffi-yajl-2.3.1\=. DESTDIR\= clean current directory: /build/ruby-ffi-yajl-2.3.1/ext/ffi_yajl/ext/parser @@ -1016,356 +1057,275 @@ /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation WARN: yajl cannot be loaded, expected if this is jruby -Randomized with seed 18746 +Randomized with seed 30234 FFI_Yajl::MapLibraryName - #library_names - maps linux correctly - #expanded_library_names - maps netbsd correctly (PENDING: Temporarily skipped with xit) - #library_names - maps openbsd correctly ffi_open_yajl_library - if dlopen calls all raise it should still use 'yajl' on solaris2 - should call ffi_lib against an expanded library name if it finds it on solaris2 - 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 - #expanded_library_names - maps cygwin correctly (PENDING: Temporarily skipped with xit) - #expanded_library_names - maps freebsd correctly (PENDING: Temporarily skipped with xit) + if dlopen calls all raise it should still use 'yajl' on netbsd + should call ffi_lib against an expanded library name if it finds it on netbsd ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on mswin - if dlopen calls all raise it should still use 'yajl' on mswin + 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 #expanded_library_names maps darwin correctly (PENDING: Temporarily skipped with xit) + #expanded_library_names + maps netbsd correctly (PENDING: Temporarily skipped with xit) #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on openbsd - 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 hpux + should call dlopen against an expanded library name if it finds it on hpux + #library_names + maps darwin correctly #library_names maps solaris2 correctly #expanded_library_names - maps openbsd correctly (PENDING: Temporarily skipped with xit) - #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 (PENDING: Temporarily skipped with xit) - 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 + maps mingw correctly (PENDING: Temporarily skipped with xit) 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 - #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 #library_names - maps cygwin correctly + maps freebsd correctly + #expanded_library_names + maps openbsd correctly (PENDING: Temporarily skipped with xit) + #library_names + maps linux correctly + #expanded_library_names + maps freebsd correctly (PENDING: Temporarily skipped with xit) + #dlopen_yajl_library + should call dlopen against an expanded library name if it finds it on mingw + if dlopen calls all raise it should still use the short names on mingw ffi_open_yajl_library - should call ffi_lib against an expanded library name if it finds it on freebsd - if dlopen calls all raise it should still use 'yajl' on freebsd + 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 #library_names maps hpux correctly - #expanded_library_names - maps mingw correctly (PENDING: Temporarily skipped with xit) ffi_open_yajl_library - 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 + 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 + #dlopen_yajl_library + 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 #library_names - maps mswin correctly + maps cygwin correctly #dlopen_yajl_library - 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 - 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 - #expanded_library_names - maps linux correctly (PENDING: Temporarily skipped with xit) + 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 #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 + if dlopen calls all raise it should still use the short names on netbsd + should call dlopen against an expanded library name if it finds it on netbsd #expanded_library_names maps hpux correctly (PENDING: Temporarily skipped with xit) 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 openbsd + if dlopen calls all raise it should still use 'yajl' on openbsd + #library_names + maps mingw correctly + #library_names + maps openbsd 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 #expanded_library_names maps solaris2 correctly (PENDING: Temporarily skipped with xit) #expanded_library_names maps aix correctly (PENDING: Temporarily skipped with xit) #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on freebsd - should call dlopen against an expanded library name if it finds it on freebsd - #library_names - maps netbsd correctly - #library_names - maps mingw correctly - #library_names - maps freebsd correctly + should call dlopen against an expanded library name if it finds it on darwin + if dlopen calls all raise it should still use the short names on darwin + ffi_open_yajl_library + if dlopen calls all raise it should still use 'yajl' on darwin + should call ffi_lib against an expanded library name if it finds it on darwin + #expanded_library_names + maps mswin correctly (PENDING: Temporarily skipped with xit) #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 cygwin + should call dlopen against an expanded library name if it finds it on cygwin #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 aix + if dlopen calls all raise it should still use the short names on aix + #library_names + maps aix correctly ffi_open_yajl_library - if dlopen calls all raise it should still use 'yajl' on netbsd - should call ffi_lib against an expanded library name if it finds it on netbsd - #dlopen_yajl_library - if dlopen calls all raise it should still use the short names on netbsd - should call dlopen against an expanded library name if it finds it on netbsd + should call ffi_lib against an expanded library name if it finds it on freebsd + if dlopen calls all raise it should still use 'yajl' on freebsd 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 - #library_names - maps darwin correctly + 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 + 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 #library_names - maps aix correctly + maps netbsd correctly + #expanded_library_names + maps cygwin correctly (PENDING: Temporarily skipped with xit) #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 + 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 + #library_names + maps mswin correctly + ffi_open_yajl_library + 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 #dlopen_yajl_library - 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 - -FFI_Yajl::Encoder - 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 false in keys as strings - can encode StringIOs - can encode DateTime objects - raises an exception for deeply nested arrays - can encode 32-bit unsigned ints - encodes floats in keys as strings - encodes fixnums in keys as strings - encodes symbols in values as strings - encodes bignums in keys as strings - encodes nil in keys as strings - encodes symbols in keys as strings - encodes hashes in keys as strings - can encode Date objects - encodes arrays in keys as strings - encodes true in keys as strings - when the encoder has nil passed in for options - does not throw an exception - testing .to_json for Objects - calls .to_json for objects wit .to_json - calls .to_s for objects without .to_json - when encoding invalid utf-8 - raises an error on invalid json - when validate_utf8 is off - does not mangle valid utf8 - does not raise an error - does not grow after a round trip - returns utf8 - returns valid utf8 - when encoding Time objects in UTC timezone - encodes them correctly + 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 linux correctly (PENDING: Temporarily skipped with xit) FFI_Yajl::Parser when options are set to nil - when using a parsing object + when using the class method behaves like correct json parsing - when json has inline 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 symbolize keys correctly + when parsing 1046289770033519442869495707521600000000 + should parse corectly + when parsing nil + should not coredump ruby 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 nil - should not coredump ruby - when parsing 5687389800 - should parse corectly - 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 + should parse non-ascii symbols in UTF-8 when parsing 2147483649 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 1046289770033519442869495707521600000000 - should parse corectly should raise an exception for repeated keys should raise + when json has 23456789012E666 + should return infinity + when parsing bare string + should parse to the string value + when parsing bare float + should parse to the a float + 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 big floats + parses + when parsing bare false + should parse to the false value + when the JSON is empty string + returns nil 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 big floats - parses - when JSON is a StringIO - should parse - when parsing long hash keys with symbolize_keys option - parses - when json has 23456789012E666 - should return infinity - when parsing floats - parses floats with positive exponents and a large E - correctly parses - parses floats with negative exponents and a small e - correctly parses - parses floats with an exponent without a sign and a small e - correctly parses - parses floats with positive 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 - parses simple negative floating point values - correctly parses - parses floats with negative exponents and a large E - correctly parses - when parsing heavy metal umlauts in keys - correctly parses + by default + should parse when json is invalid UTF8 should not parse by default 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 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 :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 bare int - should parse to the int value + when :dont_validate_strings is set to false + should not parse + should ignore repeated keys by default + should replace the first hash key with the second + when parsing 5687389800 + should parse corectly 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 bare string - should parse to the string value - when parsing bare null - should parse to the nil value - when the JSON is empty string - returns nil - when parsing bare float - should parse to the a float - when parsing bare false - should parse to the false value + when an extra brace is present + raises an exception + with allow_trailing_garbage + parses when parsing a JSON hash with only strings when Encoding.default_internal is nil - encodes keys to UTF-8 encodes values to UTF-8 + encodes keys to UTF-8 + 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 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 values to utf-8 - encodes keys to utf-8 - when using the class method - behaves like correct json parsing - when parsing 2147483649 - should parse corectly - when parsing bare null - should parse to the nil value - when parsing nil - should not coredump ruby - should raise an exception for repeated keys - should raise + when parsing bare int + should parse to the int value when parsing heavy metal umlauts in keys correctly parses - when json has 23456789012E666 - should return infinity + when parsing long hash keys with symbolize_keys option + parses + 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 JSON is a StringIO - should parse - when parsing bare float - should parse to the a float - when parsing bare int - should parse to the int value - when dealing with too much or too little input - when an extra bracket is present - 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 trailing brackets are missing - raises an exception - 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 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 the JSON is empty string - returns nil when parsing floats - parses floats with an exponent without a sign and a small e + parses floats with negative exponents and a small e correctly parses - parses floats with negative exponents and a large E + parses simple floating point values correctly parses parses floats with positive exponents and a small e correctly parses - parses floats with negative exponents and a small e + parses floats with negative exponents and a large E correctly parses - parses floats with positive exponents and a large E + 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 an exponent without a sign and a large E + parses floats with positive exponents and a large E correctly parses - parses simple negative floating point values + parses floats with an exponent without a sign and a large E correctly parses - 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 parsing a JSON string + when parsing bare true + should parse to the true value + when JSON is a StringIO + should parse + when parsing bare null + should parse to the nil value + when using a parsing object + behaves like correct json parsing + when parsing heavy metal umlauts in keys + correctly parses + when json has 23456789012E666 + should return infinity + 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 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 a parsed key has utf-8 multibyte characters should parse correctly - when passing a block - should parse correctly (PENDING: handle blocks) when symbolize_keys is true should symbolize keys correctly + should parse non-ascii symbols in UTF-8 + when parsing 5687389800 + 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 JSON is a StringIO + should parse + when parsing bare null + should parse to the nil value when parsing bare false should parse to the false value when json is invalid UTF8 @@ -1388,228 +1348,355 @@ should not parse when parsing 1046289770033519442869495707521600000000 should parse corectly - when parsing a JSON hash with only strings - when Encoding.default_internal is nil - encodes keys to UTF-8 - encodes values to UTF-8 - 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 parsing 5687389800 + should raise an exception for repeated keys + should raise + when the JSON is empty string + returns nil + when parsing 2147483649 should parse corectly + 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 negative exponents and a small e + correctly parses + parses simple floating point values + correctly parses + 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 positive exponents and a large E + correctly parses + parses floats with an exponent without a sign and a large E + correctly parses + when parsing bare int + should parse to the int value when parsing big floats parses - when parsing bare string - should parse to the string value + when parsing bare true + should parse to the true value when json has comments + when allow_comments is false + should not parse by default should parse + when allow_comments is true + should parse + when parsing nil + should not coredump ruby + when json has multiline comments + when allow_comments is true + should parse + when allow_comments is false + should not 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 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 trailing braces are missing + raises an exception + when json has inline comments 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 options are set to empty hash - when using a parsing object + when using the class method behaves like correct json parsing + when parsing bare false + should parse to the false value + should raise an exception for repeated keys + should raise + when parsing 2147483649 + should parse corectly when parsing bare true should parse to the true value + when parsing bare string + should parse to the string value + when parsing floats + parses floats with positive exponents and a large E + correctly parses + parses simple negative floating point values + correctly parses + parses floats with an exponent without a sign 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 + parses floats with negative exponents and a large E + correctly parses + parses floats with negative exponents and a small e + correctly parses + parses floats with positive exponents and a small e + correctly parses + when parsing long hash keys with symbolize_keys option + parses + when json has comments + when allow_comments is false + should not parse + when allow_comments is true + should parse + by default + should parse + when parsing bare int + should parse to the int value + when parsing bare null + should parse to the nil value + when parsing big floats + parses + 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 the JSON is empty string + returns nil + when JSON is a StringIO + should parse + when parsing bare float + should parse to the a float + when parsing 5687389800 + should parse corectly + when dealing with too much or too little input + when an extra brace is present + raises an exception + with allow_trailing_garbage + parses + when trailing braces are missing + raises an exception + when trailing brackets are missing + raises an exception + when an extra bracket is present + raises an exception 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 nil - encodes keys to UTF-8 - encodes values to UTF-8 + encodes keys 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 parsing 2147483649 - should parse corectly - when parsing bare null - should parse to the nil value + encodes values to utf-8 + when Encoding.default_internal is nil + encodes values to UTF-8 + encodes keys to UTF-8 + 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 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 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 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 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 the JSON is empty string - returns nil + 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 parsing nil + should not coredump ruby + when parsing 1046289770033519442869495707521600000000 + should parse corectly + when json has 23456789012E666 + should return infinity + 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 using a parsing object + behaves like correct json parsing when parsing floats - parses floats with positive exponents and a small e - correctly parses - parses floats with positive exponents and a large E + parses floats with negative exponents and a small e correctly parses parses simple negative floating point values correctly parses - parses floats with an exponent without a sign and a large 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 floats with an exponent without a sign and a large E correctly parses parses floats with an exponent without a sign and a small e correctly parses - when parsing heavy metal umlauts in keys - correctly parses - when json has comments - when allow_comments is false - should not parse - by default - should parse - when allow_comments is true - should parse - when parsing big floats + parses simple floating point values + correctly parses + parses floats with positive exponents and a large E + correctly parses + when parsing long hash keys with symbolize_keys option parses - should raise an exception for repeated keys - should raise + when parsing bare null + should parse to the nil value + when json has 23456789012E666 + should return infinity when json is invalid UTF8 should not parse by default + 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 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 :dont_validate_strings is set to true - should parse when parsing 5687389800 should parse corectly - when parsing bare float - should parse to the a float - when parsing bare string - should parse to the string value - when JSON is a StringIO - should parse + 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 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 1046289770033519442869495707521600000000 + should parse corectly + should raise an exception for repeated keys + should raise when json has inline comments - when allow_comments is false - should not parse when allow_comments is true should parse - when parsing long hash keys with symbolize_keys option - parses + when allow_comments is false + should not parse when parsing bare int should parse to the int value - when parsing bare false - should parse to the false value - should ignore repeated keys by default - should replace the first hash key with the second - when parsing 1046289770033519442869495707521600000000 - should parse corectly + when the JSON is empty string + returns nil when json has multiline comments when allow_comments is true should parse when allow_comments is false should not parse - when json has 23456789012E666 - should return infinity - when parsing nil - should not coredump ruby + 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 utf-8 + encodes keys to utf-8 + encodes values 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 dealing with too much or too little input - when an extra bracket is present - 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 trailing brackets are missing raises an exception - when using the class method - behaves like correct json parsing - when dealing with too much or too little input - when an extra brace is present - raises an exception - with allow_trailing_garbage - parses when trailing braces are missing raises an exception - when trailing brackets are missing - raises an exception when an extra bracket is present raises an exception - when parsing bare int - should parse to the int value - when json has 23456789012E666 - should return infinity - 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 long hash keys with symbolize_keys option + when parsing big floats parses - when json has inline comments + should ignore repeated keys by default + should replace the first hash key with the second + when json has comments when allow_comments is false should not parse when allow_comments is true should parse - when the JSON is empty string - returns nil + by default + should parse when parsing bare true should parse to the true value - when parsing floats - parses floats with an exponent without a sign and a large E - correctly parses - parses floats with positive exponents and a large E - correctly parses - parses floats with an exponent without a sign and a small e - correctly parses - parses floats with positive exponents and a small e - correctly parses - parses floats with negative exponents and a small e - correctly parses - parses simple floating point values - correctly parses - parses floats with negative exponents and a large E - correctly parses - parses simple negative floating point values - correctly parses - when parsing bare false - should parse to the false value + when parsing heavy metal umlauts in keys + correctly parses + when parsing 2147483649 + should parse corectly + when JSON is a StringIO + should parse + when parsing bare float + should parse to the a float when parsing nil should not coredump ruby - when a parsed key has utf-8 multibyte characters + when parsing bare string + should parse to the string value + when options default to nothing + when using the class method + behaves like correct json parsing + 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 bare string should parse to the string value - should raise an exception for repeated keys - should raise - when parsing bare float - should parse to the a float - when parsing 2147483649 - should parse corectly - when JSON is a StringIO - should parse - when parsing 5687389800 - should parse corectly - when parsing 1046289770033519442869495707521600000000 - should parse corectly when parsing heavy metal umlauts in keys correctly parses + should raise an exception for repeated keys + should raise + when parsing bare true + should parse to the true value + when json has inline comments + when allow_comments is false + should not parse + when allow_comments is true + should parse + when parsing bare int + should parse to the int value + when the JSON is empty string + returns nil + when json has 23456789012E666 + should return infinity + 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 parsing a JSON hash with only strings when Encoding.default_internal is us-ascii encodes keys to us-ascii (PENDING: fix us-ascii) @@ -1618,57 +1705,47 @@ 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 + encodes values to UTF-8 when parsing big floats parses + when parsing 1046289770033519442869495707521600000000 + should parse corectly + when parsing 2147483649 + should parse corectly when json is invalid UTF8 should not parse by default + 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 :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 true - should parse - should ignore repeated keys by default - should replace the first hash key with the second + when :dont_validate_strings is set to true + should parse + when parsing bare float + should parse to the a float when json has comments - when allow_comments is false - should not parse - by default - should parse - when allow_comments is true - should parse - when json has multiline comments when allow_comments is true should parse when allow_comments is false should not parse + by default + should parse when parsing bare null should parse to the nil value - when options default to nothing - when using the class method - behaves like correct json parsing - when parsing long hash keys with symbolize_keys option - parses - when parsing bare int - should parse to the int value - when parsing 2147483649 - should parse corectly - when parsing bare false - should parse to the false value when JSON is a StringIO should parse + when parsing long hash keys with symbolize_keys option + parses when dealing with too much or too little input when an extra bracket is present raises an exception @@ -1680,350 +1757,314 @@ parses when trailing braces are missing raises an exception - 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 nil - encodes keys to UTF-8 - encodes values 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 nil + should not coredump ruby + when parsing bare false + should parse to the false value + when parsing floats + parses floats with negative exponents and a large E + correctly parses + parses floats with positive exponents and a large E + correctly parses + parses simple floating point values + correctly parses + parses floats with negative exponents and a small e + correctly parses + parses simple negative floating point values + correctly parses + 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 an exponent without a sign and a large E + correctly parses 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 invalid UTF8 - should not parse by default - 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 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 parsing 5687389800 should parse corectly - when parsing nil - should not coredump ruby - when parsing 1046289770033519442869495707521600000000 - should parse corectly - when json has inline comments - when allow_comments is false - should not parse - when allow_comments is true - should parse - when parsing bare true - should parse to the true value - 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 - should raise an exception for repeated keys - should raise - should ignore repeated keys by default - should replace the first hash key with the second - when json has 23456789012E666 - should return infinity + when using a parsing object + behaves like correct json parsing when parsing floats parses floats with negative 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 large E correctly parses parses floats with an exponent without a sign and a small e correctly parses + parses simple floating point values + correctly parses parses floats with positive exponents and a large E correctly parses parses floats with positive exponents and a small e correctly parses - parses simple floating point values + parses floats with an exponent without a sign and a large E correctly parses parses simple negative floating point values correctly parses - when the JSON is empty string - returns nil when parsing bare float should parse to the a float - 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 bare null - should parse to the nil value - 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 using a parsing object - behaves like correct json parsing - should raise an exception for repeated keys - should raise - when parsing bare true - should parse to the true value - 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 true - should parse - when :dont_validate_strings is set to false - should raise an ArgumentError - when parsing bare string - should parse to the string value 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 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 parsing nil + should not coredump ruby + when parsing bare int + should parse to the int value + 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 parsing bare float - should parse to the a float - 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 values to us-ascii (PENDING: fix us-ascii) - encodes keys to us-ascii (PENDING: fix us-ascii) + when passing a block + should parse correctly (PENDING: handle blocks) when the JSON is empty string returns nil - when parsing 5687389800 - should parse corectly when dealing with too much or too little input - when an extra brace is present - raises an exception - with allow_trailing_garbage - parses when trailing brackets are missing raises an exception when trailing braces 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 parsing 2147483649 + should parse corectly + when parsing bare null + should parse to the nil value + 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 nil + encodes keys to UTF-8 + encodes values to UTF-8 + when Encoding.default_internal is utf-8 + encodes keys to utf-8 + encodes values to utf-8 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 parsing big floats parses - when parsing bare null - should parse to the nil value when parsing 1046289770033519442869495707521600000000 should parse corectly - when parsing 2147483649 + when parsing 5687389800 should parse corectly - when JSON is a StringIO - 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 bare false - should parse to the false value - when parsing bare int - should parse to the int value - when parsing nil - should not coredump ruby - when parsing floats - parses floats with negative exponents and a small e - correctly parses - parses simple negative floating point values - correctly parses - parses floats with an exponent without a sign and a large E - 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 - correctly parses - parses floats with negative exponents and a large E - correctly parses - parses simple floating point values - correctly parses when parsing long hash keys with symbolize_keys option parses - when json has comments + when JSON is a StringIO + should parse + when parsing bare true + should parse to the true value + 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 raise an exception for repeated keys + should raise + when json is invalid UTF8 + should not parse by default + when :dont_validate_strings is set to true should parse - by default + 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 false + should not 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 json has 23456789012E666 should return infinity + 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::Encoder + encodes floats in keys as strings + encodes arrays in keys as strings + encodes objects in keys as strings + encodes false in keys as strings + raises an exception for deeply nested hashes + encodes bignums in keys as strings + can encode DateTime objects + encodes an object in a key which has a #to_json method as strings + encodes true in keys as strings + raises an exception for deeply nested arrays + encodes symbols in keys as strings + can encode 32-bit unsigned ints + can encode Date objects + encodes fixnums in keys as strings + encodes hashes in keys as strings + encodes symbols in values as strings + encodes nil in keys as strings + can encode StringIOs + 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 + 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 + returns valid utf8 + returns utf8 + does not grow after a round trip + does not mangle valid utf8 + does not raise an error Pending: (Failures listed here are expected and do not affect your suite's status) - 1) FFI_Yajl::MapLibraryName #expanded_library_names maps netbsd correctly + 1) FFI_Yajl::MapLibraryName #expanded_library_names maps darwin correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 2) FFI_Yajl::MapLibraryName #expanded_library_names maps cygwin correctly + 2) FFI_Yajl::MapLibraryName #expanded_library_names maps netbsd correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 3) FFI_Yajl::MapLibraryName #expanded_library_names maps freebsd correctly + 3) FFI_Yajl::MapLibraryName #expanded_library_names maps mingw correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 4) FFI_Yajl::MapLibraryName #expanded_library_names maps darwin correctly + 4) FFI_Yajl::MapLibraryName #expanded_library_names maps openbsd correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 5) FFI_Yajl::MapLibraryName #expanded_library_names maps openbsd correctly + 5) FFI_Yajl::MapLibraryName #expanded_library_names maps freebsd correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 6) FFI_Yajl::MapLibraryName #expanded_library_names maps mswin correctly + 6) FFI_Yajl::MapLibraryName #expanded_library_names maps hpux correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 7) FFI_Yajl::MapLibraryName #expanded_library_names maps mingw correctly + 7) FFI_Yajl::MapLibraryName #expanded_library_names maps solaris2 correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 8) FFI_Yajl::MapLibraryName #expanded_library_names maps linux correctly + 8) FFI_Yajl::MapLibraryName #expanded_library_names maps aix correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 9) FFI_Yajl::MapLibraryName #expanded_library_names maps hpux correctly + 9) FFI_Yajl::MapLibraryName #expanded_library_names maps mswin correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 10) FFI_Yajl::MapLibraryName #expanded_library_names maps solaris2 correctly + 10) FFI_Yajl::MapLibraryName #expanded_library_names maps cygwin correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 11) FFI_Yajl::MapLibraryName #expanded_library_names maps aix correctly + 11) FFI_Yajl::MapLibraryName #expanded_library_names maps linux correctly # Temporarily skipped with xit # ./spec/ffi_yajl/map_library_name_spec.rb:58 - 12) 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 + 12) 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 - 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 values to us-ascii + 13) 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 - 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 keys to us-ascii + 14) 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 - 15) 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 + 15) 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 - 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 keys to us-ascii + 16) 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 - 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 values to us-ascii + 17) 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 + + 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 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 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 + 19) 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 - 19) 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 - - 20) 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 + 20) 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 - 21) 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 + 21) 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 - 22) 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 - - 23) 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 + 22) 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 - 24) FFI_Yajl::Parser when options default to nothing 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 - - 25) FFI_Yajl::Parser when options default to nothing 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 + 23) 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 - 26) FFI_Yajl::Parser when options default to nothing when using the class method behaves like correct json parsing when parsing a JSON string when passing a block should parse correctly + 24) FFI_Yajl::Parser when options default to nothing 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 - 27) FFI_Yajl::Parser when options default to nothing 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 + 25) FFI_Yajl::Parser when options default to nothing 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 + + 26) FFI_Yajl::Parser when options default to nothing 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 + 27) 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 + 28) FFI_Yajl::Parser when options default to nothing 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 - 29) 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 + 29) FFI_Yajl::Parser when options default to nothing 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 -Finished in 1.41 seconds (files took 0.70073 seconds to load) +Finished in 1.46 seconds (files took 0.75942 seconds to load) 448 examples, 0 failures, 29 pending -Randomized with seed 18746 +Randomized with seed 30234 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2048,7 +2089,7 @@ 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/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/ffi_yajl/ext/encoder.so debian/ruby-ffi-yajl/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.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/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/ffi_yajl/ext/parser.so debian/ruby-ffi-yajl/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/ffi_yajl/ext/encoder.so debian/ruby-ffi-yajl/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0/ffi_yajl/ext/dlopen.so were not linked against libm.so.6 (they use none of the library's symbols) dh_ruby_fixdepends -O--buildsystem=ruby dh_installdeb -O--buildsystem=ruby dh_gencontrol -O--buildsystem=ruby @@ -2067,12 +2108,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/7501/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7501/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/7401 and its subdirectories -I: Current time: Wed May 29 07:46:45 -12 2024 -I: pbuilder-time-stamp: 1717012005 +I: removing directory /srv/workspace/pbuilder/7501 and its subdirectories +I: Current time: Fri Apr 28 03:25:07 +14 2023 +I: pbuilder-time-stamp: 1682601907