Skip to content

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

@hemanik

Description

@hemanik
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(CubeControlException.java:23)
	at org.arquillian.cube.openshift.impl.model.BuildablePodCube.stop(BuildablePodCube.java:153)
	at org.arquillian.cube.impl.client.ForceStopDockerContainersShutdownHook.lambda$attachShutDownHookForceStopDockerContainers$0(ForceStopDockerContainersShutdownHook.java:17)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:128)
	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:105)
	at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:62)
	at org.arquillian.cube.openshift.impl.model.BuildablePodCube.stop(BuildablePodCube.java:142)
	... 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions