Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ftests throw CubeControlException: Could not stop hello-openshift #1006

hemanik opened this issue Feb 28, 2018 · 0 comments

Ftests throw CubeControlException: Could not stop hello-openshift #1006

hemanik opened this issue Feb 28, 2018 · 0 comments


Copy link

@hemanik hemanik commented Feb 28, 2018

Issue Overview

When executing HelloPodOpenShiftITCase or HelloPodDeploymentOpenShiftITCase ftest the following exception is thrown.

Exception in thread "Thread-1" org.arquillian.cube.spi.CubeControlException: Could not stop hello-openshift
	at org.arquillian.cube.spi.CubeControlException.failedStop(
	at org.arquillian.cube.openshift.impl.model.BuildablePodCube.stop(
	at org.arquillian.cube.impl.client.ForceStopDockerContainersShutdownHook.lambda$attachShutDownHookForceStopDockerContainers$0(
Caused by: java.lang.NullPointerException
	at org.arquillian.cube.openshift.impl.model.BuildablePodCube.stop(
	... 2 more
Expected Behaviour

After the session is destroyed the pods should be gracefully stopped and destroyed without any exceptions or errors.

Current Behaviour

CubeControlException: Could not stop hello-openshift is caused due to NPE.

Steps To Reproduce
  1. execute HelloPodOpenShiftITCase or HelloPodDeploymentOpenShiftITCase ftest.
@hemanik hemanik self-assigned this Feb 28, 2018
dipak-pawar added a commit that referenced this issue Mar 7, 2018
…fecycle events. (#1007)

* fix: adds state checks in BuildablePodCube stop and destroy lifecycle events.

* fix: overrides AnnotationDeploymentScenarioGenerator with registered ExternalDeploymentScenarioGenerator service.

* fix: adds unit tests for the lifecycle events.

* mock required objects to remove dependency of running cluster

* chore: updates comments in tests.

* undo commit f0cd6ff related to overriding service.
@dipak-pawar dipak-pawar added this to the 1.15.3 milestone Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants