Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cucumber-gherkin.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1687792935.142160/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iuoth5ud:/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.iuoth5ud:/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', 'd265ac93b89f4ab6be48606c3baf0863', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687792935.142160/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iuoth5ud:/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-cucumber-gherkin.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-cucumber-gherkin-26.2.0-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-cucumber-gherkin.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1687792935.142160/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iuoth5ud:/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.iuoth5ud:/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', 'c9b20c0f14e94d08b39fa7ab90a6ed0a', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1687792935.142160/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iuoth5ud:/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-cucumber-gherkin.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: Macro expanded in comment on line 74: %{gem_instdir}/LICENSE Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5BmV2L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cucumber-gherkin-26.2.0 + /usr/bin/tar -xof /builddir/build/SOURCES/rubygem-cucumber-gherkin-26.2.0-testdata.txz + /usr/bin/gem unpack /builddir/build/SOURCES/cucumber-gherkin-26.2.0.gem Unpacked gem: '/builddir/build/BUILD/cucumber-gherkin-26.2.0' + /usr/bin/gem spec /builddir/build/SOURCES/cucumber-gherkin-26.2.0.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd cucumber-gherkin-26.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NKdQKb + umask 022 + cd /builddir/build/BUILD + cd cucumber-gherkin-26.2.0 + gem build ../cucumber-gherkin-26.2.0.gemspec Successfully built RubyGem Name: cucumber-gherkin Version: 26.2.0 File: cucumber-gherkin-26.2.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc cucumber-gherkin-26.2.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/cucumber-gherkin-26.2.0 Bin dir: /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/bin Gem home: /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/README.md /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/bin/gherkin /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/bin/gherkin-ruby /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/ast_builder.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/ast_node.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/dialect.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/errors.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/gherkin-languages.json /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/gherkin_line.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/parser.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/pickles/compiler.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/query.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/stream/parser_message_stream.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/token.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/token_formatter_builder.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/token_matcher.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/lib/gherkin/token_scanner.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/capture_warnings.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/gherkin/dialect_spec.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/gherkin/gherkin_line_spec.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/gherkin/gherkin_spec.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/gherkin/parser_spec.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/gherkin/query_spec.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0/spec/gherkin/stream/parser_message_stream_spec.rb /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/bin/gherkin-ruby /builddir/build/BUILD/cucumber-gherkin-26.2.0/usr/bin/gherkin Successfully installed cucumber-gherkin-26.2.0 Parsing documentation for cucumber-gherkin-26.2.0 Parsing sources... 6% [ 1/15] lib/gherkin.rb 13% [ 2/15] lib/gherkin/ast_builder.rb 20% [ 3/15] lib/gherkin/ast_node.rb 26% [ 4/15] lib/gherkin/dialect.rb 33% [ 5/15] lib/gherkin/errors.rb 40% [ 6/15] lib/gherkin/gherkin-languages.json 46% [ 7/15] lib/gherkin/gherkin_line.rb 53% [ 8/15] lib/gherkin/parser.rb 60% [ 9/15] lib/gherkin/pickles/compiler.rb 66% [10/15] lib/gherkin/query.rb 73% [11/15] lib/gherkin/stream/parser_message_stream.rb 80% [12/15] lib/gherkin/token.rb 86% [13/15] lib/gherkin/token_formatter_builder.rb 93% [14/15] lib/gherkin/token_matcher.rb 100% [15/15] lib/gherkin/token_scanner.rb Installing ri documentation for cucumber-gherkin-26.2.0 Installing darkfish documentation for cucumber-gherkin-26.2.0 Done installing documentation for cucumber-gherkin after 1 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aA8lr1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64 + cd cucumber-gherkin-26.2.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64/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/specifications /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64/usr/share/gems/ + mkdir -p /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64/usr/bin + cp -a ./usr/bin/gherkin ./usr/bin/gherkin-ruby /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64/usr/bin/ + find /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64/usr/share/gems/gems/cucumber-gherkin-26.2.0/bin -type f + xargs chmod a+x + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 26.2.0-1.el8 --unique-debug-suffix -26.2.0-1.el8.x86_64 --unique-debug-src-base rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cucumber-gherkin-26.2.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/gems/gems/cucumber-gherkin-26.2.0/bin/gherkin-ruby from /usr/bin/env ruby to #!/usr/bin/ruby mangling shebang in /usr/share/gems/gems/cucumber-gherkin-26.2.0/bin/gherkin from /usr/bin/env ruby to #!/usr/bin/ruby Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GD57dS + umask 022 + cd /builddir/build/BUILD + cd cucumber-gherkin-26.2.0 + pushd ./usr/share/gems/gems/cucumber-gherkin-26.2.0 ~/build/BUILD/cucumber-gherkin-26.2.0/usr/share/gems/gems/cucumber-gherkin-26.2.0 ~/build/BUILD/cucumber-gherkin-26.2.0 + ln -s /builddir/build/BUILD/testdata testdata + rspec spec ......FFF.FFFFFFFFFFFFFFFFF Failures: 1) Gherkin can process feature file paths Failure/Error: data: File.open(path, 'r:UTF-8', &:read), Errno::ENOENT: No such file or directory @ rb_sysopen - ../testdata/good/minimal.feature # ./lib/gherkin/stream/parser_message_stream.rb:73:in `initialize' # ./lib/gherkin/stream/parser_message_stream.rb:73:in `open' # ./lib/gherkin/stream/parser_message_stream.rb:73:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:70:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:70:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/gherkin_spec.rb:11:in `each' # ./spec/gherkin/gherkin_spec.rb:11:in `each' # ./spec/gherkin/gherkin_spec.rb:11:in `to_a' # ./spec/gherkin/gherkin_spec.rb:11:in `block (2 levels) in ' 2) Gherkin can process feature file content Failure/Error: data = File.open("../testdata/good/minimal.feature", 'r:UTF-8', &:read) Errno::ENOENT: No such file or directory @ rb_sysopen - ../testdata/good/minimal.feature # ./spec/gherkin/gherkin_spec.rb:17:in `initialize' # ./spec/gherkin/gherkin_spec.rb:17:in `open' # ./spec/gherkin/gherkin_spec.rb:17:in `block (2 levels) in ' 3) Gherkin can set the default dialect for the feature file content Failure/Error: data = File.open("../testdata/good/i18n_no.feature", 'r:UTF-8', &:read) Errno::ENOENT: No such file or directory @ rb_sysopen - ../testdata/good/i18n_no.feature # ./spec/gherkin/gherkin_spec.rb:31:in `initialize' # ./spec/gherkin/gherkin_spec.rb:31:in `open' # ./spec/gherkin/gherkin_spec.rb:31:in `block (2 levels) in ' 4) Gherkin::Query#update when the feature file is empty does not fail Failure/Error: expect do messages.each { |message| subject.update(message) } end.not_to raise_exception expected no Exception, got # with backtrace: # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:68:in `block (5 levels) in ' # ./spec/gherkin/query_spec.rb:67:in `block (4 levels) in ' # ./spec/gherkin/query_spec.rb:67:in `block (4 levels) in ' 5) Gherkin::Query#location raises an exception when the AST node ID is unknown Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 6) Gherkin::Query#location provides the location of a scenario Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 7) Gherkin::Query#location provides the location of an examples table row Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 8) Gherkin::Query#location when querying steps provides the location of a background step Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 9) Gherkin::Query#location when querying steps provides the location of a scenario step Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 10) Gherkin::Query#location when querying tags provides the location of a feature tags Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 11) Gherkin::Query#location when querying tags provides the location of a scenario tags Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 12) Gherkin::Query#location when querying tags provides the location of scenario examples tags Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 13) Gherkin::Query#location when querying tags provides the location of a rule tag Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 14) Gherkin::Query#location when children are scoped in a Rule provides the location of a background step Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 15) Gherkin::Query#location when children are scoped in a Rule provides the location of a scenario Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 16) Gherkin::Query#location when children are scoped in a Rule provides the location of a scenario tag Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 17) Gherkin::Query#location when children are scoped in a Rule provides the location of a scenario step Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `each' # ./spec/gherkin/query_spec.rb:28:in `to_a' # ./spec/gherkin/query_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/query_spec.rb:76:in `block (3 levels) in ' 18) Gherkin::Stream::ParserMessageStream#messages raises an exception on second iteration Failure/Error: expect { messages.map(&:to_s) }.not_to raise_exception expected no Exception, got # with backtrace: # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/stream/parser_message_stream_spec.rb:37:in `each' # ./spec/gherkin/stream/parser_message_stream_spec.rb:37:in `each' # ./spec/gherkin/stream/parser_message_stream_spec.rb:37:in `map' # ./spec/gherkin/stream/parser_message_stream_spec.rb:37:in `block (4 levels) in ' # ./spec/gherkin/stream/parser_message_stream_spec.rb:37:in `block (3 levels) in ' # ./spec/gherkin/stream/parser_message_stream_spec.rb:37:in `block (3 levels) in ' 19) Gherkin::Stream::ParserMessageStream options.id_generator when not set generates random UUIDs Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `each' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `each' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `first' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/stream/parser_message_stream_spec.rb:31:in `block (2 levels) in ' # ./spec/gherkin/stream/parser_message_stream_spec.rb:45:in `block (4 levels) in ' 20) Gherkin::Stream::ParserMessageStream options.id_generator when set uses the generator instance to produce the IDs Failure/Error: add_keyword_type_mappings(@dialect.given_keywords, Cucumber::Messages::StepKeywordType::CONTEXT) NameError: uninitialized constant Cucumber::Messages::StepKeywordType # ./lib/gherkin/token_matcher.rb:162:in `change_dialect' # ./lib/gherkin/token_matcher.rb:11:in `initialize' # ./lib/gherkin/parser.rb:63:in `new' # ./lib/gherkin/parser.rb:63:in `parse' # ./lib/gherkin/stream/parser_message_stream.rb:89:in `build_gherkin_document' # ./lib/gherkin/stream/parser_message_stream.rb:31:in `block (2 levels) in messages' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `yield' # ./lib/gherkin/stream/parser_message_stream.rb:79:in `block (2 levels) in sources' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:78:in `block in sources' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `each' # ./lib/gherkin/stream/parser_message_stream.rb:25:in `block in messages' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `each' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `each' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `first' # ./spec/gherkin/stream/parser_message_stream_spec.rb:28:in `block (2 levels) in ' # ./spec/gherkin/stream/parser_message_stream_spec.rb:31:in `block (2 levels) in ' # ./spec/gherkin/stream/parser_message_stream_spec.rb:61:in `block (4 levels) in ' Finished in 0.01948 seconds (files took 0.0963 seconds to load) 27 examples, 20 failures Failed examples: rspec ./spec/gherkin/gherkin_spec.rb:5 # Gherkin can process feature file paths rspec ./spec/gherkin/gherkin_spec.rb:16 # Gherkin can process feature file content rspec ./spec/gherkin/gherkin_spec.rb:30 # Gherkin can set the default dialect for the feature file content rspec ./spec/gherkin/query_spec.rb:66 # Gherkin::Query#update when the feature file is empty does not fail rspec ./spec/gherkin/query_spec.rb:84 # Gherkin::Query#location raises an exception when the AST node ID is unknown rspec ./spec/gherkin/query_spec.rb:88 # Gherkin::Query#location provides the location of a scenario rspec ./spec/gherkin/query_spec.rb:92 # Gherkin::Query#location provides the location of an examples table row rspec ./spec/gherkin/query_spec.rb:101 # Gherkin::Query#location when querying steps provides the location of a background step rspec ./spec/gherkin/query_spec.rb:105 # Gherkin::Query#location when querying steps provides the location of a scenario step rspec ./spec/gherkin/query_spec.rb:116 # Gherkin::Query#location when querying tags provides the location of a feature tags rspec ./spec/gherkin/query_spec.rb:120 # Gherkin::Query#location when querying tags provides the location of a scenario tags rspec ./spec/gherkin/query_spec.rb:124 # Gherkin::Query#location when querying tags provides the location of scenario examples tags rspec ./spec/gherkin/query_spec.rb:128 # Gherkin::Query#location when querying tags provides the location of a rule tag rspec ./spec/gherkin/query_spec.rb:140 # Gherkin::Query#location when children are scoped in a Rule provides the location of a background step rspec ./spec/gherkin/query_spec.rb:144 # Gherkin::Query#location when children are scoped in a Rule provides the location of a scenario rspec ./spec/gherkin/query_spec.rb:148 # Gherkin::Query#location when children are scoped in a Rule provides the location of a scenario tag rspec ./spec/gherkin/query_spec.rb:152 # Gherkin::Query#location when children are scoped in a Rule provides the location of a scenario step rspec ./spec/gherkin/stream/parser_message_stream_spec.rb:34 # Gherkin::Stream::ParserMessageStream#messages raises an exception on second iteration rspec ./spec/gherkin/stream/parser_message_stream_spec.rb:44 # Gherkin::Stream::ParserMessageStream options.id_generator when not set generates random UUIDs rspec ./spec/gherkin/stream/parser_message_stream_spec.rb:59 # Gherkin::Stream::ParserMessageStream options.id_generator when set uses the generator instance to produce the IDs ~/build/BUILD/cucumber-gherkin-26.2.0 Processing files: rubygem-cucumber-gherkin-26.2.0-1.el8.noarch + : + popd + exit 0 Provides: rubygem(cucumber-gherkin) = 26.2.0-1 rubygem-cucumber-gherkin = 26.2.0-1.el8 rubygem-gherkin = 26.2.0-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(cucumber-messages) < 22.1 with rubygem(cucumber-messages) >= 19.1.4) /usr/bin/ruby ruby(rubygems) Obsoletes: rubygem-gherkin < 5.1.0-100 Processing files: rubygem-cucumber-gherkin-doc-26.2.0-1.el8.noarch Provides: rubygem-cucumber-gherkin-doc = 26.2.0-1.el8 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-cucumber-gherkin-26.2.0-1.el8.x86_64 Wrote: /builddir/build/RPMS/rubygem-cucumber-gherkin-26.2.0-1.el8.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-cucumber-gherkin-doc-26.2.0-1.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CDy6wE + umask 022 + cd /builddir/build/BUILD + cd cucumber-gherkin-26.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-cucumber-gherkin-26.2.0-1.el8.x86_64 + exit 0 Child return code was: 0