The autoscaling timeout in Ceilometer is 600 seconds,
we need to make sure autoscaling will make an alarm
in Ceilometer withing timeout*2 + several seconds to
pass this test in 100% of cases.
Change-Id: I6b2a43e4acb4b8d76641ee314ca19e67b999500a
Closes-Bug: #1584190
This option needed for running test on environments with enabled SSL.
Also change template for this test to make it ready to debug. Now
you have instance with floating ip and outputs with needed urls.
Change-Id: Iaa0f4549586e3c421e3b7fe4573a61e0131d2e9e
It looks like Heat OSTF test has small timeouts for
operations with stack and we need to increase timeouts
to avid false-negative results.
Change-Id: Ia24fda69682c7e079414f725fe78b5484a191d35
Closes-Bug: #1567727
Recently, a few new bugs associated with timers and error
'failed by timeout on step wait stack CREATE_COMPLETE status'
Research has shown that an error in most cases occurs due to a
slow environments.
Typically, a small amount of RAM (<3 GB).
Tests autoscaling and wait condition require more than 7 GB
Also increased the other timers in (+ 120s in verify steps,
+ 30s in create stack steps, +10s in some other.
Change-Id: I8066581e6358e84655ac3b419dcaa324e4f57aca
Closes-bug:#1544179
Closes-bug:#1539721
Closes-bug:#1525200
Now Ceilometer does not support cpu_util metric. Thats why
it was needed to rewrite existing test_autoscaling to use another
metric (network.incoming.bytes).
Change-Id: I2cfda7624c9736e68d1d2fde4cdc37457cf5a593
Closes-bug:#1538166
This change increases the timeout for the heat create stack action from
20 seconds to 60 seconds. The UCA provided heat seems to take longer
than 20 seconds for the stack to be created and when the timeout hits,
all of the associated networks and flavors disappear which leads to
stack failures. Additionally this change increases the timeout for the
wait for the stack to be deleted from 180 to 300 as it appears the
creation and deletion from a rollback takes longer under UCA packages.
Change-Id: I0f0fe597d125ef71764fc239055de59e33a92b75
Related-Blueprint: deploy-with-uca-packages
It will check work of wait condition and wait handle Heat resources.
For this test, enough the creation of a working stack
Change-Id: I47c65cf7ebf34299d9ef47da6ed815c85b7834f3
Closes-Bug: #1514495
Since we are introduced deployment tag for this test
we do not need to skip test_autoscaling by code
Change-Id: I7ec7309e3445e52fe58f27da98474f23ee791bd4
Closes-bug:#1513824
If a user deletes the net04_ext network, Sahara and Ceilo platform tests
will fail. If the user deletes the net04 net, the same tests will fail,
too. To fix the issue network resources (a network, a subnet, a router)
will be created before tests to avoid such failures.
Closes-Bug: #1469877
Change-Id: Ic6132e6b55c9ab81c6236e7217f6bdd13b1c3bbe
- Made code style changes in test
- Removed unused functions
- Optimize some functions by removing dubbed code
Partially implements: blueprint heat-ostf-test-refactoring
Change-Id: I55ceadfba19a7aa23d5104fa78569ec34e56b45b
Refactored 'test_actions', 'test_update', 'test_rollback' tests:
- Made code style changes
- Unified _get_stack_objects method to work not only with resources
Partially implements: blueprint heat-ostf-test-refactoring
Change-Id: I7e25f303c8aed4a588e9ea107b5c84d07262ca68
- Removed passing of 'client' as an argument of some methods
- Removed _find_stack method, use _get_stack instead of it
(because of it implementation of some method which previously
used _find_stack was changed, now they use _get_stack)
- Replaced " with '
- Improved logging of some methods
Partially implements: blueprint heat-ostf-test-refactoring
Change-Id: I06d20075048c985ca0125173bfed0ccb7573c60b
- Optimized work with stack resources, added new method _get_stack_resources()
that allows to return list of any desired stack resources (not only servers)
by some criteria. In the next commits _get_stack_instances method will be
removed and all other tests will use _get_stack_resources().
- Added checks for statuses of resources.
- Made some code style changes.
Partially implements: blueprint heat-ostf-test-refactoring
Change-Id: If24c86c257ff4f85156cfebd03e444047db8adc3
In Heat OSTF test 'Advanced stack actions' there was wrong order
of checks during step 9. We firstly checked status of resource
and only after that status of stack, that's why first check failed
(because the resource does not have time to go to the desired status).
Now we change order os checks and firstly wait until stack status will
change to 'CHECK_COMPLETE' - it is a guarantee that all stack resources
also have to be in 'CHECK COMPLETE' status.
Partially-Implements: blueprint heat-ostf-test-refactoring
Change-Id: I524de4fc4a373558a098fcb6e37d12c143fa0416
Heat tests were updated, now they use test created flavor instead of
hardcoded standard, also 'test_rollback' now use extra large flavor to
cause stack rollback (old mechanism when test uses non-existent flavor
doesn't work now, because of changes in heat: it is not allowed to
start stack creation with non-existent flavor, image, etc)
Change-Id: Ie2e76bac576f3bae7cbf21280eb632c2bcb6e6bb
Closes-Bug: #1469388
Node plagin run tests in adc order,
as result platfrom tests runs before smoke, that is wrong
So platfrom_test to tests_platfrom
to get smoke tests executedbefore platform
Closes-Bug: #1465238
Change-Id: I91774614afb7edc0ecec3f5b592b75db224ac543