You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flaky molecule test that has been happening for a few weeks now (I think it was when the tests moved up to openshift 4.14, but I'm not sure).
Solution might be as simple as waiting for Kiali to fully start up and the Kiali operator to finish reconciling with the CR before
the test tries to edit the CR again. That's just a guess. I haven't looked at the test code yet.
....
TASK [Assert that there are no app console links] ******************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [k8s] *********************************************************************
changed: [localhost]
TASK [k8s] *********************************************************************
changed: [localhost]
TASK [k8s] *********************************************************************
changed: [localhost]
TASK [include_tasks] ***********************************************************
included: /tmp/molecule/operator/molecule/os-console-links-test/../common/../common/wait_for_kiali_cr_changes.yml for localhost
TASK [Wait for Kiali CR changes to take effect] ********************************
ok: [localhost]
TASK [Set accessible namespace to ['istio-system', 'consolelinks1', 'consolelinks2'] in current Kiali CR] ***
ok: [localhost]
TASK [include_tasks] ***********************************************************
included: /tmp/molecule/operator/molecule/os-console-links-test/../common/../common/set_kiali_cr.yml for localhost
TASK [Change Kiali CR with new Kiali CR] ***************************************
fatal: [localhost]: FAILED! => {"changed": false, "error": 409, "msg": "Failed to patch object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"Operation cannot be fulfilled on kialis.kiali.io \\\\\"kiali\\\\\": the object has been modified; please apply your changes to the latest version and try again\",\"reason\":\"Conflict\",\"details\":{\"name\":\"kiali\",\"group\":\"kiali.io\",\"kind\":\"kialis\"},\"code\":409}\\n'", "reason": "Conflict", "status": 409}
The text was updated successfully, but these errors were encountered:
Right - the question is why is the Kiali CR changing when it wasn't expected. I'm looking into this. I think it has to do with the fact this test adds namespaces and the operator might be changing the CR when it detects new namespaces.
Flaky molecule test that has been happening for a few weeks now (I think it was when the tests moved up to openshift 4.14, but I'm not sure).
Solution might be as simple as waiting for Kiali to fully start up and the Kiali operator to finish reconciling with the CR before
the test tries to edit the CR again. That's just a guess. I haven't looked at the test code yet.
The text was updated successfully, but these errors were encountered: