Attention Iron Bank Customers: On March 27, 2025, we are moving SBOM artifacts from the Anchore Scan job to the Build job to streamline the container hardening pipeline. If you currently download SBOMs from the Anchore Scan job, you can still get them from the Build job and from other sources, including IBFE and image attestations.
Kiali tests failing in BB MR, troubleshoot and fix
I attempted bumping up timeout to 80 seconds. That didn't resolve. BB MR can be tested from here. Change the git branch in this MR to whatever branch you're working off of.
@chris.oconnell I looked through that failed job. Does this look like it's the problem (lines 3598-3600):
Loki Test
Check Loki is available as a data source in grafana and connected:
AssertionError: Timed out retrying after 10000ms: Expected to find content: 'Data source connected and labels found' within the element: <div.gf-form-group.p-t-2> but never did.
@montgomery.marcus sorry just now seeing your comments. I think we've got new kiali test issues since I opened this ticket. At the time it was failing with "AssertionError: Timed out retrying after 15000ms: Expected to find element: :nth-child(2) > :nth-child(2) > .virtualitem_definition_link, but never found it."
For some odd reason, that class of .virtual_definition_link is not present. Initially, I thought it may not have been specific enough causing it to fail in cases where other things are present, but that turned out to not be the case. I updated the test filter through all anchor tags instead of using that class and then specifically filtered for the name prometheus to ensure it found the correct one. I also updated the test to click on different tabs on the following screen as testing showed that the last one wasn't always there.
Just to clarify, the class of .virtual_definition_link is present locally, but not always. May have been due to the timing of trying to click on it, either way the new process works more consistently.