- 05 May, 2022 1 commit
-
-
Hervé Beraud authored
In Zed cycle testing runtime, we are targetting to drop the python 3.6/3.7 support, project started adding python 3.8 as minimum, example nova: - https://github.com/openstack/nova/blob/56b5aed08c6a3ed81b78dc216f0165ebfe3c3350/setup.cfg#L13 Also indicates that we support python 3.9. Change-Id: I25eabd9b58b0bb0babbedcd0203a262b15addcbf
-
- 19 Apr, 2022 1 commit
-
-
songwenping authored
All strings are unicode by default in Python 3. No need to mark them as such. Change-Id: I506a7bcd8fb3de2088bf37ebbb117896de9ddc77
-
- 11 Apr, 2022 1 commit
-
-
Zuul authored
-
- 22 Mar, 2022 3 commits
-
-
Zuul authored
-
Stephen Finucane authored
Follow-up for change I135917522daff95377d07566317ef0fc0d16e7cb Change-Id: Ibc63dcf6d130c9d55a6f4c1f38c2da928fe2a4bd Signed-off-by:Stephen Finucane <stephenfin@redhat.com>
-
Pierre Riteau authored
Change-Id: I5ea3060d9f8271391636e48ebb1b8ee54d0ef8c1
-
- 04 Mar, 2022 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for zed. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I3035369a71ec17713a3e0d8ccb229e92751de024
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/yoga. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/yoga. Sem-Ver: feature Change-Id: I25b75ca2f3d0b9da30398e6364f2211636ed2aed
-
- 11 Feb, 2022 1 commit
-
-
Zuul authored
-
- 21 Dec, 2021 1 commit
-
-
Stephen Finucane authored
This wasn't actually recorded in our list of dependencies, but we were using it all the same. In any case, it's no longer necessary so remove it. Change-Id: Ia29fdf5058c2b22327cb0ba16c28bef3660e9ceb Signed-off-by:Stephen Finucane <stephenfin@redhat.com>
-
- 01 Dec, 2021 1 commit
-
-
Mohammed Naser authored
Since msgpack 0.6.0, some limits were introduced for the deserializer which were put in to avoid any denial of service attacks using msgpack. These limits were raised to 100MiB in the release of msgpack 1.0.0. The default buffer sizes that were implemented were quite low and when running certain `privsep` commands, especially for Neutron when using linux bridge, where there is a large amount of netdevs, privsep would crash since msgpack would fail to decode the message since it considers it too big: ValueError: 1174941 exceeds max_str_len(1048576) In this commit, the `max_buffer_size` is bumped to the value that ships with msgpack==1.0.0 to allow for users who don't have that to continue to function. Also, since `msgpack` is only being used by the internal API, we're not worried about a third party coming in and overwhelming the system by deserializing calls. This fix also addresses some weird behaviour where privsep will die and certain OpenStack agents would start to behave in a strange way once they hit a certain number of ports (since any privsep calls would start to fail). Closes-Bug: #1844822 Closes-Bug: #1896734 Related-Bug: #1928764 Closes-Bug: #1952611 Change-Id: I135917522daff95377d07566317ef0fc0d16e7cb
-
- 10 Sep, 2021 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for yoga. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: Iee171b088bff0f21b44065e84a4bfcb742e36ace
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/xena. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/xena. Sem-Ver: feature Change-Id: I9a7ec424eddc04346da8cbeadbe9f03c521de583
-
- 20 Aug, 2021 1 commit
-
-
Zuul authored
-
- 10 Aug, 2021 1 commit
-
-
Zuul authored
-
- 02 Aug, 2021 1 commit
-
-
Corey Bryant authored
The related bug resulted when an exception occurred within the future.result() call. This caused the finally block to be executed, and therefore myid to be deleted from self.outstanding_msgs prior to _reader_main() checking if the msgid not in self.outstanding_msgs. This caused _reader_main() to raise an AssertionError because the msgid was no longer in outstanding_msgs. This is a small step forward to log a warning when this siutation occurs. Related-Bug: #1927868 Change-Id: I2eed242e0c796b8a2aa3d1b21bd1da4c497f624d
-
- 23 Jun, 2021 1 commit
-
-
elajkat authored
entrypoint_with_timeout decorator can be used with a timeout parameter, if the timeout is reached PrivsepTimeout is raised. The PrivContext has timeout variable, which will be used for all functions decorated with entrypoint, and PrivsepTimeout is raised if timeout is reached. Co-authored-by:Rodolfo Alonso <ralonsoh@redhat.com> Change-Id: Ie3b1fc255c0c05fd5403b90ef49b954fe397fb77 Related-Bug: #1930401
-
- 22 Jun, 2021 1 commit
-
-
Zuul authored
-
- 07 Jun, 2021 1 commit
-
-
yangyawei authored
The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I4ad1fbca83af0f0c89c3f18d38caa66ee735ea3e
-
- 18 May, 2021 1 commit
-
-
wu.shiming authored
[1] https://github.com/pre-commit/pre-commit-hooks/commit/9136088a246768144165fcc3ecc3d31bb686920a Change-Id: I0a0dc0adec7012204b7368e998b652c9c252e582
-
- 14 May, 2021 1 commit
-
-
yangyawei authored
Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: Ia53113f891bcb081c63778e3c943896bc743c34b
-
- 10 May, 2021 1 commit
-
-
Gorka Eguileor authored
Currently all privsep calls use the same logging level as they use the ``oslo_privsep.daemon`` logger. This creates a problem for services like nova where we don't want to log its own privsep debug messages by default (even in debug mode) but we want them for os-brick privsep calls. This patch introduces a new string parameter to ``PrivContext`` called ``logger_name`` to control the name of the logger to use, which defaults to ``oslo_privsep.daemon``. Related-Bug: #1922052 Change-Id: Ie7cc25ed53563dd500f7b10ff43a48518d46a2e0
-
- 16 Apr, 2021 2 commits
- 15 Apr, 2021 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for xena. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I994a88ba1d467dfbdd3d9bd3421518f11221efe7
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/wallaby. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/wallaby. Sem-Ver: feature Change-Id: I42e7777b0955092cb33fcc53040ba1332a5861c4
-
- 07 Apr, 2021 1 commit
-
-
Hervé Beraud authored
This patch is the merge of 2 current fixes that need to be solved in the same time. Indeed each issue lock our gates independently. Dropping lower constraints testing We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Move flake8 as a pre-commit local target. The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach[1]. The flake8 version to install will be determined by hacking and requirements[2] will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Co-authored-by:
Daniel Bengtsson <dbengt@redhat.com> Change-Id: Ia349eba36d8556d4d2775a83b9a344b2ebeed972
-
- 04 Nov, 2020 2 commits
-
-
Hervé Beraud authored
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://review.opendev.org/#/c/722814/ [2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I8da7cc0740c7067052ddcf26e2da5f382f8b08a0
-
Hervé Beraud authored
Moving on py3 as the default runtime for tox to avoid to update this at each new cycle. Wallaby support officially the following runtimes [1]: - Python 3.6 - Python 3.8 During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported. [1] https://governance.openstack.org/tc/reference/runtimes/wallaby.html#python-runtimes-for-wallaby [2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria Change-Id: I5137ec978ab66c33fa37aaa1d7812c77221bf8c7
-
- 22 Sep, 2020 1 commit
-
-
Zuul authored
-
- 11 Sep, 2020 2 commits
-
-
OpenStack Release Bot authored
This is an automatically generated patch to ensure unit testing is in place for all the of the tested runtimes for wallaby. See also the PTI in governance [1]. [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html Change-Id: I9e5f495822942695ffbcba0bbbebcd7ec6489381
-
OpenStack Release Bot authored
Add file to the reno documentation build to show release notes for stable/victoria. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/victoria. Change-Id: I7789349e07a11a0107db7b149ae0e71b301c31db Sem-Ver: feature
-
- 08 Sep, 2020 1 commit
-
-
Hervé Beraud authored
Introduced changes: - pre-commit config and rules. - Add pre-commit to pep8 gate, Flake8 is covered in the pre-commit hooks. - Applying fixes for pre-commit compliance in all code. Also commit hash will be used instead of version tags in pre-commit to prevend arbitrary code from running in developer's machines. pre-commit will be used to: - trailing whitespace; - Replaces or checks mixed line ending (mixed-line-ending); - Forbid files which have a UTF-8 byte-order marker (check-byte-order-marker); - Checks that non-binary executables have a proper shebang (check-executables-have-shebangs); - Check for files that contain merge conflict strings (check-merge-conflict); - Check for debugger imports and py37+ breakpoint() calls in python source (debug-statements); - Attempts to load all yaml files to verify syntax (check-yaml); - Run flake8 checks (flake8) (local) For further details about tests please refer to: https://github.com/pre-commit/pre-commit-hooks Change-Id: Ic88cf026a74e9da4acaf9e00c50fddd2c8a48fbe Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 06 Aug, 2020 1 commit
-
-
Zuul authored
-
- 04 Aug, 2020 1 commit
-
-
Ghanshyam Mann authored
As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. Story: #2007865 Task: #40207 Closes-Bug: #1886298 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h> Change-Id: Ic7b25781fad8868665f445bd7bef4f51284be192
-
- 24 Jul, 2020 1 commit
-
-
Moisés Guimarães de Medeiros authored
This patch bumps bandit allowed version to >=1.6.0,<1.7.0 in order to avoid the errors detailed here https://github.com/PyCQA/bandit/pull/393 Change-Id: I23fd4082e2566242b5fce093a4685c97663c947f Signed-off-by:
Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 15 Jul, 2020 1 commit
-
-
Rodolfo Alonso Hernandez authored
Change-Id: I422125b137a3beadb0a79f5944a19fce62f093d6 Closes-Bug: #1887506
-
- 30 Jun, 2020 1 commit
-
-
Zuul authored
-
- 11 Jun, 2020 1 commit
-
-
Dirk Mueller authored
assertItemsEqual was removed from Python's unittest.TestCase in Python 3.3 [1][2]. We have been able to use them since then, because testtools required unittest2, which still included it. With testtools removing Python 2.7 support [3][4], we will lose support for assertItemsEqual, so we should switch to use assertCountEqual. [1] - https://bugs.python.org/issue17866 [2] - https://hg.python.org/cpython/rev/d9921cb6e3cd [3] - testing-cabal/testtools#286 [4] - testing-cabal/testtools#277 Change-Id: Ib8a08f1b44712bf2fbcadecdcecd0ee3dd8ab361
-
- 04 Jun, 2020 1 commit
-
-
melissaml authored
New theme of docs respects pygments_style. more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I0027294e6b0af6cbf8edbbde4ca4098e50648229
-