Let's use openstack-python3-wallaby-jobs template.
Also update setup.cfg to be compatible with supported pythons.
flake8==2.6.2 and pyflakes==2.0.0 seems not to be compatible
with python3.8 on Ubuntu so the patch addresses this as well.
Change-Id: Ic09b2d836315d9a223bb8592d0e48ef475c56aa5
Let's avoid triggering big jobs on unit tests, reelasenotes or doc
changes by reusing irrelevant files list.
Change-Id: I929c7527127ddb7275a593d49d29a4a6e3ed4998
To run octavia tempest plugin some configuration need to
set in tempestconf file. If octavia service is enabled
then configuration region, enable_provider_drivers will
set automatically.
Added tripleo-ci-centos-8-scenario010-standalone job in
check and gate list.
Added tests for list_drivers and post_configuration.
Change-Id: Ic719f83f4fb9a330fc64ef46144e0b0b39c3a7d5
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Interop repos are going under rename from
openstack namespace to osf namespace (Depends-On),
which need update the zuul job to start using the
new location.
Uupdate .gitreview as well.
Depends-On: https://review.opendev.org/#/c/734669/
Change-Id: Ib009644f053e973da2195bb8865041ee1f41f0d5
Considering that we are the only users of packstack job (based
on the http://codesearch.openstack.org/ search) which has been
failing for more than a week at the moment, this patch makes
the packstack jobs non voting.
The future of packstack jobs as gate ones within this project
will be discussed.
Change-Id: Idb059598f22fe51033cbd9ca18e596f7cc004fc0
install-plugins role didn't take into account upper
constraints when installing plugins, this review
fixes that.
Change-Id: I82d81aad7952ce9d03c42187e4ae957043f59397
By removing openstack-python-jobs zuul template when we dropped
support for python2 we accidentally removed pep8 job as well as
it was part of that template.
This review adds the pep8 job explicitely.
Change-Id: I9c1c5cf1667d95de91533c2a266263a66ece365e
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
Drop rocky and queens jobs, those jobs are py27 and are not
supported here anymore.
Change-Id: I2e797d325c9427264ef3dbba7aca15936eb65cd1
centos7 packstack jobs are not compatible with python3 plus it seems
python-tempestconf is the only project which uses packstack-allinone
job.
The change replaces packstack-allinone by packstack-centos8 job and
makes packstack jobs voting again.
Change-Id: I81f700f739fd212f57fc6f4121e6a25f48163103
tripleo-ci-centos-7-standalone-os-tempest was added while porting
tripleo ci jobs to os_tempest and now the porting is done.
tripleo-ci-centos-7-standalone-os-tempest and
tripleo-ci-centos-7-standalone are the same job, It replaces the
existing os_tempest job to plain tripleo standalone job to keep
consistency at all places.
Change-Id: Ia4491e375117e8cdb4b4c16db632f745ae3714c7
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Add train devstack jobs.
The packstack master jobs are failing on time out issues when spawning
a server. In order to unblock the gates let's make them non voting until
the issues are resolved.
Change-Id: I97c7cf2b808195acf0a5a08b318af522abe03216
The review fixes permission denied issues while either tempest.conf
is copied to /opt/stack/tempest location or a tempest plugins are
installed there.
Change-Id: I16bbc2faccb31af04867757aa4357d55ee4de572
The job will be useful in cases we want to test if the
generated tempest.conf works with certain tempest plugins.
The job runs heat-tempest-plugin for now.
Story: 2005456
Task: 30510
Change-Id: I2640b07263cdd3a8282170fd764c5f31611125ec
python-tempestconf sets _member_role by default, however,
the role is not created in devstack environment by default.
Therefore the patch adds logic which checks if the role is
present and if it's not, it tries to look for member role.
If the member role is not present as well, auth.tempest_roles
is not set at all.
Story: 2003550
Task: 24839
Change-Id: I0051bb4f870d58298403ac6fef6ae4ec454997af
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: Ic4cd5f91f8fd33054907f5087a83315f05fc7fc2
manila's devstack plugin now defaults to run the api behind a
uwsgi reverse proxy. Disable that in this job and maintain
compatability with the previous configuration which uses the
wsgi interpreter built in to manila.
Change-Id: Ie567ea1bb839c1eb5eeabdf62eedade6161de1d2
tripleo-ci-centos-7-standalone-os-tempest adds the ability to test
os_tempest role with python-tempestconf, It needs to be gated here
so that it's implementation does not break the stuff.
Change-Id: I821a139fcedfc43fbdea86faf4c136500470fb1b
* It will test python3 python-tempestconf stuff on devstack.
* use tempestconf_pip_virtualenv_python var when py3 based job
is invoked.
Change-Id: Ic8a4d146203595a4381f7ae12dc98333589acae6
Until now the code has been counting on the fact that demo user
can't list roles. This has changed and the code has started
faling on creating a new role because demo user doesn't have
proper permissions. The patch wraps the whole logic around listing
and creating roles to try except block.
The patch also sets refstack-client-devstack-tempestconf as non
voting, because in order to fix it this review needs to be
merged first.
Change-Id: Ief0916e4ec51a23c72ffd1cde529ecb33f949dec
The tests are blocking python-tempestconf's gates due to the
issue described in the attached story.
Skip the tests until the issue is resolved.
Change-Id: I3b604e18c62c2d2a614c5b50d8d8e06a9b0fdb0d
Story: 2004209
Task: 27722
Use openstack-tox-cover template, this runs the cover job
in the check queue only.
Remove jobs and use template instead.
Change-Id: I129ab68ba1fbbe39350013d095a1601ca00839e2
* Since this is the only job against refstack-client which makes sures
python-tempestconf works. But what about running this job against
tempestconf and making sure any updates to tempestconf does not
breaks the refstck-client tempestconf integration
Depends-On: https://review.openstack.org/#/c/562956/
Change-Id: Ied653f3cab219f60879411da11eada42ff6ae568
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I02b9dba44cabba9756eb3ece99c873b661c57d3d
Story: #2002586
Task: #24759
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ie301af224b86ccf60623799313e815fa911c8c9c
Story: #2002586
Task: #24759
Don't expose credentials to tempest.conf when
--create-test-accounts is used.
When generating tempest.conf with demo creds, use
--create-accounts-file argument so that the argument
is tested in the gates.
The argument is used only on Devstack.
Tempest concurrency of devstack demo job is reduced to 1
because the minimal accounts file is used.
Change-Id: Id5c90810666d783cf3939086ef27149ef53277f8
Story: 2003016
Task: 23036
openstack-tox-cover should exectue at least the same steps,
and it also collects the report generated by the of the cover tox
environment which is not saved right now.
Change-Id: I17bae4a75261c065ce2d17fcca3a0282082589f0
Replace tripleo-ci-centos-7-containers-multinode with
tripleo-ci-centos-7-scenario002-multinode-oooq-container due the fact
the last one has swift enabled and it's something that we want to test
since we are now supporting swift discovery in tempestconf.
Also notice the average time for this job is 2 hours and 35 minutes
while the previous one was 2 hours and 15 minutes, so we are adding 20
minutes, but worth since we are covering more tests.
Depends-On: https://review.openstack.org/#/c/580423/
Change-Id: I896dc49ff654f40bc2c7117d3edb884b86f635f9
This patch collect the tempest.conf, accounts.yaml and the
tempest.log files. In order to make it work here's what had to
be changed:
* General refactor of the jobs
* Devstack jobs, inherited from devstack, and these files are on logs/
since it's the only place we can specify files to be according
zuul documentation. You could add a tempest directory in logs but
we would have to overwrite a lot of code just for it, since we
are inherit the tempest run playbook from tempest project.
* Packstack jobs are inherited from packstack, and they have a different
way to upload logs, and they don't run tempest, so we had to
implement our own upload logs and overwrite the packstack one.
Basically a copy and paste, plus the generation of tempest directory
in /tmp/logs and copying the files to that directory.
* Instead of use the copy module from ansible, we are using the
command module doing a sudo cp file because the copy module was
failing with file not found, even though the file was there.
A bug was opened against ansible at
https://github.com/ansible/ansible/issues/42198
* Removing local py35 job since we are inherit it from upstream already
Task: 22669
Story: 2002785
Change-Id: I04b0700955325fac543fb8410da5099872e9c7db
- port away from filter (list comprehension is the suggested way);
- explicitly convert the result of map to a list (thus simulating
the Python 2 behavior);
- remove the last (newly introduced) relative import;
- add a temporary py35 job to avoid clashes with the future
official job from project-config.
Python 3 unit tests should pass now.
Story: 2002574
Task: 22141
Change-Id: I73786ed5ca238da1236e6847e25d4435aeebbd87
- use the six version of configparser and urllib, and depends on six;
- remove relative imports;
- adapt few tests to the changes.
The changes above should be noop from the point of view of
functionalities, at least on python 2.
And also:
- replace the py34 tox virtualenv with py35;
- add a non-voting py35 job (locally for now, it will be enabled
to project-config also for gating when stable).
Story: 2002574
Task: 22142
Change-Id: I0a35abaae6f5b7095ebae765fbe2163046e0a4da
python-tempestconf-tempest-packstack/devstack-demo zuul job
uses generate-tempestconf-file role to generate tempest.conf.
Since demo is a non-admin user with non-admin user we cannot use
--create option but it was used since it is a bug, so we need to
check for admin/demo user then enable the proper option.
Used Jinja templates for creating tempest configuration script
Create test-demo-user role which prepares resources for a demo
user.
Create generate-accounts-file role, which generates accounts.yaml
file for Tempest needed for running tests as user who doesn't
have persmissions to create resources.
Change-Id: I727a6cfd154cb3f95c33da02440f25ae1765153f
Story: #2001695
Co-Authored-By: Martin Kopec <mkopec@redhat.com>
* Fixed package name of oslo.config and moved stestr to test-
requirements.txt
* Increased timeout for packstack job
Change-Id: I0b851360fb710a235b51d2eda8e608ae934d9f77
Needed after https://review.openstack.org/517644 which changed the
definition of the base jobs (especially where the type of the base
image is defined).
Reduce the concurrency of tempest run to (hopefully) prevent some
errors related to networking.
Change-Id: Ifc0d186bc23d318fab994b99cb94f1e587d41d8f
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I36084d04f6662c4e9f4569128e0e6aa3af7baf56
* Create a structure for Zuul v3 jobs.
* Add tempest jobs running on devstack and packstack environment with admin
and demo credentials.
Depends-On: I6f19d2b8128fbb0f2034892a11127bce73d102f9
Change-Id: Id52e7e1c42e7e93bece7907b8f4b05e5bfa2a7f9
At least we run one functional testing job that actually test
tempestconf in a real environment, here TripleO.
Change-Id: I8a8537532d84c18d1dd6d9e7a4e703509e563f28