The rationale for this change is the same as for merged change
to swift func tests job [1].
The swiftclient functional test job was changed to run
tox -e func as sudo [2]. The job first runs functional tests
against keystone, then repeats the tests against tempauth.
The second part of the job requires SWIFT_TEST_CONFIG_FILE
env var to be set to cause the tests to run against tempauth.
The introduction of sudo in [2] causes this env var to be lost,
so the tests run against keystoneauth again.
[1] change id Ibea153e94e7919b5422a344d365cee3106efb2fe
[2] change id Ifc3e862b0fe86928c3943a41f07cd086d6ace6fe
Change-Id: Ieea3efbd6526edb8038b677a2e2278107acfe211
The swift functional test job was changed to run
tox -e func as sudo [1]. The job first runs functional tests
against keystone, then repeats the tests against tempauth.
The second part of the job requires SWIFT_TEST_CONFIG_FILE
env var to be set to cause the tests to run against tempauth.
The introduction of sudo in [1] causes this env var to be lost,
so the tests run against keystoneauth again.
A tell-tale is that the second run of the functional tests should
output "SKIPPING FUNCTIONAL TESTS SPECIFIC TO AUTH VERSION 3" before
the first line of test results. This has been missing since [1] was
merged.
[1] change id Ifc3e862b0fe86928c3943a41f07cd086d6ace6fe
Change-Id: Ibea153e94e7919b5422a344d365cee3106efb2fe
the swift functional jobs need to run as the stack user if they are
going to build the .tox directory in the appropriate tree.
Change-Id: Ifc3e862b0fe86928c3943a41f07cd086d6ace6fe
This fix allows the swiftclient functional job to use swiftclient from
git, instead of only from pypi, which is needed for testing commits to
the client.
Change-Id: Ib239e55993b6cdc462db7b9854061b7352bbdccd
the swift functional tests should use tox targets when run in the gate
so that their test requirements can be specified in the swift project
itself, instead of being bound to what might be available in the base
image.
Depends-On: I730f1bb530215ba7c30bf32a1c3bbc16edd5c217
Change-Id: Ida1ee74162cb3b0f575364f9e4bf7742ccd9a794
The functional test for python-swiftclient currently fails all the time because
an required package for testing (testrepository) is missing.
swift itself uses nosetest to start functional tests, but python-swiftclient
uses testr and thus requires the package testrepository to be installed.
This patch simply installs all requirements for the tests. I was able to
reproduce this error localy using a fresh virtualenv environment, and this
patch fixed it for me.
Change-Id: I5417f74d324b1915155e321c3a87138069aa35fa
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.
Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3