Skip to content

Commit

Permalink
Test with repository which contains the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
C24-AK committed Oct 20, 2023
1 parent 5fb93cd commit 215425c
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions spec/acceptance/nginx_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
context 'new server on port 80' do
it 'configures a nginx server' do

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 10

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065347423.pp.Z6TZzv Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 3.57 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 11

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065352773.pp.jRirSw Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 2.57 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 11

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065359689.pp.PaVCRV Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 3.10 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 22.04

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065353956.pp.Re01ls Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 6.68 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 20.04

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065406069.pp.Zb0cwG Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 7.14 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 10

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065408368.pp.xEYZIa Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 8.24 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 20.04

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065412754.pp.ibOghm Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 3.47 seconds

Check failure on line 7 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 22.04

nginx::resource::server define: new server on port 80 configures a nginx server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065436953.pp.qW0sgs Last 10 lines of output were: Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/nginx.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/etc/nginx/mime.types]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.d]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Config/File[/tmp/nginx.mail.d]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/Concat_file[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/Concat[/etc/nginx/sites-available/www.puppetlabs.com.conf]/File[/etc/nginx/sites-available/www.puppetlabs.com.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Nginx::Resource::Server[www.puppetlabs.com]/File[www.puppetlabs.com.conf symlink]: Skipping because of failed dependencies Warning: /Stage[main]/Nginx::Service/Service[nginx]: Skipping because of failed dependencies Info: Class[Main]: Unscheduling all events on Class[Main] �[mNotice: Applied catalog in 3.24 seconds
pp = "
class { 'nginx': }
class { 'nginx':
nginx_version => '1.25.2',
package_source => 'nginx-mainline',
repo_source => 'https://packages.sury.org/nginx-mainline'
}
nginx::resource::server { 'www.puppetlabs.com':
ensure => present,
www_root => '/var/www/www.puppetlabs.com',
Expand Down Expand Up @@ -57,7 +61,11 @@ class { 'nginx': }

it 'configures a nginx SSL server' do

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065300185.pp.GqQ2Z6 Last 10 lines of output were: Oct 20 06:53:16 centos8-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 20 06:53:16 centos8-64-puppet7.example.com nginx[4556]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:53:16 centos8-64-puppet7.example.com nginx[4556]: nginx: configuration file /etc/nginx/nginx.conf test failed Oct 20 06:53:16 centos8-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Class[Nginx]: Unscheduling all events on Class[Nginx] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 13.63 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 8

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065302941.pp.5kzssU Last 10 lines of output were: Oct 20 06:53:17 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 20 06:53:17 centos8-64-puppet8.example.com nginx[4515]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:53:17 centos8-64-puppet8.example.com nginx[4515]: nginx: configuration file /etc/nginx/nginx.conf test failed Oct 20 06:53:17 centos8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Class[Nginx]: Unscheduling all events on Class[Nginx] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 10.84 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 10

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065356472.pp.WM9TVk Last 10 lines of output were: Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 20 06:53:39 debian10-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:39 debian10-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:39 debian10-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. �[mNotice: Applied catalog in 2.19 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 11

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065402445.pp.kiBQ0Y Last 10 lines of output were: Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:44 debian11-64-puppet8.example.com nginx[9977]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:14 Oct 20 06:53:44 debian11-64-puppet8.example.com nginx[9977]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:32 Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Started nginx - high performance web server. Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.63 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 11

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065408502.pp.L0nJZw Last 10 lines of output were: Oct 20 06:53:51 debian11-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:51 debian11-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:53:51 debian11-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:51 debian11-64-puppet7.example.com nginx[10008]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:14 Oct 20 06:53:51 debian11-64-puppet7.example.com nginx[10008]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:32 Oct 20 06:53:51 debian11-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 20 06:53:59 debian11-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:59 debian11-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. �[mNotice: Applied catalog in 1.91 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 22.04

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065406535.pp.hwWGRA Last 10 lines of output were: Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Deactivated successfully. Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com nginx[8201]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. �[mNotice: Applied catalog in 1.49 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 20.04

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065419049.pp.EAuNgL Last 10 lines of output were: Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com nginx[8607]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.56 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 10

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065424035.pp.xxT4Su Last 10 lines of output were: Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: Started nginx - high performance web server. Oct 20 06:53:58 debian10-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:58 debian10-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:58 debian10-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. �[mNotice: Applied catalog in 2.00 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 20.04

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065424382.pp.QnZHkC Last 10 lines of output were: Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com nginx[8571]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. �[mNotice: Applied catalog in 1.70 seconds

Check failure on line 62 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 22.04

nginx::resource::server define: should run successfully with ssl configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065448739.pp.ANkncn Last 10 lines of output were: Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: nginx.service: Deactivated successfully. Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com nginx[8171]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.69 seconds
pp = "
class { 'nginx': }
class { 'nginx':
nginx_version => '1.25.2',
package_source => 'nginx-mainline',
repo_source => 'https://packages.sury.org/nginx-mainline'
}
nginx::resource::server { 'www.puppetlabs.com':
ensure => present,
ssl => true,
Expand Down Expand Up @@ -121,7 +129,11 @@ class { 'nginx': }
context 'should run successfully with encrypted ssl key' do
it 'configures a nginx SSL server' do

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - CentOS 8

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065317071.pp.WTmLvJ Last 10 lines of output were: Oct 20 06:53:15 centos8-64-puppet7.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive. Oct 20 06:53:16 centos8-64-puppet7.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 20 06:53:16 centos8-64-puppet7.example.com nginx[4556]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:53:16 centos8-64-puppet7.example.com nginx[4556]: nginx: configuration file /etc/nginx/nginx.conf test failed Oct 20 06:53:16 centos8-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 0.34 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - CentOS 8

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065318902.pp.4TLqYh Last 10 lines of output were: Oct 20 06:53:17 centos8-64-puppet8.example.com systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive. Oct 20 06:53:17 centos8-64-puppet8.example.com systemd[1]: Starting The nginx HTTP and reverse proxy server... Oct 20 06:53:17 centos8-64-puppet8.example.com nginx[4515]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:53:17 centos8-64-puppet8.example.com nginx[4515]: nginx: configuration file /etc/nginx/nginx.conf test failed Oct 20 06:53:17 centos8-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited status=1 �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 0.39 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 10

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065404337.pp.DLmADC Last 10 lines of output were: Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:24 debian10-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 20 06:53:39 debian10-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:39 debian10-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:39 debian10-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server. �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 2.30 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 11

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065411150.pp.oG5dgf Last 10 lines of output were: Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:44 debian11-64-puppet8.example.com nginx[9977]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:14 Oct 20 06:53:44 debian11-64-puppet8.example.com nginx[9977]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:32 Oct 20 06:53:44 debian11-64-puppet8.example.com systemd[1]: Started nginx - high performance web server. �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.72 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Debian 11

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065416368.pp.GuEYWx Last 10 lines of output were: Oct 20 06:53:51 debian11-64-puppet7.example.com nginx[10008]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:14 Oct 20 06:53:51 debian11-64-puppet7.example.com nginx[10008]: nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.mail.d/domain1.example.conf:32 Oct 20 06:53:51 debian11-64-puppet7.example.com systemd[1]: Started nginx - high performance web server. Oct 20 06:53:59 debian11-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:59 debian11-64-puppet7.example.com systemd[1]: nginx.service: Succeeded. �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.99 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 22.04

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065413963.pp.q4WuGZ Last 10 lines of output were: Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:13 ubuntu2204-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. Oct 20 06:54:20 ubuntu2204-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:20 ubuntu2204-64-puppet7.example.com nginx[8480]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:20 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.55 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 7 - Ubuntu 20.04

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065426566.pp.rAFq9a Last 10 lines of output were: Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:25 ubuntu2004-64-puppet7.example.com systemd[1]: Failed to start nginx - high performance web server. Oct 20 06:54:33 ubuntu2004-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:33 ubuntu2004-64-puppet7.example.com nginx[8903]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:33 ubuntu2004-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.68 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Debian 10

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065433481.pp.kH1zYy Last 10 lines of output were: Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:53:41 debian10-64-puppet8.example.com systemd[1]: Started nginx - high performance web server. Oct 20 06:53:58 debian10-64-puppet8.example.com systemd[1]: Stopping nginx - high performance web server... Oct 20 06:53:58 debian10-64-puppet8.example.com systemd[1]: nginx.service: Succeeded. Oct 20 06:53:58 debian10-64-puppet8.example.com systemd[1]: Stopped nginx - high performance web server. �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 2.09 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 20.04

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065434363.pp.ierEvB Last 10 lines of output were: Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:33 ubuntu2004-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. Oct 20 06:54:43 ubuntu2004-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:54:43 ubuntu2004-64-puppet8.example.com nginx[8865]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:54:43 ubuntu2004-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.79 seconds

Check failure on line 130 in spec/acceptance/nginx_server_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / 8 - Ubuntu 22.04

nginx::resource::server define: should run successfully with encrypted ssl key configures a nginx SSL server Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_065459048.pp.0dE01I Last 10 lines of output were: Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 20 06:54:58 ubuntu2204-64-puppet8.example.com systemd[1]: Failed to start nginx - high performance web server. Oct 20 06:55:08 ubuntu2204-64-puppet8.example.com systemd[1]: Starting nginx - high performance web server... Oct 20 06:55:08 ubuntu2204-64-puppet8.example.com nginx[8448]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21 Oct 20 06:55:08 ubuntu2204-64-puppet8.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE �[mNotice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered 'refresh' from 1 event Info: Class[Nginx::Service]: Unscheduling all events on Class[Nginx::Service] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.80 seconds
pp = "
class { 'nginx': }
class { 'nginx':
nginx_version => '1.25.2',
package_source => 'nginx-mainline',
repo_source => 'https://packages.sury.org/nginx-mainline'
}
nginx::resource::server { 'www.puppetlabs.com':
ensure => present,
ssl => true,
Expand Down Expand Up @@ -171,7 +183,11 @@ class { 'nginx': }
context 'should run successfully with ssl_redirect' do
it 'configures a nginx SSL server' do
pp = "
class { 'nginx': }
class { 'nginx':
nginx_version => '1.25.2',
package_source => 'nginx-mainline',
repo_source => 'https://packages.sury.org/nginx-mainline'
}
nginx::resource::server { 'www.puppetlabs.com':
ensure => present,
ssl => true,
Expand Down

0 comments on commit 215425c

Please sign in to comment.