Bug 1804781
| Summary: | [TLS everywhere] test_novnc failed with "Not a valid html document" error | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Archit Modi <amodi> |
| Component: | openstack-tempest | Assignee: | Chandan Kumar <chkumar> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kopec <mkopec> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 13.0 (Queens) | CC: | angela683huey, apevec, dasmith, eglynn, jhakimra, kchamart, lhh, lyarwood, sbauza, sgordon, slinaber, stephenfin, udesale, vromanso |
| Target Milestone: | --- | Keywords: | Reopened, Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tempest-18.0.0-14.el7ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-24 11:41:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Archit Modi
2020-02-19 15:55:42 UTC
This is simply a bad Tempest test. Tempest is checking for a '<html>' tag, but the response contains a '<html lang="en">' tag. The matcher should just be cleverer. Then again you shouldn't parse [1] HTML [2] with regex [3] so... :) In any case, reassigning component. [1] https://blog.codinghorror.com/parsing-html-the-cthulhu-way/ [2] http://web.archive.org/web/20060505114433/http://www.alpha-geek.com/2004/01/12/bring_me_your_regexs_i_will_create_html_to_break_them [3] https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 This was already resolved upstream [1]. You need a newer version of Tempest. [1] https://review.opendev.org/#/c/655827/ The fix will need to be backported in order to get it packaged for RHOS-13. The issue is fixed in the Fixed in version package. Currently even the newer version of the package (openstack-tempest-18.0.0-15.el7ost) is present via latest symlink in the rhos-13 repositories. I confirmed the test is passing in a job using the openstack-tempest-18.0.0-14.el7ost or newer. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2719 Great post. Thanks for sharing this my bug query is finally resolved today thanks for sharing this. https://www.dollartree-compass.com |