|
|
|
@ -1,3 +1,121 @@
|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<testsuites
|
|
|
|
|
name="Vargrant-QA"
|
|
|
|
|
tests="32"
|
|
|
|
|
failures="3"
|
|
|
|
|
>
|
|
|
|
|
<testsuite
|
|
|
|
|
name="log/vcp6-tests/"
|
|
|
|
|
tests="32"
|
|
|
|
|
failures="3"
|
|
|
|
|
skipped="10"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="00-noop.sh"
|
|
|
|
|
classname="log/vcp6-tests/.00-noop.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="01-setup-repo-prod.sh"
|
|
|
|
|
classname="log/vcp6-tests/.01-setup-repo-prod.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="01-setup-repo-stage.sh"
|
|
|
|
|
classname="log/vcp6-tests/.01-setup-repo-stage.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="02-install-vcp-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.02-install-vcp-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="02-install-vcp-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.02-install-vcp-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="03-install-vmods-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.03-install-vmods-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="03-install-vmods-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.03-install-vmods-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="04-install-vcs-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.04-install-vcs-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="04-install-vcs-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.04-install-vcs-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="05-install-varnish-agent-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.05-install-varnish-agent-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="05-install-varnish-agent-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.05-install-varnish-agent-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="07-install-vac-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.07-install-vac-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="07-install-vac-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.07-install-vac-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="10-systemctl-vcp.sh"
|
|
|
|
|
classname="log/vcp6-tests/.10-systemctl-vcp.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="11-systemctl-vcs.sh"
|
|
|
|
|
classname="log/vcp6-tests/.11-systemctl-vcs.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="12-systemctl-varnish-agent.sh"
|
|
|
|
|
classname="log/vcp6-tests/.12-systemctl-varnish-agent.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="14-systemtcl-vac.sh"
|
|
|
|
|
classname="log/vcp6-tests/.14-systemtcl-vac.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="14-sysv-vac.sh"
|
|
|
|
|
classname="log/vcp6-tests/.14-sysv-vac.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="15-systemctl-varnish-vagent-vac.sh"
|
|
|
|
|
classname="log/vcp6-tests/.15-systemctl-varnish-vagent-vac.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="15-sysv-varnish-agent-vac.sh"
|
|
|
|
|
classname="log/vcp6-tests/.15-sysv-varnish-agent-vac.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="23-varnishtest-all-versions.sh"
|
|
|
|
|
classname="log/vcp6-tests/.23-varnishtest-all-versions.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="24-install-vha-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.24-install-vha-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="24-install-vha-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.24-install-vha-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="25-varnishtest-vcp-specific.sh"
|
|
|
|
|
classname="log/vcp6-tests/.25-varnishtest-vcp-specific.sh"
|
|
|
|
|
<failure
|
|
|
|
|
type="failed"
|
|
|
|
|
message="failed" >
|
|
|
|
|
**** top 0.0 extmacro def pwd=/vagrant
|
|
|
|
|
**** top 0.0 extmacro def localhost=127.0.0.1
|
|
|
|
|
**** top 0.0 extmacro def bad_backend=127.0.0.1 40529
|
|
|
|
@ -117,3 +235,148 @@
|
|
|
|
|
** v1 0.2 WAIT4 pid=15133 status=0x0000 (user 0.003926 sys 0.022808)
|
|
|
|
|
* top 0.2 TEST /vagrant/vcp6-tests/vtc/01-all-vmods.vtc FAILED
|
|
|
|
|
# top TEST /vagrant/vcp6-tests/vtc/01-all-vmods.vtc FAILED (0.214) exit=2
|
|
|
|
|
</failure>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="26-systemctl-vha.sh"
|
|
|
|
|
classname="log/vcp6-tests/.26-systemctl-vha.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="27-install-vdisco-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.27-install-vdisco-debian.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="27-install-vdisco-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.27-install-vdisco-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="28-systemctl-vdisco.sh"
|
|
|
|
|
classname="log/vcp6-tests/.28-systemctl-vdisco.sh"
|
|
|
|
|
<failure
|
|
|
|
|
type="failed"
|
|
|
|
|
message="failed" >
|
|
|
|
|
INFO: systemctl found, running systemd test (ubuntu bionic)
|
|
|
|
|
Generating new nodefile /etc/varnish/nodes.conf (2019-01-09 15:00:50.62660743 +0000 UTC m=+0.002414597)
|
|
|
|
|
# /lib/systemd/system/vha-agent.service
|
|
|
|
|
[Unit]
|
|
|
|
|
Description=Varnish High Availability Agent.
|
|
|
|
|
After=varnish.service
|
|
|
|
|
Requisite=varnish.service
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
ExecStart=/usr/bin/vha-agent -D -t off -P /run/vha-agent/vha-agent.pid -N /etc/varnish/nodes.conf -s /run/vha-agent/vha-status -T TOKEN
|
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
|
PIDFile=/run/vha-agent/vha-agent.pid
|
|
|
|
|
User=varnish
|
|
|
|
|
Group=varnish
|
|
|
|
|
RuntimeDirectory=vha-agent
|
|
|
|
|
RuntimeDirectoryPreserve=yes
|
|
|
|
|
Type=forking
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|
|
|
|
# /etc/systemd/system/vha-agent.service.d/exec.conf
|
|
|
|
|
[Service]
|
|
|
|
|
ExecStart=
|
|
|
|
|
ExecStart=/usr/bin/vha-agent -D -t off -P /run/vha-agent/vha-agent.pid -N /etc/varnish/nodes.conf -s /run/vha-agent/vha-status -T qa-test -p stat_intvl=1
|
|
|
|
|
PONG 1547046050 1.0
|
|
|
|
|
Unit varnish-discovery.service could not be found.
|
|
|
|
|
Failed to restart varnish-discovery.service: Unit varnish-discovery.service not found.
|
|
|
|
|
</failure>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="29-systemctl-varnishncsa.sh"
|
|
|
|
|
classname="log/vcp6-tests/.29-systemctl-varnishncsa.sh"
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="30-install-broadcaster-debian.sh"
|
|
|
|
|
classname="log/vcp6-tests/.30-install-broadcaster-debian.sh"
|
|
|
|
|
<failure
|
|
|
|
|
type="failed"
|
|
|
|
|
message="failed" >
|
|
|
|
|
INFO: Running on ubuntu
|
|
|
|
|
Ign:1 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 InRelease
|
|
|
|
|
Hit:2 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release
|
|
|
|
|
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
|
|
|
|
|
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease
|
|
|
|
|
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
|
|
|
|
|
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
|
|
|
|
|
Hit:8 https://packagecloud.io/varnishplus/60-staging/ubuntu bionic InRelease
|
|
|
|
|
Hit:9 https://packagecloud.io/varnishplus/60-akamai-staging/ubuntu bionic InRelease
|
|
|
|
|
Hit:10 https://packagecloud.io/varnishplus/60-deviceatlas-staging/ubuntu bionic InRelease
|
|
|
|
|
Hit:11 https://packagecloud.io/varnishplus/60/ubuntu bionic InRelease
|
|
|
|
|
Hit:12 https://packagecloud.io/varnishplus/vagrant-qa-backup/ubuntu bionic InRelease
|
|
|
|
|
Reading package lists...
|
|
|
|
|
resource-agents - Cluster Resource Agents
|
|
|
|
|
libvarnishapi-dev - development files for Varnish
|
|
|
|
|
libvarnishapi1 - shared libraries for Varnish
|
|
|
|
|
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
|
|
|
|
|
prometheus-varnish-exporter - Prometheus exporter for Varnish
|
|
|
|
|
varnish - state of the art, high-performance web accelerator
|
|
|
|
|
varnish-doc - documentation for Varnish Cache
|
|
|
|
|
varnish-modules - Varnish module collection
|
|
|
|
|
varnish-agent - Varnish Agent is a small daemon meant to communicate with
|
|
|
|
|
varnish-broadcaster - The Varnish Broadcaster broadcasts requests to multiple Varnish caches
|
|
|
|
|
varnish-custom-statistics - Varnish Custom Statistics aggregating daemon.
|
|
|
|
|
varnish-custom-statistics-agent - Varnish Custom Statistics agent.
|
|
|
|
|
varnish-plus - A supercharged version of the popular web cache, Varnish Cache
|
|
|
|
|
varnish-plus-dev - development files for Varnish Cache
|
|
|
|
|
varnish-plus-ha - Simple replication of object insertions in a Varnish Cache Plus server.
|
|
|
|
|
varnish-plus-vmods-extra - Extra package of Varnish Modules (VMODs) for Varnish Cache Plus.
|
|
|
|
|
varnish-plus-akamai-connector - Varnish Akamai Connector
|
|
|
|
|
libvmod-deviceatlas - DeviceAtlas VMOD for Varnish
|
|
|
|
|
vac - Varnish Administration Console (VAC) is a management console for clusters of Varnish web caches.
|
|
|
|
|
varnish-plus-addon-ssl - Hitch TLS proxy
|
|
|
|
|
varnish-plus-discovery - Creates and updates nodes.conf files, used notably by vha-agent
|
|
|
|
|
Reading package lists...
|
|
|
|
|
Building dependency tree...
|
|
|
|
|
Reading state information...
|
|
|
|
|
The following NEW packages will be installed:
|
|
|
|
|
varnish-broadcaster
|
|
|
|
|
0 upgraded, 1 newly installed, 0 to remove and 222 not upgraded.
|
|
|
|
|
Need to get 2,717 kB of archives.
|
|
|
|
|
After this operation, 7,883 kB of additional disk space will be used.
|
|
|
|
|
Get:1 https://packagecloud.io/varnishplus/60-staging/ubuntu bionic/main amd64 varnish-broadcaster amd64 1.2.0-22~bionic [2,717 kB]
|
|
|
|
|
Fetched 2,717 kB in 3s (851 kB/s)
|
|
|
|
|
Selecting previously unselected package varnish-broadcaster.
|
|
|
|
|
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 106549 files and directories currently installed.)
|
|
|
|
|
Preparing to unpack .../varnish-broadcaster_1.2.0-22~bionic_amd64.deb ...
|
|
|
|
|
Unpacking varnish-broadcaster (1.2.0-22~bionic) ...
|
|
|
|
|
Processing triggers for ureadahead (0.100.0-20) ...
|
|
|
|
|
Setting up varnish-broadcaster (1.2.0-22~bionic) ...
|
|
|
|
|
Adding system user `vbcast' (UID 113) ...
|
|
|
|
|
Adding new group `vbcast' (GID 117) ...
|
|
|
|
|
Adding new user `vbcast' (UID 113) with group `vbcast' ...
|
|
|
|
|
Not creating home directory `/'.
|
|
|
|
|
Created symlink /etc/systemd/system/multi-user.target.wants/broadcaster.service → /lib/systemd/system/broadcaster.service.
|
|
|
|
|
A dependency job for broadcaster.service failed. See 'journalctl -xe' for details.
|
|
|
|
|
invoke-rc.d: initscript broadcaster, action start failed.
|
|
|
|
|
● broadcaster.service - Varnish Broadcaster
|
|
|
|
|
Loaded: loaded (/lib/systemd/system/broadcaster.service; enabled; vendor preset: enabled)
|
|
|
|
|
Active: inactive (dead)
|
|
|
|
|
|
|
|
|
|
Jan 09 15:01:15 ubuntu-18 systemd[1]: [0;1;39m[0;1;31m[0;1;39mDependency failed for Varnish Broadcaster.[0m
|
|
|
|
|
Jan 09 15:01:15 ubuntu-18 systemd[1]: [0;1;39m[0;1;31m[0;1;39mbroadcaster.service: Job broadcaster.service/start failed with result 'dependency'.[0m
|
|
|
|
|
dpkg: error processing package varnish-broadcaster (--configure):
|
|
|
|
|
installed varnish-broadcaster package post-installation script subprocess returned error exit status 1
|
|
|
|
|
Processing triggers for systemd (237-3ubuntu10) ...
|
|
|
|
|
Processing triggers for ureadahead (0.100.0-20) ...
|
|
|
|
|
Errors were encountered while processing:
|
|
|
|
|
varnish-broadcaster
|
|
|
|
|
E: Sub-process /usr/bin/dpkg returned an error code (1)
|
|
|
|
|
</failure>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="30-install-broadcaster-redhat.sh"
|
|
|
|
|
classname="log/vcp6-tests/.30-install-broadcaster-redhat.sh"
|
|
|
|
|
<skipped/>
|
|
|
|
|
>
|
|
|
|
|
<testcase
|
|
|
|
|
name="31-systemctl-broadcaster.sh"
|
|
|
|
|
classname="log/vcp6-tests/.31-systemctl-broadcaster.sh"
|
|
|
|
|
>
|
|
|
|
|
</testsuite>
|
|
|
|
|
|
|
|
|
|
</testsuites>
|
|
|
|
|