Actions
Bug #8768
closedGetting a 401 error in test/glue/pulp/erratum_test.rb
Description
When running all the tests together in live mode, you get a few 401 errors in test/glue/pulp/erratum_test.rb:
1) Error: [903/1931] test_backend_data(Katello::GlueErratumTest): RestClient::Unauthorized: 401 Unauthorized /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/abstract_response.rb:48:in `return!' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/base.rb:92:in `block in get_response' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:267:in `call' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:267:in `process_result' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rbovirt-0.0.31/lib/restclient_ext/request.rb:50:in `block in transmit' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/webmock-1.20.4/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/webmock-1.20.4/lib/webmock/http_lib_adapters/net_http.rb:150:in `start' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rbovirt-0.0.31/lib/restclient_ext/request.rb:44:in `transmit' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:68:in `execute' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:35:in `execute' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/resource.rb:67:in `post' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/base.rb:91:in `get_response' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/base.rb:82:in `call' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/resources/repository.rb:161:in `unit_search' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/extensions/repository.rb:205:in `errata_ids' /home/dadavis/Projects/katello/app/models/katello/glue/pulp/repo.rb:249:in `errata_ids' /home/dadavis/Projects/katello/app/models/katello/glue/pulp/repo.rb:333:in `errata_json' /home/dadavis/Projects/katello/app/models/katello/glue/pulp/repo.rb:320:in `index_db_errata' /home/dadavis/Projects/katello/test/glue/pulp/erratum_test.rb:45:in `test_backend_data' 2) Error: test_pulp_data(Katello::GlueErratumTest): RestClient::Unauthorized: 401 Unauthorized /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/abstract_response.rb:48:in `return!' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/base.rb:92:in `block in get_response' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:267:in `call' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:267:in `process_result' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rbovirt-0.0.31/lib/restclient_ext/request.rb:50:in `block in transmit' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/webmock-1.20.4/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/webmock-1.20.4/lib/webmock/http_lib_adapters/net_http.rb:150:in `start' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rbovirt-0.0.31/lib/restclient_ext/request.rb:44:in `transmit' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:68:in `execute' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/request.rb:35:in `execute' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/rest-client-1.6.8/lib/restclient/resource.rb:67:in `post' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/base.rb:91:in `get_response' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/base.rb:82:in `call' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/resources/repository.rb:161:in `unit_search' /home/dadavis/.rvm/gems/ruby-2.0.0-p594@foreman/gems/runcible-1.3.0/lib/runcible/extensions/repository.rb:205:in `errata_ids' /home/dadavis/Projects/katello/app/models/katello/glue/pulp/repo.rb:249:in `errata_ids' /home/dadavis/Projects/katello/app/models/katello/glue/pulp/repo.rb:333:in `errata_json' /home/dadavis/Projects/katello/app/models/katello/glue/pulp/repo.rb:320:in `index_db_errata' /home/dadavis/Projects/katello/test/glue/pulp/erratum_test.rb:50:in `test_pulp_data' ...
Actions