Uploaded image for project: 'Spring Boot & Cloud'
  1. Spring Boot & Cloud
  2. SB-536

Config Map Booster tests fails in S2I deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.5.10.SP2
    • 1.5.10.SP2
    • booster
    • None

      spring-boot-configmap-booster:

      [INFO] -------------------------------------------------------
      [INFO]  T E S T S
      [INFO] -------------------------------------------------------
      [INFO] Running io.openshift.booster.OpenShiftIT
      �[32mInitializing Session:aecba928�[m
      �[32mUsing Kubernetes at: https://kubernetes.default.svc/�[m
      Replication controller: [jenkins-1]
      Replication controller: [spring-boot-configmap-1]
      Replication controller: [spring-boot-configmap-greeting-1]
      Replication controller: [spring-boot-rest-http-1]
      Replication controller: [spring-boot-rest-http-crud-1]
      Pod: [jenkins-1-dgf6t] Status: [Running]
      Pod: [rourka-maven-3427a58530a8] Status: [Failed]
      Pod: [rourka-maven-37775768bbc8] Status: [Running]
      Pod: [spring-boot-circuit-breaker-greeting-s2i-1-build] Status: [Succeeded]
      Pod: [spring-boot-circuit-breaker-name-s2i-1-build] Status: [Succeeded]
      Pod: [spring-boot-configmap-1-build] Status: [Succeeded]
      Pod: [spring-boot-configmap-1-qmwqn] Status: [Running]
      Pod: [spring-boot-configmap-greeting-s2i-1-build] Status: [Succeeded]
      Pod: [spring-boot-health-check-s2i-1-build] Status: [Succeeded]
      Pod: [spring-boot-rest-http-crud-s2i-1-build] Status: [Succeeded]
      Pod: [spring-boot-rest-http-s2i-1-build] Status: [Succeeded]
      Pod: [spring-boot-rest-http-secured-s2i-1-build] Status: [Succeeded]
      Service: [jenkins] IP: [172.30.180.1] Ports: [ 80 ]
      Service: [jenkins-jnlp] IP: [172.30.104.244] Ports: [ 50000 ]
      Service: [spring-boot-configmap] IP: [172.30.231.39] Ports: [ 8080 ]
      Mar 01, 2018 12:12:40 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createEnvironment
      INFO: Creating environment for io.openshift.booster.OpenShiftIT
      Mar 01, 2018 12:12:40 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createOpenShiftResource
      INFO: Creating environment for io.openshift.booster.OpenShiftIT method public void io.openshift.booster.OpenShiftIT.testAGreetingEndpoint()
      Mar 01, 2018 12:12:40 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createOpenShiftResource
      INFO: Creating environment for io.openshift.booster.OpenShiftIT method public void io.openshift.booster.OpenShiftIT.testBGreetingEndpointWithNameParameter()
      Mar 01, 2018 12:12:40 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createOpenShiftResource
      INFO: Creating environment for io.openshift.booster.OpenShiftIT method public void io.openshift.booster.OpenShiftIT.testCConfigMapUpdate()
      Mar 01, 2018 12:12:40 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor createOpenShiftResource
      INFO: Creating environment for io.openshift.booster.OpenShiftIT method public void io.openshift.booster.OpenShiftIT.testDConfigMapNotPresent()
      Mar 01, 2018 12:12:40 PM org.arquillian.cube.openshift.impl.CEEnvironmentProcessor deleteEnvironment
      INFO: Deleting environment for io.openshift.booster.OpenShiftIT
      [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 2.738 s <<< FAILURE! - in io.openshift.booster.OpenShiftIT
      [ERROR] testAGreetingEndpoint(io.openshift.booster.OpenShiftIT)  Time elapsed: 0.227 s  <<< ERROR!
      java.lang.RuntimeException: Could not set RouteURL value on field private java.net.URL io.openshift.booster.OpenShiftIT.greetingServiceBase
      Caused by: java.lang.IllegalArgumentException: Could not resolve route: spring-boot-configmap-greeting. Available routes: [jenkins, spring-boot-configmap]
      
      [ERROR] testBGreetingEndpointWithNameParameter(io.openshift.booster.OpenShiftIT)  Time elapsed: 0.017 s  <<< ERROR!
      java.lang.RuntimeException: Could not set RouteURL value on field private java.net.URL io.openshift.booster.OpenShiftIT.greetingServiceBase
      Caused by: java.lang.IllegalArgumentException: Could not resolve route: spring-boot-configmap-greeting. Available routes: [jenkins, spring-boot-configmap]
      
      [ERROR] testCConfigMapUpdate(io.openshift.booster.OpenShiftIT)  Time elapsed: 0.031 s  <<< ERROR!
      java.lang.RuntimeException: Could not set RouteURL value on field private java.net.URL io.openshift.booster.OpenShiftIT.greetingServiceBase
      Caused by: java.lang.IllegalArgumentException: Could not resolve route: spring-boot-configmap-greeting. Available routes: [jenkins, spring-boot-configmap]
      
      [ERROR] testDConfigMapNotPresent(io.openshift.booster.OpenShiftIT)  Time elapsed: 0.021 s  <<< ERROR!
      java.lang.RuntimeException: Could not set RouteURL value on field private java.net.URL io.openshift.booster.OpenShiftIT.greetingServiceBase
      Caused by: java.lang.IllegalArgumentException: Could not resolve route: spring-boot-configmap-greeting. Available routes: [jenkins, spring-boot-configmap]
      
      �[32mDestroying Session:aecba928�[m
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR]   OpenShiftIT.testAGreetingEndpoint ? Runtime Could not set RouteURL value on fi...
      [ERROR]   OpenShiftIT.testBGreetingEndpointWithNameParameter ? Runtime Could not set Rou...
      [ERROR]   OpenShiftIT.testCConfigMapUpdate ? Runtime Could not set RouteURL value on fie...
      [ERROR]   OpenShiftIT.testDConfigMapNotPresent ? Runtime Could not set RouteURL value on...
      [INFO] 
      [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
      

              gandrian Georgios Andrianakis
              lfuka Libor Fuka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: