Project

General

Profile

Actions

Bug #19484

closed

Broken tests

Added by Marek Hulán over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

For some reason, we started to see following error on Ruby 2.0 and 2.1 (not sure how we missed that on PR tests), on 2.2+ the rubocop is broken (seems previously the job ignored errors) which has changed recently.

/var/lib/workspace/workspace/test_plugin_matrix/database/postgresql/ruby/2.0.0/slave/fast/plugin/test/functional/api/v2/template_controller_test.rb:6: syntax error, unexpected ':', expecting => (SyntaxError)
20:19:04     post :import, { 'repo': "#{ForemanTemplates::Engine....
20:19:04                            ^
20:19:04 /var/lib/workspace/workspace/test_plugin_matrix/database/postgresql/ruby/2.0.0/slave/fast/plugin/test/functional/api/v2/template_controller_test.rb:6: syntax error, unexpected ',', expecting keyword_end
20:19:04 ...ine.root}/test/templates/core", 'prefix': ''}
20:19:04 ...                               ^
20:19:04 /var/lib/workspace/workspace/test_plugin_matrix/database/postgresql/ruby/2.0.0/slave/fast/plugin/test/functional/api/v2/template_controller_test.rb:6: syntax error, unexpected ':', expecting keyword_end
20:19:04 ...test/templates/core", 'prefix': ''}
20:19:04 ...                               ^
20:19:04     from /usr/local/rvm/gems/ruby-2.0.0-p481@test_plugin_matrix-1/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in `block in <main>'
20:19:04     from /usr/local/rvm/gems/ruby-2.0.0-p481@test_plugin_matrix-1/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in `select'
20:19:04     from /usr/local/rvm/gems/ruby-2.0.0-p481@test_plugin_matrix-1/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in `<main>'
20:19:04 rake aborted!
20:19:04 Command failed with status (1): [ruby -
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_templates/pull/50 added
Actions #2

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Marek Hulán over 7 years ago

  • Translation missing: en.field_release set to 260
Actions

Also available in: Atom PDF