Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] - Kubernetes end-to-end testing #26581

Closed
gsmet opened this issue Jul 6, 2022 · 67 comments · Fixed by #27825
Closed

[CI] - Kubernetes end-to-end testing #26581

gsmet opened this issue Jul 6, 2022 · 67 comments · Fixed by #27825
Labels
area/kubernetes triage/ci-participant Issue used to track when CI has failed for a ecosystem-ci participant.
Milestone

Comments

@gsmet
Copy link
Member

gsmet commented Jul 6, 2022

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.

@gsmet gsmet added the triage/ci-participant Issue used to track when CI has failed for a ecosystem-ci participant. label Jul 6, 2022
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 6, 2022

/cc @geoand, @iocanel

@gsmet gsmet changed the title [CI] - Kubernetes and OpenShift end-to-end testing [CI] - Kubernetes end-to-end testing Jul 6, 2022
@quarkusbot
Copy link

Build fixed:

@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot quarkusbot reopened this Sep 9, 2022
@geoand
Copy link
Contributor

geoand commented Sep 9, 2022

This might be related to the k8s client upgrade. @manusa @metacosm mind taking a look?

@manusa
Copy link
Contributor

manusa commented Sep 9, 2022

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={}).

@geoand
Copy link
Contributor

geoand commented Sep 9, 2022

cc @Sgitario and @iocanel as well

@Sgitario
Copy link
Contributor

Sgitario commented Sep 9, 2022

fix in #27825

@quarkus-bot quarkus-bot bot added this to the 2.13 - main milestone Sep 9, 2022
@quarkusbot quarkusbot reopened this May 30, 2023
@quarkusbot
Copy link

Unfortunately, the build failed:

@Sgitario
Copy link
Contributor

Unfortunately, the build failed:

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.

@Sgitario
Copy link
Contributor

PR that fixes the issue: #33686

@quarkusbot
Copy link

Build fixed:

@quarkusbot
Copy link

Unfortunately, the build failed:

@Sgitario
Copy link
Contributor

@iocanel the failures are related to the changes in #33724, can you have a look please?

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@Sgitario
Copy link
Contributor

#34121 should fix the test failures.

@quarkusbot
Copy link

Build fixed:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

The build is still failing:

@quarkusbot
Copy link

Build fixed:

@quarkusbot quarkusbot reopened this Jul 8, 2024
@quarkusbot
Copy link

Unfortunately, the build failed:

@quarkusbot
Copy link

Build fixed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes triage/ci-participant Issue used to track when CI has failed for a ecosystem-ci participant.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants