Description
I observed this intermittent E2E test failure on OpenShift CI. Initially I was confused as this failure was unrelated to my pull request changes. When I restarted the workflow, it passed.
The test case [Create DevWorkspace and ensure data is persisted during restarts] [It] Start DevWorkspace failed due to a FailedMount error when attempting to start the DevWorkspace.
See full job logs here
2025/11/06 17:25:50 Now current status of developer workspace code-latest is: Failed. Message: DevWorkspace failed to progress past step 'Waiting for workspace deployment' for longer than timeout (5m). Ignored events: Detected unrecoverable event FailedMount 4 times: Unable to attach or mount volumes: unmounted volumes=[claim-devworkspace], unattached volumes=[claim-devworkspace], failed to process volumes=[]: timed out waiting for the condition
�[38;5;243m------------------------------�[0m
�[38;5;9m• [FAILED] [504.020 seconds]�[0m
�[0m[Create DevWorkspace and ensure data is persisted during restarts] �[38;5;9m�[1m[It] Start DevWorkspace�[0m
�[38;5;243m/go/src/github.com/devfile/devworkspace-operator/test/e2e/pkg/tests/devworkspace_restart_tests.go:87�[0m
�[38;5;9m[FAILED] DevWorkspace didn't start properly. Error: workspace has been failed unexpectedly. Message: DevWorkspace failed to progress past step 'Waiting for workspace deployment' for longer than timeout (5m). Ignored events: Detected unrecoverable event FailedMount 4 times: Unable to attach or mount volumes: unmounted volumes=[claim-devworkspace], unattached volumes=[claim-devworkspace], failed to process volumes=[]: timed out waiting for the condition�[0m
�[38;5;9mIn �[1m[It]�[0m�[38;5;9m at: �[1m/go/src/github.com/devfile/devworkspace-operator/test/e2e/pkg/tests/devworkspace_restart_tests.go:94�[0m �[38;5;243m@ 11/06/25 17:25:50.643�[0m
�[38;5;243m------------------------------�[0m
�[38;5;14mS�[0m�[38;5;14mS�[0m�[38;5;14mS�[0m�[38;5;14mS�[0m�[38;5;14mS�[0m�[38;5;14mS�[0m2025/11/06 17:25:50 Cleaning up test resources are disabled
�[38;5;9m�[1mSummarizing 1 Failure:�[0m
�[38;5;9m[FAIL]�[0m �[0m[Create DevWorkspace and ensure data is persisted during restarts] �[38;5;9m�[1m[It] Start DevWorkspace�[0m
�[38;5;243m/go/src/github.com/devfile/devworkspace-operator/test/e2e/pkg/tests/devworkspace_restart_tests.go:94�[0m
�[38;5;9m�[1mRan 9 of 15 Specs in 532.157 seconds�[0m
�[38;5;9m�[1mFAIL!�[0m -- �[38;5;10m�[1m8 Passed�[0m | �[38;5;9m�[1m1 Failed�[0m | �[38;5;11m�[1m0 Pending�[0m | �[38;5;14m�[1m6 Skipped�[0m
--- FAIL: TestWorkspaceController (532.16s)
Expected Behavior
The E2E test should pass consistently across OpenShift CI runs.
Acceptance Criteria
Description
I observed this intermittent E2E test failure on OpenShift CI. Initially I was confused as this failure was unrelated to my pull request changes. When I restarted the workflow, it passed.
The test case
[Create DevWorkspace and ensure data is persisted during restarts] [It] Start DevWorkspacefailed due to aFailedMounterror when attempting to start the DevWorkspace.See full job logs here
Expected Behavior
The E2E test should pass consistently across OpenShift CI runs.
Acceptance Criteria
FailedMounttest failure and fix it