commit 87bae8585033bf371a936d2de330a89d791244ad
Author: Matthew Treinish <email address hidden>
Date: Tue Jun 28 11:53:22 2016 -0400
Remove unecessary decorators from private interface
This commit removes the usage of the services decorators from the
tempest plugin tests. That decorator is an internal interface and
not meant for external consumption, and is now causing failures
because of recent tempest changes. Plugins should only use documented
stable interfaces. [1]
Also the use of the decorator here actually adds nothing to the tests.
They do 2 things, add a test attr to filter by service and add a skip
check on the service availability. However both of these are already
done, data_processing is already part of the test_id so filtering
will just work and the skip check for sahara is baked into the base
test class. So using this decorator does nothing except break the
plugin.
commit f82c7db143bb7bf3c358e735f9646a17684ba5b6
Author: Luigi Toscano <email address hidden>
Date: Fri Feb 26 11:24:32 2016 +0100
Use the integrated tempest.lib module
Tempest-lib has been reintegrated into tempest (as code, but it still provides
a stable API). The old library is still available, but tempest tests are
failing because when sahara is installed and exports the scenario tests
for python clients, python-lib is not installed (it's correcly in
test-requirements.txt, not requirements.txt), and tempest does not
install tempest-lib anymore. Hence, fix the tests to use the new
official location.
Python client tests: access to credentials/net clients
Adapt to the latest changes in tempest master, and fix the
access to the credentials and the network clients.
The relevant changes seems to be (tempest):
Credentials: I2f026e553f8c2c2a4cf2cb319bcd67e7d82e0479
Network client: I1730adb3258557698dbe15658bb1c12f2292c2fd
commit b5ae7bdd13b5bc9b0675435979a7b07dbe93e7eb
Author: Jacob Bin Wang <email address hidden>
Date: Wed Mar 18 09:29:40 2015 +0800
Fix order of arguments in assertEqual - Part1
Some tests used incorrect order assertEqual(observed, expected).
The correct order expected by testtools is:
def assertEqual(self, expected, observed, message='')
Changed to use the right order. Also if the order is wrong and
expected value is None, change it to assertIsNone instead.
It requires big changes and some tests change frequently.
So I would do it in series of small CR.
This part contains all changes except tests of plugins and service.
Changes:
* using oslo_config instead of oslo.config
* using oslo_concurrency instead of oslo.concurrency
* using oslo_db instead of oslo.db
* using oslo_i18n instead of oslo.i18n
* using oslo_messaging instead of oslo.messaging
* using oslo_middleware instead of oslo.middleware
* using oslo_serialization instead of oslo.serialization
* using oslo_utils instead of oslo.utils
Reviewed: https:/ /review. openstack. org/357664 /git.openstack. org/cgit/ openstack/ sahara- tests/commit/ ?id=e163f792597 4ce7a74e29cbf83 db7fb00103e470
Committed: https:/
Submitter: Jenkins
Branch: master
commit 87bae8585033bf3 71a936d2de330a8 9d791244ad
Author: Matthew Treinish <email address hidden>
Date: Tue Jun 28 11:53:22 2016 -0400
Remove unecessary decorators from private interface
This commit removes the usage of the services decorators from the
tempest plugin tests. That decorator is an internal interface and
not meant for external consumption, and is now causing failures
because of recent tempest changes. Plugins should only use documented
stable interfaces. [1]
Also the use of the decorator here actually adds nothing to the tests.
They do 2 things, add a test attr to filter by service and add a skip
check on the service availability. However both of these are already
done, data_processing is already part of the test_id so filtering
will just work and the skip check for sahara is baked into the base
test class. So using this decorator does nothing except break the
plugin.
[1] http:// docs.openstack. org/developer/ tempest/ plugin. html#stable- tempest- apis-plugins- may-use
Change-Id: I45587d065c1b7b 7f28feb29e8845f 8f0f8405b8c
commit f4db8224967267e 91abb05dd9c5263 18589f383b
Author: ZhiQiang Fan <email address hidden>
Date: Mon Apr 18 22:00:47 2016 +0800
update options mentioned in tempest readme
Some options have already been deprecated but still used in tempest
README.rst, let's use the new one.
Change-Id: Ic3bfb66b089886 9149126c21aef0b 2fd673385e2
commit f82c7db143bb7bf 3c358e735f9646a 17684ba5b6
Author: Luigi Toscano <email address hidden>
Date: Fri Feb 26 11:24:32 2016 +0100
Use the integrated tempest.lib module
Tempest-lib has been reintegrated into tempest (as code, but it still provides requirements. txt, not requirements.txt), and tempest does not
a stable API). The old library is still available, but tempest tests are
failing because when sahara is installed and exports the scenario tests
for python clients, python-lib is not installed (it's correcly in
test-
install tempest-lib anymore. Hence, fix the tests to use the new
official location.
Change-Id: Iaded03ee387b4a 0bbabb7bfe9e54d 38e010d9c4f
commit 85ce728189d8f8a 63843ebde5950a0 c56233fa3a
Author: luhuichun <email address hidden>
Date: Tue Dec 1 14:09:22 2015 +0800
Replacing all hard coded cluster status using cluster_utils
Change-Id: I9550e98553da9f 7bfc57923e44a78 9e07a912ff4
Closes-bug: 1517061
commit 0abdc18a94089bf 698582daa051a96 fd645935f3
Author: Evgeny Sikachev <email address hidden>
Date: Thu Nov 26 13:40:51 2015 +0300
Add missed checks for testing update method
In tempest tests for saharaclient we have missed methods
for checking update of templates.
Closes-bug: #1520140
Change-Id: I8191e3344ecffd 7a2ed442ba3d561 741701c45e2
commit 80bfb9a469d2a28 9e903b194882148 55b8a7fa94
Author: Evgeny Sikachev <email address hidden>
Date: Tue Nov 17 16:05:04 2015 +0300
Adding tests for checking updating of templates
Need add checks for testing updating of sahara resources
Change-Id: Ifeb9a312236753 884ef3f120f1ae5 79dcb77b4ed
commit 2e68007b00d00c9 e7cffb48cdde426 d5730db4b9
Author: Andrey Pavlov <email address hidden>
Date: Fri Oct 16 11:34:55 2015 +0300
Fix tempest tests
Sahara config group was changed from data_processing
to data-processing
Change-Id: I0a6686bfa1f14b 18c17518b6ef2e6 f5183fecebe
Closes-bug: #1506781
commit 4f116d0fdfa90c1 79805755ecd962d 4530d823c7
Author: Andrey Pavlov <email address hidden>
Date: Wed Sep 30 16:56:32 2015 +0300
Fix of client tests in tempest
python- saharaclient tests in tempest were fixed
and documentation updated
Change-Id: I6a5964b8ecd1e3 43c427ae7aefdad ac5cfa26ad9
Closes-bug: #1501347
commit 512b2078c1c0834 85b855bbbb8bf02 e8861532db
Author: Luigi Toscano <email address hidden>
Date: Fri Sep 18 14:13:04 2015 +0200
Adapt python client tests to use Tempest plugin interface
Use the Tempest plugin interface for python client tests (which
are already tempest-based) instead of copying the tests inside
the tempest tree.
Inspired by the same type of change applied to Manila, acf8dd56522c267 05ae897596d
see Ie5ed64a6777ed1
Depends-On: I06f1e13207cc6d 661c078c4c4cf1a e7974ecf3da d96882179a1eb8b be715c6417b
Change-Id: I6073a528413aef
commit a356fc3a96ae535 d7532ddbfac0ae4 d96dd721e7
Author: Luigi Toscano <email address hidden>
Date: Thu Sep 17 12:40:15 2015 +0200
Python client tests: access to credentials/net clients
Adapt to the latest changes in tempest master, and fix the
access to the credentials and the network clients.
The relevant changes seems to be (tempest): 2a4cf2cb319bcd6 7e7d82e0479 698dbe15658bb1c 12f2292c2fd
Credentials: I2f026e553f8c2c
Network client: I1730adb3258557
Change-Id: I7af04cdd6805e8 e26e27355289fbf d81d384d9af
commit 5fc4c517146b2a6 f532bde5b354c09 47166235cc
Author: Sergey Reshetnyak <email address hidden>
Date: Tue Mar 24 19:01:36 2015 +0300
Set up network client for tempest client tests
Change-Id: I08e590390e8488 0beaa394daac2d5 eaf32c254fc
commit b5ae7bdd13b5bc9 b0675435979a7b0 7dbe93e7eb
Author: Jacob Bin Wang <email address hidden>
Date: Wed Mar 18 09:29:40 2015 +0800
Fix order of arguments in assertEqual - Part1
Some tests used incorrect order assertEqual( observed, expected).
The correct order expected by testtools is:
def assertEqual(self, expected, observed, message='')
Changed to use the right order. Also if the order is wrong and
expected value is None, change it to assertIsNone instead.
It requires big changes and some tests change frequently.
So I would do it in series of small CR.
This part contains all changes except tests of plugins and service.
Partial-Bug: #1259292
Change-Id: Iefbb5f4b9efca3 5f7a2298f9f7f5b 9de73fc260f
commit 9d62e637dd9083d ed7759e41f9b42e 876c70d2b6
Author: Jacob Bin Wang <email address hidden>
Date: Thu Mar 19 11:23:24 2015 +0800
Fix log import error in tempest tests for Sahara
Fix log import error in base class of client tests.
Tempest now use olso.log for logging,
instead of log module from tempest common or tempest-lib.
Closes-bug: #1425835
Change-Id: Idb1ea80af5f567 e198380171b0c92 16952b85b50
commit 0db1e9460308536 59065e6fb4a719b 2677c10b09
Author: Sergey Reshetnyak <email address hidden>
Date: Wed Mar 11 09:50:15 2015 +0300
Change imports after moving tempest common code
All tempest common code migrated to tempest-lib
Change-Id: I25203b5dfc73ab afa1738669d20a7 e270e542396
commit ce39d65861f36d8 61fd69ac6b0f51f 7901c6bac0
Author: Sergey Reshetnyak <email address hidden>
Date: Tue Mar 10 13:58:42 2015 +0300
Skip job_execution tempest client test
Skip job_execution tempest test because bug #1430252 is not resolved
Change-Id: I278c477e23de43 6ae584f9c6db5cb 8ed708655ef
Related-bug: #1430252
commit e31343f31c3b28c bfd9bf19a34d189 319b485c25
Author: Sergey Reshetnyak <email address hidden>
Date: Mon Mar 9 11:50:35 2015 +0300
Fix tempest tests for Sahara
Fix getting network id in client tests
Related-bug: #1425835
Change-Id: I27d4746fd42256 37cf0e808ca3139 9ec5019c508
commit 375e070be0eff13 faf7d2f1823b826 167bb17b5f
Author: Sergey Reshetnyak <email address hidden>
Date: Thu Feb 26 15:35:05 2015 +0300
Fix tempest client tests in Sahara
Change-Id: I60e09e79ec3a22 2b3257f0ee86b93 ee2fc862c0e
Closes-bug: #1425835
commit dd2d38369ae11ae 154c694a84e0c26 ffce59a2dc
Author: Andrey Pavlov <email address hidden>
Date: Tue Jan 20 13:48:19 2015 +0300
Using oslo_* instead of oslo.*
Changes:
* using oslo_config instead of oslo.config
* using oslo_concurrency instead of oslo.concurrency
* using oslo_db instead of oslo.db
* using oslo_i18n instead of oslo.i18n
* using oslo_messaging instead of oslo.messaging
* using oslo_middleware instead of oslo.middleware
* using oslo_serialization instead of oslo.serialization
* using oslo_utils instead of oslo.utils
Change-Id: Ib0f18603ca5b08 85256a39a96a362 0d05260a272
Closes-bug: #1414587
commit 08f6043dca880f5 6173c6f1b828bb0 de79d6fac7
Author: Sergey Reshetnyak <email address hidden>
Date: Mon Jan 26 18:27:56 2015 +0300
Fix getting not registered images
Return only registered images in Sahara API
Change-Id: If86ad7c7d237d1 62886b99865f0e1 7f3e0b6679d
Closes-bug: #1414000
commit d758afd2c97f325 dead6622cc043ea 52159f1d76
Author: Andrey Pavlov <email address hidden>
Date: Wed Dec 10 10:03:08 2014 +0300
Saharaclient tests for tempest
implements bp: saharaclient- tests-in- tempest
Change-Id: I1a491d0ee566e3 bd4ab1957ac4008 06c60602686