This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: Ic60993c2315e8b10da8abb1fb02e33151a1e2b98
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: I7c32ecb145cae2a0967c62ed7f845dea25ea8ecf
All of the inspector interface methods takes in instance being
inspected and duration of seconds over which metric needs to be
calculated. Though the duration parameter is not used, the
method signaures need to be updated to match ceilometer
changes [1].
[1] 90560e42fd1b589ebb03b8629cf591dee8e559a6
Change-Id: I3ad8da0dc9cd26e269bf18f26231063d122faf98
The Stein supported runtimes proposal [1] has chosen py36 over py35
due to the communities move to testing on Ubuntu 18.04, where py36
is the default runtime. We update tox.ini and setup.cfg accordingly.
We also add a py37 option to the tox.ini to facilitate future-looking
tests per the resolution on keeping up with Python 3 releases [2].
The py35 option will eventually need to be removed from tox.ini, but
this keeps it for now in order to allow time for folks to transition.
As previously commented, automatic tox envs (pyXX) will use the python
version appropriate to that env and ignore basepython inherited from
[testenv], so we no longer specify a basepython explicitly for these.
[1] https://review.openstack.org/611080
[2] https://review.openstack.org/613145
Change-Id: Ia7bc930de383d8522509488194e93e711f51590f
With moving away from required milestone releases, the version numbers
calculated by PBR on the master branch will not work for those testing
upgrades from the last stable release. More details can be found in the
mailing list post here:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/135706.html
This is an empty commit that will cause PBR to increment its calculated
version to get around this.
PBR will see the following which will cause it to increment the version:
Sem-Ver: feature
Please merge this patch as soon as possible to support those testing
upgrades.
Change-Id: I893e8f01462d61778e6f901a95eee960a53c3ddf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Use the newly created project-templates to gate on ceilometer's master
branch.
Depends-On: https://review.openstack.org/609901
Change-Id: Iab267fc2b62f9519af50263bb90fb4124214c8e8
Since ceilometer is introduced in upper-constraints.txt [1], tests are
failing, as ceilometer was installed via tox.ini directly from github,
but pip doesn't like that:
"Could not satisfy constraints for 'ceilometer': installation from path
or url cannot be constrained to a version"
[1] https://review.openstack.org/#/c/601498
Change-Id: I9a018f625e6f252fe64ee2b8b93f5f2e0b464309
This cleans up .gitignore, removing things that no longer seem to be
relevant (e.g. .venv) and adding comments and formatting similar to
the suggestions proposed for openstack-dev/cookiecutter [1].
[1] https://review.openstack.org/#/c/592520/
Change-Id: I492b20c8464aff6aa9deb53639e623dcfb2cf9bc
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: I517c03ebb25cac9877e1f8e73538a20d242b2200
Story: #2002586
Task: #24324
According to Openstack summit session [1], stestr is maintained project
to which all Openstack projects should migrate. Let's switch to stestr
as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I4defbb8d866ae847253d4873891f7d2eb2593ed6
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: Ic189fc2d55534557029fec4150f7a7f3c9562d6e
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
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 can't set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36 due to https://github.com/tox-dev/tox/issues/425
Change-Id: I27cdedcdd7d499da545444174efb06a0f5b3948e
Update translations for the Queens release.
Note: this is being cherry-picked from stable/queens to master
instead of the other way around. The translations were actually done
based on queens, so that is where they were originally merged. In
hindsight, they should also be merged in master so that it has the
latest translations as well, so we should have followed the normal
process of merging in master first, but too late for that now.
Change-Id: I374eae9b0ef4bdd049d9b26b6bb27258c7907143
(cherry picked from commit a29ca2b75e)
We should use py3 for pep8 as it is stricter than pep8 on py2.7
and for consistency with nova-powervm [1].
[1] https://review.openstack.org/#/c/558868/
Change-Id: I247333e34762b2bf996b4795e266df5f284a9881
Found some copyrights that were not updated the last time the
file was changed. Updating copyright dates to reflect the most
recent change.
Change-Id: I28adcc19b4f612095d54f41f52ac1f6ee18a0b81
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: Ie3e9a337a2ee160ccdbcdd3681d2caeb6518c085
Logs are not longer supposed to be translated. This removes log
translation markers from the code and removes the po files that held
log translations.
Change-Id: I8910f6c4f4a13623720d6339431af66014d15dba
Ceilometer added two new parameters to DiskStats [1], wr_total_times
and rd_total_times. We do not currently have those metrics, so 0 will
be passed in for both.
[1] https://github.com/openstack/ceilometer/commit/ed67c2bd3
Change-Id: I7c60ad99df736fa878b97177035d1565dac4beab
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.
Changing Popen to .check_output because of 2 reasons:
1. check_output() will raise CalledProcessError if
the called process returns a non-zero return code.
2. For consistency with keystone [1] and cinder [2]
[1] https://review.openstack.org/#/c/457142
[2] https://review.openstack.org/#/c/433081
Change-Id: I810f841097c64c5e73db42ca393f6179182d9694