Project

General

Profile

Actions

Bug #33689

closed

intermittent test failure related to enabled content types

Added by Justin Sherrill about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

There's an intermittent test failure related to content types. I've seen a handful of failures, but also ~70 failures:

ForemanTasks::TaskError: Task 931b07df-8eaa-4f78-91ce-d00c6b25bf4b: RuntimeError: Cannot find repository type file, is it enabled?...
Stacktrace
ForemanTasks::TaskError: Task 931b07df-8eaa-4f78-91ce-d00c6b25bf4b: RuntimeError: Cannot find repository type file, is it enabled?
    foreman-tasks (5.1.1) lib/foreman_tasks.rb:56:in `block in sync_task'
    foreman-tasks (5.1.1) lib/foreman_tasks.rb:55:in `tap'
    foreman-tasks (5.1.1) lib/foreman_tasks.rb:55:in `sync_task'
    /home/jenkins/workspace/katello-pr-test/test/actions/pulp3/repository/save_versions_test.rb:48:in `test_save_new_version_from_lookup_with_nil_version_hrefs'
    /home/jenkins/workspace/katello-pr-test/test/support/vcr.rb:26:in `block in run'
    /home/jenkins/workspace/katello-pr-test/test/support/vcr.rb:25:in `run' (ForemanTasks::TaskError)
/usr/local/rvm/gems/ruby-2.7.0@katello-pr-test-8905-2/gems/foreman-tasks-5.1.1/lib/foreman_tasks.rb:56
NoMethodError: undefined method `pulp3_skip_publication' for nil:NilClass...
Stacktrace
NoMethodError: undefined method `pulp3_skip_publication' for nil:NilClass
    /home/jenkins/workspace/katello-pr-test/app/lib/actions/pulp3/orchestration/repository/generate_metadata.rb:10:in `plan'
    /home/jenkins/workspace/katello-pr-test/app/lib/actions/middleware/backend_services_check.rb:23:in `plan'
    /home/jenkins/workspace/katello-pr-test/app/lib/actions/middleware/remote_action.rb:9:in `plan'
    /home/jenkins/workspace/katello-pr-test/test/actions/katello/repository_test.rb:481:in `block in <class:SyncTest>' (NoMethodError)
/usr/local/rvm/gems/ruby-2.7.0@katello-pr-test-8905-2/gems/dynflow-1.6.1/lib/dynflow/middleware.rb:36
--seed 41329
Actions

Also available in: Atom PDF