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

Bump kubernetes-client-bom from 5.1.1 to 5.2.0 #15683

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 12, 2021

Bumps kubernetes-client-bom from 5.1.1 to 5.2.0.

Release notes

Sourced from kubernetes-client-bom's releases.

5.2.0 (2021-03-12)

Bugs

  • Fix #2802: NullPointerException in HasMetadataOperation patch/replace when using KubernetesMockServer
  • Fix #2828: Remove automatic instantiation of CustomResource spec and status as this feature was causing more issues than it was solving
  • Fix #2857: Fix the log of an unexpected error from an Informer's EventHandler
  • Fix #2853: Cannot change the type of the Service from ClusterIP to ExternalName with PATCH
  • Fix #2855: .withPropagationPolicy and .withGracePeriod DSL methods can't be combined for Resource API deletion operations
  • Fix #2783: OpenIDConnectionUtils#persistKubeConfigWithUpdatedToken persists access token instead of refresh token
  • Fix #2871: Change longFileMode to LONGFILE_POSIX for creating tar in PodUpload, improve exception handling in PodUpload.
  • Fix #2746: SharedInformerFactory should use key formed from OperationContext
  • Fix #2736: Move CRD annotations to kubernetes-model-common module for greater coherence
  • Fix #2836: Make CRD generation usable at runtime, split the generator into api and apt modules, the crd-generator-apt artifact corresponding to the previous crd-generator artifact, while the crd-generator-api artifact can be consumed directly to generate the CRDs at runtime.

Improvements

  • Fix #2781: RawCustomResourceOperationsImpl#delete now returns a boolean value for deletion status
  • Fix #2780: Refactor RawCustomResourceOperationsImpl#delete(String)

New Features

  • Fix #2818: Update chaos-mesh extension to v1.1.1. Add PodIoChaos, JVMChaos, HTTPChaos and DNSChaos.
  • Fix #2699: Add support for @EnableOpenShiftMockClient for OpenShiftClient
  • Fix #2588: Support for Server side dry runs
Changelog

Sourced from kubernetes-client-bom's changelog.

5.2.0 (2021-03-12)

Bugs

  • Fix #2802: NullPointerException in HasMetadataOperation patch/replace when using KubernetesMockServer
  • Fix #2828: Remove automatic instantiation of CustomResource spec and status as this feature was causing more issues than it was solving
  • Fix #2857: Fix the log of an unexpected error from an Informer's EventHandler
  • Fix #2853: Cannot change the type of the Service from ClusterIP to ExternalName with PATCH
  • Fix #2855: .withPropagationPolicy and .withGracePeriod DSL methods can't be combined for Resource API deletion operations
  • Fix #2783: OpenIDConnectionUtils#persistKubeConfigWithUpdatedToken persists access token instead of refresh token
  • Fix #2871: Change longFileMode to LONGFILE_POSIX for creating tar in PodUpload, improve exception handling in PodUpload.
  • Fix #2746: SharedInformerFactory should use key formed from OperationContext
  • Fix #2736: Move CRD annotations to kubernetes-model-common module for greater coherence
  • Fix #2836: Make CRD generation usable at runtime, split the generator into api and apt modules, the crd-generator-apt artifact corresponding to the previous crd-generator artifact, while the crd-generator-api artifact can be consumed directly to generate the CRDs at runtime.

Improvements

  • Fix #2781: RawCustomResourceOperationsImpl#delete now returns a boolean value for deletion status
  • Fix #2780: Refactor RawCustomResourceOperationsImpl#delete(String)

New Features

  • Fix #2818: Update chaos-mesh extension to v1.1.1. Add PodIoChaos, JVMChaos, HTTPChaos and DNSChaos.
  • Fix #2699: Add support for @EnableOpenShiftMockClient for OpenShiftClient
  • Fix #2588: Support for Server side dry runs
Commits
  • faf7555 [RELEASE] Updated project version to v5.2.0
  • b3083a9 Fix #2802: Kubernetes Mock Server Crud Mode should reject invalid Kubernetes ...
  • 72e6189 Fail on invalid formats (#2897)
  • c3a1fb4 fix: PR #2898 comment
  • c45cbb9 fix: Restore method removed without prior notice
  • fd3f21c feat: validate generator parameters before generation
  • afab4f4 refactor: pass TypeRef instead of Optional to CustomResourceInfo
  • 1172840 fix: do not require Java 11
  • 87b39c7 docs: update changelog
  • 2ff9de5 fix: update after rebase
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the area/dependencies Pull requests that update a dependency file label Mar 12, 2021
@manusa
Copy link
Contributor

manusa commented Mar 13, 2021

JVM Tests - JDK 11: 10_Build with Maven

2021-03-12T18:29:41.0303999Z [ERROR] Failures: 
2021-03-12T18:29:41.0309931Z [ERROR]   KubernetesNewClientTest.testInteractionWithAPIServer:41 1 expectation failed.
2021-03-12T18:29:41.0312033Z Response body doesn't match expectation.
2021-03-12T18:29:41.0312670Z Expected: a string containing "12345"
2021-03-12T18:29:41.0313201Z   Actual: <!doctype html>
2021-03-12T18:29:41.0313642Z <html lang="en">
2021-03-12T18:29:41.0314012Z <head>
2021-03-12T18:29:41.0320946Z     <title>Internal Server Error - Error handling a4be76e4-78eb-4ebb-850d-c94b89b846fa-1, org.jboss.resteasy.spi.UnhandledException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://localhost:32803/api/v1/namespaces/test/pods. Message: Pod is invalid. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=null, message=Required value: name or generateName is required, reason=ValueRequired, additionalProperties={})], group=null, kind=Pod, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod is invalid, metadata=null, reason=Invalid, status=Failure, additionalProperties={}).</title>
2021-03-12T18:29:41.0356239Z     <meta charset="utf-8">
2021-03-12T18:29:41.0356691Z     <style>
2021-03-12T18:29:41.0357077Z html, body {
2021-03-12T18:29:41.0357445Z     margin: 0;
2021-03-12T18:29:41.0357836Z     padding: 0;
2021-03-12T18:29:41.0358613Z     font-family: 'Open Sans', Helvetica, Arial, sans-serif;
2021-03-12T18:29:41.0359368Z     font-size: 100%;
2021-03-12T18:29:41.0359932Z     font-weight: 100;
2021-03-12T18:29:41.0360532Z     line-height: 1.4;
2021-03-12T18:29:41.0360924Z }
2021-03-12T18:29:41.0361157Z 
2021-03-12T18:29:41.0361475Z html {
2021-03-12T18:29:41.0362004Z     overflow-y: scroll;
2021-03-12T18:29:41.0362406Z }
2021-03-12T18:29:41.0362632Z 
2021-03-12T18:29:41.0362948Z body {
2021-03-12T18:29:41.0363348Z     background: #f9f9f9;
2021-03-12T18:29:41.0363742Z }
2021-03-12T18:29:41.0364090Z .container {
2021-03-12T18:29:41.0364480Z     width: 80%;
2021-03-12T18:29:41.0364856Z     margin: 0 auto;
2021-03-12T18:29:41.0365219Z }
2021-03-12T18:29:41.0366540Z .content {
2021-03-12T18:29:41.0369741Z     padding: 1em 0 1em 0;
2021-03-12T18:29:41.0372559Z }
2021-03-12T18:29:41.0374412Z 
2021-03-12T18:29:41.0375395Z header, .component-name {
2021-03-12T18:29:41.0376123Z     background-color: #ad1c1c;
2021-03-12T18:29:41.0376581Z }
2021-03-12T18:29:41.0376807Z 
2021-03-12T18:29:41.0377117Z ul {
2021-03-12T18:29:41.0377641Z     line-height: 1.5rem;
2021-03-12T18:29:41.0378105Z     margin: 0.25em 0 0.25em 0;
2021-03-12T18:29:41.0378478Z }
2021-03-12T18:29:41.0378705Z 
2021-03-12T18:29:41.0379263Z .exception-message {
2021-03-12T18:29:41.0379792Z     background: #be2828;
2021-03-12T18:29:41.0380170Z }
2021-03-12T18:29:41.0380392Z 
2021-03-12T18:29:41.0380704Z h1, h2 {
2021-03-12T18:29:41.0381300Z     margin: 0;
2021-03-12T18:29:41.0381671Z     padding: 0;
2021-03-12T18:29:41.0382028Z }
2021-03-12T18:29:41.0382239Z 
2021-03-12T18:29:41.0382558Z h1 {
2021-03-12T18:29:41.0383071Z     font-size: 2rem;
2021-03-12T18:29:41.0383488Z     color: #fff;
2021-03-12T18:29:41.0384041Z     line-height: 3.75rem;
2021-03-12T18:29:41.0384627Z     font-weight: 700;
2021-03-12T18:29:41.0385115Z     padding: 0.4rem 0rem 0.4rem 0rem;
2021-03-12T18:29:41.0387105Z }
2021-03-12T18:29:41.0389047Z 
2021-03-12T18:29:41.0391413Z h2 {
2021-03-12T18:29:41.0395657Z     font-size: 1.2rem;
2021-03-12T18:29:41.0399074Z     color: rgba(255, 255, 255, 0.85);
2021-03-12T18:29:41.0400473Z     line-height: 2.5rem;
2021-03-12T18:29:41.0401229Z     font-weight: 400;
2021-03-12T18:29:41.0401720Z     padding: 0.4rem 0rem 0.4rem 0rem;
2021-03-12T18:29:41.0402118Z }
2021-03-12T18:29:41.0402342Z 
2021-03-12T18:29:41.0402873Z .intro {    font-size: 1.2rem;
2021-03-12T18:29:41.0403487Z     font-weight: 400;
2021-03-12T18:29:41.0403922Z     margin: 0.25em 0 1em 0;
2021-03-12T18:29:41.0404294Z }
2021-03-12T18:29:41.0404618Z h3 {
2021-03-12T18:29:41.0405115Z     font-size: 1.2rem;
2021-03-12T18:29:41.0405708Z     line-height: 2.5rem;
2021-03-12T18:29:41.0409884Z     font-weight: 400;
2021-03-12T18:29:41.0413136Z     color: #555;
2021-03-12T18:29:41.0414537Z     margin: 0.25em 0 0.25em 0;
2021-03-12T18:29:41.0414902Z }
2021-03-12T18:29:41.0415130Z 
2021-03-12T18:29:41.0415527Z .trace, .resources {
2021-03-12T18:29:41.0415975Z     background: #fff;
2021-03-12T18:29:41.0416393Z     padding: 15px;
2021-03-12T18:29:41.0416815Z     margin: 15px auto;
2021-03-12T18:29:41.0417269Z     border: 1px solid #ececec;
2021-03-12T18:29:41.0417682Z }
2021-03-12T18:29:41.0418015Z .trace {
2021-03-12T18:29:41.0418570Z     overflow-y: scroll;
2021-03-12T18:29:41.0418975Z }
2021-03-12T18:29:41.0419304Z .hidden {
2021-03-12T18:29:41.0419699Z    display: none;
2021-03-12T18:29:41.0420053Z }
2021-03-12T18:29:41.0420277Z 
2021-03-12T18:29:41.0420593Z pre {
2021-03-12T18:29:41.0421141Z     white-space: pre;
2021-03-12T18:29:41.0422076Z     font-family: Consolas, Monaco, Menlo, "Ubuntu Mono", "Liberation Mono", monospace;
2021-03-12T18:29:41.0422934Z     font-size: 12px;
2021-03-12T18:29:41.0423505Z     line-height: 1.5;
2021-03-12T18:29:41.0423928Z     color: #555;
2021-03-12T18:29:41.0424261Z }
2021-03-12T18:29:41.0424584Z </style>
2021-03-12T18:29:41.0424950Z <script>
2021-03-12T18:29:41.0426119Z 	function toggleStackTraceOrder() {
2021-03-12T18:29:41.0434175Z 		var stElement = document.getElementById('stacktrace');
2021-03-12T18:29:41.0441165Z 		var current = stElement.getAttribute('data-current-setting');
2021-03-12T18:29:41.0442244Z 		if (current == 'original-stacktrace') {
2021-03-12T18:29:41.0443395Z 			var reverseOrder = document.getElementById('reversed-stacktrace');
2021-03-12T18:29:41.0444513Z 			stElement.innerHTML = reverseOrder.innerHTML;
2021-03-12T18:29:41.0445859Z 			stElement.setAttribute('data-current-setting', 'reversed-stacktrace');
2021-03-12T18:29:41.0446704Z 		} else {
2021-03-12T18:29:41.0447677Z 			var originalOrder = document.getElementById('original-stacktrace');
2021-03-12T18:29:41.0448783Z 			stElement.innerHTML = originalOrder.innerHTML;
2021-03-12T18:29:41.0450120Z 			stElement.setAttribute('data-current-setting', 'original-stacktrace');
2021-03-12T18:29:41.0450927Z 		}
2021-03-12T18:29:41.0451275Z 		return;
2021-03-12T18:29:41.0451604Z 	}
2021-03-12T18:29:41.0452212Z 	function showDefaultStackTraceOrder() {
2021-03-12T18:29:41.0453474Z 		var reverseOrder = document.getElementById('reversed-stacktrace');
2021-03-12T18:29:41.0454728Z 		var stElement = document.getElementById('stacktrace');
2021-03-12T18:29:41.0455570Z        if (reverseOrder == null || stElement == null) {
2021-03-12T18:29:41.0456105Z            return;
2021-03-12T18:29:41.0456461Z        }
2021-03-12T18:29:41.0456937Z 		// default to reverse ordered stacktrace
2021-03-12T18:29:41.0457748Z 		stElement.innerHTML = reverseOrder.innerHTML;
2021-03-12T18:29:41.0459087Z 		stElement.setAttribute('data-current-setting', 'reversed-stacktrace');
2021-03-12T18:29:41.0460060Z 		return;
2021-03-12T18:29:41.0460403Z 	}
2021-03-12T18:29:41.0460733Z </script>
2021-03-12T18:29:41.0461095Z </head>
2021-03-12T18:29:41.0461719Z <body  onload="showDefaultStackTraceOrder()">
2021-03-12T18:29:41.0462353Z <header>
2021-03-12T18:29:41.0462882Z     <h1 class="container">Internal Server Error</h1>
2021-03-12T18:29:41.0463692Z     <div class="exception-message">
2021-03-12T18:29:41.0474869Z         <h2 class="container">Error handling a4be76e4-78eb-4ebb-850d-c94b89b846fa-1, org.jboss.resteasy.spi.UnhandledException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://localhost:32803/api/v1/namespaces/test/pods. Message: Pod is invalid. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=null, message=Required value: name or generateName is required, reason=ValueRequired, additionalProperties={})], group=null, kind=Pod, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod is invalid, metadata=null, reason=Invalid, status=Failure, additionalProperties={}).</h2>
2021-03-12T18:29:41.0479568Z     </div>
2021-03-12T18:29:41.0479927Z </header>
2021-03-12T18:29:41.0480392Z <div class="container content">
2021-03-12T18:29:41.0481314Z     <div id="original-stacktrace" class="trace hidden">
2021-03-12T18:29:41.0487086Z <p><em><a href="" onClick="toggleStackTraceOrder(); return false;">Click Here</a> to see the stacktrace in reversed  order (root-cause first)</em></p>        <pre>org.jboss.resteasy.spi.UnhandledException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://localhost:32803/api/v1/namespaces/test/pods. Message: Pod is invalid. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=null, message=Required value: name or generateName is required, reason=ValueRequired, additionalProperties={})], group=null, kind=Pod, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod is invalid, metadata=null, reason=Invalid, status=Failure, additionalProperties={}).
2021-03-12T18:29:41.0493259Z 	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
2021-03-12T18:29:41.0496162Z 	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
2021-03-12T18:29:41.0498886Z 	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
2021-03-12T18:29:41.0501532Z 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
2021-03-12T18:29:41.0503970Z 	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
2021-03-12T18:29:41.0509436Z 	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
2021-03-12T18:29:41.0517958Z 	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
2021-03-12T18:29:41.0521775Z 	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
2021-03-12T18:29:41.0524315Z 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
2021-03-12T18:29:41.0527040Z 	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
2021-03-12T18:29:41.0530232Z 	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
2021-03-12T18:29:41.0533482Z 	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
2021-03-12T18:29:41.0536488Z 	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
2021-03-12T18:29:41.0538811Z 	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
2021-03-12T18:29:41.0540768Z 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
2021-03-12T18:29:41.0546332Z 	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
2021-03-12T18:29:41.0548573Z 	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
2021-03-12T18:29:41.0550286Z 	at java.base/java.lang.Thread.run(Thread.java:834)
2021-03-12T18:29:41.0551335Z 	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
2021-03-12T18:29:41.0555429Z Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://localhost:32803/api/v1/namespaces/test/pods. Message: Pod is invalid. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=null, message=Required value: name or generateName is required, reason=ValueRequired, additionalProperties={})], group=null, kind=Pod, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod is invalid, metadata=null, reason=Invalid, status=Failure, additionalProperties={}).
2021-03-12T18:29:41.0560709Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:583)
2021-03-12T18:29:41.0564338Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:522)
2021-03-12T18:29:41.0567786Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:487)
2021-03-12T18:29:41.0571081Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:448)
2021-03-12T18:29:41.8831505Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:263)
2021-03-12T18:29:41.8834711Z 	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:870)
2021-03-12T18:29:41.8837430Z 	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:365)
2021-03-12T18:29:41.8839917Z 	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:86)
2021-03-12T18:29:41.8841991Z 	at io.quarkus.it.kubernetes.client.Pods.createNew(Pods.java:68)
2021-03-12T18:29:41.8843930Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2021-03-12T18:29:41.8846458Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2021-03-12T18:29:41.8849351Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2021-03-12T18:29:41.8851492Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2021-03-12T18:29:41.8853159Z 	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
2021-03-12T18:29:41.8855353Z 	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
2021-03-12T18:29:41.8858199Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:643)
2021-03-12T18:29:41.8861837Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:507)
2021-03-12T18:29:41.8865018Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:457)
2021-03-12T18:29:41.8868924Z 	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
2021-03-12T18:29:41.8872829Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
2021-03-12T18:29:41.8875541Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:419)
2021-03-12T18:29:41.8877980Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:393)
2021-03-12T18:29:41.8880441Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:68)
2021-03-12T18:29:41.8882876Z 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
2021-03-12T18:29:41.8884295Z 	... 15 more</pre>
2021-03-12T18:29:41.8884659Z     </div>
2021-03-12T18:29:41.8886176Z     <div id="reversed-stacktrace" class="trace hidden">
2021-03-12T18:29:41.8890731Z <p><em>The stacktrace below has been reversed to show the root cause first. <a href="" onClick="toggleStackTraceOrder(); return false;">Click Here</a> to see the original stacktrace</em></p>        <pre>io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://localhost:32803/api/v1/namespaces/test/pods. Message: Pod is invalid. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=null, message=Required value: name or generateName is required, reason=ValueRequired, additionalProperties={})], group=null, kind=Pod, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod is invalid, metadata=null, reason=Invalid, status=Failure, additionalProperties={}).
2021-03-12T18:29:41.8896625Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:583)
2021-03-12T18:29:41.8900122Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:522)
2021-03-12T18:29:41.8903598Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:487)
2021-03-12T18:29:41.8907010Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:448)
2021-03-12T18:29:41.8910234Z 	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:263)
2021-03-12T18:29:41.8913262Z 	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:870)
2021-03-12T18:29:41.8915921Z 	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:365)
2021-03-12T18:29:41.8918409Z 	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:86)
2021-03-12T18:29:41.8920466Z 	at io.quarkus.it.kubernetes.client.Pods.createNew(Pods.java:68)
2021-03-12T18:29:41.8922416Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2021-03-12T18:29:41.8924863Z 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2021-03-12T18:29:41.8927755Z 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2021-03-12T18:29:41.8929889Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
2021-03-12T18:29:41.8931567Z 	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
2021-03-12T18:29:41.8933750Z 	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
2021-03-12T18:29:41.8936612Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:643)
2021-03-12T18:29:41.8940228Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:507)
2021-03-12T18:29:41.8943431Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:457)
2021-03-12T18:29:41.8948248Z 	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
2021-03-12T18:29:41.8952171Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
2021-03-12T18:29:41.8954889Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:419)
2021-03-12T18:29:41.8957337Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:393)
2021-03-12T18:29:41.8959800Z 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:68)
2021-03-12T18:29:41.8962222Z 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
2021-03-12T18:29:41.8964688Z 	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
2021-03-12T18:29:41.8967191Z 	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
2021-03-12T18:29:41.8971060Z 	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
2021-03-12T18:29:41.8974813Z 	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
2021-03-12T18:29:41.8977366Z 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
2021-03-12T18:29:41.8980099Z 	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
2021-03-12T18:29:41.8983290Z 	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
2021-03-12T18:29:41.8986630Z 	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
2021-03-12T18:29:41.8989708Z 	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
2021-03-12T18:29:41.8992044Z 	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
2021-03-12T18:29:41.8994356Z 	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
2021-03-12T18:29:41.8996253Z 	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
2021-03-12T18:29:41.8998431Z 	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
2021-03-12T18:29:41.9000143Z 	at java.base/java.lang.Thread.run(Thread.java:834)
2021-03-12T18:29:41.9001194Z 	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
2021-03-12T18:29:41.9005777Z Resulted in: org.jboss.resteasy.spi.UnhandledException: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://localhost:32803/api/v1/namespaces/test/pods. Message: Pod is invalid. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=null, message=Required value: name or generateName is required, reason=ValueRequired, additionalProperties={})], group=null, kind=Pod, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod is invalid, metadata=null, reason=Invalid, status=Failure, additionalProperties={}).
2021-03-12T18:29:41.9011375Z 	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
2021-03-12T18:29:41.9014304Z 	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
2021-03-12T18:29:41.9017014Z 	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
2021-03-12T18:29:41.9019674Z 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
2021-03-12T18:29:41.9021075Z 	... 15 more</pre>
2021-03-12T18:29:41.9021442Z     </div>
2021-03-12T18:29:41.9021907Z <div id="stacktrace"></div></div></body>
2021-03-12T18:29:41.9022348Z </html>
2021-03-12T18:29:41.9022593Z 
2021-03-12T18:29:41.9022819Z 
2021-03-12T18:29:41.9023131Z [INFO] 
2021-03-12T18:29:41.9023645Z [ERROR] Tests run: 7, Failures: 1, Errors: 0, Skipped: 0

@manusa
Copy link
Contributor

manusa commented Mar 13, 2021

We recently made a change to the MockServer so that it validates create requests, Resource HasMetadata has to pass some conditions now.

@gsmet
Copy link
Member

gsmet commented Mar 13, 2021

@manusa any chance you could adjust things to make the tests pass?

@manusa
Copy link
Contributor

manusa commented Mar 13, 2021

I can try to find some time tomorrow morning.

@manusa
Copy link
Contributor

manusa commented Mar 13, 2021

Hi @gsmet I found some time to fix the test, hopefully #15697 solves this.

@gsmet gsmet closed this Mar 13, 2021
@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Mar 13, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 13, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/maven/io.fabric8-kubernetes-client-bom-5.2.0 branch March 13, 2021 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment