Skip to content

Fix expression that looks like boolish logic #282

Fix expression that looks like boolish logic

Fix expression that looks like boolish logic #282

Triggered via pull request October 22, 2024 15:50
Status Failure
Total duration 34m 28s
Artifacts

ci.yml

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

Annotations

11 errors
Puppet / 8 (Ruby 3.2): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L32
The openssl provider for the x509_cert type when not forcing key creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{}, :failonfail=>true}) got: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt"], {:combine=>true, :custom_environment=>{}, :failonfail=>true})
Puppet / 8 (Ruby 3.2): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L55
The openssl provider for the x509_cert type when not forcing key when using password creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt", "-passin", "env:CERTIFICATE_PASSIN", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"2x6${"}, :failonfail=>true}) got: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt", "-passin", "env:CERTIFICATE_PASSIN"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"2x6${"}, :failonfail=>true})
Puppet / 8 (Ruby 3.2): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L82
The openssl provider for the x509_cert type when using a CA for signing creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-..., "-CAcreateserial", "-CA", "/tmp/foo-ca.crt", "-CAkey", "/tmp/foo-ca.key", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{}, :failonfail=>true}) got: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-...-extfile", "/tmp/foo.cnf", "-CAcreateserial", "-CA", "/tmp/foo-ca.crt", "-CAkey", "/tmp/foo-ca.key"], {:combine=>true, :custom_environment=>{}, :failonfail=>true})
Puppet / 8 (Ruby 3.2): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L111
The openssl provider for the x509_cert type when using a CA for signing with a password creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-...-ca.crt", "-CAkey", "/tmp/foo-ca.key", "-passin", "env:CERTIFICATE_PASSIN", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"5i;6%"}, :failonfail=>true}) got: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-...serial", "-CA", "/tmp/foo-ca.crt", "-CAkey", "/tmp/foo-ca.key", "-passin", "env:CERTIFICATE_PASSIN"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"5i;6%"}, :failonfail=>true})
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L32
The openssl provider for the x509_cert type when not forcing key creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{}, :failonfail=>true}) got: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt"], {:combine=>true, :custom_environment=>{}, :failonfail=>true})
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L55
The openssl provider for the x509_cert type when not forcing key when using password creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt", "-passin", "env:CERTIFICATE_PASSIN", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"2x6${"}, :failonfail=>true}) got: (["/usr/bin/openssl", "req", "-config", "/tmp/foo.cnf", "-new", "-x509", "-days", 3650, "-key", "/tmp/foo.key", "-out", "/tmp/foo.crt", "-passin", "env:CERTIFICATE_PASSIN"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"2x6${"}, :failonfail=>true})
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L82
The openssl provider for the x509_cert type when using a CA for signing creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-..., "-CAcreateserial", "-CA", "/tmp/foo-ca.crt", "-CAkey", "/tmp/foo-ca.key", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{}, :failonfail=>true}) got: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-...-extfile", "/tmp/foo.cnf", "-CAcreateserial", "-CA", "/tmp/foo-ca.crt", "-CAkey", "/tmp/foo-ca.key"], {:combine=>true, :custom_environment=>{}, :failonfail=>true})
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L111
The openssl provider for the x509_cert type when using a CA for signing with a password creates a certificate with the proper options Failure/Error: execute([command('openssl')] + options, { failonfail: true, combine: true, custom_environment: env }) X509_cert[/tmp/foo.crt](provider=openssl) received :execute with unexpected arguments expected: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-...-ca.crt", "-CAkey", "/tmp/foo-ca.key", "-passin", "env:CERTIFICATE_PASSIN", "-extensions", "v3_req"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"5i;6%"}, :failonfail=>true}) got: (["/usr/bin/openssl", "x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-...serial", "-CA", "/tmp/foo-ca.crt", "-CAkey", "/tmp/foo-ca.key", "-passin", "env:CERTIFICATE_PASSIN"], {:combine=>true, :custom_environment=>{"CERTIFICATE_PASSIN"=>"5i;6%"}, :failonfail=>true})
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Test suite
Process completed with exit code 1.