Modifications in CLI and UI Libvirt CR to resolve key error - #20176
Conversation
|
trigger: test-robottelo |
|
trigger: test-robottelo |
|
trigger: test-robottelo |
|
PRT Result |
|
trigger: test-robottelo |
|
PRT Result |
|
Tests are failing, @amolpati30 any updates? |
|
@stejskalleos The test case which is rectified is
Thus We have updated the lambda function inside the
In the previous PRT result, Build Number: 13433 |
|
trigger: test-robottelo |
|
trigger: test-robottelo |
|
PRT Result |
|
trigger: test-robottelo |
|
trigger: test-robottelo |
evgeni
left a comment
There was a problem hiding this comment.
the diff looks good to me
@Gauravtalreja1 wdyt?
|
PRT Result |
|
PRT Result |
|
Required tests are passed. |
|
|
PRT Result |
|
Required tests are passed. |
Gauravtalreja1
left a comment
There was a problem hiding this comment.
ACK, Great job @nacoool 🚀
Problem Statement
The test test_positive_provision_end_to_end is failing intermittently with a KeyError during execution of the lambda function used in the
wait_forcall. This happens when thestatusorbuild-statuskeys are temporarily unavailable in the Satellite API response, causing the test to break before the timeout is reached.Solution
Updated the lambda function inside the
wait_forcall to safely handle missing keys and potential transient exceptions by using.get()methods andhandle_exception=True.This ensures the polling logic continues gracefully until the host build is complete, thereby preventing continue flow of code even after the timeout happens.
Restarting DHCP as dhcpd service does not recover from (Network is down) state on its own.
Removing
UEFIandsecure-bootfor RHEL 7 becauseRHEL 7 is not supported with UEFI on VMware and libvirt hypervisors.mentioned inSAT-41340for CLI testcase.Adding
BIOSback as it is working while Restarting of DHCPDAdded Restart of DHCPD for booting of RHEL 8 host on libvirt.
Related Issues