Classification
fix_category: product_bug
Failed Tests
| Test |
Error |
| Rerun Failswitch from failure point |
expect(locator).toBeVisible() failed — getByText('Completed', { exact: true }) not found after 120s |
Root Cause
The SonataFlow "rerun from failure point" feature does not re-read environment variables from the pod. The test:
- Patches the
failswitch SonataFlow CR's HTTPBIN env var to https://foobar.org/ (an invalid URL)
- Runs the workflow → it fails as expected (SSL cert mismatch on
httpbinGet step)
- Patches
HTTPBIN back to https://httpbin.org/ and waits for the pod to pick it up
- Clicks "Run again → From failure point"
- Expects the workflow to complete
But the rerun still fails with: javax.net.ssl.SSLPeerUnverifiedException - Certificate for <foobar.org> doesn't match any of the subject alternative names: [www.foobar.org]
The "from failure point" rerun replays the workflow using the process context saved at the time of the original failure, which still contains the old foobar.org URL. The updated env var is not picked up because the workflow engine restores saved process variables rather than re-reading from the environment.
This is a bug in the orchestrator/SonataFlow "rerun from failure point" feature — when a workflow is retried from the failure point, environment variables that changed since the original execution should be re-evaluated.
Remediation
The orchestrator plugin's "rerun from failure point" implementation needs to re-resolve env-var-backed workflow inputs when retrying, rather than using the cached process context from the failed execution. This fix belongs in the orchestrator plugin source code, not in this repo.
Artifacts
https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-redhat-developer-rhdh-plugin-export-overlays-main-e2e-ocp-helm-nightly/2067457860433874944
Classification
fix_category: product_bugFailed Tests
expect(locator).toBeVisible()failed —getByText('Completed', { exact: true })not found after 120sRoot Cause
The SonataFlow "rerun from failure point" feature does not re-read environment variables from the pod. The test:
failswitchSonataFlow CR'sHTTPBINenv var tohttps://foobar.org/(an invalid URL)httpbinGetstep)HTTPBINback tohttps://httpbin.org/and waits for the pod to pick it upBut the rerun still fails with:
javax.net.ssl.SSLPeerUnverifiedException - Certificate for <foobar.org> doesn't match any of the subject alternative names: [www.foobar.org]The "from failure point" rerun replays the workflow using the process context saved at the time of the original failure, which still contains the old
foobar.orgURL. The updated env var is not picked up because the workflow engine restores saved process variables rather than re-reading from the environment.This is a bug in the orchestrator/SonataFlow "rerun from failure point" feature — when a workflow is retried from the failure point, environment variables that changed since the original execution should be re-evaluated.
Remediation
The orchestrator plugin's "rerun from failure point" implementation needs to re-resolve env-var-backed workflow inputs when retrying, rather than using the cached process context from the failed execution. This fix belongs in the orchestrator plugin source code, not in this repo.
Artifacts
https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-redhat-developer-rhdh-plugin-export-overlays-main-e2e-ocp-helm-nightly/2067457860433874944