Add http2
directive instead of listen
option
#397
Annotations
10 errors
spec/acceptance/nginx_server_spec.rb#L7
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
|
spec/acceptance/nginx_server_spec.rb#L62
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
|
spec/acceptance/nginx_server_spec.rb#L102
nginx::resource::server define: should run successfully with ssl answers to http://www.puppetlabs.com with "Hello from www"
Failure/Error:
shell('/usr/bin/curl http://www.puppetlabs.com:80') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl http://www.puppetlabs.com:80
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L108
nginx::resource::server define: should run successfully with ssl answers to http://www.puppetlabs.com without error
Failure/Error:
shell('/usr/bin/curl --fail http://www.puppetlabs.com:80') do |r|
expect(r.exit_code).to eq(0)
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --fail http://www.puppetlabs.com:80
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to www.puppetlabs.com port 80: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L114
nginx::resource::server define: should run successfully with ssl answers to https://www.puppetlabs.com with "Hello from www"
Failure/Error:
shell('/usr/bin/curl --insecure https://www.puppetlabs.com:443') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L121
nginx::resource::server define: should run successfully with ssl answers to https://www.puppetlabs.com without error
Failure/Error:
shell('/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443') do |r|
expect(r.exit_code).to eq(0)
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --fail --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
spec/acceptance/nginx_server_spec.rb#L95
nginx::resource::server define: should run successfully with ssl Service "nginx" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "nginx" to be running
|
spec/acceptance/nginx_server_spec.rb#L99
nginx::resource::server define: should run successfully with ssl Port "443" is expected to be listening
Failure/Error: it { is_expected.to be_listening }
expected Port "443" to be listening
|
spec/acceptance/nginx_server_spec.rb#L130
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
|
spec/acceptance/nginx_server_spec.rb#L168
nginx::resource::server define: should run successfully with encrypted ssl key answers to https://www.puppetlabs.com with "Hello from www"
Failure/Error:
shell('/usr/bin/curl --insecure https://www.puppetlabs.com:443') do |r|
expect(r.stdout).to eq("Hello from www\n")
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running:
/usr/bin/curl --insecure https://www.puppetlabs.com:443
Last 10 lines of output were:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (7) Failed to connect to www.puppetlabs.com port 443: Connection refused
|
The logs for this run have expired and are no longer available.
Loading