Friday, 2026-07-17

opendevreviewJoan Gilabert proposed openstack/cyborg-tempest-plugin master: Add Cyborg MDEV driver lifecycle scenario tests  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99735206:44
opendevreviewJoan Gilabert proposed openstack/cyborg-tempest-plugin master: Prefer lspci over sysfs for PCI device detection  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99768406:44
opendevreviewJoan Gilabert proposed openstack/cyborg master: Configure pci lifecycle tempest settings via devstack plugin  https://review.opendev.org/c/openstack/cyborg/+/99736506:45
*** jgilaber_ is now known as jgilaber10:02
jgilabersean-k-mooney Hi! I've pushed a patch to change how we check for pci devices in guest vms https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/997684 to prefer using lspci10:03
jgilaberI've tested the change in https://review.opendev.org/c/openstack/cyborg/+/997364 and https://review.opendev.org/c/openstack/cyborg/+/997365 multiple times and seems to work well10:03
sean-k-mooneycool10:04
sean-k-mooneywere you able ot replciate the failure locally?10:04
jgilaberI've run the tests at lest 8 times between yesterday and today10:04
jgilaberno I have not tested that10:04
sean-k-mooneywell im more askign did you see it fail10:04
jgilaberonly on ci10:04
sean-k-mooneyi have not seen the older verion fail locally either 10:05
sean-k-mooneyack ok well we can recheck it a few times10:05
jgilaberyes, we can recheck it a few times more today and check back towards eod or next week10:05
jgilaberI will try it locally as well10:05
sean-k-mooneycool the change looks good10:06
sean-k-mooneyout of inteest did we looks at how we do this in whitebox10:06
sean-k-mooneyhttps://opendev.org/openstack/whitebox-tempest-plugin/src/commit/a464d48e5e517ac8e4d04ca72b25042067abcb31/whitebox_tempest_plugin/api/compute/test_sriov.py#L86210:07
sean-k-mooneyso ya  def _check_device_in_guest(self, linux_client, vendor_id, product_id):10:08
sean-k-mooneyis doing cmd = "lspci -nn  | grep {0}:{1} | wc -l".format(10:08
sean-k-mooney            vendor_id, product_id)10:08
sean-k-mooneywe may wantt to condier just porting that function as this has been sabel but its usign lspci as well10:08
sean-k-mooneyso thats good at least10:09
jgilabervery similar10:09
sean-k-mooneyso we dont technially need the fall back10:09
sean-k-mooneywell10:09
jgilaberI've left the current approach as fallback but we could remove it to simplify maybe10:09
sean-k-mooneylspci is expected to be installled in the ci image10:09
sean-k-mooneyfor now i think we can keep it but we might simplfy this in a followup10:10
sean-k-mooneyi kind of like that _check_device_in_guest is doing the filstering on the vm rather then copying back all the data 10:10
jgilabersounds good to me10:11
jgilaberI've been running the version of the tests in master which failed yesterday but could not reproduce the problem either11:38
jgilaberI've run them 6 or 7 time nows, it's quite weird that it seemed so consistent yesterday11:38
chandankumarhttps://zuul.opendev.org/t/openstack/builds?change=997365&result=FAILURE&skip=0 , one time py3 and ipv6 failed job ran on rax-ord-main .11:51
chandankumaryesterday11:52
chandankumarhttps://zuul.opendev.org/t/openstack/builds?job_name=cyborg-tempest-ipv6&change=997365&skip=0 - rest of the passing ipv6 ran on different provider.11:53
chandankumarI am not sure it is linked with provider also.11:54
opendevreviewTakashi Kajinami proposed openstack/cyborg master: Add cors middleware defaults  https://review.opendev.org/c/openstack/cyborg/+/99771212:00
jgilabertoday it's been running in different providers, will recheck a few more times to see12:00
opendevreviewTakashi Kajinami proposed openstack/cyborg master: Add cors middleware defaults  https://review.opendev.org/c/openstack/cyborg/+/99771213:11
jgilaberchandankumar, I think you might be onto something, the ipv6 failed now and it ran on rax-ord-main https://zuul.opendev.org/t/openstack/build/87e90ed8ebbc4b7cad73c3d69d76c6a013:31
sean-k-mooneyjgilaber: it could be timeing related but i think the lspci approch is going to more robust anyway13:43
sean-k-mooneyso ya if its still stable ill approve it in an hour or two13:43
sean-k-mooneyi was surpsied when you menteiond it sicne i had never seen it fail personally before13:44
sean-k-mooneybut again the ci can show issue we dont see on our local system so im not that surpised either13:45
jgilaberyes, it did seem stable before that point13:45
jgilaberit's super stable in my dev env as well, could not get it to fail there13:45
chandankumarDo we want to add some wait condition https://github.com/openstack/cyborg-tempest-plugin/blob/master/cyborg_tempest_plugin/tests/scenario/test_pci_driver_lifecycle.py#L194 after reboot to make sure server is ip and call _assert_server_pci_ready ?13:47
chandankumarfrom multiple runs, it is failing on rax-ord-main provider only13:47
sean-k-mooney we shodul rewrite that test i think14:10
sean-k-mooneywell14:11
sean-k-mooneywe can keep it but yes we need a retry loop14:11
sean-k-mooneyi was thinkin gif we wanted to delete that test and just rely on teh nova api reboot tests14:11
sean-k-mooneybut for the gues one we need to wait for the vm to be back up before calling _assert_server_pci_ready14:12
sean-k-mooneyif we really want this to be more roboust https://github.com/openstack/cyborg-tempest-plugin/blob/master/cyborg_tempest_plugin/tests/scenario/test_pci_driver_lifecycle.py#L161 shoudl be SSHABLE instead of active as well14:13
sean-k-mooneysince we are going to try adn ssh into it waiting for SSHABLE which is a tempest concept is more accurate as ACTIVE just means nova thinks its running14:15
sean-k-mooneyit does nto mean the guest os has fully booted14:15
jgilabersean-k-mooney, sorry I had to step out for a bit14:52
sean-k-mooneyits fine14:53
jgilaberI can change the state there for 'SSHABLE' but I don't think that is called in the test in question14:53
sean-k-mooneylets revisit that14:53
sean-k-mooneywe can look at doign that speratly14:53
sean-k-mooneybeasue we likely shoudl do that consitently not just in those tests14:53
sean-k-mooneyalso when waiting for the server to create14:54
sean-k-mooneynot just reboot ectra14:54
sean-k-mooneyjgilaber: are you happy enough to proceed with the currnt improment14:54
sean-k-mooneyif so i can appove the test change and we can then look at appoving the job change patch14:55
sean-k-mooneyill be around for anouther hour or two then ill be finishing up14:55
jgilaberwe could go ahead, I think it is slightly better, although it does not completely solve the problem14:58
jgilaberi.e if we enable the tests we might get gate failures which will be annoying14:59
sean-k-mooneyyes but i wont be here next week15:00
sean-k-mooneyso we wont be merging anything anyway and ye can tell me how it goes when i get back :P15:00
sean-k-mooneyso that sounds like a you problem to me :)15:00
jgilaberyep, that's about right15:01
sean-k-mooneyon a seious not however i think i woudl prefer having the test run for a week even if they fail15:01
sean-k-mooneyjust to actullly flesh out any opther issues with them15:02
jgilaberwe can go ahead since it won't be blocking anything and we can collect more data from other patches15:02
opendevreviewMerged openstack/cyborg-tempest-plugin master: Prefer lspci over sysfs for PCI device detection  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99768415:47
opendevreviewJoan Gilabert proposed openstack/cyborg-tempest-plugin master: Add Cyborg MDEV driver lifecycle scenario tests  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99735215:48
opendevreviewJoan Gilabert proposed openstack/cyborg-tempest-plugin master: Verify guest reboot started in PCI lifecycle test  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99775115:48
jgilaberI'm not convinced this will fix the problem but I'll try during the week15:49
jgilabersean-k-mooney, do you want to merge https://review.opendev.org/c/openstack/cyborg/+/997365 before you leave?15:50
sean-k-mooneyi will yes on a call15:59
sean-k-mooneyok its reappoved16:47
sean-k-mooneyassuming it passes in gate that shoudl merged16:48
sean-k-mooneyim goign to finish up in the next 15 minutes or so16:48
sean-k-mooneybut i can take a look ifthere is anythin else pressing16:49
sean-k-mooneyi will have some conenctiviy while traveling next week but im not sure how much so i will check in when possible16:49
jgilaberack thanks don't worry16:59
jgilaberI'll continue working on it16:59
opendevreviewJoan Gilabert proposed openstack/cyborg-tempest-plugin master: Verify guest reboot started in PCI lifecycle test  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99775117:27
opendevreviewJoan Gilabert proposed openstack/cyborg-tempest-plugin master: Add Cyborg MDEV driver lifecycle scenario tests  https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/99735217:27
sean-k-mooneyjgilaber: os tempest has some conenctivty checks that we coudl reuse17:28
sean-k-mooneyim not againt doing it our selves17:28
sean-k-mooneybut just pointing that out17:28
jgilaberI'll look into that next week if the current version works17:29
jgilabercan you add +2 to https://review.opendev.org/c/openstack/cyborg/+/997365? It looks like the gate pipeline has not started17:29
sean-k-mooneyoh lol17:29
sean-k-mooneyi tough i already had17:30
sean-k-mooneydone17:30
jgilaberit got deleted in one of the updates17:31
sean-k-mooneyi left a comment on your patch but this is the helper i think you shoudl use https://github.com/openstack/tempest/blob/master/tempest/common/compute.py#L113-L15317:33
sean-k-mooneyor use https://github.com/openstack/tempest/blob/master/tempest/common/waiters.py#L727-L736 or https://github.com/openstack/tempest/blob/master/tempest/common/waiters.py#L678-L68617:34
sean-k-mooneydirectly17:34
sean-k-mooneywait_for_server_status dose not actully supporort SSHABLE as it not actully a nova status17:35
jgilaberyes, I've changed that I saw it failed in CI17:36
jgilaberI'm leaving know I'll change the patch on Monday to use the tempest functions, thanks for looking and safe travels next week!17:38
sean-k-mooneyno worries17:38
opendevreviewMerged openstack/cyborg master: Configure pci lifecycle tempest settings via devstack plugin  https://review.opendev.org/c/openstack/cyborg/+/99736518:34
opendevreviewmelanie witt proposed openstack/cyborg master: Add Intel XXV710 25GbE backplane NIC to known NIC list  https://review.opendev.org/c/openstack/cyborg/+/99778219:14

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