Fixes #37936 - As a user, I want to invalidate jwt for specific user #2172
Annotations
4 errors
Run rake webpack:compile test:integration:
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: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'
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'
|
Run rake webpack:compile test:integration:
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: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'
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'
|
Run rake webpack:compile test:integration:
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://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: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/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>'
|
Run rake webpack:compile test:integration
Process completed with exit code 1.
|
Loading