Skip to content
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

Include templog in LisaException message for Wget #3259

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

kanchansenlaskar
Copy link
Collaborator

@kanchansenlaskar kanchansenlaskar commented Apr 9, 2024

The testcase verify_hpc_over_sriov calls Infiniband's method install_ofed() which in turn calls Wget's method get().

install_ofed() looks for "404: Not Found." error and if that string is present in the Exception message, it goes ahead and skips the testcase by raising UnsupportedDistroException. However the "404: Not Found." string is captured in the temp_log variable which was not being passed when LisaException was raised in the get() method of Wget and that's why the testcase got failed instead of getting skipped

As part of this PR, I have included temp_log as well, because install_ofed() is designed to look for that error which is in temp_log variable

This change is tested with:
redhat rhel 9_3 9.3.2024022812
redhat rhel 90-gen2 9.0.2024021412
oracle oracle-linux ol93-lvm 9.3.2
suse sles-15-sp5 gen1 2024.02.07

@LiliDeng LiliDeng merged commit 058667d into main Apr 10, 2024
45 checks passed
@LiliDeng LiliDeng deleted the kasenlaskar/include_templog branch April 10, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants