Commit Graph

90 Commits

Author SHA1 Message Date
Arnaud Morin c7cd387796 Amend documentation for fullstack tests
When trying to execute the fullstack tests, I was a little bit lost in
the documentation.
This change is a proposal to refactor this a little bit so the only
source of truth is the doc/source/contributor/testing/fullstack.rst
file.

Change-Id: Ibaf2ab9a227d71d18adf027d2ae509168c1e26da
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
2022-12-08 14:29:34 +01:00
Lukáš Piwowarski 7a5a61616a Remove reference to 'all-plugin' tox environment
The 'all-plugin' tox environment was deprecated by this patch [1].
Instead of the 'all-plugin' it is recommended to use the 'all' tox
environment.

This patch removes any reference to 'all-plugin' tox environment and
updates the documentation so that the installation steps work with
the 'all' venv.

[1] https://review.opendev.org/c/openstack/tempest/+/543974

Change-Id: Idc492b037251d6a04bf7700505484cb848fb2e01
2022-10-07 15:55:37 +02:00
Ghanshyam Mann bc8e512b4a Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: If17736114adedf44b502fd7c91423a7822d7170b
2022-05-02 13:01:42 -05:00
yatinkarel 4e395c5d2b Fix links for Source code references
These are leftover from opendev migration and
without this fix the links results into Not Found.

Mainly need to use "src" in place of "tree" to
get these links working with opendev.org.

Also used git tags where line references are used
as branched references do not persist. And for line
references use #L in place of #n as that's where it
get's redirected.

Also update references for zuul and use of
devstack-vm-gate-wrap.sh in neutron functional jobs.

Change-Id: I92d11c99a17dab80d4b91da49f341f9ba202bcfe
2021-12-02 20:12:34 +05:30
elajkat db740decec [Docs] Guide about running and debugging tempest tests
Move out tempest related things from TESTING.rst to tempest.rst.
It also gives some basics on how to debug tempest in zuul and locally.

Change-Id: I46c282c865bfdf5e88e26ea8fc31b26cdd3f6b2e
2021-01-07 21:36:42 +01:00
Slawek Kaplonski 59827fa840 [Docs] Add doc about debugging of the Grenade jobs
Change-Id: I218a7a2584a8669a0da0a7ff328985e12f8ec92f
2020-12-15 22:55:06 +01:00
Zuul e95eef2866 Merge "[Docs] Guide about running and debugging fullstack tests" 2020-12-04 01:24:05 +00:00
Slawek Kaplonski 94f752bdee [Docs] Guide about running and debugging fullstack tests
This patch moves detailed description about fullstack tests from
the general TESTING.rst document to the fullstack guide which is in
contributor/testing/fullstack.rst

It also adds new sections about running and debugging fullstack tests
locally and how to investigate failures which happens in the fullstack
jobs in the gate.

Change-Id: I2539420411e8fb2f54a5da9d9047171fd37bfb11
2020-12-01 09:21:42 -05:00
Slawek Kaplonski 087bd9aa1c [Doc] Remove info about compiling ovs kernel module in fullstack job
This isn't true since long time so lets make docs up to date also.

TrivialFix

Change-Id: Icef16ae0110ba76ac0cf4fca9f29e70d19d34ac0
2020-11-26 16:25:52 +01:00
Brian Haley 4fb505891e Updates for python3.8
With the move to the Victoria job template in
https://review.opendev.org/#/c/722681/, the py37 jobs no
longer get run, so the check and gate job entries can
be removed.

Added a keepalived py38 KillFilter line to match the py36
and py37 ones.

Also updated TESTING.rst to use py38 in all examples.

Change-Id: Ief793b54d53c3239cfb24278e88e4f4189bbc2c2
2020-04-28 14:03:21 -04:00
Brian Haley d484bbec2e Update TOX_ENV_SRC_MODULES example
TESTING.rst describes how to use TOX_ENV_SRC_MODULES
to use a local copy of library source code while
testing, but included pep8 when only unit testing
is supported.

Trivialfix

Change-Id: I133574c759d02843591e7448753d72cc4fd75491
2019-12-18 11:37:38 -05:00
Brian Haley 6842465260 Stop testing python 2
Since it's no longer supported past Train, lets stop
running the tests.

Updated docs and made some pep8 code tweaks as well.

Change-Id: I1c171ab906a3b4c66558163ad26947ebf710a276
2019-10-25 18:50:08 +00:00
elajkat b0d36a876d Add note about apparmor issue with fullstack tests
Change-Id: I9e3bf0562264d564c8faf56af9f451e2fbd4d6ce
2019-09-11 19:56:50 +00:00
Zuul c24c85c441 Merge "Fix some formatting issues in TESTING.rst" 2019-04-25 12:10:35 +00:00
Brian Haley 733d12991a Fix some formatting issues in TESTING.rst
Noticed when I copied a lot of this content over to
the networking-ovn repo.

Change-Id: I4e06cc15e4a30bf66c181d5ac729263b1efd605a
2019-04-24 11:36:01 -04:00
ZhongShengping 161e6b80f0 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: Ifc446e00d7f69cb23411b3a50c8d880c719f1e73
2019-04-23 10:00:45 +08:00
Ian Wienand 983d659d76
Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I4c9b513eb65ec4c50bdb9a66dfcc676360bdaa28
2019-03-25 11:31:17 +01:00
Doug Wiegley 55f2336981
Add method to tox to use local neutron-lib with unit tests
Change-Id: Ic96bb04cc3f9ed1438596b2150030ab22887b091
2019-03-02 14:56:15 -07:00
Lajos Katona e4feed0af2 doc: Small clearances for fullstack testing
In TESTING.rst the section for fullstack testing is quite usefull, but
things changed, so small additions seems to be necessary:
* The QoS test referenced as good example no more exists.
* Small things to the how to run fullstack tests section to make clear
what kind of prerequisites are necessary on a freshly started new VM.

Change-Id: I7621d1d76fd94d6766fbe8db11a1466fcedb73ab
2018-09-05 09:40:07 +02:00
Zuul 5a9f82f087 Merge "Docs: Update API & Scenario Tests" 2018-08-16 09:34:21 +00:00
Dongcan Ye 9ea9163689 Docs: Update API & Scenario Tests
Add neutron-tempest-plugin project requirement, and add
examples for running individual test modules or tests.

TrivialFix

Change-Id: I9f2ad39d17646ddf5d4a1804982832f58ec2574a
2018-08-16 01:43:52 +00:00
Dongcan Ye b4d3dbc835 Docs: Fix wrong stestr argument
Since ec537c49e9 switched stestr,
regex argument will no longer support, this patch update
the test docs.

Change-Id: I3dea71143fc4568b1e4aaf8386d45a3dd62b69b2
2018-07-17 09:45:43 +00:00
tianhui 424848e743 Fix bug to doc:testing
There is a wrong url in the doc and amends it

Change-Id: I07b4e6a4a37ff9c4477b91030360277659e4fbe8
2018-06-08 11:22:41 +08:00
Jakub Libosvar de6a7a9413 Update docs about openvswitch compilation
We stopped compiling openvswitch for ovs-fw tempest job with
change Idc34776e5b2fad105e246f7718220c23f0a94164. This patch updates
docs to reflect that.

Change-Id: I9fb962aee9a817c40aad37a37c582cb511d358c0
2018-05-24 15:57:18 +02:00
Zuul 6674ac5a2a Merge "Trivial: Update pypi url to new url" 2018-05-14 18:38:24 +00:00
Tovin Seven aed28094fc Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Ief56da9a7187cee9ff74d3323ab1081e5a9ec55e
2018-05-11 17:03:48 -04:00
Brian Haley 1b75c7cf9e Update fullstack section in TESTING.rst
In order to run the fullstack tests correctly, you must
first run "export VENV=dsvm-fullstack" so that it does
some extra steps.  Added it to the TESTING.rst file and
updated some of the text in the fullstack section as well.

Change-Id: Iad2683dfc2d63fa23096d40c01000d8ac285176a
2018-05-10 17:42:51 -04:00
Zuul 2076d0a9b5 Merge "Docs: Update tempest test directory" 2018-02-14 16:14:24 +00:00
IWAMOTO Toshihiro 46d693530b Compile ovs for ovsfw to avoid ovs-vswitchd core dumps
Change-Id: I750224f7495aa46634bec1211599953cbbd4d1df
Closes-bug: #1742863
2018-02-13 10:18:31 +09:00
Dongcan Ye 23ab8bd1d3 Docs: Update tempest test directory
Since we switched tempest test to neutron-tempest-plugin,
some of descriptions need updates.

TrivialFix

Change-Id: I52e31d2237bb571cfbe9643c3c8d364824f6bfd0
2018-02-12 12:05:08 +00:00
Ihar Hrachyshka 99a12a2392 docs: clarify wording about how to use advanced glance image
This is to follow up on comments in
https://review.openstack.org/#/c/469838/

Change-Id: I59a0f63e56d972a2fadf5a4e0bf531ccf4da8dba
2017-08-01 08:56:45 -07:00
Dongcan Ye d1f858b96d docs: Fix in TESTING.rst
Change-Id: I01c3016a7bdc9979756260759fc0ff8d4fd3f454
2017-07-30 10:48:06 +08:00
Jenkins ef4119f83a Merge "[Tempest] Running Trunk test with advanced image only" 2017-07-28 11:17:09 +00:00
Genadi Chereshnya 314277286d [Tempest] Running Trunk test with advanced image only
1)Adding 'image_is_advanced' option to tempest config, so you can
run specific tests with images that are not cirros.
2)Adding decorator to run 'subport_connectivity' test with such
image for VLAN aware VM feature.
3)Configuring gate to run trunk test with ubuntu image only
4) Updating release notes and TESTING.rst with the change

Change-Id: Ie15b0e79c6ea320322b2815fb8afbc8ec95f853a
2017-07-25 10:21:58 -07:00
Akihiro Motoki d3c393ff6b Update the documentation link for doc migration
* Update the URLs affected by the doc-migration
  (/developer/<project>/ to <project>/latest/)
* Follow content rearrangement
* Convert links to local documents into :doc: or :ref:
* Use https instead of http for the updated links on docs.openstack.org.

Part of the doc-migration work.

Change-Id: I62e317d9198f175a43d73bbfd419b6878de90d5a
2017-07-22 18:46:13 +09:00
Akihiro Motoki eee9d2ca80 docs: Fix indent level
Leading spaces before item lists leads to vertical line
on the left side. They are completely unnecessary.

Change-Id: I08c3f077e470aa593076a525de1445bc5d0bdb9a
2017-06-16 08:21:56 +09:00
Akihiro Motoki a23cd43abe docs: reorganize developer reference for new theme
openstackdocstheme generates the toc tree in the left sidebar
based on the page hierarchy from the top page.
The previous developer guide hirarchy is a bit deep, and
this commit reorganizes the devref pages for better navigation
with openstackdocstheme.

Change-Id: I1412b047efc1c268b34ef97e78073da7bcbb6d7e
2017-06-16 08:21:56 +09:00
Jenkins b6bd475629 Merge "api-tests: Common way to define required extensions" 2017-06-08 18:31:59 +00:00
Ihar Hrachyshka 6cfe39708f Fixed docs job failure
Removed one orphan reference of unclear value (pudb), and moved another
one into the text itself. This allows to pass gate with new sphinx.

Change-Id: I943d9b0904731ebcc4d3fd3a9b686fd08b03c48b
Closes-Bug: #1694614
2017-05-31 07:39:11 -07:00
Jakub Libosvar 814fbc0501 api-tests: Common way to define required extensions
As some tests require extensions to be enabled on the server, this patch
introduces a new class attribute to the API base class. If any extension
defined in test class is not enabled on the server, then all tests in
the test class will be skipped.

Change-Id: I0629153f973daeb3bef3a6968360cbc2d427f9ad
2017-05-30 15:37:16 +00:00
Jakub Libosvar 648936b8c8 docs: Update TESTING.rst about openvswitch requirements
Since we switched to use Ubuntu Cloud Archives in upstream gate, the
note in TESTING.rst is not longer valid for the gate. The condition to
trigger the test still remains in order to avoid false negative test
results for those that run functional tests with older openvswitch
version.

Change-Id: Ibff983efe0f452864d003913205cbbfa39ee7374
2017-04-19 07:57:17 +00:00
Jakub Libosvar b96029f6a2 docs: Update TESTING.rst with gate information about ovs
We used to compile from source for functional and fullstack jobs. For
functional job we skip single test and avoid compiling. We still do
compile from source for fullstack job. This patch adds justification to
TESTING.rst document.

Change-Id: I60c272bba6fa9eeefa29dfa4faa69433989efde2
2017-04-12 16:31:31 +00:00
yuhui_inspur d5c3361753 Fix some grammatical errors in TESTING.rst
TrivialFix.

Change-Id: I1a0c2b2da9d6ae0a52028420a98f5ae17e8d6855
2017-04-09 19:31:26 +00:00
Jenkins e2550837bb Merge "TrivialFix: Modify the spelling mistake" 2017-02-03 09:59:05 +00:00
Yushiro FURUKAWA e1f43a673e Fix typo
Trivial fix

Change-Id: Ia6b25c8b91db5efa839e1077c224c5c679c1f07e
2017-01-04 14:37:29 +09:00
Armando Migliaccio 76c9984426 Fix docs headers
Ic68858aaf1a519085dff394e6edc8c8fe6aeee6a forgot to move these
sections one level up. Without this, tox -edocs barfs.

Change-Id: I649ba20013ccbe25023b2c8c3a2014fb7be47d97
2016-11-30 11:54:34 -08:00
Jenkins f6199da7c9 Merge "Deprecate run_tests.sh" 2016-11-22 06:08:21 +00:00
Armando Migliaccio f5e30abcc5 Add rally hook to neutron devstack plugin
This allows us to configure neutron when running the rally job in
the gate. This effort stems from patch [1]. Blame Kevin for not
wanting to squash the two together.

[1] I12aaf6121b677e9696131601b3539a7091e2858c
Change-Id: I006957784ac7900021bcfee57cbc83b5a6c533c4
2016-11-10 07:44:28 +00:00
Henry Gessau e8e4e5d7ab Deprecate run_tests.sh
We support tox for testing.
We don't maintain anything else.
In the Pike release we will remove the script.

Change-Id: Ic68858aaf1a519085dff394e6edc8c8fe6aeee6a
2016-11-08 03:50:20 +00:00
lilintan 26050562ca TrivialFix: Modify the spelling mistake
Change-Id: I07bd96de0dd1f89b66b3a4fd2bed0f222c237fb8
2016-10-27 11:52:17 +00:00