Implements workaround for the missing --nobest option in Ansible
package module in order to succeed installing docker-ce.
Change-Id: I96e133dc5c59b9c811ff69df7651adadfcdf3a97
We need to pin enum34 on python2 because upstream broke it.
Also, we should not install zuul in python2, because it's not targetted
at python2. It's only here so that linters can deal with zuul_return
and other things from its library, so it should be fine to not install
it for python2 unittests.
GitPython was in here as a pin to the versions that support python3
for zuul. Since we're constraining zuul to only python3, we don't need
to mention GitPython at all.
Update the siblings unit test to use requests as the package we expect
to be already installed since we're no longer installing zuul for
python2.
Fedora 29 got archived upstream:
http://mirror.sjc1.vexxhost.openstack.org/fedora/releases/29/README
So we need to switch to fedora 30.
Change-Id: I69e0b03f624ba45889916f89c0912df667aaf096
This adds a role which installs bazelisk if it is not already
present. It also adds a test job which exercises the role; the
job will be run on any changes to the new role.
Change-Id: I69b28b58338b46ec3fea696f9d97be4271ed6ae4
It seems some versions of ruamel do a better job at preserving
comments than others. Create a tox env to regenerate the lists with a
version we know works.
Change-Id: I13503890fd3c18487281e3394b003e9f36cd24f2
This change enables using fetch-javascript role along with
the fetch-output role. By default the role still synchronizes
artifacts back to the executor.
Change-Id: I8450ecf91b3387445ebe2436754d1b88f2a77844
This change enables using fetch-subunit-output role along with
the fetch-output role. By default the role still synchronizes
artifacts back to the executor.
Change-Id: I50a50856b96a9112c1b4be82ca04b612fd29d939
Avoids ocasional failures caused by broken mirror repository.
We keep it, as it proves useful in discovering other issues from time
to time.
See https://zuul.opendev.org/t/zuul/builds?job_name=zuul-jobs-test-multinode-roles-opensuse-tumbleweed
Also assures linting catches errors caused by changes that missed to
regenerate the project stanza.
Change-Id: Id988a51175e8daa4f3c9725822dadcd7cd7aeb0e
This change enables using fetch-tox role along with
the fetch-output role. By default the role still synchronizes
artifacts back to the executor.
Change-Id: Iffe5ffc52ee4c765b2e23ab8b3235b6bc7c510d8
This lets use-buildset-registry notify cri-o about the new
registries.conf file if it is being used as the container backend
for k8s.
Change-Id: Ia1805519ab4b6bb5f79df0492f702effc6a3e024
Add tox-py38 and ensure that python interpreter is installed for tox-py3
jobs. The job includes the ensure-python role that checks and installs the
interpreter if python_version is set.
Test py37 to ensure that this works, it's the version currently used for
next OpenStack release, so let's test changes to roles and jobs here.
Run tox-py35 on Xenial, since that Xenial has Python 3.5 - it was run
previously on the default (3.6 in our install) instead, this change
showed that we run the wrong interpreter for tox-py35 on this repo.
Change-Id: I46d6780a5a32c443c37ef040b2af2459641dd123
This fixes a byte vs str problem on python3 in the tox role's sibling
library.
As part of this fix add unit testing of the function that was failing
under python3 and functional testing of the role that covers siblings.
Change-Id: I2df4ddce91dfd53f5c4177a19288e97120bc3e3b
This is a bit of a hack, but allows installation of openvswitch for
testing the multinode roles. Official CentOS 8 RDO builds are still a
work in progress, but this will let us get a head-start on any
multi-node testing.
Change-Id: I2eb1a16e9995a19d61e309aa59b232577184b527
zuul-jobs-test-install-kubernetes-docker came in with 03e42f87 but was
then duplicated with 91ae8e62. Remove the duplicate.
In the same change (91ae8e62) it looks like
zuul-jobs-test-install-kubernetes-crio has acquired a nodeset
defintion from further up the file. Remove it too.
I noticed this because when tools/update-test-platforms.py would run
it created the jobs twice. I think the note proposed in
Iaaafce2ef2f60e0c66723a34b17d60ec766b5f70 will help to avoid a skew
like this happening again.
Change-Id: Id9c95727d7b458edcd85b3c09f1d191fd3fcf1b9
The project: section is actually owned by
tools/update-test-platforms.py script. Add a note to make this clear;
otherwise manual edits get this out of sync and makes a mess when we
do try and regenerate it.
Change-Id: Iaaafce2ef2f60e0c66723a34b17d60ec766b5f70
There is currently an issue with the mirror for this platform.
Jobs report
http://<mirror>/opensuse/update/leap/15.1/oss/] Valid metadata not found at specified URL
We have checked the mirroring process for this directory, and it is
in-sync with the upstream mirror. This means it must be related to
something from the actual source distribution.
Make this non-voting while we sort this out.
Note, a follow-on (If41da9089a961dc27cda954924c17104e622dacc) makes
the tools/update-test-platforms.py handle non-voting platforms.
However, there are additional problems with duplicate jobs that need
to be fixed too. Thus this is a manual update.
Change-Id: I22d4cc02abaecb23d85aec3d415b43501ab1e0d2
Adds jobs to test and build go packages.
Adds a role to download and install go from
the official download page (https://golang.org/dl/).
Adds a role to run commands with go e.g build, test, run.
Change-Id: Iad2d877fffa2530e9fdeec648a60755a80cf01f4
Open the iptables ports in the same way there are opened in the
production opendev configuration. Do that in a pre-playbook and
move some tasks into it for retryability.
Change-Id: I992174aa3c7e47f9d2f70605172cd8b9460c53eb
In addition to the main subunit file from zuul_work_dir,
collect the subunit files from the elements (directories)
of the zuul_additional_subunit_dirs list.
The default behavior is unchanged.
While the documentation of this role states that zuul_work_dir
contains an absolute path, this is not always true.
So make sure to not make any assumption about zuul_work_dir
in order to not fail spectacularly as it happened with the
previous patch[0].
Add also some tests for the role: both the basic case
and with an additional test directory.
[0] https://review.opendev.org/673885
Change-Id: Iabf2e0cf6d86e36a174778367186bbd39a65c3dd
This role sets up a host to report via netconsole. It is a port of
old devstack-gate functionality from circa
Iebc8e1812d1441aba7c18d3e7c982b620b5198a0.
Change-Id: I37c26fdbcdf61a55fae4cbee3eb61a4bc45ca628
This is what this job should have been testing, as it's what we
recommend people use. We simply didn't notice that OpenDev never
finished the transition away from use-cached-repos (which isn't
even defined in this repo).
Change-Id: I9be05f9c035441c3a0f84206b25580263663d179
By default kubernetes wants to use the local resolvers on the host
system. But in many cases the local resolver may be 127.0.0.1 which is a
different localhost on the host system then in the container network
namespaces. To address this disconnect you can supply a different
resolv.conf with a list of nameservers to use instead. Add support for
this.
Note that the test currently only uses ipv4 resolvers because by default
k8s has no support for ipv6.
Change-Id: I3c0d7d88613e2c9112e809f036aef3dfeaf7ab72
Some jobs need to start with a clean slate of firewall rules so that
they can manage their own rules. Add a simple role that clears out
everything.
Change-Id: I92d3b02a6bd4f19460294ca5293dfbbd67bfd295