-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fwcfg: fix wmic query to ensure windbg installation for fwcfg cases #4181
base: master
Are you sure you want to change the base?
Conversation
03313b7
to
1b13681
Compare
827c3a3
to
ec972ec
Compare
Test Result:
|
@xiagao Could you help review this patch since our windbg tools not problem has been fixed? This is not urgent, thanks for your time :) |
provider/win_dump_utils.py
Outdated
if status == 1: | ||
time.sleep(30) | ||
else: | ||
LOG_JOB.info("windbg tool installation completed") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the original utils_misc.wait_for() function is better, extending the timeout value could cover your requirement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with you. We can only modify the WMIC queries part and keep the current timeout value.
7600459
to
48df467
Compare
Test Result:
|
Hi @xiagao, Could you help review this patch again? It has passed for the all guests. |
The issue with WinDbg not being found was caused by incorrect WMIC queries. Signed-off-by: wji <[email protected]>
48df467
to
3b4cce9
Compare
@@ -19,21 +19,17 @@ | |||
image_name_stg = "images/storage" | |||
remove_image_stg = yes | |||
no ppc64 ppc64le aarch64 | |||
chk_windbg_cmd = 'wmic product get name,version | find /i "SDK Debuggers"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As WMIC would be deprecated gradually, it is superseded by windows powershell for WMI.
The issue with WinDbg not being found was caused by incorrect WMIC queries.
ID: 1770
Signed-off-by: wji [email protected]