Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'], chrootPath='/var/lib/mock/fedora-38-ppc64le-1687717119.708671/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._2bgcqql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._2bgcqql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f0532c8c73c14c43a547150d9fe7e023', '-D', '/var/lib/mock/fedora-38-ppc64le-1687717119.708671/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._2bgcqql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rubygem-json_spec-1.1.5-14.fc38.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'], chrootPath='/var/lib/mock/fedora-38-ppc64le-1687717119.708671/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._2bgcqql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._2bgcqql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c36dd4c9e9ff408cb6db41ca1d0c6fe6', '-D', '/var/lib/mock/fedora-38-ppc64le-1687717119.708671/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._2bgcqql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rubygem-json_spec.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IkeaXX + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/json_spec-1.1.5.gem Unpacked gem: '/builddir/build/BUILD/json_spec-1.1.5' + cd /builddir/build/BUILD + cd json_spec-1.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rubygem-json_spec-ruby24.patch): + echo 'Patch #0 (rubygem-json_spec-ruby24.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file spec/json_spec/matchers/have_json_type_spec.rb + gem spec /builddir/build/SOURCES/json_spec-1.1.5.gem -l --ruby + for f in .gitignore .travis.yml Gemfile Rakefile gemfiles/* + rm .gitignore + sed -i 's|".gitignore"\(.freeze\)\?,\?||g' json_spec.gemspec + for f in .gitignore .travis.yml Gemfile Rakefile gemfiles/* + rm .travis.yml + sed -i 's|".travis.yml"\(.freeze\)\?,\?||g' json_spec.gemspec + for f in .gitignore .travis.yml Gemfile Rakefile gemfiles/* + rm Gemfile + sed -i 's|"Gemfile"\(.freeze\)\?,\?||g' json_spec.gemspec + for f in .gitignore .travis.yml Gemfile Rakefile gemfiles/* + rm Rakefile + sed -i 's|"Rakefile"\(.freeze\)\?,\?||g' json_spec.gemspec + for f in .gitignore .travis.yml Gemfile Rakefile gemfiles/* + rm gemfiles/rspec2.gemfile + sed -i 's|"gemfiles/rspec2.gemfile"\(.freeze\)\?,\?||g' json_spec.gemspec + for f in .gitignore .travis.yml Gemfile Rakefile gemfiles/* + rm gemfiles/rspec3.gemfile + sed -i 's|"gemfiles/rspec3.gemfile"\(.freeze\)\?,\?||g' json_spec.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sTTuy1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd json_spec-1.1.5 + gem build json_spec.gemspec Successfully built RubyGem Name: json_spec Version: 1.1.5 File: json_spec-1.1.5.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc json_spec-1.1.5.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/json_spec-1.1.5 Bin dir: /builddir/build/BUILD/json_spec-1.1.5/usr/bin Gem home: /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems Plugins dir: /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/plugins /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/CHANGELOG.md /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/LICENSE.txt /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/README.md /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/equivalence.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/files.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/inclusion.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/memory.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/paths.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/sizes.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/step_definitions/steps.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/support/env.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/features/types.feature /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/json_spec.gemspec /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/configuration.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/cucumber.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/errors.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/exclusion.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/helpers.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/be_json_eql.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_path.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_size.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/have_json_type.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/matchers/include_json.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/memory.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/lib/json_spec/messages.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/configuration_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/helpers_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/be_json_eql_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/have_json_path_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/have_json_size_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/have_json_type_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers/include_json_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/matchers_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/json_spec/memory_spec.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/spec_helper.rb /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/one.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/one.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/two.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/version/one.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/project/version/two.json /builddir/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5/spec/support/files/two.json Successfully installed json_spec-1.1.5 Parsing documentation for json_spec-1.1.5 Parsing sources... 7% [ 1/14] lib/json_spec.rb 14% [ 2/14] lib/json_spec/configuration.rb 21% [ 3/14] lib/json_spec/cucumber.rb 28% [ 4/14] lib/json_spec/errors.rb 35% [ 5/14] lib/json_spec/exclusion.rb 42% [ 6/14] lib/json_spec/helpers.rb 50% [ 7/14] lib/json_spec/matchers.rb 57% [ 8/14] lib/json_spec/matchers/be_json_eql.rb 64% [ 9/14] lib/json_spec/matchers/have_json_path.rb 71% [10/14] lib/json_spec/matchers/have_json_size.rb 78% [11/14] lib/json_spec/matchers/have_json_type.rb 85% [12/14] lib/json_spec/matchers/include_json.rb 92% [13/14] lib/json_spec/memory.rb 100% [14/14] lib/json_spec/messages.rb Installing ri documentation for json_spec-1.1.5 Installing darkfish documentation for json_spec-1.1.5 Done installing documentation for json_spec after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Pv0wbR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd json_spec-1.1.5 + mkdir -p /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le/usr/share/gems/ + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 1.1.5-14.fc38 --unique-debug-suffix -1.1.5-14.fc38.ppc64le --unique-debug-src-base rubygem-json_spec-1.1.5-14.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/json_spec-1.1.5 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j5 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CZcE4i + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS ~/build/BUILD/json_spec-1.1.5/usr/share/gems/gems/json_spec-1.1.5 ~/build/BUILD/json_spec-1.1.5 + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd json_spec-1.1.5 + pushd ./usr/share/gems/gems/json_spec-1.1.5 + rspec -Ilib spec ................................................................................................................... Finished in 0.04006 seconds (files took 0.1357 seconds to load) 115 examples, 0 failures + cucumber --tags 'not @fail' Feature: Equivalence Background: # features/equivalence.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0, "hash": { "json": "spec" }, "id": 1, "integer": 10, "negative": -10, "null": null, "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50" } """ Scenario: Identical JSON # features/equivalence.feature:31 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0, "hash": { "json": "spec" }, "id": 1, "integer": 10, "negative": -10, "null": null, "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50" } """ Scenario: Reverse order # features/equivalence.feature:61 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "updated_at": "2011-07-08 02:28:50", "true": true, "string": "json_spec", "null": null, "negative": -10, "integer": 10, "id": 1, "hash": { "json": "spec" }, "float": 10.0, "false": false, "empty_hash": { }, "empty_array": [ ], "created_at": "2011-07-08 02:27:34", "array": [ "json", "spec" ] } """ Scenario: Excluding keys # features/equivalence.feature:91 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ "json", "spec" ], "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0, "hash": { "json": "spec" }, "integer": 10, "negative": -10, "null": null, "string": "json_spec", "true": true } """ Scenario: String # features/equivalence.feature:118 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "string" should be "json_spec" # lib/json_spec/cucumber.rb:29 And the JSON at "string" should be: # lib/json_spec/cucumber.rb:13 """ "json_spec" """ Scenario: Integer # features/equivalence.feature:126 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "integer" should be 10 # lib/json_spec/cucumber.rb:29 And the JSON at "integer" should be: # lib/json_spec/cucumber.rb:13 """ 10 """ Scenario: Negative integer # features/equivalence.feature:134 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "negative" should be -10 # lib/json_spec/cucumber.rb:29 And the JSON at "negative" should be: # lib/json_spec/cucumber.rb:13 """ -10 """ Scenario: Float # features/equivalence.feature:142 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "float" should be 10.0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 10.0e0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 10.0e+0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 10.0e-0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 10e0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 10e+0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 10e-0 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 1.0e1 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 1.0e+1 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 1e1 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 1e+1 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 100.0e-1 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be 100e-1 # lib/json_spec/cucumber.rb:29 And the JSON at "float" should be: # lib/json_spec/cucumber.rb:13 """ 10.0 """ Scenario: Array # features/equivalence.feature:162 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "array" should be ["json","spec"] # lib/json_spec/cucumber.rb:29 And the JSON at "array/0" should be "json" # lib/json_spec/cucumber.rb:29 And the JSON at "array/1" should be "spec" # lib/json_spec/cucumber.rb:29 And the JSON at "array" should be: # lib/json_spec/cucumber.rb:13 """ [ "json", "spec" ] """ Scenario: Empty array # features/equivalence.feature:175 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "empty_array" should be [] # lib/json_spec/cucumber.rb:29 And the JSON at "empty_array" should be: # lib/json_spec/cucumber.rb:13 """ [ ] """ Scenario: Hash # features/equivalence.feature:185 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "hash" should be {"json":"spec"} # lib/json_spec/cucumber.rb:29 And the JSON at "hash/json" should be "spec" # lib/json_spec/cucumber.rb:29 And the JSON at "hash" should be: # lib/json_spec/cucumber.rb:13 """ { "json": "spec" } """ Scenario: Empty hash # features/equivalence.feature:196 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "empty_hash" should be {} # lib/json_spec/cucumber.rb:29 And the JSON at "empty_hash" should be: # lib/json_spec/cucumber.rb:13 """ { } """ Scenario: True # features/equivalence.feature:205 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "true" should be true # lib/json_spec/cucumber.rb:29 And the JSON at "true" should be: # lib/json_spec/cucumber.rb:13 """ true """ Scenario: False # features/equivalence.feature:213 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "false" should be false # lib/json_spec/cucumber.rb:29 And the JSON at "false" should be: # lib/json_spec/cucumber.rb:13 """ false """ Scenario: Null # features/equivalence.feature:221 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "null" should be null # lib/json_spec/cucumber.rb:29 And the JSON at "null" should be: # lib/json_spec/cucumber.rb:13 """ null """ Scenario: Excluded value # features/equivalence.feature:229 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "created_at" should be "2011-07-08 02:27:34" # lib/json_spec/cucumber.rb:29 And the JSON at "id" should be 1 # lib/json_spec/cucumber.rb:29 And the JSON at "updated_at" should be "2011-07-08 02:28:50" # lib/json_spec/cucumber.rb:29 Scenario: Table format # features/equivalence.feature:235 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have the following: # lib/json_spec/cucumber.rb:61 | array | ["json","spec"] | | array/0 | "json" | | array/1 | "spec" | | created_at | "2011-07-08 02:27:34" | | empty_array | [] | | empty_hash | {} | | false | false | | float | 10.0 | | hash | {"json":"spec"} | | hash/json | "spec" | | id | 1 | | integer | 10 | | negative | -10 | | null | null | | string | "json_spec" | | true | true | | updated_at | "2011-07-08 02:28:50" | And the JSON at "array" should have the following: # lib/json_spec/cucumber.rb:61 | 0 | "json" | | 1 | "spec" | And the JSON at "hash" should have the following: # lib/json_spec/cucumber.rb:61 | json | "spec" | Feature: Files Scenario: Equivalence from a file # features/files.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ "json", "spec" ], "false": false, "float": 10.0, "hash": { "json": "spec" }, "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "id": 1, "integer": 10, "negative": -10, "null": null, "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50" } """ When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should be file "two.json" # lib/json_spec/cucumber.rb:21 Scenario: Inequivalence from a file # features/files.feature:33 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50" } """ When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should not be file "two.json" # lib/json_spec/cucumber.rb:21 Scenario: Inclusion from a file # features/files.feature:46 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0, "hash": { "json": "spec" } } """ When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include file "project/version/two.json" # lib/json_spec/cucumber.rb:45 Scenario: Exclusion from a file # features/files.feature:70 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0 } """ When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should not include file "project/version/two.json" # lib/json_spec/cucumber.rb:45 Feature: Inclusion Background: # features/inclusion.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ "json", "spec" ], "created_at": "2011-07-08 02:27:34", "empty_array": [ ], "empty_hash": { }, "false": false, "float": 10.0, "hash": { "json": "spec" }, "id": 1, "integer": 10, "negative": -10, "null": null, "string": "json_spec", "true": true, "updated_at": "2011-07-08 02:28:50", "nested": { "id": 2, "key": "value" } } """ Scenario: String # features/inclusion.feature:35 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include "json_spec" # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ "json_spec" """ Scenario: Integer # features/inclusion.feature:43 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include 10 # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ 10 """ Scenario: Negative integer # features/inclusion.feature:51 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include -10 # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ -10 """ Scenario: Float # features/inclusion.feature:59 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include 10.0 # lib/json_spec/cucumber.rb:53 And the JSON should include 10.0e0 # lib/json_spec/cucumber.rb:53 And the JSON should include 10.0e+0 # lib/json_spec/cucumber.rb:53 And the JSON should include 10.0e-0 # lib/json_spec/cucumber.rb:53 And the JSON should include 10e0 # lib/json_spec/cucumber.rb:53 And the JSON should include 10e+0 # lib/json_spec/cucumber.rb:53 And the JSON should include 10e-0 # lib/json_spec/cucumber.rb:53 And the JSON should include 1.0e1 # lib/json_spec/cucumber.rb:53 And the JSON should include 1.0e+1 # lib/json_spec/cucumber.rb:53 And the JSON should include 1e1 # lib/json_spec/cucumber.rb:53 And the JSON should include 1e+1 # lib/json_spec/cucumber.rb:53 And the JSON should include 100.0e-1 # lib/json_spec/cucumber.rb:53 And the JSON should include 100e-1 # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ 10.0 """ Scenario: Array # features/inclusion.feature:79 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include ["json","spec"] # lib/json_spec/cucumber.rb:53 And the JSON at "array" should include "json" # lib/json_spec/cucumber.rb:53 And the JSON at "array" should include "spec" # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ [ "json", "spec" ] """ Scenario: Empty array # features/inclusion.feature:92 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include [] # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ [ ] """ Scenario: Hash # features/inclusion.feature:102 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include {"json":"spec"} # lib/json_spec/cucumber.rb:53 And the JSON at "hash" should include "spec" # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ { "json": "spec" } """ Scenario: Empty hash # features/inclusion.feature:113 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include {} # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ { } """ Scenario: True # features/inclusion.feature:122 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include true # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ true """ Scenario: False # features/inclusion.feature:130 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include false # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ false """ Scenario: Null # features/inclusion.feature:138 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include null # lib/json_spec/cucumber.rb:53 And the JSON should include: # lib/json_spec/cucumber.rb:37 """ null """ Scenario: Excluded value # features/inclusion.feature:146 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include "2011-07-08 02:27:34" # lib/json_spec/cucumber.rb:53 And the JSON should include 1 # lib/json_spec/cucumber.rb:53 And the JSON should include "2011-07-08 02:28:50" # lib/json_spec/cucumber.rb:53 Scenario: Nested exclusions # features/inclusion.feature:152 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should include {"key":"value"} # lib/json_spec/cucumber.rb:53 Feature: Memory Background: # features/memory.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ ], "false": false, "float": 10.0, "hash": { }, "integer": 10, "null": null, "string": "json_spec", "true": true } """ And I get the JSON # features/step_definitions/steps.rb:5 Scenario: Entire JSON # features/memory.feature:21 When I keep the JSON as "JSON" # lib/json_spec/cucumber.rb:9 Then the JSON should be %{JSON} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ %{JSON} """ Scenario: String # features/memory.feature:29 When I keep the JSON at "string" as "STRING" # lib/json_spec/cucumber.rb:9 Then the JSON at "string" should be %{STRING} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": false, "float": 10.0, "hash": { }, "integer": 10, "null": null, "string": %{STRING}, "true": true } """ Scenario: Integer # features/memory.feature:49 When I keep the JSON at "integer" as "INTEGER" # lib/json_spec/cucumber.rb:9 Then the JSON at "integer" should be %{INTEGER} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": false, "float": 10.0, "hash": { }, "integer": %{INTEGER}, "null": null, "string": "json_spec", "true": true } """ Scenario: Float # features/memory.feature:69 When I keep the JSON at "float" as "FLOAT" # lib/json_spec/cucumber.rb:9 Then the JSON at "float" should be %{FLOAT} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": false, "float": %{FLOAT}, "hash": { }, "integer": 10, "null": null, "string": "json_spec", "true": true } """ Scenario: Array # features/memory.feature:89 When I keep the JSON at "array" as "ARRAY" # lib/json_spec/cucumber.rb:9 Then the JSON at "array" should be %{ARRAY} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": %{ARRAY}, "false": false, "float": 10.0, "hash": { }, "integer": 10, "null": null, "string": "json_spec", "true": true } """ Scenario: Hash # features/memory.feature:107 When I keep the JSON at "hash" as "HASH" # lib/json_spec/cucumber.rb:9 Then the JSON at "hash" should be %{HASH} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": false, "float": 10.0, "hash": %{HASH}, "integer": 10, "null": null, "string": "json_spec", "true": true } """ Scenario: True # features/memory.feature:126 When I keep the JSON at "true" as "TRUE" # lib/json_spec/cucumber.rb:9 Then the JSON at "true" should be %{TRUE} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": false, "float": 10.0, "hash": { }, "integer": 10, "null": null, "string": "json_spec", "true": %{TRUE} } """ Scenario: False # features/memory.feature:146 When I keep the JSON at "false" as "FALSE" # lib/json_spec/cucumber.rb:9 Then the JSON at "false" should be %{FALSE} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": %{FALSE}, "float": 10.0, "hash": { }, "integer": 10, "null": null, "string": "json_spec", "true": true } """ Scenario: Null # features/memory.feature:166 When I keep the JSON at "null" as "NULL" # lib/json_spec/cucumber.rb:9 Then the JSON at "null" should be %{NULL} # lib/json_spec/cucumber.rb:29 And the JSON should be: # lib/json_spec/cucumber.rb:13 """ { "array": [ ], "false": false, "float": 10.0, "hash": { }, "integer": 10, "null": %{NULL}, "string": "json_spec", "true": true } """ Scenario: Table format # features/memory.feature:186 When I keep the JSON at "string" as "STRING" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "integer" as "INTEGER" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "float" as "FLOAT" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "array" as "ARRAY" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "hash" as "HASH" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "true" as "TRUE" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "false" as "FALSE" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "null" as "NULL" # lib/json_spec/cucumber.rb:9 Then the JSON should have the following: # lib/json_spec/cucumber.rb:61 | string | %{STRING} | | integer | %{INTEGER} | | float | %{FLOAT} | | array | %{ARRAY} | | hash | %{HASH} | | true | %{TRUE} | | false | %{FALSE} | | null | %{NULL} | Scenario: Inclusion # features/memory.feature:205 When I keep the JSON at "string" as "STRING" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "integer" as "INTEGER" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "float" as "FLOAT" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "array" as "ARRAY" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "hash" as "HASH" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "true" as "TRUE" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "false" as "FALSE" # lib/json_spec/cucumber.rb:9 And I keep the JSON at "null" as "NULL" # lib/json_spec/cucumber.rb:9 Then the JSON should include %{STRING} # lib/json_spec/cucumber.rb:53 And the JSON should include %{INTEGER} # lib/json_spec/cucumber.rb:53 And the JSON should include %{FLOAT} # lib/json_spec/cucumber.rb:53 And the JSON should include %{ARRAY} # lib/json_spec/cucumber.rb:53 And the JSON should include %{HASH} # lib/json_spec/cucumber.rb:53 And the JSON should include %{TRUE} # lib/json_spec/cucumber.rb:53 And the JSON should include %{FALSE} # lib/json_spec/cucumber.rb:53 And the JSON should include %{NULL} # lib/json_spec/cucumber.rb:53 Feature: Paths Background: # features/paths.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [ { "one": 1, "two": 2 }, { "four": 4, "three": 3 } ], "hash": { "even": [ 6, 8 ], "odd": [ 5, 7 ] }, "id": null } """ Scenario: Base paths # features/paths.feature:30 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have "array" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash" # lib/json_spec/cucumber.rb:73 And the JSON should have "id" # lib/json_spec/cucumber.rb:73 Scenario: Nested paths # features/paths.feature:36 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have "array/0" # lib/json_spec/cucumber.rb:73 And the JSON should have "array/1" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash/even" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash/odd" # lib/json_spec/cucumber.rb:73 Scenario: Deeply nested paths # features/paths.feature:43 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have "array/0/one" # lib/json_spec/cucumber.rb:73 And the JSON should have "array/0/two" # lib/json_spec/cucumber.rb:73 And the JSON should have "array/1/four" # lib/json_spec/cucumber.rb:73 And the JSON should have "array/1/three" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash/even/0" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash/even/1" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash/odd/0" # lib/json_spec/cucumber.rb:73 And the JSON should have "hash/odd/1" # lib/json_spec/cucumber.rb:73 Scenario: Ignored paths # features/paths.feature:54 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have "id" # lib/json_spec/cucumber.rb:73 Scenario: Table format # features/paths.feature:58 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have the following: # lib/json_spec/cucumber.rb:61 | array | | hash | | array/0 | | array/1 | | hash/even | | hash/odd | | array/0/one | | array/0/two | | array/1/four | | array/1/three | | hash/even/0 | | hash/even/1 | | hash/odd/0 | | hash/odd/1 | Feature: Sizes Background: # features/sizes.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "id": null, "one": [ 1 ], "three": [ 1, 2, 3 ], "two": [ 1, 2 ], "zero": [ ] } """ Scenario: Hash # features/sizes.feature:25 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should have 5 keys # lib/json_spec/cucumber.rb:89 And the JSON should have 5 values # lib/json_spec/cucumber.rb:89 Scenario: Empty array # features/sizes.feature:30 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "zero" should have 0 entries # lib/json_spec/cucumber.rb:89 Scenario: Array # features/sizes.feature:34 When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON at "one" should have 1 entry # lib/json_spec/cucumber.rb:89 And the JSON at "two" should have 2 values # lib/json_spec/cucumber.rb:89 And the JSON at "three" should have 3 numbers # lib/json_spec/cucumber.rb:89 Feature: Types Scenario: All types # features/types.feature:2 Given the JSON is: # features/step_definitions/steps.rb:1 """ { "array": [], "false": true, "float": 10.0, "hash": {}, "integer": 10, "string": "json_spec", "true": true } """ When I get the JSON # features/step_definitions/steps.rb:5 Then the JSON should be a hash # lib/json_spec/cucumber.rb:81 And the JSON at "array" should be an array # lib/json_spec/cucumber.rb:81 And the JSON at "false" should be a boolean # lib/json_spec/cucumber.rb:81 And the JSON at "float" should be a float # lib/json_spec/cucumber.rb:81 And the JSON at "hash" should be a hash # lib/json_spec/cucumber.rb:81 And the JSON at "hash" should be an object # lib/json_spec/cucumber.rb:81 And the JSON at "integer" should be an integer # lib/json_spec/cucumber.rb:81 And the JSON at "string" should be a string # lib/json_spec/cucumber.rb:81 And the JSON at "true" should be a boolean # lib/json_spec/cucumber.rb:81 53 scenarios (53 passed) 281 steps (281 passed) 0m0.099s ┌──────────────────────────────────────────────────────────────────────────────┐ │ Share your Cucumber Report with your team at https://reports.cucumber.io │ │ │ │ Command line option: --publish │ │ Environment variable: CUCUMBER_PUBLISH_ENABLED=true │ │ cucumber.yml: default: --publish │ │ │ │ More information at https://cucumber.io/docs/cucumber/environment-variables/ │ │ │ │ To disable this message, specify CUCUMBER_PUBLISH_QUIET=true or use the │ │ --publish-quiet option. You can also add this to your cucumber.yml: │ │ default: --publish-quiet │ └──────────────────────────────────────────────────────────────────────────────┘ ~/build/BUILD/json_spec-1.1.5 + popd + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-json_spec-1.1.5-14.fc38.noarch Provides: rubygem(json_spec) = 1.1.5 rubygem-json_spec = 1.1.5-14.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(multi_json) >= 1.0 with rubygem(multi_json) < 2) (rubygem(rspec) >= 2.0 with rubygem(rspec) < 4.0) ruby(rubygems) Processing files: rubygem-json_spec-doc-1.1.5-14.fc38.noarch Provides: rubygem-json_spec-doc = 1.1.5-14.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le Wrote: /builddir/build/RPMS/rubygem-json_spec-1.1.5-14.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-json_spec-doc-1.1.5-14.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UQIbr8 + umask 022 + cd /builddir/build/BUILD + cd json_spec-1.1.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-json_spec-1.1.5-14.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.a01yUb + umask 022 + cd /builddir/build/BUILD + rm -rf json_spec-1.1.5 json_spec-1.1.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0