Fixes #36834 - Add SecureBoot support for arbitrary operating systems… #2168
Annotations
9 errors
Run rake test:functionals:
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>
|
Run rake test:functionals:
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:0x517ef8>.setup_key_pair(any_parameters)
|
Run rake test:functionals:
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>
|
Run rake test:functionals:
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>
|
Run rake test:functionals:
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>
|
Run rake test:functionals:
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:273:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:287: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>'
|
Run rake test:functionals:
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://52.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:273:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:287: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>'
|
Run rake test:functionals:
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://53.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:273:in `client'
app/models/compute_resources/foreman/model/libvirt.rb:85:in `new_nic'
app/models/compute_resources/foreman/model/libvirt.rb:287: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>'
|
Run rake test:functionals
Process completed with exit code 1.
|
Loading