-
Notifications
You must be signed in to change notification settings - Fork 29
Conversation
Signed-off-by: Valeriy Svydenko <[email protected]>
@dmytro-ndp could you please take a look |
@svor : I have tested PR using Che dogfooding instance. At the same time I have faced the error
Could you take a look, please? |
@dmytro-ndp thank you for the review
Maybe it was some glitch when test pod was created. |
@svor : thank you for the investigation. I checked it one more time and when went through all devfile commands from 1 to 6 the command 3 executed correctly, but command 6 failed with the same error:
I have reproduced the problem in the new workspace created from https://github.com/devspaces-samples/ansible-devspaces-demo/tree/sv-preStop - "devfile: 6.Molecule: run the full molecule test" command failed with the same error message: |
It seemed to be my account specific problem, because I faced the same error when triyed to execute |
Adds a preStop command to terminate the pod used by Molecule when the workspace is stopped
How to test:
1/ Create a workspace from https://github.com/devspaces-samples/ansible-devspaces-demo/tree/sv-preStop
2/ Run 6.Molecule: run the full molecule test command
3/ Check that test pod molecule-ubi8-python-1 is created on OS console:
4/ Stop the workspace
5/ Check that the test pod is terminated automatically
Related issue: https://issues.redhat.com/browse/CRW-6871