Commit Graph

6116 Commits

Author SHA1 Message Date
Andrey Kurilin 7ad868bb9b Update u-c file
Also, this change removes redundant ignore-warnings rules

Change-Id: I286645fd5ddb155e5c8a4ede6429ddf5076cfc2b
2024-01-19 14:58:05 +01:00
Zuul 45e63dc56f Merge "Remove usage of LegacyEngineFacade" 2024-01-18 12:12:23 +00:00
Andrey Kurilin 01018c1b1e Remove usage of LegacyEngineFacade
This helper class of oslo.db was deprecated long time ago

Change-Id: Ibdc6e3aa5fa3b729a95356f27ee9f6dab1eef3c7
2024-01-11 17:20:01 +01:00
Andrey Kurilin 83dc377d76 Rename 3.5.0 release to 4.0.0
Change-Id: I67b04e0215b1cc074f35c2548781e6a1ef1950aa
2024-01-10 21:32:35 +01:00
Andrey Kurilin 71387ff122 Update release notes for rally 3.5.0
Change-Id: Id8ff80fd550839263c17ce4c475b274007132688
2024-01-10 13:26:15 +01:00
Andrey Kurilin 9f93c8105b use draft-7 jsonschema validator
Change-Id: I6ae9ec146e2aa3e4f2b9875c1a9cc8edb5780b6d
2024-01-10 13:04:02 +01:00
Zuul 0740ece61a Merge "Improve required_context validator to support platforms" 2024-01-03 15:13:31 +00:00
Zuul 4071afb40f Merge "Fix pep8 job to pass with latest hacking lib" 2024-01-03 15:09:09 +00:00
Andrey Kurilin 8206d1b1b2 Improve required_context validator to support platforms
Change-Id: I05d773d710d3739742338e170511b8a5fc6f1f5e
2024-01-03 14:14:08 +00:00
Andrey Kurilin 00652f87a9 Fix pep8 job to pass with latest hacking lib
Change-Id: I7e389766f2c1e23921677ddea4cdd0aa60034c19
2024-01-03 15:12:53 +01:00
Andrey Kurilin 2d7f51d2d7 [docker] use python3.11-slim as base image
Change-Id: I0f9bf2a8d459bab22c3ebb926e1b9787b54c2eeb
2023-12-04 16:53:15 +01:00
Andrey Kurilin 46afd01f5f Fix the issue when memoryview obj gets to subunit parser
Change-Id: I26bf6a5847d1852ebd3badbb976320a01c49aa86
2023-11-29 16:12:54 +01:00
Andrey Kurilin 0334380d36 Drop support for py36 and py37
Depends-On: I16e4c61c8b166d5e128907d79ab6f857f98bd82b
Change-Id: Ic16ce1d9b479dd53e1e157699dd80594318e77fd
2023-11-21 12:57:40 +01:00
Andrey Kurilin e8613ffeb0 Propose rally 3.4.0 release
Change-Id: I2463227b1d4a114c0c5caa093f72b5b0b7c50d4e
2023-05-23 10:09:06 +02:00
Zuul b4d31cf8cf Merge "Update requirements and upper-constraints.txt" 2023-05-23 07:50:52 +00:00
Andrey Kurilin b08ea0e937 Update requirements and upper-constraints.txt
In addition, this commit includes soome fixes to make migrations work
with sqlalchemy 1.4.0

Change-Id: I933d3ffdbb48f6393d0d0665ad83ff166824250d
2023-05-22 23:02:21 +02:00
Andrey Kurilin 177ad8b5fb Use official python docker images
Change-Id: I27b1f108584892d64b78366d2bc39f616583af1e
2023-05-20 00:23:04 +02:00
Zuul e65935a938 Merge "Keep CI up-to-date" 2023-05-19 20:35:12 +00:00
Zuul 8fe8ea1ce3 Merge "Replace deprecated inspect.getargspec" 2023-05-19 18:41:57 +00:00
Andrey Kurilin 1694ddc50e Keep CI up-to-date
* Fix CI job that check rally installation with CentOS 9. Previously it
  used CentOS 8 node :)
* Start using Ubuntu 22.04 LTS as much as possible
* Use python 3.10 by default for most tox envs
* Fix issues with new hacking&flake8
* Rewrite the way of preparation for tox

Change-Id: I77eba97596df4448065982956c3b6fb08c8e45db
2023-05-19 20:37:56 +02:00
Andrey Kurilin 7e5a996027 Re-enable tox cover zuul job
Change-Id: I1601a476225c2d514cb03fcfd4d1134e5467483b
2023-01-31 15:01:53 +00:00
yatinkarel 14d449b2f1 Pin SQLAlchemy to <2.0.0
Rally code is not compatible with SQLAlchemy-2.0.0,
until it's compatible let's pin it.

CI jobs are broken with multiple errors, so to get
this in also need following fixes:-
- Remove python-dev from bindep to fix announce-release
  and docs jobs
- Update upper-constraints for testtools to 2.5.0 to fix
  issues with python3.10+
- Update tox.ini for tox4 compatibility
- Ignore warnings introdueced with oslo.db-12.1.0,
  SQLAlchemy-1.4.46
- Make tox-cover job non-voting as to get it passing
  coverage report need to succeed for previous commit,
  which will not succeed without the required changes
  in this patch. It will be made voting again in follow
  up patch.

Related-Bug: #2004022
Change-Id: Ifcffd11e300e1485fdbfa54b23bcdcaa6ad61011
2023-01-30 17:24:02 +05:30
LiZekun 03155a82e2 remove unicode literal from code
All strings are considered as unicode string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I06cead907a0fbc019eece1305d505c4e153363a9
2022-08-05 08:27:02 +00:00
Andrey Kurilin 846a5fe4ec Suppress deprecation warning from docutils
Change-Id: I5904b75b0c60d8fd99e4fb57b752109b960cff45
2022-08-04 19:40:20 +03:00
chenhb 165c21ef99 Fix CI issues
Fixes following:-
- download the different version pip file
- add project dir to git safe to allow installation
  with pip, more details in [1]

[1] https://bugs.launchpad.net/devstack/+bug/1968798

Change-Id: Iedcf4207b51424c11625e34f146ebd67df2dc4c5
2022-06-29 17:24:09 +05:30
Andrey Kurilin 2359cd4ea5 [ci] Update used nodesets
Change-Id: I62126bc2a8cd7fa29d4428fd7d5a39acf221bc65
2022-01-17 13:21:05 +02:00
Andrey Kurilin 58b12c2e0b Call pip install tox differently
Change-Id: I6d181c6aa3568c05d2af9bf9f7bf975d7be32f0b
2022-01-12 11:25:16 +02:00
Andrey Kurilin 72859c8f67 [ci] force reinstall of pip
Change-Id: Ief328c82f43d4717880da17b62cb4a089e1ed9cf
2022-01-11 14:42:03 +02:00
Andrey Kurilin 2a77c63071 Close stringio objects at sshutils
Closes-Bug: #1956956
Change-Id: I94f597d99951459b12f0f0211ec73f2ae7fa908d
2022-01-10 16:05:39 +02:00
Andrey Kurilin 675ea00d3b Update doc to do not refer to old installation script
Change-Id: Ie11f76f5cccab3ee77e1704aa5429e75f0cc3e28
2021-12-28 13:01:32 +02:00
Dr. Jens Harbott 0f0f20dab2
Add rally-tox-py39 job
Python3.9 has been added by the TC to the list of supported python
versions, so it will be nice to test against it.

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I06c0c4bc4f23e8255c539ff54d258ae1c7eb717b
2021-11-11 16:19:32 +01:00
Takashi Kajinami ab23f27e85 Replace deprecated inspect.getargspec
inspect.getargspec was deprecated since Python 3.0 and
inspect.getfullargspec is its replacement with correct handling of
function annotations and keyword-only parameters[1].

[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec

Change-Id: Id843607e7a416e15f24b820979564193f8e9ab2b
2021-07-15 20:55:46 +09:00
Ghanshyam Mann 3c43987344 Moving IRC network reference to OFTC
Change-Id: I55a90f2ad28887f8623c2baf07d670798aa837e2
2021-07-06 17:49:31 -05:00
Andrey Kurilin 1d9c1e82f3 Fix contribute page
Change-Id: I3a3c4e215724b955f168ce4f97a215aa148ff5d0
2021-06-16 18:31:48 +03:00
Andrey Kurilin e67de57707 Prepare for a new release 3.3.0
Change-Id: I20f1e3dfce8cbbfe9fdecb124d09897deefc3540
2021-06-16 14:00:34 +03:00
Zuul f4fbcf8fc4 Merge "Update installation guide" 2021-06-16 10:32:42 +00:00
Zuul bc2a08b92e Merge "Update requirements" 2021-06-16 10:01:36 +00:00
Andrey Kurilin 9279809311 Update installation guide
Partial-Bug: #1902703
Change-Id: I1c8501dd9bb46284b8aaedababe06cf379367e0d
2021-06-16 09:44:41 +00:00
Zuul c43f6d205a Merge "Change base image" 2021-06-16 09:27:07 +00:00
Andrey Kurilin 8481235950 Update requirements
* fix discovering os distro

Change-Id: I96666afc1ad9a5c64ca5b98647cb0ba185389524
2021-06-16 09:24:39 +00:00
Zuul eb96a5d15c Merge "setup.cfg: Replace dashes with underscores" 2021-06-16 08:57:24 +00:00
Andrey Kurilin e15d4aa8d3 Change base image
Change-Id: I3ae0a6c1a99cda93a394a89c1056e3628cf794a4
2021-06-16 11:53:32 +03:00
Zuul 5c6cd7624a Merge "[community goal] Update contributor documentation" 2021-06-15 13:05:47 +00:00
Ghanshyam Mann 8414fd260b [community goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html

Story: #2007236
Task: #38555
Change-Id: If6f330929340d4752abc03bfe45565a179f21721
2021-06-15 11:48:08 +00:00
Pierre Riteau 8a1c326137 Keep using bionic for tox jobs except with Python 3.8
The default nodeset was just changed to focal [1], which doesn't provide
python3.6 and python3.7 packages.

[1] https://review.opendev.org/c/opendev/base-jobs/+/789098

Change-Id: Ic404d0424978551a99df7e529840e6707ea2df59
2021-05-19 08:47:32 +02:00
Yandong Xuan eeeb08dfce setup.cfg: Replace dashes with underscores
Resolves warnings like the following:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

Change-Id: Ib0926420094443126be322d759c37a926675984b
2021-05-01 15:09:22 +08:00
Andrey Kurilin ee09cab546 Get rid of decorator lib
This lib is used only in two places and the latest release fails now.

Change-Id: Ia79008c6ac7dc3be92afdea5f8ffabcd697e7599
2021-04-12 17:15:09 +03:00
Marian Gasparovic a72a6e1ce5 Let verify command return different return codes depending on results.
Change-Id: Ie49856573dbf5bcf87837c555c046b06c569b3e9
2021-01-22 15:36:34 +01:00
Yandong Xuan 412680357a Remove __unicode__() from RallyCliError
This is no longer needed in Python 3.

Change-Id: Id73db00ae3d35b80af8837278bbd415849381c3f
2021-01-13 13:15:58 +00:00
Andrey Kurilin 68d035d0a5 Fix different issues to ublock CI
The recent version of unittests discovered several issues:

* Context manager should be used while reading files
  to ensure that file descriptors are closed at the right time.

* wrong test data at test_consume_results_sla_failure_abort. the number
  add_iteration execution should not be less that number of iteration
  results.

Change-Id: Ibd79f0c444a8cffcca0349b80aab79cd4c115158
2021-01-13 13:30:28 +02:00