skodjob / odh-e2e

Kubernetes native tests for opendatahub operator
Apache License 2.0
2 stars 4 forks source link

Add waits to DistributedST.java to prevent flaky fails #130

Closed jiridanek closed 6 months ago

jiridanek commented 6 months ago

Resolves

io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://api.crc.testing:6443/apis/workload.codeflare.dev/v1beta1/namespaces/test-codeflare/appwrappers. Message: Not Found.
    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:754)
    at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.handleCreate(BaseOperation.java:98)
    at io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation.create(CreateOnlyResourceOperation.java:42)
    at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.create(BaseOperation.java:1155)
    at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.create(BaseOperation.java:98)
    at io.fabric8.kubernetes.client.extension.ResourceAdapter.create(ResourceAdapter.java:114)
    at io.odh.test.framework.manager.ResourceManager.createResource(ResourceManager.java:149)
    at io.odh.test.framework.manager.ResourceManager.createResourceWithWait(ResourceManager.java:110)
    at io.odh.test.e2e.standard.DistributedST.lambda$testDistributedWorkload$0(DistributedST.java:99)

and

json parsing error when test tries to parse the 503 page from openshift as json