Project

General

Profile

Bug #31911

bulk_host_extensions transient test failure

Added by Justin Sherrill almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

--- expected
+++ actual
@@ -1 +1 @@
-#<ActiveRecord::Relation [#<Host::Managed id: 298486374, name: "host2.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: nil, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>, #<Host::Managed id: 980190962, name: "host1.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: 501905019, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>]>
+[#<Host::Managed id: 980190962, name: "host1.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: 501905019, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>, #<Host::Managed id: 298486374, name: "host2.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: nil, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>]
(Minitest::Assertion)
/home/jenkins/workspace/sat6-unit-test-katello@2/plugin/test/controllers/api/v2/concerns/bulk_hosts_extensions_test.rb:123
--- expected...
Stacktrace
--- expected
+++ actual
@@ -1 +1 @@
-#<ActiveRecord::Relation [#<Host::Managed id: 298486374, name: "host2.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: nil, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>, #<Host::Managed id: 980190962, name: "host1.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: 501905019, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>]>
+[#<Host::Managed id: 980190962, name: "host1.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: 501905019, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>, #<Host::Managed id: 298486374, name: "host2.example.com", last_compile: nil, last_report: nil, updated_at: "2021-02-16 22:51:41", created_at: "2021-02-16 22:51:41", root_pass: nil, architecture_id: nil, operatingsystem_id: nil, environment_id: nil, ptable_id: nil, medium_id: nil, build: false, comment: nil, disk: nil, installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: nil, owner_type: nil, enabled: true, puppet_ca_proxy_id: nil, managed: false, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: nil, puppet_proxy_id: nil, certname: nil, image_id: nil, organization_id: 114267492, location_id: 255093256, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: nil, grub_pass: "", global_status: 0, lookup_value_matcher: nil, pxe_loader: nil, initiated_at: nil, build_errors: nil>]
(Minitest::Assertion)
/home/jenkins/workspace/sat6-unit-test-katello@2/plugin/test/controllers/api/v2/concerns/bulk_hosts_extensions_test.rb:84

Related issues

Related to Katello - Bug #31159: Add authorization for HostBulkActionsControllerClosed

Associated revisions

Revision 78239560 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #31911 - fix transient bulk_host_extensions test

History

#1 Updated by Justin Sherrill almost 2 years ago

  • Related to Bug #31159: Add authorization for HostBulkActionsController added

#2 Updated by The Foreman Bot almost 2 years ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9176 added

#3 Updated by Jonathon Turel almost 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.1.0

#4 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#5 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF