Commit Graph

70 Commits

Author SHA1 Message Date
Ghanshyam Mann 38e813e09b Test python 3.11
As per the current release tested runtime, we
need to test till python 3.11 so adding the test
and updating the same in python classifier in setup.cfg

Change-Id: I231c176a30793b1ff038352b2e74ad3ff52b1b43
2024-01-03 19:14:53 -08:00
Manpreet Kaur 8a35fb6017 Remove unsupported python versions
The tempest does not support py36 and py37, therefore
we cannot support it in tempest-stress.

This patch removes the py36 and py37 jobs.

Change-Id: I51a80feb6d4a2e9647805d29f20c31cf9cfed8fc
2023-03-21 16:38:17 +00:00
Martin Kopec 1dfea45945 Job update for Antelope cycle
Make running unit tests with python 3.10 a voting job.

Change-Id: I68fda6321dbeb87481b099e740c50cbd2c352ae8
2023-01-19 17:02:00 +01:00
afazekas 7103432b92 Unit test logging
Tempest used to have logging.conf sample which included
stress logging, it was removed from tempest adding more
up date version here.

Also test cases can fail with an assert method
which considered failure not error.

Having the test case exceptions logged.

Stop overriding the working logger name,
as no other action does such override.

Change-Id: I46898b705b58ae5921a4c2e6b95ab4c841dbc9af
2022-09-12 14:03:36 +02:00
afazekas f3b105971b use proxy config in unit_test
The stress section is not visible in the non proxy version
tempest.config.CONF, using the proxy version with stress section.

Change-Id: I862262b9957cdf80db6420b2f810c88bef4ac68d
2022-09-02 08:50:00 +02:00
tushargite96 800bb6a776 Add non-voting Python 3.10 jobs for Zed cycle
The template which is used to test runtime for the Zed cycle added
python 3.10 as a non-voting job [1]. So this patch follows the same
thing here.

[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/831633

Change-Id: I65f28213bd98ab03751ab910cb5ce4626de8aabc
2022-03-20 14:39:30 +05:30
Ghanshyam Mann 532319a5d0 Test python3.9 as voting job
In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.

Also, as Tempest is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.

Change-Id: Ib147eb983a0635d6f14f0d0fb8ca537224729d89
2021-11-03 15:34:35 -05:00
Zuul 1a69a2625b Merge "Use py3 as the default runtime for tox" 2021-09-29 02:44:27 +00:00
Zuul a31044eb73 Merge "setup.cfg: Replace dashes with underscores" 2021-09-29 02:44:26 +00:00
tushargite96 654e9ecb6e Switch testing to Yoga testing runtime
Upating the tetsing template to Yoga testing runtime:
https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I2f6458c1498b6c10db0e84502961a7157c74028e
2021-09-28 09:40:10 +05:30
Zuul d5413fa54e Merge "Update IRC network to OFTC" 2021-06-01 16:58:42 +00:00
manchandavishal 54b30138e8 Fix doc job
doc. job is failing as requires some font 'tgtermes.sty'
to generate pdf doc. This patch adds that required
package in bindep.txt to fix doc job.

Change-Id: I77ea8b9dc6c130dcb2d90c8bd6a278a365ec4435
2021-06-01 21:38:29 +05:30
Ghanshyam Mann c14c900124 Update IRC network to OFTC
Change-Id: Idc407007e722ac9e1f0f000923daefd1a6766ddc
2021-05-31 15:04:17 -05:00
Martin Kopec 5f8e1ed33d Switch testing to Xena testing runtime
Upating the tetsing template to Xena testing runtime:
https://governance.openstack.org/tc/reference/runtimes/xena.html

Change-Id: Id50794b93968c9ca622b44351a94a82f516670e8
2021-04-29 15:22:26 +00:00
maaoyu 6bc1c8dff7 setup.cfg: Replace dashes with underscores
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: I37ff140503eaceee4b7d5e87dcbd4c7921373052
2021-04-27 17:02:21 +08:00
zhangboye ce139d3693 Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I5da71f4ab24f9a7ca889044d03e801ff41c7fe18
2021-04-20 13:48:51 +08:00
tushargite96 47aa709502 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python 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: I6190b08b009f168bdbb1e904bf50048ac98b45ba
2021-02-25 22:47:30 +05:30
Ghanshyam Mann 0d1b2d9f2a Switch to use stable data_utils
Tempest provides stable library interfaces under tempest.lib.
This patch switches to use it for data_utils.

Tempest will remove the deprecated version of data_utils
in https://review.opendev.org/c/openstack/tempest/+/499869

Change-Id: I82621da3b9fe33063827f4f662b8fe9b07d6acee
2020-12-29 15:19:12 -06:00
Zuul 281dba9888 Merge "Create tox environment to build pdf documentation" 2020-09-29 20:31:29 +00:00
Lukas Piwowarski ebca247375 Create tox environment to build pdf documentation
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.

Story: 2006070
Task: 35475

Change-Id: Iea3e848b5b914dd837a8fcef154d967ba9fa7008
2020-09-24 10:32:38 +02:00
Shubham82 c60ab5788c Move testing to Wallaby testing runtime
Change the testing runtime template to Wallaby one.

Change-Id: Ice8904f770b61aade67ff745fdb22b1576c07b1b
2020-09-17 10:23:01 +05:30
Andreas Jaeger 82f7e4a1ff Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I04809a3cbfaaea711509f4a16548e4813780ddfc
2020-06-02 14:23:40 +02:00
Ghanshyam Mann 9afa703121 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Icc83c54147697b5fd5e1383ad6b23eb19488df13
2020-05-12 21:52:17 -05:00
Vishakha Agarwal edba342b13 Switch testing to Victoria testing runtime
Upating the testing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: Id13ec3b58ac0d94b553890cf4ea87b0720da11f4
2020-05-05 13:37:20 +05:30
Zuul 7c8d628c6e Merge "[ussuri][goal] Update contributor documentation" 2020-04-23 03:13:33 +00:00
Ghanshyam Mann b22533e6a0 [ussuri][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: #38554

Change-Id: I07a94bbafe04e52f8594740dd5fbfe836ed54506
2020-04-22 14:08:48 +00:00
Masayuki Igawa 9eb86ffe0b
Add publish-openstack-docs-pti to .zuul.yaml
This commit adds publish-openstack-docs-pti to .zuul.yaml so that we can
verify the document in the gate.

Change-Id: I9ca4f08bc512adde72fdead4d44a86b28f06706a
2020-04-20 08:51:58 +09:00
Andreas Jaeger d65bd2f889 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build, switch to use
  openstackdocstheme and update requirements

Change-Id: I67ba5ceb1728ee16b866ecf1b71cbf545a01b7d9
2020-04-13 11:10:14 +02:00
Zuul d4877e7d56 Merge "Update hacking for Python3" 2020-03-31 20:27:38 +00:00
Ghanshyam Mann e945720621 Use oslotest base class instead of tempest tests
tempest-stress use the tempest.tests.base which is
internal to tempest and should not be used.

Change-Id: I40485ae1c4adc423ed42d374de3ece3e5c96de0c
2020-03-31 19:21:50 +00:00
Andreas Jaeger 097a3790a8 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: Ib7870977e5aa66d1eb2e41d698ed058ebb65b4c1
2020-03-31 06:50:11 +00:00
Ghanshyam Mann 858fc6bf84 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

tempest-stress is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Iea3eb7606ed89ef4ec61ca5d392d44bdfc927c3b
2020-02-03 13:31:18 -06:00
Ghanshyam Mann de0856c568 Correct README for repo path
Change-Id: I79ab8d8773cedd22d51fd0e7cd5d2007f11bb186
2019-12-29 00:00:11 +00:00
Manish Kumar 769a8609b4 Adding swap files in .gitignore
Change-Id: I49dd914ad3c348d3546d454e3f95370b6d240be2
2019-08-23 17:01:14 +05:30
Corey Bryant 324cf0ca07 Add Python 3 Train unit tests
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: I8ed30a8113498c3df25b367fd5e9afbd23d6d9b4
Story: #2005924
Task: #34240
2019-07-15 13:11:51 -04:00
Zuul eafb8453f9 Merge "Update home-page" 2019-06-28 19:44:35 +00:00
huang.zhiping 3d0724349a Update home-page
Change-Id: I5a4ccdd7c0cfa967c38287fe6ec5c75351cdffcf
2019-06-28 19:23:13 +00:00
Ghanshyam Mann 0ec9920de7 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I332134edbdcfa442c6de965b27f50621ce6f4956
2019-04-22 04:02:32 +00:00
OpenDev Sysadmins cc54f0cbbc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:42 +00:00
Manik Bindlish 759db16084 Add py36 and py37 tox envs
With python3.6 and python3.7 jobs added to the Zuul jobs, it makes sense
to add this to the tox config too.

Change-Id: I05055a387877c1be107a88f2d8b96a6e85440939
2019-03-08 07:25:13 +00:00
ZhongShengping 74e784cb9c add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: Ida40bf74452994160501bc7d40e13b9615abebb2
Story: #2004073
Task: #27445
2019-02-19 17:05:37 +08:00
Zuul d598a7b9f1 Merge "fix misspelling of 'install'" 2018-12-14 08:52:26 +00:00
Zuul 1a1707ed2e Merge "fix tox python3 overrides" 2018-12-14 08:39:46 +00:00
pangliye 55a169a8ef fix misspelling of 'install'
Change-Id: Id036150fb30a5370b5d2b2a561ec368f93432ed5
2018-12-14 08:32:51 +00:00
Zuul 335fd2718a Merge "Removed older version of python added 3.5" 2018-12-06 15:50:11 +00:00
qingszhao 294c50aed3 Removed older version of python added 3.5
Remove the support of python3.4, because
in Ubuntu Xenial only (python3.4 is
restricted to <= Mitaka).

In setup.cfg file the python 3.5 is added
In tox.ini the python 3.5 is added

Change-Id: I32cb3c55ce1303ee20738a35724c2e33857e57f0
Closes-Bug:  #1801855
2018-12-06 15:21:33 +00:00
Manik Bindlish c9f97894a5 Change openstack-dev to openstack-discuss
Mailinglists have been updated.
Openstack-discuss replaces openstack-dev.

Change-Id: I4b029b01396b536a136dc9a9f43a1e6f72741bab
2018-12-04 05:02:26 +00:00
ZhijunWei 1ad9f3172c Use updated hacking url link
Change-Id: Id1705531f4939d6d34f3040c3a9c5acfd38ee446
2018-10-17 02:33:47 +00:00
qingszhao cebed27774 fix tox python3 overrides
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: I4631177d8bc714e8ed4e27d6fab662a99fe6b96c
2018-09-27 16:49:11 +08:00
Doug Hellmann f7066bea50 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Icb01e53d2e4ef97af37209226cbb815b6a71f038
Story: #2002586
Task: #24327
2018-09-08 22:54:20 -04:00