autopkgtest cloud worker #15

Supports: bionic
Add to new model

Description

An autopkgtest worker receives test requests from AMQP, runs autopkgtest with
the ssh/nova runner, and puts the test results into Swift.


Overview

This charm sets up an autopkgtest cloud worker. This receives test requests from AMQP, runs autopkgtest with the ssh/nova runner, and puts the test results into Swift.

Contact Information

Author: Iain Lane iain.lane@canonical.com


Configuration

extra_packages
(string) Space separated list of extra deb packages to install.
install_keys
(string) List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
install_sources
(string) List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
lxd-remotes
(string) yaml dict arch -> ip -> n_workers corresponding to the number of LXD workers to run
mail-notify
(string) email addresses (space separated) to notify on worker failure
mirror
(string) the archive mirror to use for tests
http://archive.ubuntu.com/ubuntu/
n-workers
(string) yaml dict region -> arch -> n_workers corresponding to the number of worker instances to run
net-name
(string) the neutron network name to use for the SSH/nova runner (must have port 22 inbound open)
nova-rcs
(string) base64 encoded tarball of nova OpenStack credential .rc files
package_status
(string) The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
install
releases
(string) the releases to test for
swift-auth-url
(string) swift auth URL
swift-auth-version
(int) the keystone API version to use for swift (2 or 3)
2
swift-password
(string) password for swift
swift-project-domain-name
(string) the swift project domain (v3 only)
swift-project-name
(string) the swift project name (v3 only)
swift-region
(string) the swift region to use
swift-tenant
(string) the swift tenant name (v2 only)
swift-user-domain-name
(string) the swift user domain name (v3 only)
swift-username
(string) username for swift
worker-args
(string) autopkgtest virt args
null
worker-big-flavor
(string) the flavor to run big-packages tests under
m1.large
worker-big-packages
(string) space separated list of big packages which need to be run on the big flavour
worker-blacklist
(string) space separated list of release/arch/package triplets that will never be run
worker-default-flavor
(string) the default nova flavor to run tests under
m1.small
worker-long-tests
(string) space separated list of tests which need to have a longer timeout than default, but run on the default flavour
worker-setup-command
(string) autopkgtest's --setup-command argument
worker-setup-command2
(string) second autopkgtest --setup-command argument