Failed examples:
rspec ./spec/varnish/install_spec.rb:13 # Port "6081" should be listening with tcp
rspec ./spec/varnish/install_spec.rb:17 # Port "6082" should be listening with tcp
autopkgtest [15:00:25]: test command1: -----------------------]
autopkgtest [15:00:25]: test command1: - - - - - - - - - - results - - - - - - - - - -
command1 FAIL non-zero exit status 1
autopkgtest [15:00:25]: - - - - - - - - - - running shell - - - - - - - - - -
root@autopkgtest-lxd-czmwmw:/tmp/autopkgtest.K3MKk3/build.gPF/varnish-5.0.0# netstat
bash: netstat: command not found
root@autopkgtest-lxd-czmwmw:/tmp/autopkgtest.K3MKk3/build.gPF/varnish-5.0.0# apt -y install net-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 194 kB of archives.
After this operation, 803 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu zesty/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1 [194 kB]
Fetched 194 kB in 0s (663 kB/s)
Selecting previously unselected package net-tools.
(Reading database ... 47516 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb ...
Unpacking net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
Setting up net-tools (1.60+git20161116.90da8a0-1ubuntu1) ...
root@autopkgtest-lxd-czmwmw:/tmp/autopkgtest.K3MKk3/build.gPF/varnish-5.0.0# cat debian/tests/control
Test-Command: cd debian/tests && rspec spec/varnish/*_spec.rb
Depends: @,ruby-serverspec
Restrictions: needs-root,isolation-container
root@autopkgtest-lxd-czmwmw:/tmp/autopkgtest.K3MKk3/build.gPF/varnish-5.0.0# cd debian/tests && rspec spec/varnish/*_spec.rb
WARNING: Unable to find ~/.rspec because the HOME environment variable is not set. Called from /usr/bin/rspec:4:in `<main>'.
Package "varnish"
should be installed
Service "varnish"
should be enabled
should be running
Port "6081"
should be listening with tcp
Port "6082"
should be listening with tcp
Command "varnishadm ping"
exit_status
should eq 0
stdout
should match /PONG/
Command "/usr/sbin/varnishd -C -f /etc/varnish/default.vcl"
exit_status
should eq 0
Finished in 0.37654 seconds (files took 0.24904 seconds to load)
8 examples, 0 failures