Skip to content

Intermittent CI errors #104

@kpaulisse

Description

@kpaulisse

CI jobs occasionally fail with:

  1) preserve environments integration with --preserve-environments set and --environment, --create-symlinks unset should exit with error status due modules in production environment not being found
     Failure/Error: expect(@result.exception).to be_a_kind_of(OctocatalogDiff::Errors::CatalogError)
       expected #<Parallel::DeadWorker: Parallel::DeadWorker> to be a kind of OctocatalogDiff::Errors::CatalogError
     # ./spec/octocatalog-diff/integration/preserve_environments_spec.rb:97:in `block (4 levels) in <top (required)>'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-retry-0.5.0/lib/rspec/retry.rb:112:in `block in run'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-retry-0.5.0/lib/rspec/retry.rb:101:in `loop'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-retry-0.5.0/lib/rspec/retry.rb:101:in `run'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-retry-0.5.0/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
     # ./vendor/bundle/ruby/2.0.0/gems/rspec-retry-0.5.0/lib/rspec/retry.rb:30:in `block (2 levels) in setup'

It looks like we need to rescue Parallel::DeadWorker and raise OctocatalogDiff::Errors::CatalogError at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions