Commit graph

1355 commits

Author SHA1 Message Date
Zuul
207968f353 Merge "Cleanup of .keys() from dict_object.keys() *in* operator" 2020-02-21 07:45:07 +00:00
Zuul
b0308a9679 Merge "Remove dependency on mox3" 2020-02-19 04:23:59 +00:00
Zuul
b757fdd0f6 Merge "Remove mox usage from test_shell" 2020-02-19 04:20:15 +00:00
Zuul
1e931847eb Merge "tests: Convert 'test_resources' to mock" 2020-02-19 04:10:30 +00:00
Zane Bitter
869f3a943b Remove dependency on mox3
Change-Id: Ie6017be8293b36d1aedfb5cce7b76c85a8b95b63
2020-02-10 12:37:49 -05:00
Zane Bitter
163d4aa0e9 Remove mox usage from test_shell
Change-Id: I4e1dbb55dbc01ebf18ca80aa63ae492a1a8f47ae
2020-02-10 12:35:22 -05:00
Andreas Jaeger
2a8eb6a74c [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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: I54863f2301758dcd48de4ee73bcc8582e5036afa
2020-02-10 16:05:51 +00:00
Stephen Finucane
48d19397a6 tests: Convert 'test_resources' to mock
This is the smaller of the two.

Change-Id: I2a483698209e7c4ba2da074ffd7b9466f17937e2
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-01-30 15:19:55 +00:00
Stephen Finucane
75ed1cedd9 tests: Pre-mox removal cleanup
Move some stuff around in order to make the later migration easier to
parse.

Change-Id: I1404a5b23fd1852be9d04661c2a0ba12c4bb78ec
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2020-01-30 10:59:39 +00:00
Zuul
ba6839216c Merge "Change openstack-dev to openstack-discuss" 2019-12-13 03:07:49 +00:00
Zuul
ed6d37ba6d Merge "Update master for stable/train" 2019-12-05 03:50:44 +00:00
Zuul
1120822e0c Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-12-05 03:50:40 +00:00
jacky06
fcc7befd0f Cleanup of .keys() from dict_object.keys() *in* operator
Change-Id: I49bb58e5dc2618ee02424315e4e3bf1057a77068
2019-12-05 11:05:53 +08:00
Zuul
ee0e186e4c Merge "Cap sphinx for py2 to match global requirements" 2019-12-05 02:53:41 +00:00
OpenStack Release Bot
19122b7ac5 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I10df19e4f4b25a29df9389b3f469ee053552496a
Sem-Ver: feature
2019-09-20 17:40:26 +00:00
Zuul
4d8f270157 Merge "Ignore not found when delete in test" 2019-09-05 05:04:46 +00:00
Zuul
eca1637656 Merge "Update stack_id clearify for heat client functions" 2019-08-05 16:16:26 +00:00
ricolin
82c842f3d9 Update stack_id clearify for heat client functions
most of our client major function require stack_id. We should
provide more specific information (at lest in function description)
to clearify that it's allowed to feed in stack name to `stack_id`
too. For example, both `heat.stacks.get($Stack_UUID)` and
`heat.stacks.get($Stack_Name)` works.

Change-Id: I4428097140e0391a77679f5c69e00966f249efd7
2019-08-03 00:42:19 +08:00
jacky06
87253c46fd Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I65ec66ebcef80609a4fc111c71a225eccec35eeb
2019-07-14 15:05:49 +00:00
Zuul
6854247d4b Merge "Add Python 3 Train unit tests" 2019-07-06 00:58:29 +00:00
Zane Bitter
d87aa032de Fix unit tests
Change-Id: I44bbafa95d6eeb3550aac5b480391a3fc7ddaef5
2019-06-24 20:29:06 -04:00
Corey Bryant
5b1d4c2497 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: Id9ed3cec95f0e0203ef00dd5ff10d124913e39f2
Story: #2005924
Task: #34209
2019-06-24 10:34:01 -04:00
zhangboye
0789bc93dc Cap sphinx for py2 to match global requirements
Change-Id: Icbc1b3a92f796bf9e3186a512dd21661db035583
2019-06-06 16:04:52 +08:00
zhufl
036ae75689 Fix missing print format
This is to:
1. Add missing print format for "%(hook_type)".
2. Add ws between words in log message "notavailable".

Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
2019-05-21 15:03:08 +08:00
Zuul
270b7a0b43 Merge "Dropping the py35 testing" 2019-05-04 15:09:28 +00:00
OpenDev Sysadmins
05f52517de 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:33:54 +00:00
Ghanshyam Mann
422f001e25 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: I6b8dacf455ec068acd9599d96e0d66522c8bdf5c
2019-04-15 18:06:16 +00:00
Zuul
25e2eb6974 Merge "Update master for stable/stein" 2019-04-04 17:52:06 +00:00
Ian Wienand
b69e063845 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: I84aa448129801474cb5e65d27b4901e806b319f6
2019-03-24 20:35:49 +00:00
OpenStack Release Bot
1be9b40e8d Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I241c58785ff541681113628bb9409821f035b2a2
Sem-Ver: feature
2019-03-18 14:51:17 +00:00
Zuul
9e59121af2 Merge "add python 3.7 unit test job" 2019-03-15 20:34:01 +00:00
Rabi Mishra
bd33e310e0 Set Content-Type header explictly for SessionClient
SessionClient is subclassed from keystoneauth LegacyJsonAdapter.
LegacyJsonAdapter does not set the Content-Type explicitly
and results in decodeing issues in some cases.

Change-Id: Idf23022b394607c332490331fc4b216de6ff1313
Story: 2005237
Task: 30027
2019-03-15 05:08:51 +00:00
Corey Bryant
e4c37d7b13 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: Iad68a8b8e18f8b2d6e25444b4c79adf1b5bc8825
Story: #2004073
Task: #27416
2019-02-14 22:49:57 -05:00
ricolin
3b74f2ddd1 Ignore not found when delete in test
Ignore not found when delete stack or stack snapshot in tests.
Story: #1737100
Task: #19354

Change-Id: I6c980b68023b33dc318c5d9506c2cac5866c4924
2019-02-03 05:16:08 +00:00
Zuul
8af5deb458 Merge "Update the bugs link to storyboard" 2019-01-03 22:45:12 +00:00
Zuul
3a834c2a36 Merge "Trivial: Update pypi url to new url" 2019-01-03 04:47:35 +00:00
ZhijunWei
2d9da26e1a Update the bugs link to storyboard
Change-Id: Ie217f622ec437efb772ccdb3ed65f1c5a04c8c7f
2019-01-03 02:13:13 +00:00
Zuul
9084feb640 Merge "Set X-Region-Name in header when using SessionClient" 2018-12-19 03:34:09 +00:00
sunjia
56079599a5 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I93cbd7d72b7539f9ea95fbd70006a4ed5fa60a12
2018-12-03 22:00:49 -05:00
Zuul
7877475961 Merge "Replace deprecated "decodestring()" by "decodebytes()"" 2018-11-28 19:37:38 +00:00
huang.zhiping
4ae2116994 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: Ie594fc55eb54d48d96157e31a319f0ff97afc9be
Closes-Bug:  #1801691
2018-11-26 07:27:14 +00:00
Zuul
dd5f64c4c4 Merge "Load files from adopt file when adopt stack" 2018-11-20 20:08:28 +00:00
Vu Cong Tuan
02d0090c47 Replace deprecated "decodestring()" by "decodebytes()"
decodestring() is deprecated alias of decodebytes()
https://docs.python.org/3/library/base64.html#base64.decodestring

The same has been done for nova:
https://review.openstack.org/#/c/610401/

Change-Id: Ie069aaaff1646a70f3717fc6f9c7252949c4e5fd
2018-11-02 16:27:47 +07:00
Vieri
ada4b90083 Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: I6ee01703bd4c432211f0d6e2f3501c989523ae11
2018-10-09 13:53:33 +00:00
Zuul
6229fce973 Merge "Use templates for cover and lower-constraints" 2018-10-03 14:05:35 +00:00
rabi
ae21e6b70d Set X-Region-Name in header when using SessionClient
We don't seem to set the header for region name when using session
client. It's used to look for service endpoints in the catalog.

Change-Id: I10cfdfb88b3f09e4ceb69b1020e82c4eba733804
Story: #2003806
Task: 26550
2018-09-19 12:21:01 +05:30
Tovin Seven
cabfc66783 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: Ifda5fe743589ad510469db7c28258c8432df9d13
2018-09-17 09:24:44 +00:00
Zuul
68d6c6f764 Merge "Migrate the link of bug report button to storyboard" 2018-09-08 00:33:36 +00:00
Zuul
97a78a41ab Merge "fix bug link in readme" 2018-09-08 00:33:36 +00:00
Andreas Jaeger
ed3aba8bfa Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Remove jobs that are part of the templates.

Change-Id: I37a870625da43f738c20edc88313f2b771990659
2018-09-07 15:30:17 +02:00