| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: I699c698754f498cacff4998f33ea0738682b86e7
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a combination of 3 commits that are all needed to unblock gate:
1. Move testing to py36
The base infra images no longer have python 3.5 available and are
all failing. We should be testing on py36 now anyway since that is
the minimum supported version for Train.
2. Stop redis-server before running tests
Just installing redis-server on Ubuntu Bionic starts the service,
which means when we try to start one via pifpaf it fails due to the
port already being in use.
This change adds a pre-run playbook that stops the redis-server
service so ours can run successfully.
3. [stable-only] Cap stestr for python 2
stestr dropped python 2 support with version 3.0.0 and tooz does not
use constraints from openstack/requirements, so test-requirements.txt
is updated to use stestr<3.0.0 in case of python 2.
Since tooz do not consume upper-constraints there is no need for
requirement check job either so it is removed, too.
Conflicts:
tox.ini
test-requirements.txt
NOTE(elod.illes):
* tox.ini conflict is due to py37 is not yet added as tox target in
Stein.
* test-requirments.txt is not present in Stein, setup.cfg is used
instead.
First two commit was squashed in train (original patch's change id is
I3f7f7ea9069d8c890a82f31ad14c9663e98c09dc and cherry picked from commit
8207427fffc72547387369ce7ba2696a86bf7626).
Closes-Bug: 1828610
Change-Id: I7a75be587efc2098e919f1ea34f9ffc357203dfb
(cherry picked from commit 13a6dffa32789ac91b724977ed1d73375baf0824)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If you're not intimately familiar with RFC 1808 it can be a bit tricky to
write tooz connection strings. In addition, some drivers do not document the
options that they recognize in a connection string. This can force a user to
read the driver code in order to figure out how to configure tooz to use said
driver, which should not be the case.
This change more explicitly documents the format of the connection string,
including which parts of an RFC 1808 URI it recognizes, and the options that
can be passed. It also clarifies which parts of the connection string are
optional (possibly because they have defaults) and which must always be
included.
Note that not every possible configuration is documented. For example, the
postgres driver supports multiple methods of configuring the connection host
and port. For consistency, I only documented the one that matches the other
drivers. This should be sufficient to allow a user to write a working
connection string.
This change also wires the etcd3 and etcd3gw drivers into the doc index since
they were missing before.
Change-Id: I66e54433115f27fb54badc2173f8f6044c49aacb
|
| |
| |
| |
| |
| |
| |
| | |
On python2 in case of unicode objects, str() was causing UnicodeEncodeError.
Also utf8 encoding as a default (mostly for Python2)
Change-Id: I64373133f65c5b11daa3462b7c21a55d06738c09
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.
Change-Id: I136c931dce4927c500e29205b8cddf04533f8d83
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have a couple of issues blocking tooz test jobs right now. This
is a combination of two commits that fix the problem.
Cap grpcio<1.16.0
1.16.0 introduces a bug that is causing our etcd3 tests to fail on
a consistent basis. Until that is resolved we can't use any higher
versions of grpcio.
1.0.0 is used as the lower bound on the assumption that any version
of the current major release will work. Since we weren't setting a
bound before that seems relatively safe.
Partial-Bug: 1808046
Fix requirements
The requirements check job is failing on a couple of the entries in
this project. enum34 needs a lower bound, and futurist has an
exclusion that isn't in global-requirements.
enum34 is given the same lower bound as oslo.upgradecheck, and
futurist's lower bound is increased to the last global lower bound
(before lower bounds were removed), which eliminates the need for
the exclusion.
Change-Id: I1b279e138325b596f5ec2c61717029d2f7bdd075
Depends-On: https://review.openstack.org/#/c/624759/
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current code tries to re-execute the whole _beat_forever_until_stopped
method when it fails, whereas what it wants is only retry the driver code.
The current behavior triggers an issue on interpreter shutdown:
https://github.com/gnocchixyz/gnocchi/issues/979
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Exception in thread Thread-2 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 765, in run
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 250, in wrapper
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 186, in _beat_forever_until_stopped
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'StopWatch'
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
File "/usr/lib64/python2.7/threading.py", line 765, in run
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 250, in wrapper
File "/usr/lib/python2.7/site-packages/tooz/coordination.py", line 186, in _beat_forever_until_stopped
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'StopWatch'
Change-Id: I558b89558e29c97e6d2d8036f068a593dd7540ab
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure that ID's are correctly binary encoded when strings are
provided, resolving compatibility issues with Python 3.
Change-Id: Ia417920a7600aacd43f17b95ecd6a34b5faa226b
Related-Bug: 1530888
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use openstack-tox-cover template, this runs the cover job
in the check queue only.
Remove jobs that are part of the templates.
Sort list of templates and place templates as first element of project
stanza to follow common practice.
Remove all branch conditions, those are implizit.
Change-Id: I458cb125bea7840b1a3931fa74929816d9ba4bd2
|
|/ /
| |
| |
| | |
Change-Id: Id717f076d13f10697a7528139950a0b70d95c1c3
|
| |
| |
| |
| |
| |
| |
| |
| | |
This project needs some special setup before running its tests, and
that wasn't happening in the cover tox env. This switches cover to
use the same methods for running tests as the regular test envs.
Change-Id: Ie4a6543286caa11dc15173679455b2aa2020dc97
|
|/
|
|
|
|
|
|
|
|
|
| |
autodoc_default_flags was deprecated and is now triggering a warning
that breaks our builds. Switch to the equivalent autodoc_default_options
configuration, which essentially turns the flags into dict keys that
map to None[1]: 'Setting None is equivalent to giving the option name
in the list format (i.e. it means “yes/true/on”).'
Change-Id: I573f19a054e535a90db8bb16a02b2c7f28d8e6d1
1: http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_default_options
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a mechanically generated patch to add a functional test job
running under Python 3 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: I7d517cdb8d338e4969d8cc5db69f3238b8ffd503
Story: #2002586
Task: #24322
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: Ie201d037721c6f8fac778e1234b0cfe0c27af760
Story: #2002586
Task: #24322
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Depends-On: I8247a51c26dea4e8b2834b9655ffbb37b36a6af4
Change-Id: I7e9a3124a824d00623fdbb44ece9456b0901788a
Story: #2003250
|
|/
|
|
| |
Change-Id: I2bd0a2be48eb68ecb95da210cc3b393ff6c8d31e
|
|
|
|
| |
Change-Id: I5a2a9cbc1060b847bb7459365c33d06ba8951b1a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Decode the output of subprocess in doc/source/conf.py so that we always
have a string.
Change-Id: I17601d56b6e6d9d300bb07d8982a7bbde637822e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This adds the various methods to support groups operations on the etc3gw
driver.
Change-Id: I8acb2f617f6044449fb3a91a9c3de73ef0061d36
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pypi url changed from [1] to [2]
[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>
Change-Id: I8c515aa5662e020c76672a45555dfa6572267604
|
|/
|
|
|
|
|
|
| |
Set the default python to python3 except for the py27 environment. We
have to set that explicitly to override the new default.
Change-Id: Ib90566414f0967b2c7c7633950e3dc2fa8634982
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: I328db3d0048386ddd2c4f785de542aeb7b98c6e1
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I26fc0d6ad8a9d0da4ae7e4ab28db16873da292bc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: Ie0f8b8d18ebdb213b515d00f3b1390e176e4965a
|
|/ /
| |
| |
| | |
Change-Id: Id73fa795a6236ed349564a8ea823b8c63c1edd8c
|
| |
| |
| |
| |
| |
| |
| |
| | |
The `hash` method is random on Python 3, so it's not consistent between. Just
use the string representation of the object as a default.
Change-Id: I84e2b19b64dc1641f9758429248dc6b928122b18
Closes-Bug: #1743243
|
|/
|
|
|
| |
Change-Id: I92cb78b4e361023f04424b3c52ac8ec8e0c82d5f
Related-Bug: #1743445
|
|
|
|
|
|
| |
This script is not used anywhere and can be removed.
Change-Id: I8f0fdedae24167692c080e021db6ea17bfbac1eb
|
|
|
|
|
|
|
|
|
| |
Convert all tox jobs to be Zuul v3 native. This uses the shared
openstack-tox as base.
Remove the now unused playbooks.
Change-Id: Ic89940a03e308fab051b8051ff281724e6488306
|
|
|
|
|
|
|
|
| |
Fix doc building with new PTI changes and job updates.
Add a doc/requirements.txt file with all needed dependencies.
Change-Id: Ic7963520aeb0b9c463c4f9b5675589308720d6f8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: I17194b0c5fabbed79cb2082d650b29857f92072c
|
|
|
|
|
|
|
|
| |
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated. Update references
to include the extension.
Change-Id: I5f78f356123428fd9072d798d5cc81bd026b2424
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements first step in zuulv3 migration guide [1]:
Move jobs to tooz repo
[1] https://docs.openstack.org/infra/manual/zuulv3.html#legacy-job-migration-details
Change-Id: I5511846b9fa87ffde3259ca024f6f1e1f439d51c
Co-Authored-By: Tovin Seven <vinhnt@vn.fujitsu.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The failure scenarios where LockError is raised is either:
- Lock is not locked. Then it should not be in _acquired_locks, so discard
should be a no-op.
- Token changed. That can happen if the lock timed-out (and somebody else
grabbed it). Then the lock is not longer owned anyway so let's remove it.
If releasing the lock fails, there's no way heartbeat will work anyway. So just
remove the lock from acquired locks and let it die anyway.
Change-Id: I44db39e83db7e6c0f17079584e49c8de34b51ce1
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Change-Id: Id63beaea3a0bc972a7117526aee1ad3f1ac99d84
|