Actions
Bug #10685
closedsmart_proxy_chef tests: undefined method `new' for ChefPlugin::Authentication:Module
Status:
Closed
Priority:
Normal
Assignee:
Category:
smart_proxy_chef
Target version:
Difficulty:
Triaged:
Description
Tests seem to be failing on smart_proxy_chef at the moment:
+ bundle exec rake TESTOPTS=-v /usr/local/rvm/rubies/ruby-2.0.0-p353/bin/ruby -I"lib:.:lib:test" -I"/usr/local/rvm/gems/ruby-2.0.0-p353@test_proxy_plugin_matrix-0/gems/rake-10.4.2/lib" "/usr/local/rvm/gems/ruby-2.0.0-p353@test_proxy_plugin_matrix-0/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/authentication_chef_test.rb" -v Loaded suite /usr/local/rvm/gems/ruby-2.0.0-p353@test_proxy_plugin_matrix-0/gems/rake-10.4.2/lib/rake/rake_test_loader Started AuthenticationChefTest: test_auth_disabled_should_always_success: E =============================================================================== Error: test_auth_disabled_should_always_success(AuthenticationChefTest) NoMethodError: undefined method `new' for ChefPlugin::Authentication:Module /var/lib/workspace/workspace/test_proxy_plugin_matrix/ruby/2.0.0/test/authentication_chef_test.rb:9:in `setup' =============================================================================== : (0.001531) test_auth_enable_without_headers_should_raise_an_error:E =============================================================================== Error: test_auth_enable_without_headers_should_raise_an_error(AuthenticationChefTest) NoMethodError: undefined method `new' for ChefPlugin::Authentication:Module /var/lib/workspace/workspace/test_proxy_plugin_matrix/ruby/2.0.0/test/authentication_chef_test.rb:9:in `setup' =============================================================================== : (0.001076) test_signing_and_checking_with_2_different_keys_sould_not_work:E =============================================================================== Error: test_signing_and_checking_with_2_different_keys_sould_not_work(AuthenticationChefTest) NoMethodError: undefined method `new' for ChefPlugin::Authentication:Module /var/lib/workspace/workspace/test_proxy_plugin_matrix/ruby/2.0.0/test/authentication_chef_test.rb:9:in `setup' =============================================================================== : (0.001041) test_signing_and_checking_with_same_key_sould_work: E =============================================================================== Error: test_signing_and_checking_with_same_key_sould_work(AuthenticationChefTest) NoMethodError: undefined method `new' for ChefPlugin::Authentication:Module /var/lib/workspace/workspace/test_proxy_plugin_matrix/ruby/2.0.0/test/authentication_chef_test.rb:9:in `setup' =============================================================================== : (0.001044) Finished in 0.005947208 seconds. 4 tests, 0 assertions, 0 failures, 4 errors, 0 pendings, 0 omissions, 0 notifications 0% passed
http://ci.theforeman.org/view/Plugins/job/test_proxy_plugin_matrix/4/ruby=2.0.0/console
Once passing, we can add them to Jenkins if you like: http://projects.theforeman.org/projects/foreman/wiki/Jenkins#Smart-proxy-plugin-testing (though I need to figure out how to exclude 1.8.7)
Updated by Marek Hulán over 9 years ago
- Status changed from New to Closed
- Assignee set to Marek Hulán
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 47
- Pull request https://github.com/theforeman/smart_proxy_chef/pull/11 added
- Pull request deleted (
)
Thanks, tests are fixed. If you figure out how to exlclude 1.8.7, please let me know. I'd be interested in running the tests in Jenkins.
Actions