Commit Graph

86 Commits

Author SHA1 Message Date
Nate Johnston bba805af02 Retire the Congress project
Recently the TC has worked on determining the criteria for when an
OpenStack project should be retired.  When there was not a PTL nominee
for the Congress project, that triggered the TC to review the project
health per [1], and the TC has determined [2] that development work on
the project has ceased.  This decision was announced in the
openstack-discuss mailing list in April 2020 [3].

This commit retires the repository per the process for governance
removal in the Victoria cycle as specified in the Mandatory Repository
Retirement resolution [4] and detailed in the infra manual [5].

Should interest in developing Congress as part of OpenStack revive,
please revert this commit to have the project rejoin the list of active
projects.

The community wishes to express our thanks and appreciation to all of
those who have contributed to the Congress project over the years.

[1] https://governance.openstack.org/tc/reference/dropping-projects.html
[2] http://eavesdrop.openstack.org/irclogs/%23openstack-tc/latest.log.html#t2020-04-20T15:36:59
[3] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014292.html
[4] https://governance.openstack.org/tc/resolutions/20190711-mandatory-repository-retirement.html
[5] https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#retiring-a-project

Change-Id: I21c9ab9820f78cf76adf11c5f0591c60f76372a8
2020-05-28 18:12:16 +02:00
caoyuan 7aa9e87eaf tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I0e40eb0e5267d1cdd0ec1195424743310f3c39f8
2019-12-19 10:47:14 +08:00
Ghanshyam Mann 49217bcec2 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Congress 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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I23fcb01265b734c0a87f5ad81b25a1eac179eb06
2019-11-16 14:33:11 +00:00
kangyufei 407dae3d8b Update the constraints url
Change-Id: Iaff0e5346a072908aa8af46005717bdc7bd005a0
2019-10-11 08:38:18 +08:00
whoami-rajat 4eedd98a4e Generate PDF documentation
This commit adds a new tox target to build PDF documentation.
It's a part of community goal, see storyboard for more
information.

Change-Id: I58b1fb537c3758bba5a57d3cf7ce4cf10625bd89
Story: 2006076
Task: 34813
2019-09-11 09:45:45 +00:00
Zuul 19a6df32e6 Merge "Changes for url transition to OpenDev" 2019-05-17 05:49:29 +00:00
akhiljain23 4b0075ce16 Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit also adds python 3.7.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Ib60a6fb08590e5a90244b7d09bece153f6e4a970
2019-05-10 11:31:01 +05:30
akhiljain23 ea82c5d0f7 Changes for url transition to OpenDev
This commit changes openstack.org URL to opendev.org URL

Change-Id: Ic05ddf275a9f71cd3382ee3b4580a6004a1e66fe
2019-04-22 12:30:30 +05:30
Ghanshyam Mann 8847869b5f 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: Ia9c97eb5b230edbcee8101b9494c1d56fd9b6e78
2019-04-14 19:26:06 +00:00
akhiljain23 c22f2ba941 Update min tox version to 2.0
The commands used by constraints need at least tox 2.0.  Update to
reflect reality, which should help with local running of constraints
targets.

Change-Id: I207e7da86a8a1c12dff8b5a24899758008424d1e
2018-11-02 10:30:39 +05:30
akhiljain23 acb7c5be12 Add python 3.6 for test in tox
This commit adds support for py36 in tox.ini by default. When tox
command is executed by developer it will run py36 tests.

Change-Id: I2363435eaab88ff2a67146c7239404518173c599
2018-10-20 01:53:46 +00:00
akhiljain23 7fcdd5974c Switch to stestr
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: I37f96444426f006ff5d6491106b168a81a7c09ea
2018-10-05 14:12:23 +05:30
Doug Hellmann 68bc49aa3d 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: I450085ff6d9cc352ff38798c361cbe2fbebce263
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-07-12 02:17:51 +00:00
Anusha Ramineni 3a182268b9 Follow the new PTI for document build
- Follow new PTI for docs build
- Add sphinxcontrib.apidoc to replace pbr autodoc

REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: I40ee87cd5c7ff982db2da4de679419fbb94e1f72
2018-04-19 11:21:21 +00:00
Doug Hellmann cbe6fbd3dd add lower-constraints job
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: I6c115612ac6ee56f2199c654a844fed8723ca666
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 11:08:40 -04:00
Zuul 964c3d4c1f Merge "Agent for configuration file validation" 2018-01-04 21:42:44 +00:00
Lance Bragstad 3ac806a41c Move policy into code
This commit registers default policies in code. For the
Register and Document Policy in Code community goal.

bp policy-and-docs-in-code

Closes-Bug: 1724714

Change-Id: I1eea53adc19247d8b982c3e22184e8a1e2fb875c
2017-12-05 11:36:20 -08:00
Valentin Matton 872f1b9419 Agent for configuration file validation
This is the agent part of the blueprint.

Implementation of a datasource that transcribes the content
of configuration files managed by oslo-config in Congress
tables.

The datasource uses a set of agents deployed on the nodes
to access the configuration files.

Change-Id: I56750cfd72ad43d8af123d151f70d1d76568a456
Implements: blueprint configuration-files-validation
Co-Authored-By: Valentin Matton <vmatt.openstack@gmail.com>
Co-Authored-By: Pierre Crégut <pierre.cregut@orange.com>
2017-12-05 18:17:59 +01:00
Jenkins aa1aad9bff Merge "Improving cover testenv" 2017-07-14 06:20:23 +00:00
rajat29 51bb08c2ea Enable warning-is-error in doc build
- Fix docstring warnings
- pbr warnerrors is no longer needed.
- pbr audodoc temporarily disabled

Co-authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com>
Change-Id: I37d5d78fc7895bd112a8555840c6c3b3eb294ad3
2017-07-10 18:50:32 -07:00
Nguyen Van Trung 30bc6587c3 Improving cover testenv
- Add percentage report to further analyze code-base

Change-Id: If326e95a546f6db6ec4bfe30c353c362c01c2648
2017-07-08 22:36:58 +07:00
Eric Kao c94950b207 fix tox -e cover
by excluding tests/haht/test_congress_haht.py which
cannot run in parallel.

Closes-Bug: 1669166

Change-Id: I277f14865d471d4e0a776d1d9496163a1e34732e
2017-03-23 17:21:37 -07:00
Cao Xuan Hoang 31758f5b6e Remove a py34 environment from tox
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: Id1bc631d1d301a990ae2618e3d081b9b926e1c55
2017-02-10 08:27:16 +07:00
Eric K 2dd4dfb4ab local HA tests
Added some local HAHT tests
- unit tests no longer work concurrently
- bindep.txt added for binary dependencies needed for tests

Closes-Bug: 1600019
Partially implements blueprint: high-availability-design

Change-Id: If4213ede7bde4d78d710ce75c0147a4889387da9
2016-11-01 18:20:39 -07:00
Iswarya_Vakati 9402a87373 Use upper constraints for all jobs in tox.ini
Openstack infra now supports upper constraints for all jobs.
Updated tox.ini to use upper constraints for all jobs.

Change-Id: Ide07b9c1234734368faca2bef7f3ca83d37f2540
Closes-Bug:#1628597
2016-10-25 17:41:51 +05:30
Jenkins 45cb85e847 Merge "Add support to use pdb with tox" 2016-09-20 15:38:15 +00:00
Jenkins 19c878e12e Merge "Fix error: option --no-parallel not recognized" 2016-09-20 14:25:23 +00:00
Anusha Ramineni cf68b457bc Add support to use pdb with tox
Change-Id: Id1b208843ab038a38f389097baafe985d5ea92e9
2016-09-20 17:01:48 +05:30
Trevor McCasland f795bd300f Fix error: option --no-parallel not recognized
Passing --no-parallel through to testr causes an error in the
coverage jobs.

This fix has already been merged into trove.

Looks like test_benchmark_updates.py was missed in commit
fd6600cda1 and will throw errors on
the function call harness.create.

Change-Id: I49137e3faf79cc2d62f9738389e226ce3eb39a97
2016-09-16 06:55:36 -05:00
avnish eb2368046a delete python bytecode including pyo before every test run
Change-Id: I7567c0a7c484f70a9772d1ae0cf0ce057e95778e
2016-09-15 18:00:01 +05:30
Jenkins eda090b09e Merge "Use Reno for release note" 2016-09-08 06:17:08 +00:00
Masahito Muroi 204a5c6b43 Use Reno for release note
OpenStack community manages thier project's release note with reno.
This patch adds releasenotes directory for Congress's release note.

http://docs.openstack.org/developer/reno/index.html

Change-Id: I66ed98659a6339974ede2a29b753881af54fe2f5
2016-09-05 18:29:18 +09:00
Anusha Ramineni 9c0096278f remove new_arch in tox
Gate jobs related to new_arch have been removed, so it is
no longer required now.

Change-Id: Ib5550bfb00d0fd8213318899cbb73f2cda19c895
2016-09-05 11:35:46 +05:30
gecong1973 a5013cd398 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience py35 venv.

Change-Id: I1020c9f8f7d29b03b0fd460cbc22a0238725ea8e
2016-08-04 01:19:34 +00:00
Anusha Ramineni c8950841e8 Build docs using tox
This commit helps to build the docs using tox, tox -edocs
It would be useful to check for any errors if any docs are
changed.

Change-Id: Id584bb9757257155f8a4e0b6eba940c46b048732
2016-03-23 15:37:03 +05:30
Ronald Bradford d44b0b522b Cleanup unused Oslo Incubator code and references
Change-Id: I368cc908fb4639ddb383277c42a9bd60daf1d971
2016-03-18 14:26:24 -04:00
Masahito Muroi dfd4c1b29e Adds test directory for new architecture
This patch enables tox to test both old architecture and new
architecture. If you'd like to test with new architecture, execute
following command.

 $ tox -enew_arch

Change-Id: I28a137b73fcd8f56ecdeedfc20274f7b37bab620
2016-01-28 17:50:09 -08:00
Anusha Ramineni ac3a905188 Add py34 support in tox
Python3 tests are gating now. So, this commit adds the py34 env
to run with tox.

Change-Id: I3545919898ddbcae51e562b54e41f6968a8abb49
2015-12-24 11:24:26 +05:30
Anusha Ramineni eae24dc280 Fix tox.ini to generate proper config file
Recent commit I0596a6970725189fd9b46a0cac923b86ccb03f8c broke
tox -egenconfig as its unable to generate proper config file.
This commit fixes the same.

Change-Id: Ife60fb87d23e41063b097f3d4429009bc5a1f58d
2015-12-23 10:13:36 +05:30
Eric K a774cad2bd Eliminate unnecessary deps for tox -e pep8,genconfig
Purpose: dramatically reduce how long it takes to run
$ tox -e pep8,genconfig
improving usability and dev productivity.

Change:
Replace full requirements.txt + test-requirements.txt install by minimal deps
for pep8 and genconfig testenv's

Result:
- tox -epep8 time reduces from 3m30s to 16s on initial run and
from 50s to 5s on subsequent runs
- tox -egenconfig time reduces from 3m46s to 12s on initial run and
from 1m13s to 3s in subsequent runs
(Times measured on my machine; similar proportions expected on other machines)

Change-Id: I0596a6970725189fd9b46a0cac923b86ccb03f8c
2015-12-14 20:48:48 -08:00
Anusha Ramineni 022950d9d9 tox: rm all pyc before doing unit test
Delete python bytecode before every test run.
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.

Closes-Bug: #1368661
Change-Id: If31ffc245ade9f62b61f99246e59208208ed4fb1
2015-12-07 13:38:07 +05:30
Rui Chen 8f7932cfdf Using oslo to generate congress.conf.sample
congress.conf.sample is out of date, some important options don't
present, like: api_workers, and some option name are wrong, like:
datasource_drivers

We should use oslo-config-generator to generate all the options
automatically.

Change-Id: Id898840667116278c55e4a7568cf80497db4833f
Closes-Bug: #1488405
2015-08-27 19:05:59 +08:00
Rui Chen b94a1834e0 Fix UnicodeDecodeError in py3 jenkins job
Some python libs installing failed in py3 jenkins
environment because LC_ALL=C in tox.ini, change it
to LC_ALL=en_US.utf-8.

Change-Id: Idb6493aab48ce9f10228a2b87543e6b3db7e5fb2
2015-07-22 09:20:37 +08:00
David Cheperdak 495f342688 Added support for folder and file exclusion for pep8 analysis
Change-Id: I32cfe328a3269d801b4baa8fba1d666b17f492ab
Closes-Bug: #1418263
2015-05-19 22:01:54 -07:00
Lianhao Lu 2021c6238f Enable pep8 H302 test
Enabled H302 import only modules in tox pep8 test.

Change-Id: I4337c5860c7bb95e355f48bb5e143aa84b238cfe
Closes-Bug: #1406198
2014-12-30 09:37:15 +08:00
Lianhao Lu 9c84a6a00e Enable pep8 H237 test
Enabled H237 module is removed in Python 3 in tox pep8 test.

Change-Id: I34108c1a4c11f94b72dd359a38077456259aff2c
Closes-Bug: #1398550
2014-12-29 15:03:29 +08:00
Lianhao Lu 0f94a04d89 Enable pep8 H405 tests
Enabled H405 multi line docstring summary not separated with an empty
line in tox testing.

Change-Id: Icc6266a2e024a0953a77a116a11eb88facc291b9
Closes-Bug: #1398554
2014-12-29 15:03:22 +08:00
Madhu Mohan N S c02255fcdb Enable H904: wrapping using parantheses
Enabled H904 on tox and changes made in relevant files to adhere to H904
guideline. Backlash based line wrapping modified to use bracket based or quote
based wrapping mechanism with modified indentations.

Change-Id: I10b1ce7fbc230ff3167adbb06e0982b4cc0b0bb7
Closes-Bug: #1398555
2014-12-23 11:07:04 +05:30
Samta Rangare 09ff95f9c9 Imports not grouped correctly
Enable: H305
Though all changes were in place but imports were not
grouped at test.utils.py. And also H305 was not enable
in tox.ini.

Change-Id: Iab92489f3af7da8a708aa8cff3e7d67f2114665e
2014-12-21 16:39:31 +05:30
Aaron Rosen 459f716bba Remove E113 comment
E113 was already implement but the comment was never removed. This commit
removes it.

Change-Id: Ie786451c98fbbb97064bc53551be20b67bd32030
2014-12-17 23:30:21 -08:00