Add http2
directive instead of listen
option
#390
Annotations
10 errors
Run tests:
spec/acceptance/nginx_server_spec.rb#L58
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_133541074.pp.x2muLU
Last 10 lines of output were:
Oct 17 13:35:32 ubuntu2204-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server...
Oct 17 13:35:32 ubuntu2204-64-puppet7.example.com systemd[1]: Started nginx - high performance web server.
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: Stopping nginx - high performance web server...
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Deactivated successfully.
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server.
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server...
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com nginx[8168]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
�[mNotice: Applied catalog in 1.79 seconds
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L94
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 'ubuntu2204-64-puppet7.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 after 6 ms: Connection refused
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L100
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 'ubuntu2204-64-puppet7.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 after 0 ms: Connection refused
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L106
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 'ubuntu2204-64-puppet7.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 after 0 ms: Connection refused
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L113
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 'ubuntu2204-64-puppet7.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 after 0 ms: Connection refused
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L87
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
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L91
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
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L122
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_133550436.pp.8Giqqv
Last 10 lines of output were:
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: nginx.service: Deactivated successfully.
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: Stopped nginx - high performance web server.
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com systemd[1]: Starting nginx - high performance web server...
Oct 17 13:35:49 ubuntu2204-64-puppet7.example.com nginx[8168]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/www.puppetlabs.com.conf:21
Oct 17 13:35:49 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.92 seconds
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L156
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 'ubuntu2204-64-puppet7.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 after 12 ms: Connection refused
|
Run tests:
spec/acceptance/nginx_server_spec.rb#L163
nginx::resource::server define: should run successfully with encrypted ssl key 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 'ubuntu2204-64-puppet7.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 after 11 ms: Connection refused
|
The logs for this run have expired and are no longer available.
Loading