Project

General

Profile

Actions

Bug #31911

closed

bulk_host_extensions transient test failure

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

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

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 1 (0 open1 closed)

Related to Katello - Bug #31159: Add authorization for HostBulkActionsControllerClosedJonathon TurelActions
Actions #1

Updated by Justin Sherrill about 3 years ago

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

Updated by The Foreman Bot about 3 years ago

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

Updated by Jonathon Turel about 3 years ago

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

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #5

Updated by Justin Sherrill almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF