Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed test when bumping cucumber: ParallelTests::Cucumber::FailuresLogger should produce a list of lines for failing scenarios #898

Open
Apteryks opened this issue Mar 16, 2023 · 1 comment

Comments

@Apteryks
Copy link

Hello,

FYI, I've updated this on GNU Guix, where Cucumber is at version 8.0.0, and there is a single test failure with the last 4.2.0 release:

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) CLI Spinach writes a runtime log
     # not yet implemented -- custom runtime logging
     # ./spec/integration_spec.rb:642

  2) ParallelTests::Test::Runner.execute_command skips reads from stdin
     # hangs on normal ruby, works on jruby
     # ./spec/parallel_tests/test/runner_spec.rb:479

  3) ParallelTests::Test::Runner.execute_command prints each stream to the correct stream
     # open3
     # ./spec/parallel_tests/test/runner_spec.rb:558

Failures:

  1) ParallelTests::Cucumber::FailuresLogger should produce a list of lines for failing scenarios
     Failure/Error: super
       #<Double "config"> received unexpected message :error_stream with (no args)
     # ./lib/parallel_tests/cucumber/failures_logger.rb:11:in `initialize'
     # ./spec/parallel_tests/cucumber/failure_logger_spec.rb:13:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:213:in `block (2 levels) in <top (required)>'

Finished in 43.92 seconds (files took 0.28314 seconds to load)
440 examples, 1 failure, 3 pending

Failed examples:

rspec ./spec/parallel_tests/cucumber/failure_logger_spec.rb:26 # ParallelTests::Cucumber::FailuresLogger should produce a list of lines for failing scenarios

Randomized with seed 57499

rake aborted!
Command failed with status (1): [rspec spec/...]
/tmp/guix-build-ruby-parallel-tests-4.2.0.drv-0/source/Rakefile:12:in `block in <top (required)>'
/gnu/store/l7a6068vvi424q2rkf9f6yn9mych39sf-ruby-rake-13.0.6/lib/ruby/vendor_ruby/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => default => spec
(See full trace by running task with --trace)
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "rake" arguments: ("default") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `check' failed after 44.5 seconds
command "rake" "default" failed with status 1

The environment used is:

ruby-cucumber@8.0.0 ruby-cuke-modeler@3.19.0 ruby-minitest@5.18.0 ruby-parallel@1.21.0
+ ruby-rake@13.0.6 ruby-rspec@3.12.0 ruby-spinach@0.11.0
@grosser
Copy link
Owner

grosser commented Mar 21, 2023

Gemfile.lock has cucumber (4.1.0) so that will need an update
I'd suggest you update cucumber and the other gems 1-by-1 until you see the breakage and then try to fix whatever it is breaking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants