FMP boosters (tag 2.2.11-3-redhat) tests raises error during testing against OCP 4.6.7:
[INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running dev.snowdrop.example.OpenShiftIT CubeKubernetesConfiguration: namespace = productized-tests master.url = https://api.ocp4.dynamic.rhoar:6443/ namespace.lazy.enabled = true namespace.cleanup.enabled = true namespace.cleanup.timeout = 0 namespace.cleanup.confirm.enabled = false namespace.destroy.enabled = false namespace.destroy.confirm.enabled = false namespace.destroy.timeout = 0 wait.enabled = true wait.timeout = 480000 wait.poll.interval = 5000 ansi.logger.enabled = true env.init.enabled = true logs.copy = false cube.api.version = v1 cube.trust.certs = true cube.fmp.build = false cube.fmp.build.disable.for.mvn = false cube.fmp.pom.path = pom.xml cube.fmp.debug.output = false cube.fmp.logs = true cube.fmp.build.options = CubeOpenShiftConfiguration: keepAliveGitServer = false autoStartContainers = [] proxiedContainerPorts = [] portForwardBindAddress = 127.0.0.1 openshiftRouterHttpPort = 80 openshiftRouterHttpsPort = 443 enableImageStreamDetection = false routerSniPort = 443 templateProcess = true startupTimeout = 600 httpClientTimeout = 120 awaitRouteRepetitions = 1 Initializing Session:0ec874d1 Using Kubernetes at: https://api.ocp4.dynamic.rhoar:6443/ Dec 22, 2020 10:46:39 AM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed WARNING: Failed downloading dev/snowdrop/snowdrop-dependencies/2.2.11.Beta2-redhat-00005/snowdrop-dependencies-2.2.11.Beta2-redhat-00005.pom from http://repo1.maven.org/maven2/. Reason: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact dev.snowdrop:snowdrop-dependencies:pom:2.2.11.Beta2-redhat-00005 from/to central (http://repo1.maven.org/maven2): Failed to look for file: http://repo1.maven.org/maven2/dev/snowdrop/snowdrop-dependencies/2.2.11.Beta2-redhat-00005/snowdrop-dependencies-2.2.11.Beta2-redhat-00005.pom. Return code is: 501 Dec 22, 2020 10:46:40 AM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed WARNING: Failed downloading dev/snowdrop/snowdrop-dependencies/2.2.11.Beta2-redhat-00005/snowdrop-dependencies-2.2.11.Beta2-redhat-00005.pom from https://maven.repository.redhat.com/ga/. Reason: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact dev.snowdrop:snowdrop-dependencies:pom:2.2.11.Beta2-redhat-00005 in redhat-ga (https://maven.repository.redhat.com/ga/) Dec 22, 2020 10:46:40 AM org.jboss.shrinkwrap.resolver.impl.maven.logging.LogTransferListener transferFailed WARNING: Failed downloading dev/snowdrop/snowdrop-dependencies/2.2.11.Beta2-redhat-00005/snowdrop-dependencies-2.2.11.Beta2-redhat-00005.pom from https://maven.repository.redhat.com/earlyaccess/all/. Reason: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact dev.snowdrop:snowdrop-dependencies:pom:2.2.11.Beta2-redhat-00005 in redhat-early-access (https://maven.repository.redhat.com/earlyaccess/all/) Skipping maven project dependencies. Caused by:Found 1 problems while building POM model from /home/cloud-user/jenkins/workspace/productized-master-fmp-spring-boot-http-booster/pom.xml 1/ [FATAL] Non-resolvable parent POM: Failed to resolve POM for dev.snowdrop:snowdrop-dependencies:2.2.11.Beta2-redhat-00005 due to Could not transfer artifact dev.snowdrop:snowdrop-dependencies:pom:2.2.11.Beta2-redhat-00005 from/to central (http://repo1.maven.org/maven2): Failed to look for file: http://repo1.maven.org/maven2/dev/snowdrop/snowdrop-dependencies/2.2.11.Beta2-redhat-00005/snowdrop-dependencies-2.2.11.Beta2-redhat-00005.pom. Return code is: 501 and 'parent.relativePath' points at wrong local POM @ dev.snowdrop.example:rest-http:2.2.11-3-redhat, /home/cloud-user/jenkins/workspace/productized-master-fmp-spring-boot-http-booster/pom.xml Applying kubernetes configuration from: jar:file:/home/cloud-user/jenkins/workspace/productized-master-fmp-spring-boot-http-booster/target/rest-http-2.2.11-3-redhat.jar!/META-INF/fabric8/openshift.yml Processing template. No parameters file has been specified, processing without external parameters! 2020-12-22 10:46:47.915 WARN --- [.rhoar:6443/...] i.f.k.c.v.d.i.WatchConnectionManager : Exec Failure: HTTP 503, Status: 503 - invalid upgrade response: status code 200 java.net.ProtocolException: Expected HTTP 101 response but was '503 Service Unavailable' at okhttp3.internal.ws.RealWebSocket.checkUpgradeSuccess(RealWebSocket.java:224) at okhttp3.internal.ws.RealWebSocket$1.onResponse(RealWebSocket.java:195) at okhttp3.RealCall$AsyncCall.execute(RealCall.java:174) at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2020-12-22 10:46:47.933 WARN --- [pool-1-thread-2] atchDeleteRecreateWaitApplicableListImpl : Error while waiting for: [DeploymentConfig] with name: [rest-http] in namespace: [productized-tests]: invalid upgrade response: status code 200 . The resource will be considered not ready. There are resources in not ready state: DeploymentConfig name: rest-http namespace:productized-tests [null] [Normal] [Pod:rest-http-1-deploy]: (Scheduled) Successfully assigned productized-tests/rest-http-1-deploy to ocp4-l8qpf-worker-0-m485p [2020-12-22T15:46:02Z] [Normal] [Pod:rest-http-1-deploy]: (AddedInterface) Add eth0 [10.129.2.231/23] [2020-12-22T15:46:03Z] [Normal] [Pod:rest-http-1-deploy]: (Pulled) Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c3d8603b628918e463a0d9a98718011180574e90e39bb38b76cf280e17ef7a55" already present on machine [2020-12-22T15:46:03Z] [Normal] [Pod:rest-http-1-deploy]: (Created) Created container deployment [2020-12-22T15:46:03Z] [Normal] [Pod:rest-http-1-deploy]: (Started) Started container deployment [null] [Normal] [Pod:rest-http-1-grkdp]: (Scheduled) Successfully assigned productized-tests/rest-http-1-grkdp to ocp4-l8qpf-worker-0-m485p [2020-12-22T15:46:05Z] [Normal] [Pod:rest-http-1-grkdp]: (AddedInterface) Add eth0 [10.129.2.232/23] [2020-12-22T15:46:05Z] [Normal] [Pod:rest-http-1-grkdp]: (Pulling) Pulling image "image-registry.openshift-image-registry.svc:5000/productized-tests/rest-http@sha256:d49e4daa5a19ce1bce7a4997331c842afbfcb0d7ac225d9a7f3c5a2447fdbd37" [2020-12-22T15:46:07Z] [Normal] [Pod:rest-http-1-grkdp]: (Pulled) Successfully pulled image "image-registry.openshift-image-registry.svc:5000/productized-tests/rest-http@sha256:d49e4daa5a19ce1bce7a4997331c842afbfcb0d7ac225d9a7f3c5a2447fdbd37" in 1.481400514s [2020-12-22T15:46:07Z] [Normal] [Pod:rest-http-1-grkdp]: (Created) Created container spring-boot [2020-12-22T15:46:07Z] [Normal] [Pod:rest-http-1-grkdp]: (Started) Started container spring-boot [2020-12-22T15:45:05Z] [Normal] [ReplicationController:rest-http-1]: (SuccessfulCreate) Created pod: rest-http-1-grkdp [null] [Normal] [Pod:rest-http-s2i-1-build]: (Scheduled) Successfully assigned productized-tests/rest-http-s2i-1-build to ocp4-l8qpf-worker-0-m485p [2020-12-22T15:45:16Z] [Normal] [Pod:rest-http-s2i-1-build]: (AddedInterface) Add eth0 [10.129.2.229/23] [2020-12-22T15:45:17Z] [Normal] [Pod:rest-http-s2i-1-build]: (Pulled) Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a9fab442f25ded04be3a5ff912885e59f96930734c6a119fcd83a9237fd7f95f" already present on machine [2020-12-22T15:45:17Z] [Normal] [Pod:rest-http-s2i-1-build]: (Created) Created container git-clone [2020-12-22T15:45:17Z] [Normal] [Pod:rest-http-s2i-1-build]: (Started) Started container git-clone [2020-12-22T15:45:18Z] [Normal] [Pod:rest-http-s2i-1-build]: (Pulled) Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a9fab442f25ded04be3a5ff912885e59f96930734c6a119fcd83a9237fd7f95f" already present on machine [2020-12-22T15:45:18Z] [Normal] [Pod:rest-http-s2i-1-build]: (Created) Created container manage-dockerfile [2020-12-22T15:45:18Z] [Normal] [Pod:rest-http-s2i-1-build]: (Started) Started container manage-dockerfile [2020-12-22T15:45:19Z] [Normal] [Pod:rest-http-s2i-1-build]: (Pulled) Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:a9fab442f25ded04be3a5ff912885e59f96930734c6a119fcd83a9237fd7f95f" already present on machine [2020-12-22T15:45:19Z] [Normal] [Pod:rest-http-s2i-1-build]: (Created) Created container sti-build [2020-12-22T15:45:19Z] [Normal] [Pod:rest-http-s2i-1-build]: (Started) Started container sti-build [2020-12-22T15:44:19Z] [Normal] [Build:rest-http-s2i-1]: (BuildStarted) Build productized-tests/rest-http-s2i-1 is now running [2020-12-22T15:44:51Z] [Normal] [Build:rest-http-s2i-1]: (BuildCompleted) Build productized-tests/rest-http-s2i-1 completed successfully [2020-12-22T15:45:02Z] [Normal] [DeploymentConfig:rest-http]: (DeploymentCreated) Created new replication controller "rest-http-1" for version 1 [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.916 s <<< FAILURE! - in dev.snowdrop.example.OpenShiftIT [ERROR] dev.snowdrop.example.OpenShiftIT Time elapsed: 33.914 s <<< ERROR! java.lang.RuntimeException: java.lang.IllegalStateException: Environment not initialized in time. Caused by: java.lang.IllegalStateException: Environment not initialized in time. Caused by: io.fabric8.kubernetes.clnt.v4_0.KubernetesClientTimeoutException: Timed out waiting for [480000] milliseconds for multiple resources. Resources that are not ready: [Kind:DeploymentConfig Name:rest-http Namespace:productized-tests]
The same tests are working against OCP 3.11.
Steps to reproduce:
1. git clone https://github.com/snowdrop/configmap-example.git
2. cd configmap-example
3. git checkout 2.2.11-3-redhat
4. oc login https://api.xxxx:port -u xxx -p xxx --insecure-skip-tls-verify
5. oc new-project xxxxx
6. mvn clean verify -Popenshift,openshift-it,indy-repo