Skip to content

Support Foreman >= 3.9 #157

Support Foreman >= 3.9

Support Foreman >= 3.9 #157

Re-run triggered May 10, 2024 11:54
Status Failure
Total duration 2m 11s
Artifacts 38

ci.yml

on: pull_request
rubocop  /  Rubocop
35s
rubocop / Rubocop
Matrix: Ruby
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Ruby (develop) / test:foreman_vault - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x235f0>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host18.example18.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x235f0>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host18.example18.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x235f0>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x235f0>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x235f0>.name(any_parameters)
Ruby (develop) / test:foreman_vault - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x25b70>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host20.example19.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x25b70>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host20.example19.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x25b70>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x25b70>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x25b70>.name(any_parameters)
Ruby (develop) / test:foreman_vault - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x363d0>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host40.example39.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x363d0>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host40.example39.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x363d0>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x363d0>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x363d0>.name(any_parameters)
Ruby (3.10-stable) / test:foreman_vault - Foreman 3.10-stable with Ruby 2.7 and Node 14 on PostgreSQL 12: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x29900>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host25.example24.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x29900>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host25.example24.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x29900>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x29900>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x29900>.name(any_parameters)
Ruby (3.10-stable) / test:foreman_vault - Foreman 3.10-stable with Ruby 2.7 and Node 18 on PostgreSQL 12: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x346c0>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host39.example38.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x346c0>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host39.example38.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x346c0>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x346c0>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x346c0>.name(any_parameters)
Ruby (3.10-stable) / test:foreman_vault - Foreman 3.10-stable with Ruby 3.0 and Node 14 on PostgreSQL 12: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x2a3f0>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host24.example24.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x2a3f0>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host24.example24.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x2a3f0>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x2a3f0>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x2a3f0>.name(any_parameters)
Ruby (3.10-stable) / test:foreman_vault - Foreman 3.10-stable with Ruby 3.0 and Node 18 on PostgreSQL 12: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x20328>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host11.example10.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x20328>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host11.example10.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x20328>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x20328>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x20328>.name(any_parameters)
Ruby (develop) / test:foreman_vault - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault unexpected invocation: #<ForemanVault::VaultAuthMethod:0x33838>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host40.example39.com"]}) unsatisfied expectations: - expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x33838>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host40.example39.com"]) satisfied expectations: - 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 twice: #<ForemanVault::VaultAuthMethod:0x33838>.certificate(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x33838>.vault_policy_name(any_parameters) - allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x33838>.name(any_parameters)

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testforemanvault.lock Expired
4.75 KB
logs-ruby-27-node-14-pg-13-foreman-develop-testforemanvault Expired
11.9 KB