Commit Graph

72 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
Sergey Novikov 6e43df6df6 Remove a deprecated fuel migration test
Change-Id: I1f9a0f909c823b4baf50891f943e0e4f8be8bbd3
Closes-Bug: 1671805
2017-03-16 12:33:55 +00:00
Igor Gajsin a0838e91a9 remove vmware
VMware not supported since Fuel 10. So we should stop test it.

Change-Id: I5996520ded3419fd2ce2cb1e76056eed157bfffb
Implements: blueprint remove-vmware
2017-02-15 11:03:42 +03:00
Alexey Stepanov 0649c4fd20 Replace deprecated constants by direct usage
self.d_env.admin_net = 'admin'
'nat_interface' = ''
This patch is reduces warnings amount during
tests run on fuel-devops 3.0.3+

Change-Id: I2bf54952bff79b9483c121a78383e136bcd2a351
2016-09-29 11:53:50 +03:00
ibumarskov f35cbf50f9 Implementation of TC with uploading CA bundle file for vCenter
Change-Id: I9339801647a7083c6c629a92416ab7f866606e75
Closes-bug: #1623864
Blueprint: custom-ca-bundle-verify-vcenter-cert
(cherry picked from commit fbc83fa059)
2016-09-22 08:46:09 +00:00
Jenkins cee32166f9 Merge "Add tests for vCenter cluster actions" 2016-09-08 16:50:04 +00:00
ekhomyakova 10c8cf7fc1 Add tests for vCenter cluster actions
Test cases:
1. Reset and redeploy cluster with vCenter after succesfull deployment
2. Stop and redeploy cluster with vCenter with new parameters
3. Redeploy cluster with vCenter after failed deployment

Closes-Bug: #1612578
Change-Id: Ia0de031e9c6d7a72f126a28b8e150496350c5a87
2016-09-02 16:34:30 +03:00
ibumarskov 06cee3fd77 Add tests with changing of vSphere cluster configuration
Change-Id: Iddad9ea9127ce46eab94d3b3f74d828f53aad8df
Closes-bug: #1612584
2016-08-26 13:49:50 +00: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
ibumarskov 89db499ebd Add test for checking HA after scaling of vCenter enviroment
Change-Id: I7a0f3c47e1029894e811bc886c32b04c5773a3de
Closes-bug: #1611820
2016-08-17 14:16:35 +00:00
Artem Grechanichenko 63ee810635 Refactoring of setup_master method, get_setup method, setup_master action
Change-Id: Ib6bc673345f4337c11a7af45f58c217fe0272c39
Related-Bug: #1604410
2016-07-20 14:52:56 +00:00
zatserklyany 573ded4401 Refactor finding flag of finishing migrate process
Change-Id: I17d37d7604aee4d5efae7fa4123621f0c2c630d4
Partial-Bug: #1576276
Partial-Bug: #1603488
2016-07-18 17:47:03 +03:00
ekhomyakova a339f77220 Fix failover tests for vCenter
Change-Id: I467b1914a4b334a0370f14f9f578c367b752ee89
Related-bug: #1575742
2016-05-26 17:10:52 +03:00
ekhomyakova 65d44cb6a1 Added failover tests for vCenter
Change-Id: I6b0a3691223fbd89fe46667243b48b1398e936c2
Closes-bug: #1575742
2016-05-20 14:50:25 +03:00
Ilya Bumarskov b2a521336e Fix scale tests for vCenter
Change-Id: Ia1530ba3e562592b1c0fdf32dc9de370c1370d2f
Closes-bug: #1581464
2016-05-18 12:14:49 +00:00
Jenkins cec46a07ad Merge "vCenter tests with OpenStack actions for cinder and nova" 2016-05-12 09:56:07 +00:00
Ilya Bumarskov 0811713cc7 vCenter tests with OpenStack actions for cinder and nova
Change-Id: If98635479026b4df60354904e543b18d3abc81d4
Closes-bug: #1570048
2016-05-11 17:14:36 +03:00
Artem Grechanichenko fa522254a4 template-based test for fuel installation on Centos node
Add test for testing Separate master node deployment
on pre-provisioned Centos 7 server

Change-Id: I9b9d40a59d24f579502a38dfc9b8c142bc219a06
Closes-Bug: #1575650
2016-05-04 09:57:31 +03:00
Ilya Bumarskov 2dc510fe14 Fix for enable DVS plugin
Change-Id: Ie5c0556f919f517b8d370bdda47c8e84e2f03631
Closes-bug: #1577686
2016-05-03 11:19:32 +03:00
Jenkins e7c9eb48ac Merge "Fix fuel master node migration test" 2016-04-22 09:03:12 +00:00
Dmitry Tyzhnenko 415044aa99 Add support devops 3.0 into fuel-qa
Blueprint: template-based-testcases
Change-Id: Ie641be08bc192f051be755a519210749397df5b5
2016-04-21 10:12:52 +00:00
Dmitriy Kruglov ac04cb9c94 Fix fuel master node migration test
- Move assigned_slaves attribute from class scope of BaseActions
class to instance scope of ActionTest class. This is to have this
attribute reset before each template based test of the same run
(otherwise it brings slave info from the 1st test to 2nd and so on).
- Add waiting for cluster nodes to be online after migration.

Change-Id: Ie6e6df4932603e84f66023c6843d58a0d9470f68
Partial-Bug: #1559050
2016-04-21 09:02:27 +00:00
Ilya Bumarskov be282374d9 Check public ip and gw for vmware related roles
Change-Id: I07d6d3e53e729c5a99c6a1685882cb5bcce22ea1
Closes-bug: #1569387
2016-04-14 12:54:59 +03:00
Ilya Bumarskov 9307ef7e18 vCenter functional tests
Were added following vCenter tests:
- Deploy vmware roles with custom hostname
- Check vmware settings in nova configs
- Check nova services
- Check cinder-vmware services

Closes-bug: #1567815

Change-Id: I51f0ffffe131f4bfd6336a81ee99fc87bb621063
2016-04-08 14:40:38 +03:00
Ilya Bumarskov ecb2d140db Add new integration tests for vCenter 9.0
Was fixed test with deletion of controller node.
New integration tests were added:
- vcenter_multiroles_computevmware_cindervmvare
- vcenter_add_computevmware
- vcenter_delete_computevmware

Closes-bug: #1567813

Change-Id: Id2cd44077537c51722e3da947dbef227d6f562e8
2016-04-08 13:27:04 +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
vgorin 1659416549 Refactoring functions in checkers.py(part 3)
Following functions were changed:
  * external_ntp_check
  * check_available_mode
  * check_auto_mode
  * is_ntpd_active
  * wait_phrase_in_log
  * get_package_versions_from_node
  * check_swift_ring
  * check_neutron_dhcp_lease
  * get_file_size
  * backup_check
  * restore_check_sum
  * iptables_check
  * check_mysql
  * external_dns_check
  * verify_bootstrap_on_node

Following functions were moved to utils.py:
  * get_package_versions_from_node
  * get_file_size

Following functions were deleted:
  * restart_nailgun
Related tests are also modified.
Implements: blueprint sshmanager-integration

Change-Id: Ic576b627728df222f9f2518e3bc6f378c8d1bce3
2016-03-02 14:52:45 +00:00
Dmitry Tyzhnenko 82b392284a Refactoring of system_test classes
Some design of system_test packages:
    - move actions to separate package
    - move core fuctionality to core package

Change-Id: I7b12380a687c9cccbd44d79819f842b1b2470cd5
Implemets blueprint template-based-testcases
2016-02-25 16:53:59 +02:00
Alexey Stepanov 70106730d9 Python3 code compatibility: Stage1
1. Fix imports (lovercase imported as UPPERCASE)
2. Fix local variables (CamelCase/UPPERCASE)
3. Use Python3 compatible syntax, when it possible
4. Define attributes in __init__
5. Remove redundant parenthesis
6. Add /logs to .gitignore (to prevent log publish and remove fake git status notifications)

blueprint fuel-qa-python3-compatibility
Change-Id: Ifd60646055d07f888b2e204083b99d9db507f93e
2016-02-17 11:36:59 +03:00
Dmitry Tyzhnenko c106f6be54 Add new runner for system test
For run the tests from both test suites (fuelweb_test, system_test) we
    may use new runner - run_system_test.py.

Changes in framework:
    - add @testcase decorator use instead of @factory

Features of new runner:
    - auto discovering all test in both test suites
    - show the groups from the test suites
    - explain content of groups
    - run the several groups at the same time
    - combine configuration with the test groups from new suite
    - run old groups
    - use runner in utils/jenkins/system_tests.sh

Changes in tests:
    - remove @factory function
    - add @testcase to each test class

Change-Id: Ic4086dde60ca8a94dcd2ee079376c97ce719ff03
Implemets blueprint template-based-testcases
2016-02-11 16:58:39 +02:00
Jenkins 4ec0506889 Merge "Enable 'VMware datastore for images' option in related tests" 2016-02-01 09:14:18 +00:00
Ilya Bumarskov cdb7e22a14 Enable 'VMware datastore for images' option in related tests
Change-Id: I6123c3be9d8e9b86b3517fca0767994a0432dfc2
Closes-bug: #1539453
2016-01-26 19:38:18 +03:00
Alexander Gromov d5d99fad5c Added Ironic support for configs.
Added possibility to deploy environments with Ironic using yaml templates.

Change-Id: I5e6264057e6a3e50f50e03605ae9f8125744b02e
Closes-Bug: #1534559
2016-01-23 22:47:12 +03:00
Jenkins a58ebbff1e Merge "Add method for update plugin settings" 2016-01-22 13:32:10 +00:00
Ilya Bumarskov 692bc08bb9 Add method for update plugin settings
Plugin API was changed. If we have several installed versions of same
plugin, it's necessary to take into account his id to configure settings.

Change-Id: Ie8da43addfc36901af73d232b191cd6a77a523bc
Closes-bug: #1533085
2016-01-18 22:54:05 +03:00
Jenkins 0630e7d91f Merge "Add several common actions and tests" 2016-01-18 09:44:16 +00:00
Roman Podoliaka 7fac46b45e Force time sync after making a snapshot
fuel-devops suspends nodes one by one before taking a snapshot of
each node. This can lead to slight clock skew after resuming of the
environment later (what we see in #1525214 , when one of controller
nodes is 1-2 minutes behind, which causes Keystone to treat issued
Fernet tokens as invalid).

Force time sync after making a snapshot and resuming an environment
in save_load_environment action.

Change-Id: I93ea8bbc297b1b41b6badef5bf5194d8f75c68b8
Closes-Bug: #1525214
2016-01-15 19:29:53 +02:00
Dmitry Tyzhnenko 20855e49c0 Add several common actions and tests
Added tree common action to BaseActions:
    reset_cluster - reset deployed clusert
    delete_cluster - delete already deployed cluster
    stop_on_deploy - stop deploying in 50 percent progress

Added common tests:
    RedeployAfterReset
    RedeployAfterStop
    DeleteAfterDeploy

Implement blueprint template-based-testcases

Change-Id: If3a3ab31a0960a9a42dde4edcc0fb618a12259b3
2016-01-12 14:51:56 +00:00
Alexander Gromov 103146770e Added DVR, L2 population and L3 agents HA support.
Added possibility to deploy environments with DVR, L2 population and L3 agents HA
(Neutron options) to system tests templates in fuel-qa.

Change-Id: I45b9a2b96cd7af218c4715cec0c7478b5d7bb387
Closes-Bug: #1529230
2016-01-11 09:07:49 +00:00
Dmitry Tyzhnenko d870a1e3a8 Add Setup and Teardown method for cases
Use 'case_setup' and 'case_teardown' methods in the test case
   for do some preparing and cleanup tasks

Change-Id: I303187a93dfd835aa2126cdf4ec154e08ff58d75
Implements blueprint template-based-testcases
2015-12-29 13:23:15 +00:00
Jenkins a4473a9dae Merge "Fix migration status check" 2015-12-28 08:43:51 +00:00
Dennis Dmitriev 563df4edd9 Don't initialize models while building test plan
- move self.env from attribute to a property in TestBasic class.
- save devops template to TestBasic attribute in order to
  prevent environment model initialization without config

Change-Id: Ifd3ae4db66f37992ff8f956491882915f8fc1ec3
Closes-Bug:#1528491
2015-12-24 00:36:53 +02:00
zatserklyany df75ec8890 Fix migration status check
Closes-Bug #1528585

Change-Id: I61d1d4c5a46400c8a432894f7ea60fdc79dd83a7
2015-12-23 12:56:52 +02:00
Jenkins af5b5952d1 Merge "Add scale tests for vCenter+DVS" 2015-12-23 05:46:45 +00:00
Ilya Bumarskov d23ae0f429 Add scale tests for vCenter+DVS
Change-Id: I0efc8f97adb0eaeb83a321db4cb4508f99258e5e
Closes-bug: #1528131
2015-12-21 16:08:40 +03:00
Dmitry Tyzhnenko 16c327382b Fix time consuming in the description uploader
Remove creation of extra groups. Only one is valid -
    test_group(config)

Reuse internal proboscis tool for discover cases.

Change-Id: Ieb9434750c678e9adfd580026530b3fe3225c4b0
Closes-bug: #1527290
Closes-bug: #1527199
2015-12-21 10:03:39 +00:00
Ilya Bumarskov e98ef8cb59 Update vCenter tests for 8.0 release
Change-Id: I7fff70f9149dcc8e9bbb73e2c4471594c0249e2b
Closes-bug: #1524645
2015-12-11 09:30:48 +00:00
Dmitry Tyzhnenko d698b2c2a0 Add test for example plugins into system test
Add test cases for Example Plugin

Implements blueprint template-based-testcases
Change-Id: I4352dd895f7686445e1764cd3f026611265450e5
Co-Authored-By: Vladimir Khlyunev <vkhlyunev@mirantis.com>
2015-12-02 08:31:21 +01:00
Jenkins 58ae9a57af Merge "Fis mistypes with affect on API" 2015-11-27 11:15:40 +00:00
Jenkins f18db62c48 Merge "Extends system tests to use devops template" 2015-11-27 10:30:30 +00:00