Skip to content

Support distrusting ca's on Debian; Changed ca_cert::ca parameter names and meaning #65

Support distrusting ca's on Debian; Changed ca_cert::ca parameter names and meaning

Support distrusting ca's on Debian; Changed ca_cert::ca parameter names and meaning #65

Triggered via pull request June 5, 2024 17:18
Status Failure
Total duration 3m 51s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
15s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L106
ca_cert::ca on almalinux-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L141
ca_cert::ca on almalinux-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L106
ca_cert::ca on centos-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L141
ca_cert::ca on centos-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L106
ca_cert::ca on redhat-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L141
ca_cert::ca on redhat-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L106
ca_cert::ca on rocky-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2): spec/defines/ca_spec.rb#L141
ca_cert::ca on rocky-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L106
ca_cert::ca on almalinux-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L141
ca_cert::ca on almalinux-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L106
ca_cert::ca on centos-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L141
ca_cert::ca on centos-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L106
ca_cert::ca on redhat-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L141
ca_cert::ca on redhat-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L106
ca_cert::ca on rocky-9-x86_64 with ensure set to "trusted" is expected to contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 2 parameters, ensure => "absent" and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_file("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'absent', 'notify' => 'Exec[ca_cert_update]', } ) expected that the catalogue would contain File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7): spec/defines/ca_spec.rb#L141
ca_cert::ca on rocky-9-x86_64 with ensure set to "distrusted" and valid source is expected to contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt] with exactly 5 parameters, ensure => "present", source => "puppet:///testing.crt", checksum defined, checksum_type defined, allow_insecure => false, before => ["File[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]"] and notify => "Exec[ca_cert_update]" Failure/Error: is_expected.to contain_archive("#{distrusted_cert_dir}/#{title}.#{ca_file_extension}").only_with( { 'ensure' => 'present', 'source' => 'puppet:///testing.crt', 'checksum' => nil, 'checksum_type' => nil, 'allow_insecure' => false, 'before' => ["File[#{distrusted_cert_dir}/#{title}.#{ca_file_extension}]"], 'notify' => 'Exec[ca_cert_update]', } expected that the catalogue would contain Archive[/etc/pki/ca-trust/source/blacklist/Globalsign_Org_Intermediate.crt]
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Distro Puppet - Archlinux rolling: spec/acceptance/ca_cert_ca_spec.rb#L112
ca_cert::ca distrust a os provided ca certificate File "/etc/ca-certificates/extracted/tls-ca-bundle.pem" content is expected not to match /oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34VOKa5Vt8/ Failure/Error: is_expected.not_to match %r{oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34VOKa5Vt8} expected "# InCommon Server CA\n-----BEGIN CERTIFICATE-----\nMIIEwzCCA6ugAwIBAgIQf3HB06ImsNKxE/PmgWdkPjANBgkqh...GqndXHt7CMUADTdA43x7VF8vhV929ven\nsBxXVsFy6K2ir40zSbofitzmdHxghm+Hl3s=\n-----END CERTIFICATE-----\n" not to match /oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34VOKa5Vt8/ Diff: @@ -1,3984 +1,7967 @@ -/oAIwOWZbwmSNuJ5Q3KjVSaLtx9zRSX8XAbjIho9OjIgrqJqpisXRAL34VOKa5Vt8/ +# InCommon Server CA +-----BEGIN CERTIFICATE----- +MIIEwzCCA6ugAwIBAgIQf3HB06ImsNKxE/PmgWdkPjANBgkqhkiG9w0BAQUFADBv +MQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBg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EFJtY3I2mZZjnvAb+GqQVoG/L5qmQMB8GA1UdIwQYMBaA +FMFRRVBZqz7nLFr6ICISB4CIfBFqMA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAU +BggrBgEFBQcDAQYIKwYBBQUHAwIwegYIKwYBBQUHAQEEbjBsMCQGCCsGAQUFBzAB +hhhodHRwOi8vb2NzcC5kaWdpY2VydC5jb20wRAYIKwYBBQUHMAKGOGh0dHA6Ly9j +YWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFRMU0VDQ1AzODRSb290RzUuY3J0 +MEYGA1UdHwQ/MD0wO6A5oDeGNWh0dHA6Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9EaWdp +Q2VydFRMU0VDQ1AzODRSb290RzUuY3JsMD0GA1UdIAQ2MDQwCwYJYIZIAYb9bAIB +MAcGBWeBDAEBMAgGBmeBDAECATAIBgZngQwBAgIwCAYGZ4EMAQIDMAoGCCqGSM49 +BAMDA2kAMGYCMQDt1p2aebRUXBPN1FXg+V6oG+mRLdRC49k8dSxwRG77lsj1YqTO +IvZuhDckSAkMNGICMQD4lvGyMGMQirgiqAaMdybUTpcDTLtRQPKiGVZOoSaRtq8o +gRocsHZfwG69pfWn10Y= +-----END CERTIFICATE----- + +# ACCVRAIZ1 +-----BEGIN CERTIFICATE----- +MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UE +AwwJQUNDVlJBSVoxMRAwDgYDVQQLDAdQS0lBQ0NWMQ0wCwYDVQQKDARBQ0NWMQsw +CQYDVQQGEwJFUzAeFw0x
Puppet / Distro Puppet - Archlinux rolling
Process completed with exit code 1.