Federico Ressi
946e59680e
Fix pylint errors (raise-missing-from)
...
Change-Id: I02a00ed6b3611606785a3521361bf88705d42e07
2 years ago
pinikomarov
154c0981f5
add workflows create and check for octavia specific test scenarios
...
Change-Id: I95ceb3fcfaa11c177d904891b5aabb898f938d86
2 years ago
Federico Ressi
8915ded3da
Update time tools
...
Change-Id: I52b8e5f8fc0dbbfb2c10a80929e52ec1e043427f
3 years ago
Federico Ressi
0b7446dc64
Use default timeout for SSH reconnection when executing command
...
Change-Id: I0af27f443847b39ef4bd9a57987953380424742d
3 years ago
Federico Ressi
ab3debf791
Re-connect to SSH server when connection is broken
...
Change-Id: Ifac16b1cc7fbc10ce01ee7f5346ddfe86de9fee7
3 years ago
Zuul
afa575291d
Merge "Remove duplicate exception tracebacks from test reporting"
3 years ago
Zuul
2cdb143a57
Merge "Check every server ID is unique and new after server creation"
3 years ago
Federico Ressi
a4a83b3de9
Check every server ID is unique and new after server creation
...
Change-Id: I3537a57856380465ad50fd8808cde53ebb64d2d3
3 years ago
Federico Ressi
d3c3fbf4fc
Retry flaky test cases pinging inner router
...
Change-Id: I57d8d576dc4119df8c960c33b76776e2d71f4dcd
3 years ago
Federico Ressi
33d90c7f2b
Remove duplicate exception tracebacks from test reporting
...
Change-Id: Idae9c7edf55a33f9d58dc72213aa88c52130c5c3
3 years ago
Federico Ressi
d3b5eb36b3
Write traceback on failed retry attempts
...
Change-Id: Iec491a246826ad6a750eff9237f927b9ba09ebbf
3 years ago
Zuul
9786cb310b
Merge "Add timestamp, level and modulename to the format for capture log"
3 years ago
Zuul
ec4fc97581
Merge "Refactor testcase module"
3 years ago
Federico Ressi
37d2ea4011
Add timestamp, level and modulename to the format for capture log
...
Change-Id: I7f612203d2fe95181a7cd4093d889df745339b6a
3 years ago
Federico Ressi
4196a21048
Refactor testcase module
...
Change-Id: I2e45e73af87c29ec6395188008f4679a2c9a204c
3 years ago
Slawek Kaplonski
84ba0d7681
Use default logging format in Tobiko logs
...
Devstack's function "setup_logging" is setting format of log lines
to be correct in systemd and that works for services like Nova or
Neutron well in the CI when Devstack is used.
But for Tobiko logs it logs entries without timestamps which sometimes
can make debugging of the issues harder.
So this commit is removing call to setup_logging function in the
Tobiko's devstack plugin. Lets use default log format provided by the
oslo_log.
Change-Id: I4930d103b331258852b94243f61791e532b1c048
3 years ago
Federico Ressi
d4b26b98cf
Directly use _overcloud and _undercloud private names from topology.py
...
Change-Id: I6831cdda8d9d2c645337c4f5eb184ec3578d675e
3 years ago
Federico Ressi
0b6c975fe5
Improve retry APIs
...
- add retry_test_case decorator
- make typing more explicit
- add support for default retry parameters
Change-Id: I0a5feb9f826416e45cc51bebf467e576c91ebb29
3 years ago
Federico Ressi
07fa7d1b3e
Try multiple tripleo RC files for OS credentials
...
Change-Id: I6e4a18bc712662171bb4b50d62e29ecf5cabd061
3 years ago
pinikomarov
cce0efc4e0
make 0vercloud_health_check the first to run
...
Change-Id: Ia21186abf06daa1e6eacd5ef60a4a5794ef46eb7
3 years ago
Federico Ressi
6dcb631a08
Use retry tool for waiting for healthy Nova services
...
Change-Id: Idd8976a67f175363267c4a89ae0a289d0fe76154
3 years ago
Federico Ressi
7dfc3a71fd
Create retry tools
...
Change-Id: If50ced31993b2386fec6f07030e7c4cb5373c238
3 years ago
Federico Ressi
23dd723834
Create time tools
...
Change-Id: Id19494b9d66dc9a3f4d3d50ba981c0522d544ae4
3 years ago
pinikomarov
fe25bf5cab
server stack creation : leep for 20 sec , ensure no race condition with ssh
...
Change-Id: I675fbe5c3f33f3cb317b86867048dddc1c4f5142
3 years ago
Zuul
334d0370fd
Merge "pacemaker - increase timeout - some envs take longer to recover"
3 years ago
Zuul
6cff1c9129
Merge "test_servers create : wait 5s between vm creation and ssh to avoid race condition"
3 years ago
pinikomarov
76327e955c
pacemaker - increase timeout - some envs take longer to recover
...
Change-Id: Ic411358f9559f50d56054a079b1568778640e238
3 years ago
pinikomarov
01153bbf7c
fix workflow check resources faults into a dict
...
Change-Id: Iaae3c0e4da8524ef49d45da4f32d6133f1d224b3
3 years ago
pinikomarov
5bd2f27f5b
test_servers create : wait 5s between vm creation and ssh to avoid race condition
...
Change-Id: I0443d4bdba8792d66a58d6b6ebe118c7e0ef74f0
3 years ago
Zuul
e387cdc5bb
Merge "InstanceHA skipp ping for shutdown vms test"
3 years ago
pinikomarov
b01d469786
InstanceHA skipp ping for shutdown vms test
...
Change-Id: I72bd209a04274cfdeea53476476cd344175eeb02
3 years ago
pinikomarov
9842c60dc0
assert_all_tripleo_containers_running remove clustercheck
...
This is a w/a to unblock composable roles jobs
future fix will do conditional conrainer checks based
on topology nodes
Change-Id: Id1967a13566f4ff6a2bd5b08afbb1db4e6ded4e5
3 years ago
Federico Ressi
de2ff697bd
Remove -j0 option from pylint pre-commit hook
...
Change-Id: Id6c920c87b97a8de4e5ee9574d0296651c3b1307
3 years ago
pinikomarov
ad44adac54
put evac image into maintanance untill we add a logic to delete evacuable image if any failure
...
related issue:
https://trello.com/c/5U4yicBN/410-instanceha-tests-make-evac-delete-itself-if-that-test-fails
Change-Id: I1409624f443fa053eb36da73586f4c85ea01dbcd
3 years ago
pinikomarov
6ad118fcfd
cirros 0.5.1 is doesnt boot switch to 0.4
...
related bz:
https://bugzilla.redhat.com/show_bug.cgi?id=1858972
Change-Id: I425bf2a5d95f39fcebf2239874b9df02e33e69cc
3 years ago
Eduardo Olivares
e4a03c24cb
Fix test_network_disruptor_main_vip: wait for pcs failure after disruption
...
This test was failing due to a race condition
When the network disruption occurs, it checked immediately pcs status,
obtaining all pcs resources were running
This validation was performed right after the disruption and some delay
was needed to find some pcs resources down
Change-Id: Ic3ccaf550d9b617be022a2e4adaaf8894956316d
3 years ago
pinikomarov
afaf06f329
add check-resources-faults check for post upgrades/updates checks
...
Change-Id: Ic116e9f1c81cb6bd9d64f65e77dd143d6855f038
3 years ago
pinikomarov
2be9ea1649
delete evacuable tagged image because it prevents non tagged evacuations if exists
...
This is so that the other IHA tests won't fail
Change-Id: Id2cf3a3ac09e20633e23f47ba0597d17e6372bff
3 years ago
Federico Ressi
9fb9f31103
Retry creating remote SSH process on SSHException
...
When trying executing a remote process via Paramiko
client there is a list of things that can get wrong.
If a Paramiko exception is raised and it is not
because of timeout expiration, then reconnect
SSH socket and and retry creating the process.
Change-Id: I56e275a57c3e770366182ce6e5ecef07700308ec
3 years ago
Zuul
956790f250
Merge "increase pacemaker timeout and limit pcs output to reduce false negatives in checks"
3 years ago
Zuul
808fa4cd42
Merge "Fix pre-commit hook Git urls"
3 years ago
Federico Ressi
0ab14daf73
Enable logging debug lines by default in infrared plugin
...
Change-Id: I16f13abd419e803a9eb92fc24c2930b267a07479
3 years ago
Federico Ressi
f66f9bd77d
Fix pre-commit hook Git urls
...
Change-Id: I72d6af9c0e6aebfa0117ef1aaaed965490e98281
3 years ago
Zuul
5305fc49a2
Merge "Fix SSH forwarder cleanup"
3 years ago
Zuul
a9f98b06a4
Merge "Enable logging debug lines in devstack jobs"
3 years ago
pinikomarov
83ce3e51b1
increase pacemaker timeout and limit pcs output to reduce false negatives in checks
...
Change-Id: I3bb59cf2784c1c964e56c29609248a19d0c4224c
3 years ago
Federico Ressi
caa4643937
Fix SSH forwarder cleanup
...
Change-Id: I29b38c3a293ab5e0f374d2229eb5b9db9230aef0
3 years ago
Federico Ressi
cf9a81a711
Enable logging debug lines in devstack jobs
...
Change-Id: Ie7209fe41e783304d8398e28da7601e5b7928d13
3 years ago
Federico Ressi
776855e48a
Reconnect SSH client when found in broken state
...
It happened SSH pramiko instance is None even when
SSHClientFixture is marked as setup. On such case
connect method returns None.
This change workaround such issue by reconnecting the
ssh client trying to move it to a safe state.
Change-Id: Idbc21e3deab21bb4ec56d0e76261ae6dabf35272
3 years ago
Zuul
d734c44be6
Merge "Return dummuy test case in case not in one"
3 years ago