| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/
|/|
| |
| |
| |
| |
| |
| | |
As of oslotest version 3.5.0 moxstub will be deprecated,
so remove it where it has been used.
Change-Id: I9f038428cbea07a307f08c2251eafed7ab8bbea1
Signed-off-by: Chuck Short <chucks@redhat.com>
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This method is called recursively (ie deeply) by default
so there doesn't seem to be a good reason to deepcopy over
and over and over at every recusion level especially since
a new output dictionary is getting created anyway.
Change-Id: I644ef881e487c06dc4db77d60cfe765b0e59b547
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
Change-Id: I96287db07326aed08d1f3557a6c5366277701e67
Story: #2003250
|
|/
|
|
| |
Change-Id: I8346274c8dc281f18ae7938334adec6d5dd3780f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In python dict keys can be anything that is hashable; which
includes non-strings such as ints. Currently the code is blowing
up with these types of keys with exceptions like:
TypeError: argument of type 'int' is not iterable
So to fix that handle the case where non-string keys are found.
Change-Id: I4f576a089df6f68e43572bf0eee15e99f2b557fe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: Ica0262653e8c18681d049acca6d5920ac38f97e6
|
| |
| |
| |
| | |
Change-Id: Ic64ca857fca154facbbef1e97740af52e2747834
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
1. There are some problems about the test method.
problem 1:
Unit tests may not cover our function, it depends on the python version
that performed the test.
problem 2:
when using function 'constant_time_compare(first, second)', 'first' and
'second' params are usually HMAC digest values, it is not appropriate to
use utf-8 encoded values as mock data.
2. The previous commit `f1d332a` lead into a bug, but due to the problem 1
and the problem 2, we did not find out the error.
Change-Id: I1c29bfe69f8eda60f3c5caaf3e5447dd5b69b108
Closes-Bug: #1772851
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
Change-Id: Iba35cef6449b9c40a820114d59c1c45f56946b8d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Nova's create keypair operation will currently log the generated
keypair if debug logs are enabled.
Closes-Bug: #1770683
Change-Id: I7f889f0bf254fad43b1e26d32fa145f88c668b39
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
pip_missing_reqs tool is no longer maintained and has broken with
release 10 of pip
Refer to:
http://lists.openstack.org/pipermail/openstack-dev/2018-April/130027.html
Change-Id: I0f9170586dc4c270df282d8f7417910eec109d78
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's a proper name.
Mostly this is just to trigger the release notes jobs again after
they failed on release.
Change-Id: I5ea88dfbad5b9d60d9b404cef4a586e92fb5a957
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Pypi url changed from [1] to [2]
[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>
Change-Id: I53bfd078ba2a47a5744c2ebf1354d06ad6438544
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The threading.Event object allows calling set() multiple times, but
the eventlet.Event object only permits send() to be called once,
before a reset() is required to reuse the Event.
Calling eventletutils.Event.set() multiple times triggers an
AssertionError from eventlet.Event. This change resets the underlying
eventlet.Event if the set() method had already been called previously,
and ensures the eventletutils.Event behaves the same as the
threading.Event.
Change-Id: If761b237266bbfe7e65c56e152074b5d1ccac74b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set the default python to python3 except for the py27 environment. We
have to set that explicitly to override the new default.
Change-Id: I931fc5b5c5bd0b746e1600c93897a7551b3f559e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|/ /
| |
| |
| | |
Change-Id: I6d000cd4bfa776011638d96891f8966cc804f422
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: I6dae26f75d10c070c3d32460fb4cf47bc41a0896
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
These don't appear to hurt anything, but they are no longer used
and should be removed to avoid confusion.
Change-Id: I849d5bcc7c59803342b4399d5199e280d1842d06
|
|/ /
| |
| |
| |
| |
| |
| | |
Remove the doc/build directory to make sure there are no stale
artifacts from past runs.
Change-Id: Icd65eab77928d78ae775adbea03c8cf537b5adc1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Jobs will look for bindep.txt in each repo to get a list of required
system packages to be installed. If that file is not found, it will
fallback to a generic bindep.txt file that contains many things that
are not needed for running oslo.utils jobs (things such as mysql and
postgres packages).
This adds a basic bindep.txt file with just a few packages to speed
up job setup times and prevent unnecessary work in the gate.
Change-Id: I7afa363b41b42f7dbd1e31a68b65f122eeffc447
|
| |
| |
| |
| | |
Change-Id: I68a6de52dc412e026f8611052208afdc293f4069
|
| |
| |
| |
| |
| |
| |
| | |
For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: Idebdeab428a6fc2aa1f6bba9e919fe4e9f4f6227
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change the outdated links to the latest links in README
Change-Id: Ie4fe4ff1bf391d8d65675fa973b4d627aab8de9d
|
|/ /
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: If10933e0bbc543f4a9ed686b96e13e43b3d8a296
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.
https://docs.openstack.org/hacking/0.10.3/
Change-Id: Ie0151c2878c6a0ae09b7efcd5ccc7b31c622c0e7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Ic58353cda88124d10f320e62d19034a6c1278edd
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add some documentation to the specs_matcher.py functions.
Add some additional unit tests.
Change-Id: Ie399388e96d7a93fcb7e813b4b4da9ebd5d99688
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The move from iso8601===0.1.11 to iso8601===0.1.12 broke unit
tests in oslo.utils.
iso8601 used to do:
from datetime import datetime
But now they call datetime.datetime():
import datetime
datetime.datetime()
Unfortunately the unit tests that mocked datetime.datetime() are now
mocking the one in iso8601. This causes a failure in the unit tests.
Fix this by using the 'wraps' argument to mock. So that the calls will
get passed through to datetime.datetime. Also changed to using the
decorator style of mock.
In addition Python 3 unit tests were broken due to changing how the
UTC time zone is represented from 'UTC' to 'UTC+00:00'.
Closes-Bug: #1747575
Closes-Bug: #1744160
Change-Id: Ia80ffb5e571cc5366bef2bc1a32c457a3c16843d
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: Icf016d2a22157bcf84db1b71733904bdded49aa5
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I9a83676c89628b3e273109020778e95420ccfede
|
|/ /
| |
| |
| |
| |
| | |
Trivial fix.
Change-Id: Ie89f2bd03822cb76ee09d1d91284e7d356f5e5c5
|
| |
| |
| |
| | |
Change-Id: I969d8e0335a7d119f702b0cab30cbf61f6255905
|
| |
| |
| |
| | |
Change-Id: I73293123611d79ed3dad7ff6475c07b97f742cc9
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This proposes a "mixed" parsing type that interprets the IEC-ish "i"
units as power-of-two and the SI-style "non-i" units as power-of-ten.
This is a round-about way of saying it is basically making it the same
as the way GNU parted interprets such strings [1].
While I'd be the first to admit it's a bit ugly, I think it could
serve a role for people who have to interpret such strings for
compatability reasons. In particuarly within diskimage-builder, we've
accepted these strings for partition creation (being modeled on
parted) and I'd certainly like to not have our own unit parser if we
can help it.
[1] https://www.gnu.org/software/parted/manual/html_node/unit.html
Change-Id: I772bcb6651484d68afabd1965e5db033439c6257
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add versionadded and raises information in docstring
Change-Id: Ia5929dc81cfed927a7b5dd809c13d3ae7efdf699
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
IPv6 addresses are commonly enclosed in square brackets
in resource identifiers to allow them to be distinguished
from port numbers.
I've come accross the need of this in multiple places
zaqar https://review.openstack.org/#/c/495279
tripleo https://review.openstack.org/#/c/494440
ironic https://review.openstack.org/#/c/411809
ironic-python-agent https://review.openstack.org/#/c/411817
Change-Id: Icdcf681c1d71a09b88b029f80d13cd5015dacd56
|