Commit Graph

26 Commits

Author SHA1 Message Date
Ghanshyam Mann 44b6de7608 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I100ed0293ba6840bac9d5f60d1e984523340b5e1
2024-01-04 07:05:53 +00:00
Zuul 0e7ac78c82 Merge "Update CI to use unversioned jobs template" 2022-03-25 09:57:00 +00:00
Ghanshyam Mann 6f10535042 Remove the deprecated ostestr command
ostestr command has been deprecated in June 2019
- I3a6084db9f86627e3e94abaa4fb4aec52a01126a

This command is replaced by the stestr. os_testr
repo which has other utilities also is not deprecated
and will continue to be maintained.

QA meeting discussion:
https://meetings.opendev.org/irclogs/%23openstack-qa/%23openstack-qa.2022-03-22.log.html#t2022-03-22T15:45:36

Change-Id: Ic0cddcc226f092ac6df405e83b2e7660d71d0ba2
2022-03-24 16:49:44 -05:00
tushargite96 f8b7a194e1 Update CI to use unversioned jobs template
As part of the migration of this project to the independent release
model, we failed to notice that the job template was still tied to a
specific release. We've now introduced a new unversioned job template,
'openstack-python3-jobs' [1], which was can and should use. Do this.

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

Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/

Change-Id: I6475b3a47b4f344e78ddfdd1d1d093e7eef0bb81
2022-03-23 11:00:59 +05:30
Ghanshyam Mann 4506fcf719 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: I83598d6657cd283510a24f6e9d695eb4914e1f8c
2021-11-04 13:04:53 +00:00
Anand Bhat e620c09f11 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: Ib3c11dee2182d4cd9da816cee85bf9422e726722
2021-05-30 01:07:07 +05:30
Ghanshyam Mann fb2c287268 Switch testing to Victoria testing runtime
Upating the tetsing template from ussuri to victoria
testing runtime
- https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: I03f331e55af3ea880c2f6c868511caf6384cf0a8
2020-08-01 19:46:53 +00:00
Ghanshyam Mann fcf791b38a [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

os-testr 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

Switch to using sphinx-build, remove cruft from setup.cfg, setup.py,
tox.ini, conf.py.
Update hacking version to support python3 properly.
Fix problems found by pep8.

Change-Id: I6ab22dda05132a735bd9e5caf16cc2bd172b06cc
2020-03-04 01:35:46 +00:00
Corey Bryant 8859449359 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: I6c6f4fccec101fdbdc8cd952b889f7e43e41374a
Story: #2005924
Task: #34240
2019-07-15 13:12:46 -04:00
Ghanshyam Mann 77002ea67d 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: I05cd5327a5ab883701fa183a1b4264f91219147c
2019-04-22 03:55:00 +00:00
Zuul a2d968d949 Merge "Removed older version of python3.4 from setup.cfg" 2018-12-16 11:34:24 +00:00
qingszhao bb4bfbf857 Removed older version of python3.4 from setup.cfg
Change-Id: I96340f63f7d9cb14b5552de0b1aa28c39720f902
2018-12-16 11:02:19 +00:00
Manik Bindlish 59db2ded82 Change openstack-dev to openstack-discuss
Mailinglists have been updated.
Openstack-discuss replaces openstack-dev.

Change-Id: I18dac707d84cf34ae4af2b506ff9e95ce8833383
2018-12-16 10:56:29 +00:00
melissaml 6a73644bb1 Update the home-page URL
Change-Id: I6aee0373b0302fe8cf900c1979f2fd88e10fd847
2018-12-05 00:59:47 +08:00
Dong Ma 6849cc4ef9 Turn on warning-is-error in sphinx build
Turn on the flag to ensure that future warnings in the doc build
trigger a build failure.

Change-Id: Ib2958d90503c8f4206a45abf225a3dd87af2796e
2017-06-28 08:58:48 +08:00
Andreas Jaeger 2fac2de2c6 Remove unused Babel setup
This repo is not translated at all - and not setup for translation.
Remove Babel and Babel set up.

Change-Id: Ie3c3d705f50f5de41776a6e5e01db214f9e0e3a4
2017-05-16 12:35:38 +02:00
guo yunxian 3eb8ebc560 Update home-page url
You will see os-testr home-page url as follow:
http://docs.openstack.org/developer/os-testr/

So this patch update the home-page url.

Change-Id: Id3f8e4e937f63876a7729425f5d0473ff8d9ea64
2016-09-26 10:14:43 +00:00
guo yunxian 6afbb43fce Add support for Python versions
Community now has support for Python 3.5, this patch adds this.

Change-Id: Id71b826337b871bc10b28220529ba60c1ba0a9c1
2016-08-16 13:51:37 +08:00
Matthew Treinish 73bf72c71b
Seperate regex builder logic into a seperate module
The regex building logic is independently useful and will likely start
to be used in other places. This commits splits it out from the ostestr
cli and makes it an independent module that just contains the pieces
necessary for building a selection regex.

Change-Id: Ic8494d0f54357fdafd650b40219e6ad7fd5a65ad
2016-05-23 19:10:16 -04:00
Shu Muto 7ac7fc457b remove python 3.3 trove classifier
OpenStack projects are no longer being tested under Python 3.3, so
remove the trove classifier implying that this project supports 3.3.

Change-Id: Ic189fc1f4159459457bf9ca0e55969f6b17b2d8e
Closes-Bug: #1526170
2016-02-23 00:19:34 +00:00
Jenkins 747dce792e Merge "remove python 2.6 trove classifier" 2016-02-04 05:00:51 +00:00
Matthew Treinish cc64a3a585
Add tool to create a subunit stream
This commit adds a generate_subunit.py script which is used to
generate a subunit stream with a single result for a period of time.
It takes 2 mandatory args and 2 optional to specify the start time,
stop time, and optionally the status (it defaults to success) and an
id for test (if one isn't provided 'devstack' is used) The resulting
stream is written to STDOUT. There is some overlap with subunit-output
from tool from python-subunit, but this is a much smaller scope to just
just do a test_id, status, and timestamps. subunit-output doesn't support
timestamps. Eventually it'll be good to add the missing pieces to
subunit-output at which point we can likely deprecate and remove this.

The intent here is to leverage this to inject 'test results' into the
subunit2sql db to reflect failures that occur before tempest (or any
other test suite) is run. This is necessary for the openstack-health
dashboard. (otherwise it makes our failure rate look much better than
it is) This is only needed until we get a zuul mysql reporter in place
which can give us the higher level run information.

Change-Id: Icc7df33e4d73ba6322af38fbdf3aea230f2fcf4d
2016-01-04 17:30:47 -05:00
Doug Hellmann 5ca66b4680 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: Iac614c24ba33b169ffcb83680556adf0b550f2c3
2015-12-23 01:31:14 +00:00
Matthew Treinish 42d450eb00 Add subunit2html from jenkins slave scripts
This commit adds another utility to os-testr, subunit2html, which is
used to generate html output from a subunit stream. This utility is
currently being used after OpenStack test jobs to generate the
testr_results.html page. The previous home for this file was in
the openstack-infra project config repo as a jenkins slave script.
2015-03-31 10:59:14 -04:00
Matthew Treinish 898cd1eab5 Add subunit-trace and ostestr
This commit migrates the current subunit trace commit from tempest-lib
with the commits:

d7c3f6b Merge "Summarize expected failures"
e29ec71 Summarize expected failures
21e3f6a Enable stdout passthrough for subunit-trace
d588748 Default the worker number to 0 not NaN
87c1442 Fix subunit-trace on python < 2.7
b73b9eb bring over fail only functionality from nova
5715fd6 Switch to elapsed time in subunit-trace summary
d2e4040 Setup subunit-trace as an entry point

and also adds the start of the ostestr command to wrap testr.
2015-03-17 16:23:32 -04:00
Matthew Treinish d1049b1ad6 Initial Cookiecutter Commit. 2015-03-17 14:58:46 -04:00