Thursday, 2024-04-25

opendevreviewGoutham Pacha Ravi proposed openstack/devstack-plugin-ceph master: Standalone nfs-ganesha with cephadm deployment  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/91521204:31
opendevreviewGoutham Pacha Ravi proposed openstack/devstack-plugin-ceph master: Standalone nfs-ganesha with cephadm deployment  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/91521204:33
opendevreviewAmit Uniyal proposed openstack/whitebox-tempest-plugin master: WIP: evacuation tests  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/91539308:39
auniyalhello, in my whitebox-tempest , I am using micorversion 2.11 , but its skiping on run, so I added  `min_microversion = latest` under [compute] in tempest.conf10:13
auniyalstill I am getting below10:13
auniyalSKIPPED: The microversion range[2.11 - latest] of this test is out of the configuration range[None - None]10:13
auniyalis there any other place, we need to set microversion10:13
auniyaltypo above added: min_microversion = 2.1`10:23
auniyalits somewhat clear from sean-k-mooney, the min_microversion is set here https://github.com/openstack/tempest/blob/1c3fc43c9dae274a19683b003f78b5f50edbc062/tempest/api/compute/base.py#L12311:00
auniyalits running on CI for me, but not locally, https://8756f8878d4b9d882bf2-639cee2bb13a4a48aa71c9492956441b.ssl.cf5.rackcdn.com/915393/16/check/whitebox-devstack-multinode/3db87dc/controller/logs/tempest_conf.txt11:01
sean-k-mooneyim partly wonderign is tempest usign the config file you expect. form what you shared this looks to me like it shoudl be working11:03
sean-k-mooneybut i have never looked at that aspect to deeply so this is outside of my knowlage area11:03
sean-k-mooneyauniyal: when runign it lcoally have you tired expclitly passing the path to the config you are trying to use on the tempest cli11:04
auniyalunder activated env, 11:06
auniyalI am just running- stestr run test_path11:06
sean-k-mooneyok i dont think that is the normal way to run tempest11:07
sean-k-mooneyyou shoudl be using tempest run ...11:07
sean-k-mooneyhttps://github.com/openstack/tempest/blob/master/tox.ini#L109-L12011:07
sean-k-mooneynot stestr11:07
sean-k-mooneythese are not unit/funcitonalt tests11:08
auniyalthere is .stestr.conf inside whiteboxif I run with tempest I get - ImportError: Start directory is not importable: './whitebox_tempest_plugin/tests'11:09
auniyalthere is a .stestr.conf, where test_path is./whitebox_tempest_plugin/tests11:10
sean-k-mooneythat is not how whitebox is inteded to be used11:10
auniyalbut there is no tests folder, so I removed /test, and using tox created a py env11:10
sean-k-mooneyyou are ment to install whiteox in the same venv as tempest11:11
sean-k-mooneyand then use tempest run to run it with a regex match the whitebox test you want to run11:11
sean-k-mooneyhttps://opendev.org/openstack/whitebox-tempest-plugin/src/branch/master#install-configure-and-run11:12
sean-k-mooneyhttps://opendev.org/openstack/whitebox-tempest-plugin/src/branch/master/README.rst?display=source#L28-L6711:12
sean-k-mooneyi need to update that slightly to not use sudo pip11:13
auniyalyeah, I tried that acually but still tempest run did not worked for me, so earlier I took etc of tempest, copied it under whitebox and basic tests worked - but not those for which I need to ssh to another compute hosts11:13
auniyalso I started using tempest/etc/tempest.conf - with whitebox conf11:14
sean-k-mooneyso what you should have done is cd into the tempest repo cloned by devstack and activated the tempest venv 11:14
sean-k-mooneythe pip installed whitebox11:15
sean-k-mooneyand use tempest run form there11:15
sean-k-mooneyartom: ^ i assume that is what you do too right11:15
auniyalokay make chages inside whitebox and then run from temspest11:15
sean-k-mooneyi have not used whitebox in about 2 years so its been a while since i had to do that11:16
sean-k-mooneyauniyal: i used to do pip install -e ~/repos/whitebox-tempest-plugin11:16
sean-k-mooneyso ya every time i changed a file it would be picked up on the next run automatically11:16
sean-k-mooneytempest has some rules for how it fined config files espcially with the workspace functionatliy 11:20
sean-k-mooneyso my guess is currently when your runing it its not reading the config file which is why i suggested passign it directly with somethign like --config-file11:21
sean-k-mooneyhttps://docs.openstack.org/tempest/latest/run.html#running-from-anywhere11:21
sean-k-mooneyfrickler: gmann: kopecmartin: is there any reason we have not moved forward with https://review.opendev.org/c/openstack/devstack/+/88616312:08
sean-k-mooneyusing 0.5.2 means that antelope is still goign to have random kernel panics12:08
sean-k-mooneyrelate to the unpatched kernel in 0.5.2 which is fixed in 0.5.312:08
opendevreviewSlawek Kaplonski proposed openstack/devstack master: Enable 'dump-interfaces' service in all devstack jobs  https://review.opendev.org/c/openstack/devstack/+/91703812:14
opendevreviewSlawek Kaplonski proposed openstack/devstack master: Enable 'dump-interfaces' service in all devstack jobs  https://review.opendev.org/c/openstack/devstack/+/91703812:31
fricklersean-k-mooney: looks like I should check my backlog of open reviews more often :-/12:40
sean-k-mooney:)12:40
sean-k-mooneysometimes when i do that it makes me a littel sad12:41
artomsean-k-mooney, I genuinely don't know, I haven't run whitebox locally since forever13:04
sean-k-mooneymy workflow was always deploy a clean devstack13:05
sean-k-mooneyrun the tempest smoke tests the same way devstack does then include the plugin13:05
artomI need to fix and review https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/809441, so I should probably use that to write an updated README for how to actually use whitebox locally13:06
sean-k-mooneybut ya i have not done that in a long time either13:06
sean-k-mooneyif your updating the readme can you include this first https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/91653213:07
sean-k-mooneyso that we lint it13:07
sean-k-mooneyi woudl like to incldue the rest of that serise but the first one just makes sure we cant break the release job13:07
sean-k-mooneyi proably wont get to it today but ill try and update the release patch this week13:08
opendevreviewArtom Lifshitz proposed openstack/whitebox-tempest-plugin master: Deploy with CPU power management enabled  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/90978513:17
opendevreviewArtom Lifshitz proposed openstack/whitebox-tempest-plugin master: Add HyperV default enlightment tests  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/90922513:17
opendevreviewAmit Uniyal proposed openstack/whitebox-tempest-plugin master: evacuation tests  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/91539313:27
opendevreviewSlawek Kaplonski proposed openstack/devstack master: Enable 'dump-interfaces' service in all devstack jobs  https://review.opendev.org/c/openstack/devstack/+/91703814:27
opendevreviewAmit Uniyal proposed openstack/whitebox-tempest-plugin master: evacuation tests  https://review.opendev.org/c/openstack/whitebox-tempest-plugin/+/91539315:20
gmannsean-k-mooney: +2 on 88616315:55
opendevreviewMerged openstack/devstack stable/2023.1: Bump default cirros version to 0.5.3  https://review.opendev.org/c/openstack/devstack/+/88616317:31
opendevreviewAshley Rodriguez proposed openstack/devstack-plugin-ceph stable/2023.2: Remote Ceph with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/91708219:31
opendevreviewAshley Rodriguez proposed openstack/devstack-plugin-ceph stable/2023.2: Add ingress deamon  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/90894019:47
gmannauniyal: sean-k-mooney: this 2.11 test is kipping because max_microversion is configed as None (which is default) in tempest.conf. to have all range of microversion test run, you need to configure the tempest.conf min_microversion=None and max_microversion=latest22:32
gmanndevstck does configure max_microversion as latest for master branch testing22:32
gmannauniyal:  from you msg it seems you configured min_microversion as latest and not max_microversion - "hello, in my whitebox-tempest , I am using micorversion 2.11 , but its skiping on run, so I added  `min_microversion = latest` under [compute] in tempest.conf"22:33

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!