Fixes #37566 - Add UEFI Secure Boot Firmware to Libvirt #2090
foreman.yml
on: pull_request
Setup matrix
3s
Matrix: tests
Matrix: Katello / existing-database
Matrix: Katello / test
Test suite
2s
Annotations
73 errors and 4 warnings
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1301
Failure: test_0006_#compute_resource_selected renders compute tab with hostgroup parent's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1284
Failure: test_0004_#compute_resource_selected renders compute tab with explicit compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1292
Failure: test_0005_#compute_resource_selected renders compute tab with hostgroup's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L83
Failure: test_0002_#process_hostgroup does not change compute attributes if compute profile selected manually
ActionView::Template::Error: Error making a connection to libvirt URI qemu://stam/system:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:1268:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1277
Failure: test_0003_#compute_resource_selected renders compute tab without compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1223
Failure: test_0001_#process_hostgroup changes compute attributes
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_memory(any_parameters)
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_cpu_count(any_parameters)
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getresources(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::SparcRecord>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::Puppet>.environments(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::DHCP>.unused_ip(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::TFTP>.bootServer(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.hypervisor(any_parameters)
- allowed any number of times, invoked once: #<Foreman::Model::EC2:0x144060>.setup_key_pair(any_parameters)
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L155
Failure: test_0002_should not create a new host when the compute_resource is not in same organization
ActionView::Template::Error: Error making a connection to libvirt URI http://56.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:156:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:155:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L147
Failure: test_0001_should not create a new host when the compute_resource is not in same location
ActionView::Template::Error: Error making a connection to libvirt URI http://57.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:148:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:147:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 2.7 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1284
Failure: test_0004_#compute_resource_selected renders compute tab with explicit compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1292
Failure: test_0005_#compute_resource_selected renders compute tab with hostgroup's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L83
Failure: test_0002_#process_hostgroup does not change compute attributes if compute profile selected manually
ActionView::Template::Error: Error making a connection to libvirt URI qemu://stam/system:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:1268:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1223
Failure: test_0001_#process_hostgroup changes compute attributes
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_memory(any_parameters)
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_cpu_count(any_parameters)
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getresources(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::SparcRecord>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::Puppet>.environments(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::DHCP>.unused_ip(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::TFTP>.bootServer(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.hypervisor(any_parameters)
- allowed any number of times, invoked once: #<Foreman::Model::EC2:0x14c440>.setup_key_pair(any_parameters)
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1277
Failure: test_0003_#compute_resource_selected renders compute tab without compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1301
Failure: test_0006_#compute_resource_selected renders compute tab with hostgroup parent's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L155
Failure: test_0002_should not create a new host when the compute_resource is not in same organization
ActionView::Template::Error: Error making a connection to libvirt URI http://41.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:156:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:155:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L147
Failure: test_0001_should not create a new host when the compute_resource is not in same location
ActionView::Template::Error: Error making a connection to libvirt URI http://42.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:148:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:147:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1277
Failure: test_0003_#compute_resource_selected renders compute tab without compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1284
Failure: test_0004_#compute_resource_selected renders compute tab with explicit compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1292
Failure: test_0005_#compute_resource_selected renders compute tab with hostgroup's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L83
Failure: test_0002_#process_hostgroup does not change compute attributes if compute profile selected manually
ActionView::Template::Error: Error making a connection to libvirt URI qemu://stam/system:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:1268:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1223
Failure: test_0001_#process_hostgroup changes compute attributes
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_memory(any_parameters)
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_cpu_count(any_parameters)
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getresources(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::SparcRecord>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::Puppet>.environments(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::DHCP>.unused_ip(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::TFTP>.bootServer(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.hypervisor(any_parameters)
- allowed any number of times, invoked once: #<Foreman::Model::EC2:0x22bca8>.setup_key_pair(any_parameters)
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1301
Failure: test_0006_#compute_resource_selected renders compute tab with hostgroup parent's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L155
Failure: test_0002_should not create a new host when the compute_resource is not in same organization
ActionView::Template::Error: Error making a connection to libvirt URI http://25.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:156:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:155:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L147
Failure: test_0001_should not create a new host when the compute_resource is not in same location
ActionView::Template::Error: Error making a connection to libvirt URI http://26.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:148:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:147:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L155
Failure: test_0002_should not create a new host when the compute_resource is not in same organization
ActionView::Template::Error: Error making a connection to libvirt URI http://3.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:156:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:155:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L147
Failure: test_0001_should not create a new host when the compute_resource is not in same location
ActionView::Template::Error: Error making a connection to libvirt URI http://4.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/views/hosts/new.html.erb:2
app/controllers/application_controller.rb:315:in `process_error'
app/controllers/hosts_controller.rb:105:in `create'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:148:in `block (3 levels) in <class:HostsControllerTest>'
test/controllers/hosts_controller_test.rb:147:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1292
Failure: test_0005_#compute_resource_selected renders compute tab with hostgroup's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1277
Failure: test_0003_#compute_resource_selected renders compute tab without compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1223
Failure: test_0001_#process_hostgroup changes compute attributes
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_memory(any_parameters)
- expected exactly once, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.max_cpu_count(any_parameters)
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getresources(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::ARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::AAAARecord>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR4Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicts(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DNS::PTR6Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.conflicting?(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::Record>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Net::DHCP::SparcRecord>.create(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::Puppet>.environments(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::DHCP>.unused_ip(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:ProxyAPI::TFTP>.bootServer(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Foreman::Model::Libvirt(id: integer, name: string, description: text, url: string, user: string, password: text, uuid: string, type: string, created_at: datetime, updated_at: datetime, attrs: text, caching_enabled: boolean, domain: string, http_proxy_id: integer)>.hypervisor(any_parameters)
- allowed any number of times, invoked once: #<Foreman::Model::EC2:0x5ab978>.setup_key_pair(any_parameters)
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1301
Failure: test_0006_#compute_resource_selected renders compute tab with hostgroup parent's compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L83
Failure: test_0002_#process_hostgroup does not change compute attributes if compute profile selected manually
ActionView::Template::Error: Error making a connection to libvirt URI qemu://stam/system:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
test/controllers/hosts_controller_test.rb:1268:in `block (2 levels) in <class:HostsControllerTest>'
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/controllers/hosts_controller_test.rb#L1284
Failure: test_0004_#compute_resource_selected renders compute tab with explicit compute profile
Expected response to be a <2XX: success>, but was a <500: Internal Server Error>
|
test:functionals - Ruby 3.0 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/unit/compute_resource_host_importer_test.rb#L83
Failure: test_0001_imports the VM with all parameters
Fog::Errors::Error: Error making a connection to libvirt URI http://20.example.com/:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resource.rb:182:in `find_vm_by_uuid'
app/models/compute_resources/foreman/model/libvirt.rb:46:in `find_vm_by_uuid'
test/unit/compute_resource_host_importer_test.rb:14:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:10:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:13:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:81:in `block (2 levels) in <class:ComputeResourceHostImporterTest>'
|
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/models/compute_resources/libvirt_test.rb#L285
Failure: test_0001_returns secure boot settings when firmware is 'uefi_secure_boot'
--- expected
+++ actual
@@ -1 +1 @@
-{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}}
+{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}, :secure_boot=>true}
|
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0001_set @DaTa[:proxy] to proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0002_rescues requests and mentions proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 3.0 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/unit/compute_resource_host_importer_test.rb#L83
Failure: test_0001_imports the VM with all parameters
Fog::Errors::Error: Error making a connection to libvirt URI http://114.example.com/:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resource.rb:182:in `find_vm_by_uuid'
app/models/compute_resources/foreman/model/libvirt.rb:46:in `find_vm_by_uuid'
test/unit/compute_resource_host_importer_test.rb:14:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:10:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:13:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:81:in `block (2 levels) in <class:ComputeResourceHostImporterTest>'
|
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/models/compute_resources/libvirt_test.rb#L285
Failure: test_0001_returns secure boot settings when firmware is 'uefi_secure_boot'
--- expected
+++ actual
@@ -1 +1 @@
-{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}}
+{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}, :secure_boot=>true}
|
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0002_rescues requests and mentions proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
Did you mean? case
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0001_set @DaTa[:proxy] to proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
Did you mean? case
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 2.7 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0002_rescues requests and mentions proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
Did you mean? case
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0001_set @DaTa[:proxy] to proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
Did you mean? case
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/models/compute_resources/libvirt_test.rb#L285
Failure: test_0001_returns secure boot settings when firmware is 'uefi_secure_boot'
--- expected
+++ actual
@@ -1 +1 @@
-{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}}
+{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}, :secure_boot=>true}
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/unit/compute_resource_host_importer_test.rb#L83
Failure: test_0001_imports the VM with all parameters
Fog::Errors::Error: Error making a connection to libvirt URI http://118.example.com/:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resource.rb:182:in `find_vm_by_uuid'
app/models/compute_resources/foreman/model/libvirt.rb:46:in `find_vm_by_uuid'
test/unit/compute_resource_host_importer_test.rb:14:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:10:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:13:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:81:in `block (2 levels) in <class:ComputeResourceHostImporterTest>'
|
test:units - Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/models/compute_resources/libvirt_test.rb#L285
Failure: test_0001_returns secure boot settings when firmware is 'uefi_secure_boot'
--- expected
+++ actual
@@ -1 +1 @@
-{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}}
+{:firmware_features=>{"secure-boot"=>"yes", "enrolled-keys"=>"yes"}, :loader=>{"secure"=>"yes"}, :secure_boot=>true}
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/unit/compute_resource_host_importer_test.rb#L83
Failure: test_0001_imports the VM with all parameters
Fog::Errors::Error: Error making a connection to libvirt URI http://38.example.com/:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resource.rb:182:in `find_vm_by_uuid'
app/models/compute_resources/foreman/model/libvirt.rb:46:in `find_vm_by_uuid'
test/unit/compute_resource_host_importer_test.rb:14:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:10:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:13:in `block in <class:ComputeResourceHostImporterTest>'
test/unit/compute_resource_host_importer_test.rb:81:in `block (2 levels) in <class:ComputeResourceHostImporterTest>'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0001_set @DaTa[:proxy] to proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/unit/foreman/http_proxy_test.rb#L90
Failure: test_0002_rescues requests and mentions proxy
NoMethodError: undefined method `casecmp' for nil:NilClass
test/unit/foreman/http_proxy_test.rb:109:in `block (2 levels) in <class:HttpProxyTest>'
test/unit/foreman/http_proxy_test.rb:113:in `block (2 levels) in <class:HttpProxyTest>'
test/test_helper.rb:88:in `before_setup'
|
test:units - Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
webpack:compile test:integration - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0002_choosing a hostgroup overrides other host attributes
ActionView::Template::Error: Error making a connection to libvirt URI http://8.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0003_choosing a hostgroup with compute resource works
Fog::Errors::Error: Error making a connection to libvirt URI http://13.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/compute_attribute.rb:49:in `new_vm'
app/models/compute_attribute.rb:54:in `pretty_vm_attrs'
app/models/compute_attribute.rb:60:in `update_name'
test/integration/host_js_test.rb:305:in `block (2 levels) in <class:HostJSTest>'
|
webpack:compile test:integration - Ruby 3.0 and Node 14 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0005_sets fields to "inherit" when hostgroup is selected
ActionView::Template::Error: Error making a connection to libvirt URI http://21.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 3.0 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
webpack:compile test:integration - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0002_choosing a hostgroup overrides other host attributes
ActionView::Template::Error: Error making a connection to libvirt URI http://7.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0005_sets fields to "inherit" when hostgroup is selected
ActionView::Template::Error: Error making a connection to libvirt URI http://16.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 2.7 and Node 18 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0003_choosing a hostgroup with compute resource works
Fog::Errors::Error: Error making a connection to libvirt URI http://20.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/compute_attribute.rb:49:in `new_vm'
app/models/compute_attribute.rb:54:in `pretty_vm_attrs'
app/models/compute_attribute.rb:60:in `update_name'
test/integration/host_js_test.rb:305:in `block (2 levels) in <class:HostJSTest>'
|
webpack:compile test:integration - Ruby 2.7 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
webpack:compile test:integration - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0002_choosing a hostgroup overrides other host attributes
ActionView::Template::Error: Error making a connection to libvirt URI http://9.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0003_choosing a hostgroup with compute resource works
Fog::Errors::Error: Error making a connection to libvirt URI http://14.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/compute_attribute.rb:49:in `new_vm'
app/models/compute_attribute.rb:54:in `pretty_vm_attrs'
app/models/compute_attribute.rb:60:in `update_name'
test/integration/host_js_test.rb:305:in `block (2 levels) in <class:HostJSTest>'
|
webpack:compile test:integration - Ruby 2.7 and Node 14 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0005_sets fields to "inherit" when hostgroup is selected
ActionView::Template::Error: Error making a connection to libvirt URI http://22.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 2.7 and Node 14 on PostgreSQL 13
Process completed with exit code 1.
|
webpack:compile test:integration - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0005_sets fields to "inherit" when hostgroup is selected
ActionView::Template::Error: Error making a connection to libvirt URI http://9.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0003_choosing a hostgroup with compute resource works
Fog::Errors::Error: Error making a connection to libvirt URI http://13.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/compute_attribute.rb:49:in `new_vm'
app/models/compute_attribute.rb:54:in `pretty_vm_attrs'
app/models/compute_attribute.rb:60:in `update_name'
test/integration/host_js_test.rb:305:in `block (2 levels) in <class:HostJSTest>'
|
webpack:compile test:integration - Ruby 3.0 and Node 18 on PostgreSQL 13:
test/integration/host_js_test.rb#L83
Failure: test_0002_choosing a hostgroup overrides other host attributes
ActionView::Template::Error: Error making a connection to libvirt URI http://20.example.com:
Call to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
app/models/compute_resources/foreman/model/libvirt.rb:276:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:290:in `vm_instance_defaults'
app/models/compute_resources/foreman/model/libvirt.rb:138:in `new_vm'
app/models/concerns/orchestration/compute.rb:38:in `compute_object'
app/helpers/compute_resources_vms_helper.rb:214:in `new_vm?'
app/views/nic/_provider_specific_form.html.erb:11
app/views/nic/manageds/_managed.html.erb:16
app/views/hosts/_interfaces.html.erb:50
app/views/hosts/_interfaces.html.erb:49
app/views/hosts/_form.html.erb:103
app/helpers/form_helper.rb:284:in `form_for'
app/views/hosts/_form.html.erb:7
app/models/taxonomy.rb:81:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:195:in `as_location'
app/models/taxonomy.rb:80:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:154:in `as_org'
app/models/taxonomy.rb:79:in `as_taxonomy'
app/views/hosts/_form.html.erb:6
app/controllers/hosts_controller.rb:599:in `process_hostgroup'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
|
webpack:compile test:integration - Ruby 3.0 and Node 18 on PostgreSQL 13
Process completed with exit code 1.
|
Test suite
Process completed with exit code 1.
|
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 3.0 and Node 14 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
|
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 2.7 and Node 18 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
|
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 3.0 and Node 18 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
|
assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost - Ruby 2.7 and Node 14 on PostgreSQL 13
No files were found with the provided path: webpack/assets/javascripts/all_react_app_exports.js. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Gemfile-ruby-2.7-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-dbseed.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-testexternal.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-testfunctionals.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-testgraphql.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-testunits.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-14-pg-13-webpackcompiletestintegration.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-dbseed.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testexternal.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testfunctionals.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testgraphql.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-testunits.lock
|
4.75 KB |
|
Gemfile-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.lock
|
4.75 KB |
|
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10321merge-dbseed.lock
|
5.51 KB |
|
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
|
5.51 KB |
|
Gemfile-ruby-27-node-14-pg-13-foreman-refspull10321merge-testkatello.lock
|
5.51 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10321merge-dbseed.lock
|
5.51 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
|
5.51 KB |
|
Gemfile-ruby-27-node-18-pg-13-foreman-refspull10321merge-testkatello.lock
|
5.51 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-dbseed.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-testexternal.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-testfunctionals.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-testgraphql.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-testunits.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-14-pg-13-webpackcompiletestintegration.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-dbseed.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testexternal.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testfunctionals.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testgraphql.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-testunits.lock
|
4.76 KB |
|
Gemfile-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.lock
|
4.76 KB |
|
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10321merge-dbseed.lock
|
5.53 KB |
|
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
|
5.53 KB |
|
Gemfile-ruby-30-node-14-pg-13-foreman-refspull10321merge-testkatello.lock
|
5.53 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10321merge-dbseed.lock
|
5.53 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.lock
|
5.53 KB |
|
Gemfile-ruby-30-node-18-pg-13-foreman-refspull10321merge-testkatello.lock
|
5.53 KB |
|
all_react_app_exports-ruby-27-node-14-pg-13-foreman-refspull10321merge-testkatello.js
|
8.08 KB |
|
all_react_app_exports-ruby-27-node-18-pg-13-foreman-refspull10321merge-testkatello.js
|
8.08 KB |
|
all_react_app_exports-ruby-30-node-14-pg-13-foreman-refspull10321merge-testkatello.js
|
8.08 KB |
|
all_react_app_exports-ruby-30-node-18-pg-13-foreman-refspull10321merge-testkatello.js
|
8.08 KB |
|
package-lock-ruby-2.7-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
|
207 KB |
|
package-lock-ruby-2.7-node-14-pg-13-webpackcompiletestintegration.json
|
207 KB |
|
package-lock-ruby-2.7-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
|
224 KB |
|
package-lock-ruby-2.7-node-18-pg-13-webpackcompiletestintegration.json
|
224 KB |
|
package-lock-ruby-27-node-14-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
|
303 KB |
|
package-lock-ruby-27-node-14-pg-13-foreman-refspull10321merge-testkatello.json
|
303 KB |
|
package-lock-ruby-27-node-18-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
|
319 KB |
|
package-lock-ruby-27-node-18-pg-13-foreman-refspull10321merge-testkatello.json
|
319 KB |
|
package-lock-ruby-3.0-node-14-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
|
207 KB |
|
package-lock-ruby-3.0-node-14-pg-13-webpackcompiletestintegration.json
|
207 KB |
|
package-lock-ruby-3.0-node-18-pg-13-assetsprecompileRAILSENVproductionDATABASEURLnulldbnohost.json
|
224 KB |
|
package-lock-ruby-3.0-node-18-pg-13-webpackcompiletestintegration.json
|
224 KB |
|
package-lock-ruby-30-node-14-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
|
303 KB |
|
package-lock-ruby-30-node-14-pg-13-foreman-refspull10321merge-testkatello.json
|
303 KB |
|
package-lock-ruby-30-node-18-pg-13-foreman-refspull10321merge-pluginassetsprecompilekatelloRAILSENVproductionDATABASEURLnulldbnohost.json
|
319 KB |
|
package-lock-ruby-30-node-18-pg-13-foreman-refspull10321merge-testkatello.json
|
319 KB |
|