Project

General

Profile

Bug #19474

Transient error with 5 repository related tests

Added by Justin Sherrill over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Brad
Fixed in Releases:
Found in Releases:

Description

We've seen a set transient failures occur 3 times so far. It seems to always be 5 unit tests. The last run was using --seed 36077:

00:26:10.998   1) Failure:
00:26:10.998 Actions::Katello::Repository::ImportApplicabilityTest#test_0001_runs [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/actions/katello/repository_test.rb:457]:
00:26:10.998 not all expectations were satisfied
00:26:10.998 unsatisfied expectations:
00:26:10.998 - expected exactly once, not yet invoked: Katello::EventQueue.push_event('import_host_applicability', 343)
00:26:10.998 satisfied expectations:
00:26:10.998 - allowed any number of times, not yet invoked: Katello::Ping.ping(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: Cert::Certs.ssl_client_key(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: Cert::Certs.ssl_client_cert(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: Cert::Certs.ca_cert(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: #<AnyInstance:Katello::Product(id: integer, name: string, description: text, cp_id: string, multiplier: integer, provider_id: integer, created_at: datetime, updated_at: datetime, gpg_key_id: integer, sync_plan_id: integer, label: string, organization_id: integer)>.key(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: #<AnyInstance:Katello::Product(id: integer, name: string, description: text, cp_id: string, multiplier: integer, provider_id: integer, created_at: datetime, updated_at: datetime, gpg_key_id: integer, sync_plan_id: integer, label: string, organization_id: integer)>.certificate(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: #<AnyInstance:Katello::Repository(id: integer, name: string, pulp_id: string, created_at: datetime, updated_at: datetime, major: integer, minor: string, gpg_key_id: integer, cp_label: string, library_instance_id: integer, content_id: string, arch: string, label: string, content_view_version_id: integer, relative_path: string, url: string, unprotected: boolean, content_type: string, product_id: integer, environment_id: integer, checksum_type: string, docker_upstream_name: string, distribution_version: string, distribution_arch: string, distribution_bootable: boolean, distribution_family: string, distribution_variant: string, distribution_uuid: string, mirror_on_sync: boolean, download_policy: string, verify_ssl_on_sync: boolean, upstream_username: string, upstream_password: string, ostree_upstream_sync_policy: string, ostree_upstream_sync_depth: integer, container_repository_name: string)>.hosts_with_applicability(any_parameters)
00:26:10.998 
00:26:10.998 
00:26:10.998 
00:26:10.998   2) Skipped:
00:26:10.998 AccessPermissionsTest#test_0042_route bastion/bastion/index should have a permission that grants access [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/test/active_support_test_case_helper.rb:40]:
00:26:10.998 Test was disabled by plugin
00:26:10.998 
00:26:10.998 
00:26:10.998   3) Skipped:
00:26:10.998 AccessPermissionsTest#test_0930_route foreman_tasks/api/tasks/callback should have a permission that grants access [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/test/active_support_test_case_helper.rb:40]:
00:26:10.998 Test was disabled by plugin
00:26:10.998 
00:26:10.998 
00:26:10.998   4) Skipped:
00:26:10.998 AccessPermissionsTest#test_0043_route bastion/bastion/index_ie should have a permission that grants access [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/test/active_support_test_case_helper.rb:40]:
00:26:10.998 Test was disabled by plugin
00:26:10.998 
00:26:10.998 
00:26:10.998   5) Error:
00:26:10.998 Actions::Pulp::Repository::UpdateScheduleTest#test_update_schedule:
00:26:10.998 NoMethodError: undefined method `[]' for nil:NilClass
00:26:10.998     
00:26:10.998 
00:26:10.998 
00:26:10.998   6) Error:
00:26:10.998 Actions::Pulp::Repository::UpdateScheduleTest#test_disable_schedule:
00:26:10.998 NoMethodError: undefined method `[]' for nil:NilClass
00:26:10.998     
00:26:10.998 
00:26:10.998 
00:26:10.998   7) Error:
00:26:10.998 Actions::Pulp::Repository::BackgroundSyncTest#test_sync:
00:26:10.998 NoMethodError: private method `select' called for nil:NilClass
00:26:10.998     
00:26:10.998 
00:26:10.998 
00:26:10.998   8) Skipped:
00:26:10.998 Katello::ContentViewTest#test_delete [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/content_view_test.rb:123]:
00:26:10.998 TODO: Fix content views
00:26:10.998 
00:26:10.998 
00:26:10.998   9) Skipped:
00:26:10.998 Katello::ContentViewTest#test_destroy [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/content_view_test.rb:98]:
00:26:10.998 TODO: Fix content views
00:26:10.998 
00:26:10.998 
00:26:10.998  10) Skipped:
00:26:10.998 Katello::ContentViewTest#test_delete_last_env [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/content_view_test.rb:130]:
00:26:10.998 TODO: Fix content views
00:26:10.998 
00:26:10.998 
00:26:10.998  11) Skipped:
00:26:10.998 Katello::ContentViewTest#test_destroy_content_view_versions [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/content_view_test.rb:148]:
00:26:10.998 TODO: Fix content views
00:26:10.998 
00:26:10.998 
00:26:10.998  12) Skipped:
00:26:10.998 Katello::ContentViewTest#test_promote [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/content_view_test.rb:83]:
00:26:10.998 TODO: Fix content views
00:26:10.998 
00:26:10.998 
00:26:10.998  13) Failure:
00:26:10.998 Katello::Host::RecalculateErrataStatusTest::run#test_0001_plans [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/actions/katello/host/recalculate_errata_status_test.rb:19]:
00:26:10.998 not all expectations were satisfied
00:26:10.998 unsatisfied expectations:
00:26:10.998 - expected at least once, not yet invoked: #<AnyInstance:Katello::Host::ContentFacet(id: integer, host_id: integer, uuid: string, content_view_id: integer, lifecycle_environment_id: integer, kickstart_repository_id: integer, content_source_id: integer)>.update_errata_status(any_parameters)
00:26:10.998 satisfied expectations:
00:26:10.998 - allowed any number of times, not yet invoked: Katello::Ping.ping(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: Cert::Certs.ssl_client_key(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: Cert::Certs.ssl_client_cert(any_parameters)
00:26:10.998 - allowed any number of times, not yet invoked: Cert::Certs.ca_cert(any_parameters)
00:26:10.998 
00:26:10.998 
00:26:10.998 
00:26:10.998  14) Skipped:
00:26:10.998 Katello::ContentViewFilterTest#test_composite_view [/var/lib/workspace/workspace/test_develop_pr_katello/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/content_view_filter_test.rb:18]:
00:26:10.998 skip until composite content views are supported
00:26:10.998 
00:26:10.998 3117 runs, 6251 assertions, 2 failures, 3 errors, 9 skips
00:26:11.276 /usr/local/rvm/gems/ruby-2.2.5@test_develop_pr_katello-1/bin/ruby_executable_hooks:15:in `<main>'
00:26:11.276 Tasks: TOP => katello_test_task
00:26:11.276 (See full trace by running task with --trace)
00:26:11.509 Build step 'Execute shell' marked build as failure
00:26:11.561 Archiving artifacts
00:26:11.711 Performing Post build task...
00:26:11.711 Match found for : : True
00:26:11.711 Logical operation result is TRUE
00:26:11.712 Running script  : #!/bin/bash
00:26:11.712 [ -z "$ruby" ] && ruby=2.0.0
00:26:11.712 
00:26:11.712 if [ -d foreman ];then
00:26:11.712   cd foreman/
00:26:11.712 fi
00:26:11.712 
00:26:11.712 # Clean npm modules
00:26:11.712 [ -d node_modules ] && rm -rf node_modules/
00:26:11.712 
00:26:11.712 # Clean gemset and database
00:26:11.712 . /etc/profile.d/rvm.sh
00:26:11.712 gemset=$(echo ${JOB_NAME} | cut -d/ -f1)-${EXECUTOR_NUMBER}
00:26:11.712 rvm use ruby-${ruby}@${gemset}
00:26:11.712 

History

#1 Updated by Justin Sherrill over 1 year ago

another failure
00:54:17.099 Run options: -v --ci-reporter --seed 965

#2 Updated by Justin Sherrill over 1 year ago

  • Target version set to 160
  • Legacy Backlogs Release (now unused) set to 114

#3 Updated by Justin Sherrill over 1 year ago

another instance:

--seed 51335

Also available in: Atom PDF