Brittleness in the redirect test for KSM

Bug #1840515 reported by David Ames
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Keystone SAML Mellon Charm
Triaged
Medium
Unassigned

Bug Description

At least once the keystone-saml-mellon redirects test has failed [1] mysteriously even when the deployment looks good.

I was unable to re-create this locally. It may be a race condition.

Determine if more can be done to make the test more robust. Add logging to make clearer where the failure occurs.

[0] https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-keystone-saml-mellon/676338/4/3619/index.html

David Ames (thedac)
Changed in charm-keystone-saml-mellon:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 19.10
Revision history for this message
Ryan Beisner (1chb1n) wrote :
tags: added: uosci
David Ames (thedac)
Changed in charm-keystone-saml-mellon:
milestone: 19.10 → 20.01
James Page (james-page)
Changed in charm-keystone-saml-mellon:
milestone: 20.01 → 20.05
David Ames (thedac)
Changed in charm-keystone-saml-mellon:
milestone: 20.05 → 20.08
James Page (james-page)
Changed in charm-keystone-saml-mellon:
milestone: 20.08 → none
Revision history for this message
Corey Bryant (corey.bryant) wrote (last edit ):
Download full text (12.1 KiB)

This may be a little different than the reported bug but i'm consistently hitting the following with bionic-ussuri.
This can be seen at: https://review.opendev.org/c/openstack/charm-keystone-saml-mellon/+/816026

2021-11-29 20:11:53 [INFO] ======================================================================
2021-11-29 20:11:53 [INFO] ERROR: test_saml_mellon_redirects (zaza.openstack.charm_tests.saml_mellon.tests.CharmKeystoneSAMLMellonIDP1Test)
2021-11-29 20:11:53 [INFO] Validate the horizon -> keystone -> IDP redirects.
2021-11-29 20:11:53 [INFO] ----------------------------------------------------------------------
2021-11-29 20:11:53 [INFO] Traceback (most recent call last):
2021-11-29 20:11:53 [INFO] File "/mnt/charm-keystone-saml-mellon/build/builds/keystone-saml-mellon/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/charm_tests/saml_mellon/tests.py", line 318, in test_saml_mellon_redirects
2021-11-29 20:11:53 [INFO] BaseCharmKeystoneSAMLMellonTest.check_horizon_redirect(
2021-11-29 20:11:53 [INFO] File "/mnt/charm-keystone-saml-mellon/build/builds/keystone-saml-mellon/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/charm_tests/saml_mellon/tests.py", line 252, in check_horizon_redirect
2021-11-29 20:11:53 [INFO] raise FailedToReachIDP(msg)
2021-11-29 20:11:53 [INFO] zaza.openstack.charm_tests.saml_mellon.tests.FailedToReachIDP: FAILURE code=<Response [500]> text=
2021-11-29 20:11:53 [INFO] <!DOCTYPE html>
2021-11-29 20:11:53 [INFO] <html>
2021-11-29 20:11:53 [INFO] <head>
2021-11-29 20:11:53 [INFO] <meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
2021-11-29 20:11:53 [INFO] <link rel="shortcut icon" href="/static/dashboard/img/favicon.ico"/>
2021-11-29 20:11:53 [INFO] <link rel="apple-touch-icon" sizes="180x180" href="/static/dashboard/img/apple-touch-icon.png" />
2021-11-29 20:11:53 [INFO] <link rel="mask-icon" href="/static/dashboard/img/safari-pinned-tab.svg...

tags: added: unstable-test
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.