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' ...
Updated by Justin Sherrill about 10 years ago
- Assignee set to Justin Sherrill
- Target version set to 62
- Difficulty set to easy
- Triaged changed from No to Yes
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/4886 added
- Pull request deleted (
)
Updated by Justin Sherrill about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|5c47dc28a4aca9a0806cc36cfa64c2dd9ca05f6f.
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 23
Actions