VMware not supported since Fuel 10. So we should stop test it.
Change-Id: I5996520ded3419fd2ce2cb1e76056eed157bfffb
Implements: blueprint remove-vmware
Default fuel-bootstrap-cli conf file which is provided
by the package does not contain repos. We need to update
repos from astute.yaml before being able to build bootstrap
image.
Change-Id: I30ed1c372e7b2107f810e784c1d56807d3412527
Closes-Bug: #1644411
(cherry picked from commit bd45d96f39)
Add new mapping structure for openstack/puppet-projects
For each project in openstack/puppet-* projects(limited by project described in
github.com/openstack/fuel-library/deployment/puppet/openstack_tasks/Puppetfile)
will be mapped fuel-qa system-test in gates_tests/helpers/openstack_puppet_modules_mapping.yaml
mapping=['system_test']=[list of openstack/puppet-projects]
Mapping takes project edited in review and register single test group -
"review_in_openstack_puppet_modules" which mapped to system_test from mapping.
Change-Id: I16d8015be6e02717893955b45f7c718413ee8c10
Closes-Bug: #1590066
1)As we have method for rebuilding bootstrap with packages from review
so no needed upload this package to master node and rebuild boostrap manually
and manually updating nailgun agent
2) moved update_bootstrap_cli_yaml to helpers/utils
3) removed not needed methods
Change-Id: I42008d795fc2875386144c10ec557ccc8e25df49
Closes-Bug: #1590331
-Extend fuel-agent gate with ironic checking.
-Refactor update_fuel_agent_rpm method to be more universal
-Change updating fuel-agent in bootstrap to use fuel-bootstrap methods
-Delete patch_and_assemble ubuntu bootstrap method
Change-Id: I495e8c15ad05188bb0312ca8cf4fbc1169a88bae
Closes-Bug: #1551156
We switch gate test to usage of ssh_manager,
where raise exception if exit code =! 0 is set by default.
But when we stop ostf service, systemctl status ostf never return 0,
so that we got false negative results.
Change-Id: I9dfb2501921dae8b1ce84a71de8ca794d227daed
Closes-Bug: #1567889
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
If review_in_fuel_library launched by scheduler or manually -
then no GERRIT_* environment variables will be exported so need to
execute "bvt_2" system test
Change-Id: I535d36823e79ada5ecc1c52efb082ba3166d2d11
As part of fuel-library-gates, adding mapping structure for puppet modules.
For each system-test as a key exist list of deployment/puppet,
deployment/Puppetfile, osnailyfactor/modular modules which it's system-test covers.
Mapping takes list of modules edit in review and register single test group - "review_fuel_library"
which mapped to system_test from mapping.
Change-Id: Ibce134668d74914bc6e3c5bdabadf6b5312dd3de
Closes-bug: #1529787
Add gate test for nailgun agent:
* should be run by group review_nailgun_agent
* CUSTON_ENV should be false
* UPDATE_FUEL should be TRUE
* UPDATE_FUEL_PATH path to nailgun-agent rpm
Change-Id: I8e2057ef61a53e704926bcb79a26b38cdcc5ad7a
Closes-Bug: #1551346
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
As we don't use docker containers referring to
https://review.openstack.org/#/c/277427 then need to delete duplicated
part of code in replace_fuel_agent_rpm method.
Change-Id: I37f617e468018e686a8438950fa35ba70442e33a
Closes-bug: #1543573
The thing is that some of our tests try to
update a package inside a docker container.
This patch fixes this.
Depends-On: I9c2a3b1f988ba9bb937546eab2a0dbe84d19b18b
Implements blueprint: get-rid-docker-containers
Change-Id: Ic334044d522de466f16f3c56ad5ac56323ab6926
Add gate test for Astute that should be executed for each review in openstack/fuel-astute repo.
Next variables should be exported:
UPDATE_FUEL=True
UPDATE_FUEL_PATH=/path/to/rpm/to/be/downloaded
Test depends on ready_with_3_slaves, so it is better to run it with -k/-K options.
Scenario:
1. Revert environment ready_with_3_slaves
2. Upload package
3. Update Astute rpm package from review
4. Update network configuration
5. Create env
6. Update nodes with roles: controller, compute, cinder
7. Deploy cluster
8. Start ostf tests to check that changes do not reproduce regression
Change-Id: I4de4513e0f9186fda8750a74b44b5cff0edfbc21
Move assert_equal method in to if construction for replace_fuel_agent_rpm
method in gates_tests/helpers/utils.py
Change-Id: Ia6ae4d6930355110f15f81cf132e1cec0cacd1dc
According to ci gate job builded packets from review to directory,
which include not only fuel-agent*.noarch packets, need to change
parsing pattern
Change-Id: If17ff7f78e9ff6b1cee4fac4d5262e4baa3e6f1d
Using FUEL_AGENT_REPO_PATH to having access
to fuel-agent review code in patch_and_assemble_ubuntu_bootstrap
and patch_centos_boostrap methods
Change-Id: If436e3fa7ace8aa5d607b06d5566a543d23ac30e
Fixed invalid network provider in test_review_in_fuel_agent
Add full_pack_path to for avoiding of situations with the incorrect naming
of fuel-agent rpm package
Change-Id: Idf28ee751166f570f352f9423af6e0cd7e896382
Add gate test for python fuelweb that should be executed
for each review in openstack/python-fuelweb repo.
Next variables should be exported:
UPDATE_FUEL=true
UPDATE_FUEL_PATH=/path/to/source
Test depends on empty,
so it is better to run it with -k option.
test_group: review_fuel_web_deploy
Scenario:
1. Revert snapshot "empty"
2. Apply changes into nailgun
3. Get release id
4. Update networks
5. Bootstrap 3 nodes
6. Create cluster
7. Add 1 controller nodes
8. Add 1 compute node
9. Add 1 cinder node
10. Deploy environment
11. Run OSTF
Change-Id: I69ab8b657e996bec74333900f8a5e6d521c0743c
Adding gates_test/helpers/utils patch_bootstrap methods
to rebuild centos and ubuntu bootstraps to use new code
from fuel-agent review.
Methods for CentOS bootstrap commented and unused.
Change-Id: I8cc601dfa53f71b4e1d78814ce451ea9d98940e9
Closes-Bug: #1519880
Add gate test for python-fuelclient that should be executed
for each review in openstack/python-fuelclient repo.
Next variables should be exported:
UPDATE_FUEL=true
UPDATE_FUEL_PATH=/path/to/source
Test depends on ready_with_1_slaves,
so it is better to run it with -k option.
Scenario:
1. Revert snapshot 'ready_with_1_slave'
2. Apply changes from review
3. Bootstrap 1 node
4. Show releases list
5. Create cluster over cli
6. Update networks
7. Update SSL settings
8. List environments
9. Add and provision 1 node with controller role
10. Deploy node
11. Delete cluster
Change-Id: I0af077a7121e7978f2612b213e4905d07e57c0e9
To avoid false positive result in gate fuel library test add next assertion:
* We have packages that should be updated - if not raise error
* Packages from review is higer version that installed - if not raise error
Change-Id: I065bef8f73d2abdb1b3a905a2720a2db5277e4fc
Closes-Bug: #1523466