-
Bug
-
Resolution: Done
-
Major
-
4.4.2.AM2
-
devex #122 October 2016
-
4
Some DeployImageWizardModelTest are failing because of JBIDE-22916
Tests in error: DeployImageWizardModelTest.checkThatRemoveAnExistingEnvironmentVariableIsEffective:386 » ClassCast DeployImageWizardModelTest.checkThatRemoveAnExistingServicePortIsEffective:310 » ClassCast DeployImageWizardModelTest.shouldInitializeContainerInfoWithEmtyEnvironmentVariable:429 » ClassCast DeployImageWizardModelTest.checkThatRemoveANonExistingServicePortIsNotEffective:356 » ClassCast DeployImageWizardModelTest.checkThatRemoveANonExistingEnvironmentVariableIsNotEffective:409 » ClassCast DeployImageWizardModelTest.checkThatServicePortsAreReset:331 » ClassCast org.m... DeployImageWizardModelTest.shouldInitializeContainerInfoFromLocalDockerImage:107 » ClassCast
imagesFromDockerConnectionAreReturned(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.015 sec shouldNotInitializeContainerInfoFromWrongPayload(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.021 sec resourceNameIsReturnedWhenSettingADockerImage(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.015 sec addProject_should_not_reset_project(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.016 sec shouldInitializeContainerInfoWithEmtyEnvironmentVariable(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.04 sec <<< ERROR! java.lang.ClassCastException: org.mockito.internal.creation.jmock.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByMockitoWithCGLIB$$9ae3d8ec cannot be cast to java.util.List at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:352) at org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest.shouldInitializeContainerInfoWithEmtyEnvironmentVariable(DeployImageWizardModelTest.java:429) loadResources_should_reset_project_if_not_contained_in_loaded_project(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.019 sec checkThatRemoveANonExistingServicePortIsNotEffective(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.028 sec <<< ERROR! java.lang.ClassCastException: org.mockito.internal.creation.jmock.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByMockitoWithCGLIB$$9ae3d8ec cannot be cast to java.util.List at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:352) at org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest.checkThatRemoveANonExistingServicePortIsNotEffective(DeployImageWizardModelTest.java:356) checkThatRemoveANonExistingEnvironmentVariableIsNotEffective(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.029 sec <<< ERROR! java.lang.ClassCastException: org.mockito.internal.creation.jmock.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByMockitoWithCGLIB$$9ae3d8ec cannot be cast to java.util.List at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:352) at org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest.checkThatRemoveANonExistingEnvironmentVariableIsNotEffective(DeployImageWizardModelTest.java:409) checkThatNewDockerConnectionsAreReported(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.015 sec shouldInitializeContainerInfoFromRemoteDockerImageWithVolumes(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.02 sec should_reload_resources_if_connection_was_changed(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.016 sec checkThatServicePortsAreReset(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.029 sec <<< ERROR! java.lang.ClassCastException: org.mockito.internal.creation.jmock.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByMockitoWithCGLIB$$9ae3d8ec cannot be cast to java.util.List at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:352) at org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest.checkThatServicePortsAreReset(DeployImageWizardModelTest.java:331) should_not_load_resources_twice(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.01 sec shouldInitializeContainerInfoFromLocalDockerImage(org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest) Time elapsed: 0.027 sec <<< ERROR! java.lang.ClassCastException: org.mockito.internal.creation.jmock.ClassImposterizer$ClassWithSuperclassToWorkAroundCglibBug$$EnhancerByMockitoWithCGLIB$$9ae3d8ec cannot be cast to java.util.List at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:352) at org.jboss.tools.openshift.test.ui.wizard.deployimage.DeployImageWizardModelTest.shouldInitializeContainerInfoFromLocalDockerImage(DeployImageWizardModelTest.java:107)
- is caused by
-
JBIDE-22916 Deploy Docker Wizard: Deploying a docker image from OpenShift explorer does not fetch metadata if image is not pulled to a docker connection
- Closed