Skip to content

Console Output

Started by an SCM change
19:04:08 Connecting to https://api.github.com using GitHub bot (username/token)
Obtained Jenkinsfile from 6d5eb95ceb7211588f481f975c28044f837405d3+46fb86dfe538c412a0171a42f5104f319da95b6f (396ad86c81b2e4e419e18b3dd8298c6376096f4e)
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
WARNING: Unable to create pod: kubernetes cognicrypt/hugo-agent-hvz9j-v95f9 because kubernetes resource quota exceeded. 
Failure executing: POST at: https://10.30.0.1:443/api/v1/namespaces/cognicrypt/pods. Message: pods "hugo-agent-hvz9j-v95f9" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1, used: pods=3, limited: pods=3. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=hugo-agent-hvz9j-v95f9, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "hugo-agent-hvz9j-v95f9" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1, used: pods=3, limited: pods=3, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
Retrying...

ERROR: Failed to launch hugo-agent-hvz9j-v95f9
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://10.30.0.1:443/api/v1/namespaces/cognicrypt/pods. Message: pods "hugo-agent-hvz9j-v95f9" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1, used: pods=3, limited: pods=3. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=hugo-agent-hvz9j-v95f9, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "hugo-agent-hvz9j-v95f9" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1, used: pods=3, limited: pods=3, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:660)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.requestFailure(OperationSupport.java:640)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.assertResponseCode(OperationSupport.java:589)
	at io.fabric8.kubernetes.client.dsl.internal.OperationSupport.lambda$handleResponse$0(OperationSupport.java:549)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2079)
	at io.fabric8.kubernetes.client.http.StandardHttpClient.lambda$completeOrCancel$10(StandardHttpClient.java:140)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2079)
	at io.fabric8.kubernetes.client.http.ByteArrayBodyHandler.onBodyDone(ByteArrayBodyHandler.java:52)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2079)
	at io.fabric8.kubernetes.client.okhttp.OkHttpClientImpl$OkHttpAsyncBody.doConsume(OkHttpClientImpl.java:136)
Caused: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://10.30.0.1:443/api/v1/namespaces/cognicrypt/pods. Message: pods "hugo-agent-hvz9j-v95f9" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1, used: pods=3, limited: pods=3. Received status: Status(apiVersion=v1, code=403, details=StatusDetails(causes=[], group=null, kind=pods, name=hugo-agent-hvz9j-v95f9, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=pods "hugo-agent-hvz9j-v95f9" is forbidden: exceeded quota: jenkins-instance-quota, requested: pods=1, used: pods=3, limited: pods=3, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Forbidden, status=Failure, additionalProperties={}).
	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:753)
	at io.fabric8.kubernetes.client.dsl.internal.BaseOperation.handleCreate(BaseOperation.java:97)
	at io.fabric8.kubernetes.client.dsl.internal.CreateOnlyResourceOperation.create(CreateOnlyResourceOperation.java:42)
	at org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher.launch(KubernetesLauncher.java:133)
	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:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:839)
Created Pod: kubernetes cognicrypt/hugo-agent-hvz9j-fpwpf
Still waiting to schedule task
Waiting for next available executor on ‘hugo-agent-hvz9j-fpwpf’
Agent hugo-agent-hvz9j-fpwpf is provisioned from template hugo-agent-hvz9j
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cognicrypt.svc.cluster.local/cognicrypt/job/build-and-publish-website/job/PR-36/10680/"
    runUrl: "job/build-and-publish-website/job/PR-36/10680/"
  labels:
    run: "hugo"
    jenkins: "slave"
    jenkins/label-digest: "7ac110df4066c009b519c7b03c365692b5eeb4d5"
    jenkins/label: "hugo-agent"
  name: "hugo-agent-hvz9j-fpwpf"
  namespace: "cognicrypt"
spec:
  containers:
  - command:
    - "cat"
    image: "eclipsecbi/hugo:0.42.1"
    name: "hugo"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.cognicrypt.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "hugo-agent-hvz9j-fpwpf"
    - name: "JENKINS_NAME"
      value: "hugo-agent-hvz9j-fpwpf"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.cognicrypt.svc.cluster.local/cognicrypt/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-known-hosts"
    - mountPath: "/home/jenkins"
      name: "jenkins-home"
      readOnly: false
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir: {}
    name: "jenkins-home"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - configMap:
      name: "known-hosts"
    name: "volume-known-hosts"

Running on hugo-agent-hvz9j-fpwpf in /home/jenkins/agent/workspace/build-and-publish-website_PR-36
[Pipeline] {
[Pipeline] dir
Running in /home/jenkins/agent/workspace/build-and-publish-website_PR-36/hugo
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: git
using credential github-bot
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/eclipse-cognicrypt/hugo-website-sources.git
 > git init /home/jenkins/agent/workspace/build-and-publish-website_PR-36/hugo # timeout=10
Fetching upstream changes from https://github.com/eclipse-cognicrypt/hugo-website-sources.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
 > git fetch --no-tags --force --progress -- https://github.com/eclipse-cognicrypt/hugo-website-sources.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/eclipse-cognicrypt/hugo-website-sources.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/36/head:refs/remotes/origin/PR-36 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
Fetching without tags
Merging remotes/origin/master commit 46fb86dfe538c412a0171a42f5104f319da95b6f into PR head commit 6d5eb95ceb7211588f481f975c28044f837405d3
 > git config remote.origin.url https://github.com/eclipse-cognicrypt/hugo-website-sources.git # timeout=10
Fetching upstream changes from https://github.com/eclipse-cognicrypt/hugo-website-sources.git
using GIT_ASKPASS to set credentials GitHub bot (username/token)
 > git fetch --no-tags --force --progress -- https://github.com/eclipse-cognicrypt/hugo-website-sources.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 6d5eb95ceb7211588f481f975c28044f837405d3 # timeout=10
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials GitHub bot (username/token)
 > git merge 46fb86dfe538c412a0171a42f5104f319da95b6f # timeout=10
Merge succeeded, producing c1b0e1e97ec9014f1271eba78ad30ae3b8ceae85
Checking out Revision c1b0e1e97ec9014f1271eba78ad30ae3b8ceae85 (PR-36)
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c1b0e1e97ec9014f1271eba78ad30ae3b8ceae85 # timeout=10
Commit message: "Merge commit '46fb86dfe538c412a0171a42f5104f319da95b6f' into HEAD"
 > git rev-list --no-walk 4a74d8b65a463e44bf69a18012fd08862c928d09 # timeout=10
First time build. Skipping changelog.

Could not update commit status. Message: {"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"}

[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // dir
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout www repo)
[Pipeline] dir
Running in /home/jenkins/agent/workspace/build-and-publish-website_PR-36/www
[Pipeline] {
[Pipeline] git
The recommended git tool is: NONE
using credential git.eclipse.org-bot-ssh
Cloning the remote Git repository
Cloning repository ssh://genie.cognicrypt@git.eclipse.org:29418/www.eclipse.org/cognicrypt.git
 > git init /home/jenkins/agent/workspace/build-and-publish-website_PR-36/www # timeout=10
Fetching upstream changes from ssh://genie.cognicrypt@git.eclipse.org:29418/www.eclipse.org/cognicrypt.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_SSH to set credentials ssh://git.eclipse.org
[INFO] Currently running in a labeled security context
 > /usr/bin/chcon --type=ssh_home_t /home/jenkins/agent/workspace/build-and-publish-website_PR-36/www@tmp/jenkins-gitclient-ssh7372963878593721520.key
Verifying host key using manually-configured host key entries
 > git fetch --tags --force --progress -- ssh://genie.cognicrypt@git.eclipse.org:29418/www.eclipse.org/cognicrypt.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build website with Hugo)
Stage "Build website with Hugo" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Push to master branch)
Stage "Push to master branch" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

Could not update commit status. Message: {"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"}

Finished: FAILURE