quarkus
quarkus copied to clipboard
[CI] - Kubernetes end-to-end testing
This issue will be open and closed dependent on the state of Kubernetes end-to-end testing building against Quarkus main snapshot.
If you have interest in being notified of this subscribe to the issue.
/cc @geoand, @iocanel
Build fixed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/2733210625
Unfortunately, the build failed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/3019661898
This might be related to the k8s client upgrade. @manusa @metacosm mind taking a look?
I'll try to take a look later, but this seems more related to the content of the resource and not to the API invocation itself (selector doesn't match template labels). I'm not sure if this is done through Dekorate, or if it's implemented directly in the Quarkus code-base.
Related error log:
Error: [INFO] [ERROR] [error]: Build step io.quarkus.kubernetes.deployment.KubernetesDeployer#deploy threw an exception: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://10.1.0.191:8443/apis/apps/v1/namespaces/default/statefulsets. Message: StatefulSet.apps "kubernetes-docker-build-and-deploy-statefulset" is invalid: spec.template.metadata.labels: Invalid value: map[string]string(nil): `selector` does not match template `labels`. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.template.metadata.labels, message=Invalid value: map[string]string(nil): `selector` does not match template `labels`, reason=FieldValueInvalid, additionalProperties={})], group=apps, kind=StatefulSet, name=kubernetes-docker-build-and-deploy-statefulset, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=StatefulSet.apps "kubernetes-docker-build-and-deploy-statefulset" is invalid: spec.template.metadata.labels: Invalid value: map[string]string(nil): `selector` does not match template `labels`, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
cc @Sgitario and @iocanel as well
fix in https://github.com/quarkusio/quarkus/pull/27825
Unfortunately, the build failed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5116893357
Unfortunately, the build failed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5116893357
This is caused by:
2023-05-30T02:31:51.1127191Z [INFO] [ERROR] Failed to execute goal on project kubernetes-with-grpc: Could not resolve dependencies for project org.acme:kubernetes-with-grpc:jar:0.1-SNAPSHOT: Could not find artifact io.quarkus:quarkus-grpc:jar:999-SNAPSHOT -> [Help 1]
I need to add the quarkus-grpc dependency in the kubernetes-integration test module.
PR that fixes the issue: https://github.com/quarkusio/quarkus/pull/33686
Build fixed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5128207465
Unfortunately, the build failed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5285549442
@iocanel the failures are related to the changes in https://github.com/quarkusio/quarkus/pull/33724, can you have a look please?
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5295820289
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5307148312
https://github.com/quarkusio/quarkus/pull/34121 should fix the test failures.
Build fixed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/5317839476
Unfortunately, the build failed:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7054878699
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7067390539
This is due to the Java 17 upgrade: the docker image being used is too old. Of note, these tests are also using a really old Kubernetes version and should probably be updated as well (maybe run on a matrix of versions like current, current - 1 and maybe current - 2).
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7081150801
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7095285819
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7109296228
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7122899881
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7136532985
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7148397442
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7162064504
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7176031514
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7189850423
The build is still failing:
- Link to latest CI run: https://github.com/quarkusio/quarkus/actions/runs/7203615450