Fixes #37566 - Add UEFI Secure Boot Firmware to Libvirt #2090
Annotations
5 errors
Run rake test:units:
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}
|
Run rake test:units:
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>'
|
Run rake test:units:
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'
|
Run rake test:units:
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'
|
Run rake test:units
Process completed with exit code 1.
|
Loading