Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8213

System testsuite fails with route name being too long

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.CR1
    • 3.0.0.Beta1
    • test-infrastructure
    • None

      Fails with

      Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://172.30.0.1:443/apis/route.openshift.io/v1/namespaces/debezium-testsuite/routes. Message: Route.route.openshift.io "debezium-kafka-connect-cluster-connect-metrics" is invalid: spec.host: Invalid value: "debezium-kafka-connect-cluster-connect-metrics-debezium-testsuite.apps.vjuranek.debezium.app-services-dev.net": must be no more than 63 characters. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.host, message=Invalid value: "debezium-kafka-connect-cluster-connect-metrics-debezium-testsuite.apps.vjuranek.debezium.app-services-dev.net": must be no more than 63 characters, reason=FieldValueInvalid, additionalProperties={})], group=route.openshift.io, kind=Route, name=debezium-kafka-connect-cluster-connect-metrics, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Route.route.openshift.io "debezium-kafka-connect-cluster-connec...
      at io.fabric8.kubernetes.client.KubernetesClientException.copyAsCause(KubernetesClientException.java:238)
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.waitForResult(OperationSupport.java:507)
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleResponse(OperationSupport.java:524)
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleCreate(OperationSupport.java:340)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.handleCreate(BaseOperation.java:753)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.handleCreate(BaseOperation.java:97)
      at io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation.create(CreateOnlyResourceOperation.java:42)
      at io.fabric8.kubernetes.client.utils.internal.CreateOrReplaceHelper.createOrReplace(CreateOrReplaceHelper.java:53)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.createOrReplace(BaseOperation.java:313)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.createOrReplace(BaseOperation.java:97)
      at io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation.create(CreateOnlyResourceOperation.java:42)
      at io.fabric8.kubernetes.client.utils.internal.CreateOrReplaceHelper.createOrReplace(CreateOrReplaceHelper.java:53)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.createOrReplace(BaseOperation.java:313)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.createOrReplace(BaseOperation.java:97)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.createOrReplace(BaseOperation.java:1113)
      at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.createOrReplace(BaseOperation.java:97)
      at io.debezium.testing.system.tools.OpenShiftUtils.createRoute(OpenShiftUtils.java:82)
      at io.debezium.testing.system.tools.kafka.OcpKafkaConnectController.exposeMetrics(OcpKafkaConnectController.java:195)
      at io.debezium.testing.system.fixtures.kafka.OcpKafka.deployConnectCluster(OcpKafka.java:114)
      at io.debezium.testing.system.fixtures.kafka.OcpKafka.setup(OcpKafka.java:67)
      at fixture5.annotations.FixtureProcessor.setupFixture(processors.kt:70)
      ... 51 more
      Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://172.30.0.1:443/apis/route.openshift.io/v1/namespaces/debezium-testsuite/routes. Message: Route.route.openshift.io "debezium-kafka-connect-cluster-connect-metrics" is invalid: spec.host: Invalid value: "debezium-kafka-connect-cluster-connect-metrics-debezium-testsuite.apps.vjuranek.debezium.app-services-dev.net": must be no more than 63 characters. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.host, message=Invalid value: "debezium-kafka-connect-cluster-connect-metrics-debezium-testsuite.apps.vjuranek.debezium.app-services-dev.net": must be no more than 63 characters, reason=FieldValueInvalid, additionalProperties={})], group=route.openshift.io, kind=Route, name=debezium-kafka-connect-cluster-connect-metrics, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Route.route.openshift.io "debezium-kafka-connect-cluster-connec...
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:660)
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:640)
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.assertResponseCode(OperationSupport.java:589)
      at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.lambda$handleResponse$0(OperationSupport.java:549)
      at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
      at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)
      at io.fabric8.kubernetes.client.http.StandardHttpClient.lambda$completeOrCancel$10(StandardHttpClient.java:143)
      at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
      at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
      at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)
      at io.fabric8.kubernetes.client.http.ByteArrayBodyHandler.onBodyDone(ByteArrayBodyHandler.java:52)
      at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863)
      at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841)
      at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
      at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2179)
      at io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$OkHttpAsyncBody.doConsume(OkHttpClientImpl.java:137)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
      at java.base/java.lang.Thread.run(Thread.java:1583)
      

            vjuranek@redhat.com Vojtech Juranek
            vjuranek@redhat.com Vojtech Juranek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: