Commit Graph

141 Commits

Author SHA1 Message Date
Andreas Jaeger 08db3ad05f Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I37b6a82c9c3c3893bb4b9b6a4c4b5a83a6d8193c
2019-12-18 09:50:01 +01:00
ibumarskov 4934db769a Fix expected resource count
Change-Id: If66a8c281f39230d83027d4da9a3395da8d5a623
Closes-bug: #1674928
(cherry picked from commit 246785a431)
2017-03-24 08:26:23 +00:00
Sergey Novikov 45e773d9db Improve failover of SSH connections
We had invalid procedure of handling stored SSH connections
when non-root access feature was enabled. This patch fixs that
and contains the following items:
 * Use method `update_connection` when exist connection fails
 * close current connection in method `update_connection`
 * catch SSHException instead AuthenticationException

Change-Id: Id488abf5b21c3bf16f21546c5b26c16e29bc6a58
Closes-Bug: 1659747
(cherry picked from commit e4a2acfc23)
2017-03-10 10:37:13 +00:00
Dmitry Belyaninov bdf5a903cb Update murano-api services count
Current value is 6 processes.
Also deprecated function change.

Change-Id: I69ab82b332c6bfa7e00c9999a72b4225bddffcb3
Closes-Bug: 1654267
(cherry picked from commit 46d2680d9e)
2017-03-07 09:16:30 +00:00
Sergey Novikov 1a14a5f062 Add dpdk tests for ovs firewall driver
Change-Id: Ia64cf36bb1b614d15fd327305cfaf772b6372fdf
(cherry picked from commit 5a33010bc8)
2017-02-07 09:57:29 +00:00
Sergey Novikov 672564beec Rework IPv6 tests
Scope of IPv6 tests should be extended for case of
the deployment with OVS firewall driver. The changes
include a moving of common methods from test module and
a simple refactoring.

Change-Id: Ia78a36a7ab4dc41d2f8f83bc75ceb80e43ae6a0b
2017-02-06 10:31:50 +00:00
Sergey Novikov 0afab0e129 Add non-dpdk tests for ovs firewall driver
Change-Id: I6423aa1c6511c2a9992a8092d02e933641d9ea51
2017-02-02 11:52:58 +00:00
Oleksandr Ivashchenko 96100c74d1 Change key-name
Parameter name was changed to the correct

Closes-Bug: #1623123
Change-Id: I00a409d9102b565c39ef04dca232d6990b759d07
2016-10-31 13:41:32 +00:00
Alexey Stepanov d9d8c524ef Do not use cat for file read
Do not use cat for file read:
   it's difficult for debug operations with source data
   YAMLEditor content calls get_content() if not loaded

Change-Id: I75061c067172085de0e5fb1baa051816a4a707eb
2016-10-10 16:00:35 +03:00
Alexey Stepanov e6cfa06edd Fix issue, when accessible more nodes, than required to start test
validate_amount_nodes -> validate_minimal_amount_nodes
Closes-bug: #1625456

Change-Id: I4655b980efa6601df15363fd215251a8d63b78fb
2016-09-20 14:31:29 +03:00
Olivier Bourdon e624f14bcb Add code to check number of available nodes for deployment
Change-Id: I58fbf17d3bb1c0661181aa03d7a0431cf976137f
Related-Bug: 1547381
2016-09-19 13:40:06 +00:00
Jenkins 32b25317c7 Merge "Test public API" 2016-09-15 08:26:45 +00:00
Maksym Strukov a9f7166199 Remove check_fuel_snapshot decorator
Change-Id: I649bb924a73549da1ba1bbc239e0bb075706beaf
Closes-Bug: #1619414
2016-09-14 23:53:34 +03:00
Maksym Strukov 56e6b2b7cd Test public API
Add two tests with the following steps:

Deploy environment with enabled DMZ network for API.

        Scenario:
            1. Revert snapshot with ready master node
            2. Create new environment
            3. Run network verification
            4. Deploy the environment
            5. Run network verification
            6. Run OSTF
            7. Reboot cluster nodes
            8. Run OSTF
            9. Create environment snapshot deploy_env_with_public_api

Check that security rules are properly applied for DMZ network

        Scenario:
            1. Revert snapshot from previous test
            2. Run instance
            3. Try to access horizon from instance
            4. Remove instance

Implements: blueprint test-separate-public-floating
Change-Id: I70474b5cab324aa4f4a042127d4e6961c95010bf
2016-09-14 21:39:05 +03:00
Alexey Stepanov 7ec0f37fa1 Move QuietLogger and logwrap to core
1. Move QuietLogger and logwrap to core
2. Fix QuietLogger (if log level was upper, than in param,
  QuietLogger ebabled additional logging instead of pass)
3. Cover by unit-tests
4. Added missed license text
5. add *.log to gitignore

Change-Id: If842791000c76852fe1dec1e66edcc081c278b2c
Blueprint: fuel-qa-join-helpers
(cherry picked from commit b7ca0ff)
2016-09-05 10:39:58 +03:00
Alexey Stepanov 3ce8925e1c Replace execute_throw_host by devops implementation
SSHClient instance is already has this method
Blueprint: sshmanager-integration
Change-Id: I90ca8bc7675bfc6b70126f83fd4e6ec0e3e04d3a
2016-08-19 12:13:37 +03:00
Alexey Stepanov dd1410192e Rework checksum checker
Rework checksum checker:
execution results may differ because of different commands
and it does not mean different md5

Change-Id: I25c4ef7ba919ff5e7e69b1e9f7f8f2cdcb713d81
2016-08-16 14:51:22 +03:00
Alexey Stepanov e58bd3b3f9 Switch to SSHClient API usage in execute_on_remote
Switch to SSHClient API usage in execute_on_remote: remote.check_call
check_call has been aligned to SSHClient

Change-Id: I6a6a0db5ccc1175c296a64d0c928d51558d51189
(cherry picked from commit 8e90a5b)
2016-08-11 16:20:05 +03:00
Alexey Stepanov df6b5884e0 Fix exception handling in tests
HTTP client was replaced by keystoneauth1 session -> update test code
Related-bug: #1609705

Change-Id: I1b3881e7c75fd0163347d4d6605dd979087393eb
2016-08-08 15:34:27 +03:00
Alexey Stepanov db27cd6407 Fix usage of inaccessible SSHClient APIs
['stdout_str'] and ['stderr_str'] is accessible
on all SSHClient output (except async) only starting
from 2.9.22 and currently we using 2.9.21
Solution: roll-back part of changes from review 344612

Change-Id: I2ab955dd42a5b5db102236c7468f029bd89e3bc6
2016-07-29 21:23:23 +03:00
Alexey Stepanov 3dfc8b66b0 Replace deprecated methods by it's successors
Replace deprecated methods by it's successors
Drop stdout_len and stderr_len as useless and unused

Change-Id: I558e864240c9d8bed7e9acd4dd1406c33d066800
Closes-bug: #1604688
2016-07-22 16:39:45 +03:00
Jenkins c6dbd8905c Merge "Add timeout_msg values in fuelweb_test and system_test" 2016-07-12 15:01:50 +00:00
Jenkins 02a6eb2184 Merge "Disable UMM before nodes repetitive restart" 2016-07-12 07:31:29 +00:00
Anton Studenov ef2ace7f65 Add timeout_msg values in fuelweb_test and system_test
- added waiters for node status
- removed redundant try/except/assert

Related blueprint: fuel-qa-failure-reason-grouping
Change-Id: I06ccac42856712d1f9afe64402d34aeba3c07af6
2016-07-11 15:14:36 +03:00
Artem Panchenko fa2d058d49 Don't use .keys() method while iterating over dict
Closes-bug: #1600132

Change-Id: I49ee06d795280f572db07c9537310433f07bd0ab
2016-07-08 10:41:40 +03:00
Jenkins 38950186b1 Merge "Fix offloading checker" 2016-07-06 13:12:22 +00:00
zatserklyany 60d575f25c Fix offloading checker
Modify verification of applyed changes

Change-Id: Ia9188e4654bafc3189964707bc4d2516765ebc4f
Closes-Bug: 1594788
2016-07-06 14:34:43 +03:00
Maksym Strukov 357f2f9026 Add test for mcollective package version
Scenario:
1. Check mcollective version on bootstrap
2. Create cluster
3. Add one node to cluster
4. Provision nodes
5. Check mcollective version on node

Change-Id: I92fe35d0c31f08bd0d69a8993c9f3a72e2bdb60d
Closes-Bug: #1460073
2016-07-01 11:36:36 +03:00
Maksym Strukov 5809bb6208 Disable UMM before nodes repetitive restart
The problem is that after third reboot nodes are going
into maintenance mode and became unavailable for further
testing. We need disable UMM feature to prevent such behaviour.

Change-Id: I1cce936201872f47d13e3c482e23e1ba4cfc24b2
Closes-Bug: #1588877
2016-06-22 11:29:11 +03:00
Jenkins 9a484ceb85 Merge "Add checker check_free_space" 2016-05-12 07:01:50 +00:00
Alexey Stepanov 3990b5fb65 Fix inspection issues
1. PyCharm inspection: ignore no member for magic places
  (six.moves, mixin for system_test, unicode<->string on python2)
2. Fix docstrings
3. Fix reraise of SkipTest
  (use raise instead of raising again the same exception, but no args)
4. Bash simple variable usage

Closes-bug: #1578998

Change-Id: Ifac2dcb68b323ce48c6c80598abfd18ed9bf2caf
2016-05-10 11:54:55 +03:00
Egor Kotko 857c234911 Add checker check_free_space
Cover verification of free space on master node

Closes bug: #1558030

Change-Id: I06f6c22a77e2d72c34e29271774154d1fa326244
2016-05-09 12:34:59 +02:00
Alexey Stepanov 2c66fa7720 Check tasks status after cluster deployment
1. add FuelWebClient.assert_all_tasks_completed, which could check status
    for specified cluster or wide
2. add NailgunClient.get_all_tasks_list for retrieving all tasks info from database
3. Call tasks status check after deployment success before short OSTF (
    self.assert_ha_services_ready(cluster_id)
    self.assert_os_services_ready(cluster_id)
    )
4. add TestCliBase.assert_all_tasks_completed
5. call TestCliBase.assert_all_tasks_completed after deployment

Change-Id: I428fc17434d40951c6eb6cefe88dd007d1eb0761
Closes-bug: #1564943
2016-04-26 14:24:38 +03:00
asledzinskiy 78ca9eb56e Add decorator to check snapshot logs
- Add check on snapshot logs for master, controller, compute
- Add decorator with checking snapshot logs to
deploy_multirole_controller_cinder test

Change-Id: I5507908b73e8d464adbcd42220e93d8fc9f62e9a
Closes-Bug: #1541779
2016-04-05 17:40:28 +03:00
Alexey Stepanov 79de91cdc0 Python3 code compatibility: Stage2.2 - API changes
six library usage is enabled for non transparent compatible code

blueprint fuel-qa-python3-compatibility

Change-Id: I2a636c72454809e59545ec20c3cb52124fd9753a
2016-03-28 11:32:52 +03:00
Alexandr Kostrikov c3c4fea1cd Fix nailgun puppet path
Nailgun manifest path has been changed and
we need to update it.

Change-Id: I19dc3d4cfd657dcd4cd83c292c33b18bc9bb6d86
Closes-Bug: #1549447
2016-03-24 13:24:44 +03:00
Jenkins ca50c2f7a5 Merge "Python3 code compatibility: division, round" 2016-03-23 11:30:40 +00:00
Jenkins 1c1c39b684 Merge "Delete Centos bootstrap usage" 2016-03-23 10:03:08 +00:00
Tatyana Leontovich a76dfd31ff Delete Centos bootstrap usage
Centos bootstrap was depricated in 8.0 and deleted in 9.0,
so we need to clen the code


Closes-Bug: #1560579
Change-Id: Ieeba0a1d08f3be8bc88f7abfb2fb109023c672ac
2016-03-22 17:01:51 +00:00
Alexey Stepanov ed07d4aae7 Python3 code compatibility: division, round
Make division transparent-compatible (from __future__ import division, // for strict int result)
Do not use round due to different types of result objects

blueprint fuel-qa-python3-compatibility
Related-bug: #1556791

Change-Id: I7bb173c6f97ac046af45c3f52cc32846a93a8981
2016-03-22 17:56:24 +03:00
Jenkins 1e4fa2822f Merge "Enlarge timeout" 2016-03-22 14:07:28 +00:00
Alexey Stepanov ee4eaaaf10 Pylint: fix trivial issues 9
fix: undefined-loop-variable - at some places it's fake fail,
 at 2 places was a real problem
Related-bug: #1556791

Change-Id: I321d82cac0a3c031c43fd9e1bcbf9bfaab3b1164
2016-03-22 13:07:03 +03:00
Egor Kotko 1d37e67efe Enlarge timeout
Enlarge waiting timeout after destructive
action with mysql

Change-Id: I1e446f6074c19ad004f669bad1d2de0175999531
Closes-bug: #1544892
2016-03-18 12:28:14 +01:00
Alexey Stepanov 4c6ef9699b Python3 code compatibility: filter, map, zip
Do not use filter(), map() or zip() for not iterator tasks

blueprint fuel-qa-python3-compatibility
Related-bug: #1556791

Change-Id: I6e031ed2ca18080a15eecd5d0c1db275f9ec9aa1
2016-03-18 10:44:09 +03:00
Alexey Stepanov b661d47b32 Pylint: fix trivial issues 2
Change-Id: Id29cb8831714fd96960f85c29d866084a5565f5c
fix: invalid import order, double import, relative import, no super call, instance defined outside of init, incorrect __all__ variable
Related-bug: #1556791
2016-03-16 10:30:31 +03:00
Alexey Stepanov 37009b912a Pylint: fix trivial issues 1
Change-Id: Ie847c0c91f4de31d19e559ab6becaf0a3934a7d0
fix: invalid indent, incorrect formatting, incorrect type check
Related-bug: #1556791
2016-03-16 10:30:12 +03:00
Alexey Stepanov d1f38aaf77 Check, that plugin path is set and points on real file before test run
1. Implemented method: checkers.check_plugin_env
2. Used in very start of tests (example):
checkers.check_plugin_path_env(
    var_name='EXAMPLE_PLUGIN_V3_PATH',
)

Closes-bug: #1550242
Change-Id: I3efcf84c22a4abe783b2b3f04825983f279aab4e
2016-03-10 10:46:37 +03:00
Dmitry Tyzhnenko 7f3fb9da40 Replace ipaddr to netaddr
Remove ipaddr from fuelweb_test/requirements.txt and use netaddr
    in test cases instead of ipaddr

Use string for creation of netaddr instances

Change-Id: Idc86dcaae6f10c13b04095fb11fa9351b130deb8
Closes-bug: #1544148
2016-03-09 21:32:01 +00:00
Jenkins 38ea59efd8 Merge "Advanced features are enabled in nailgun" 2016-03-09 10:33:37 +00:00
Alexandr Kostrikov 826eb41b1a Advanced features are enabled in nailgun
Settings should be enabled not only in
astute, but also in nailgun.
That is done via application of puppet
manifest of nailgun.

Change-Id: I2a1ba27ee6c73fd32d0b318181c3c6b2a10e2d58
Closes-bug: #1549447
2016-03-03 19:53:28 +03:00