summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Remove moxstubout usageChuck Short2018-08-221-4/+5
| |/ |/| | | | | | | | | | | | | 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>
* | Merge "Remove extra copy.deepcopy"Zuul2018-08-171-4/+1
|\ \ | |/ |/|
| * Remove extra copy.deepcopyJoshua Harlow2018-07-191-4/+1
| | | | | | | | | | | | | | | | | | 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
* | import zuul job settings from project-configDoug Hellmann2018-08-031-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update reno for stable/rockyOpenStack Release Bot2018-07-262-0/+7
|/ | | | Change-Id: I8346274c8dc281f18ae7938334adec6d5dd3780f
* Merge "Handle non-string keys appropriately"3.36.4Zuul2018-07-182-5/+18
|\
| * Handle non-string keys appropriatelyJoshua Harlow2018-07-172-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Switch to stestrVu Cong Tuan2018-07-046-13/+8
| | | | | | | | | | | | | | | | | | | | 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
* | Add release notes link to READMEmelissaml2018-06-211-0/+1
| | | | | | | | Change-Id: Ic64ca857fca154facbbef1e97740af52e2747834
* | Merge "Fix exception with secretutils"3.36.3Zuul2018-06-142-22/+27
|\ \
| * | Fix exception with secretutilschangxun2018-05-242-22/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | fix tox python3 overridesDoug Hellmann2018-06-061-1/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Add private_key to the list of sanitized keys3.36.2Matthew Booth2018-05-111-1/+1
| | | | | | | | | | | | | | | | Nova's create keypair operation will currently log the generated keypair if debug logs are enabled. Closes-Bug: #1770683 Change-Id: I7f889f0bf254fad43b1e26d32fa145f88c668b39
* | Remove stale pip-missing-reqs tox testKenneth Giusti2018-05-021-8/+0
| | | | | | | | | | | | | | | | | | | | 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
* | Capitalize OsloBen Nemec2018-04-241-2/+2
| | | | | | | | | | | | | | | | | | It's a proper name. Mostly this is just to trigger the release notes jobs again after they failed on release. Change-Id: I5ea88dfbad5b9d60d9b404cef4a586e92fb5a957
* | Trivial: Update pypi url to new url3.36.1Tovin Seven2018-04-202-3/+3
| | | | | | | | | | | | | | | | | | Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: I53bfd078ba2a47a5744c2ebf1354d06ad6438544
* | Merge "eventletutils: Fix behavior discrepency when reusing Events"Zuul2018-04-172-2/+13
|\ \
| * | eventletutils: Fix behavior discrepency when reusing EventsJohn Eckersberg2018-04-112-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 default python to python3Doug Hellmann2018-04-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Fix project name in user docsBen Nemec2018-03-291-3/+3
|/ / | | | | | | Change-Id: I6d000cd4bfa776011638d96891f8966cc804f422
* | Merge "add lower-constraints job"Zuul2018-03-293-0/+59
|\ \
| * | add lower-constraints jobDoug Hellmann2018-03-243-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge "Remove sphinx settings from setup.cfg"Zuul2018-03-261-9/+0
|\ \ \
| * | | Remove sphinx settings from setup.cfgSean McGinnis2018-03-211-9/+0
| |/ / | | | | | | | | | | | | | | | | | | These don't appear to hurt anything, but they are no longer used and should be removed to avoid confusion. Change-Id: I849d5bcc7c59803342b4399d5199e280d1842d06
* | | Clean old output before new doc buildsSean McGinnis2018-03-211-1/+4
|/ / | | | | | | | | | | | | Remove the doc/build directory to make sure there are no stale artifacts from past runs. Change-Id: Icd65eab77928d78ae775adbea03c8cf537b5adc1
* | Add bindep.txt file to prevent fallback to generic listSean McGinnis2018-03-191-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Updated from global requirementsOpenStack Proposal Bot2018-03-152-2/+2
| | | | | | | | Change-Id: I68a6de52dc412e026f8611052208afdc293f4069
* | Add -W for document build3.36.0ZhongShengping2018-03-021-1/+1
| | | | | | | | | | | | | | For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Idebdeab428a6fc2aa1f6bba9e919fe4e9f4f6227
* | Merge "Update links in README"Zuul2018-03-011-2/+2
|\ \
| * | Update links in READMEmelissaml2018-02-281-2/+2
| | | | | | | | | | | | | | | | | | Change the outdated links to the latest links in README Change-Id: Ie4fe4ff1bf391d8d65675fa973b4d627aab8de9d
* | | Imported Translations from ZanataOpenStack Proposal Bot2018-03-012-6/+6
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: If10933e0bbc543f4a9ed686b96e13e43b3d8a296
* | Merge "Clean imports in code"Zuul2018-02-091-15/+12
|\ \
| * | Clean imports in codeNguyen Hung Phuong2018-01-301-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Imported Translations from ZanataOpenStack Proposal Bot2018-02-082-7/+24
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ic58353cda88124d10f320e62d19034a6c1278edd
* | | Merge "Document specs_matcher.py functions"Zuul2018-02-072-4/+78
|\ \ \
| * | | Document specs_matcher.py functionsJohn L. Villalovos2018-01-302-4/+78
| |/ / | | | | | | | | | | | | | | | | | | | | | Add some documentation to the specs_matcher.py functions. Add some additional unit tests. Change-Id: Ie399388e96d7a93fcb7e813b4b4da9ebd5d99688
* | | Fix breaking unit tests due to iso8601 changesJohn L. Villalovos2018-02-062-30/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Updated from global requirements"Zuul2018-01-301-1/+1
|\ \ \ | |/ / |/| |
| * | Updated from global requirementsOpenStack Proposal Bot2018-01-241-1/+1
| | | | | | | | | | | | Change-Id: Icf016d2a22157bcf84db1b71733904bdded49aa5
* | | Merge "Update reno for stable/queens"Zuul2018-01-262-0/+7
|\ \ \
| * | | Update reno for stable/queensOpenStack Release Bot2018-01-242-0/+7
| |/ / | | | | | | | | | Change-Id: I9a83676c89628b3e273109020778e95420ccfede
* | | Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'sunyandi2018-01-191-1/+1
|/ / | | | | | | | | | | Trivial fix. Change-Id: Ie89f2bd03822cb76ee09d1d91284e7d356f5e5c5
* | Updated from global requirementsOpenStack Proposal Bot2018-01-181-1/+1
| | | | | | | | Change-Id: I969d8e0335a7d119f702b0cab30cbf61f6255905
* | Updated from global requirementsOpenStack Proposal Bot2018-01-161-1/+1
| | | | | | | | Change-Id: I73293123611d79ed3dad7ff6475c07b97f742cc9
* | Merge "Add a mixed mode parser to string_to_bytes"3.35.0Zuul2018-01-132-2/+35
|\ \
| * | Add a mixed mode parser to string_to_bytesIan Wienand2017-09-132-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add missing information in docstring of validate_integer"3.34.0Zuul2018-01-071-0/+3
|\ \ \
| * | | Add missing information in docstring of validate_integerChangBo Guo(gcb)2017-12-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add versionadded and raises information in docstring Change-Id: Ia5929dc81cfed927a7b5dd809c13d3ae7efdf699
* | | | Merge "Add method to escape ipv6 ip addresses"Zuul2018-01-052-0/+18
|\ \ \ \
| * | | | Add method to escape ipv6 ip addressesDerek Higgins2017-08-182-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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