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

Fix a Jenkins warning #1952

Merged

Conversation

Mailaender
Copy link
Contributor

@eselmeister eselmeister merged commit af1bf84 into eclipse-chemclipse:develop Nov 14, 2024
3 checks passed
@Mailaender Mailaender deleted the jenkins-inherit-from branch November 14, 2024 13:52
@Mailaender
Copy link
Contributor Author

Fails:

ERROR: Unable to create pod kubernetes chemclipse/chemclipse-develop-3732-kksj8-q0xdj-mb14d.
Failure executing: POST at: [https://10.30.0.1:443/api/v1/namespaces/chemclipse/pods](https://10.30.0.1/api/v1/namespaces/chemclipse/pods). Message: pods "chemclipse-develop-3732-kksj8-q0xdj-mb14d" is forbidden: minimum cpu usage per Pod is 200m, but request is 100m. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=chemclipse-develop-3732-kksj8-q0xdj-mb14d, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "chemclipse-develop-3732-kksj8-q0xdj-mb14d" is forbidden: minimum cpu usage per Pod is 200m, but request is 100m, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
ERROR: Failed to launch chemclipse-develop-3732-kksj8-q0xdj-mb14d
[Pipeline] // node
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: [https://10.30.0.1:443/api/v1/namespaces/chemclipse/pods](https://10.30.0.1/api/v1/namespaces/chemclipse/pods). Message: pods "chemclipse-develop-3732-kksj8-q0xdj-mb14d" is forbidden: minimum cpu usage per Pod is 200m, but request is 100m. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=chemclipse-develop-3732-kksj8-q0xdj-mb14d, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "chemclipse-develop-3732-kksj8-q0xdj-mb14d" is forbidden: minimum cpu usage per Pod is 200m, but request is 100m, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:660)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:640)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.assertResponseCode(OperationSupport.java:589)
	at PluginClassLoader for kubernetes-client-api//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:2147)
	at PluginClassLoader for kubernetes-client-api//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:2147)
	at PluginClassLoader for kubernetes-client-api//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:2147)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$OkHttpAsyncBody.doConsume(OkHttpClientImpl.java:137)
Caused: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: [https://10.30.0.1:443/api/v1/namespaces/chemclipse/pods](https://10.30.0.1/api/v1/namespaces/chemclipse/pods). Message: pods "chemclipse-develop-3732-kksj8-q0xdj-mb14d" is forbidden: minimum cpu usage per Pod is 200m, but request is 100m. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=chemclipse-develop-3732-kksj8-q0xdj-mb14d, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "chemclipse-develop-3732-kksj8-q0xdj-mb14d" is forbidden: minimum cpu usage per Pod is 200m, but request is 100m, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.KubernetesClientException.copyAsCause(KubernetesClientException.java:238)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.waitForResult(OperationSupport.java:507)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleResponse(OperationSupport.java:524)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.OperationSupport.handleCreate(OperationSupport.java:340)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.BaseOperation.handleCreate(BaseOperation.java:753)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.BaseOperation.handleCreate(BaseOperation.java:97)
	at PluginClassLoader for kubernetes-client-api//io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation.create(CreateOnlyResourceOperation.java:42)
	at PluginClassLoader for kubernetes//org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher.launch(KubernetesLauncher.java:155)
	at hudson.slaves.SlaveComputer.lambda$_connect$0(SlaveComputer.java:297)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:80)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:857)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants