Skip to content

Update to the latest EasyRSA 3.x vars file syntax #202

Update to the latest EasyRSA 3.x vars file syntax

Update to the latest EasyRSA 3.x vars file syntax #202

Triggered via pull request December 31, 2024 18:43
Status Failure
Total duration 4m 14s
Artifacts

ci.yml

on: pull_request
Setup Test Matrix
34s
Setup Test Matrix
Matrix: acceptance
Matrix: unit
Test suite
0s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 6 warnings
Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet 7 - CentOS 8
Process completed with exit code 1.
Puppet 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L66
server defined type with basics parameters creates openvpn client certificate idempotently Failure/Error: apply_manifest_on(hosts_as('vpnserver'), pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'vpnserver' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184643902.pp.3EaF82 Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.tblk]/ensure: created �[mNotice: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta/vpnclienta.conf]/ensure: defined content as '{sha256}e84c3ddd813221008a4e5d95309aa11deab0b1c49582d0f12a29a62025a21ae4' Error: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Concat[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]/Concat_file[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]: Failed to generate additional resources using 'eval_generate': Could not retrieve source(s) /etc/openvpn/test_openvpn_server/download-configs/vpnclienta/keys/vpnclienta/ca.crt Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Concat[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]/Concat_file[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Concat[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.tblk/vpnclienta.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Exec[tar the thing test_openvpn_server with vpnclienta]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.tar.gz]: Skipping because of failed dependencies Info: Openvpn::Client[vpnclienta]: Unscheduling all events on Openvpn::Client[vpnclienta] �[mNotice: Applied catalog in 1.00 seconds
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L91
server defined type with basics parameters revokes openvpn client certificate Failure/Error: apply_manifest_on(hosts_as('vpnserver'), pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'vpnserver' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184646913.pp.EhurYB Last 10 lines of output were: Warning: /Stage[main]/Main/Openvpn::Client[vpnclientb]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclientb.tblk/vpnclientb.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclientb]/Exec[tar the thing test_openvpn_server with vpnclientb]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclientb]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclientb.tar.gz]: Skipping because of failed dependencies Info: Openvpn::Client[vpnclientb]: Unscheduling all events on Openvpn::Client[vpnclientb] Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/Exec[revoke certificate for vpnclientb in context of test_openvpn_server]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/File[/etc/openvpn/test_openvpn_server/easy-rsa/revoked/vpnclientb]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/Exec[renew crl.pem on test_openvpn_server because of revocation of vpnclientb]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/Exec[copy renewed crl.pem to vpnclientb keys directory because of revocation of vpnclientb]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.97 seconds
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L175
server defined type with basics parameters permits to setup a vpn client Failure/Error: scp_to(hosts_as('vpnclienta'), 'vpnclienta.tar.gz', '/tmp') IOError: No such file or directory - vpnclienta.tar.gz
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L121
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/revoked/vpnclientb" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/openvpn/test_openvpn_server/easy-rsa/revoked/vpnclientb".file?` to be truthy, got false
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L130
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "export EASY_RSA=\"/etc/openvpn/test_openvpn_server/easy-rsa\"" Failure/Error: it { is_expected.to contain "export EASY_RSA=\"#{server_directory}/test_openvpn_server/easy-rsa\"" } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "export EASY_RSA=\"/etc/openvpn/test_openvpn_server/easy-rsa\""
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L131
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_COUNTRY=\"CO\"" Failure/Error: it { is_expected.to contain '_COUNTRY="CO"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_COUNTRY=\"CO\""
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L132
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_PROVINCE=\"ST\"" Failure/Error: it { is_expected.to contain '_PROVINCE="ST"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_PROVINCE=\"ST\""
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L133
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_CITY=\"A city\"" Failure/Error: it { is_expected.to contain '_CITY="A city"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_CITY=\"A city\""
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L134
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_ORG=\"FOO\"" Failure/Error: it { is_expected.to contain '_ORG="FOO"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_ORG=\"FOO\""
Puppet 7 - Ubuntu 22.04: spec/acceptance/openvpn_spec.rb#L135
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_EMAIL=\"[email protected]\"" Failure/Error: it { is_expected.to contain '_EMAIL="[email protected]"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_EMAIL=\"[email protected]\""
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L66
server defined type with basics parameters creates openvpn client certificate idempotently Failure/Error: apply_manifest_on(hosts_as('vpnserver'), pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'vpnserver' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184734584.pp.URWSCL Last 10 lines of output were: �[mNotice: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.tblk]/ensure: created �[mNotice: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta/vpnclienta.conf]/ensure: defined content as '{sha256}e84c3ddd813221008a4e5d95309aa11deab0b1c49582d0f12a29a62025a21ae4' Error: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Concat[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]/Concat_file[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]: Failed to generate additional resources using 'eval_generate': Could not retrieve source(s) /etc/openvpn/test_openvpn_server/download-configs/vpnclienta/keys/vpnclienta/ca.crt Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Concat[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]/Concat_file[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Concat[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.tblk/vpnclienta.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/Exec[tar the thing test_openvpn_server with vpnclienta]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclienta]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclienta.tar.gz]: Skipping because of failed dependencies Info: Openvpn::Client[vpnclienta]: Unscheduling all events on Openvpn::Client[vpnclienta] �[mNotice: Applied catalog in 0.54 seconds
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L91
server defined type with basics parameters revokes openvpn client certificate Failure/Error: apply_manifest_on(hosts_as('vpnserver'), pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'vpnserver' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184737133.pp.E1jjGT Last 10 lines of output were: Warning: /Stage[main]/Main/Openvpn::Client[vpnclientb]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclientb.tblk/vpnclientb.ovpn]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclientb]/Exec[tar the thing test_openvpn_server with vpnclientb]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Client[vpnclientb]/File[/etc/openvpn/test_openvpn_server/download-configs/vpnclientb.tar.gz]: Skipping because of failed dependencies Info: Openvpn::Client[vpnclientb]: Unscheduling all events on Openvpn::Client[vpnclientb] Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/Exec[revoke certificate for vpnclientb in context of test_openvpn_server]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/File[/etc/openvpn/test_openvpn_server/easy-rsa/revoked/vpnclientb]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/Exec[renew crl.pem on test_openvpn_server because of revocation of vpnclientb]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Openvpn::Revoke[vpnclientb]/Exec[copy renewed crl.pem to vpnclientb keys directory because of revocation of vpnclientb]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 0.56 seconds
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L175
server defined type with basics parameters permits to setup a vpn client Failure/Error: scp_to(hosts_as('vpnclienta'), 'vpnclienta.tar.gz', '/tmp') IOError: No such file or directory - vpnclienta.tar.gz
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L121
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/revoked/vpnclientb" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/openvpn/test_openvpn_server/easy-rsa/revoked/vpnclientb".file?` to be truthy, got false
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L130
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "export EASY_RSA=\"/etc/openvpn/test_openvpn_server/easy-rsa\"" Failure/Error: it { is_expected.to contain "export EASY_RSA=\"#{server_directory}/test_openvpn_server/easy-rsa\"" } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "export EASY_RSA=\"/etc/openvpn/test_openvpn_server/easy-rsa\""
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L131
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_COUNTRY=\"CO\"" Failure/Error: it { is_expected.to contain '_COUNTRY="CO"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_COUNTRY=\"CO\""
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L132
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_PROVINCE=\"ST\"" Failure/Error: it { is_expected.to contain '_PROVINCE="ST"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_PROVINCE=\"ST\""
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L133
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_CITY=\"A city\"" Failure/Error: it { is_expected.to contain '_CITY="A city"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_CITY=\"A city\""
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L134
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_ORG=\"FOO\"" Failure/Error: it { is_expected.to contain '_ORG="FOO"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_ORG=\"FOO\""
Puppet 7 - Debian 11: spec/acceptance/openvpn_spec.rb#L135
server defined type with basics parameters File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" is expected to contain "_EMAIL=\"[email protected]\"" Failure/Error: it { is_expected.to contain '_EMAIL="[email protected]"' } expected File "/etc/openvpn/test_openvpn_server/easy-rsa/vars" to contain "_EMAIL=\"[email protected]\""
Setup Test Matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet 7 - Ubuntu 20.04
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet 7 - CentOS 8
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet 7 (Ruby 2.7)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet 7 - Ubuntu 22.04
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Puppet 7 - Debian 11
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636