Actions
Bug #19484
closedBroken tests
Difficulty:
Triaged:
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