Skip to content
Failed

Console Output

GitHub pull request #409 of commit 068be1017ad07f297a0316652e66e9dec2412304, no merge conflicts.
Running as SYSTEM
PR has already been merged, builds using the merged sha1 will fail!!!
Setting status of 068be1017ad07f297a0316652e66e9dec2412304 to PENDING with url https://ci.eclipse.org/sensinact/job/GitHub%20Pull%20Requests/120/ and message: 'Build started for merge commit.'
FileNotFoundException means that the credentials Jenkins is using is probably wrong. Or the user account does not have write access to the repo.
org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/eclipse/org.eclipse.sensinact.gateway/statuses/068be1017ad07f297a0316652e66e9dec2412304 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status","status":"404"}
	at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:661)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:480)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:427)
	at org.kohsuke.github.Requester.fetch(Requester.java:85)
	at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:2297)
	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.createCommitStatus(GhprbSimpleStatus.java:283)
	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.onBuildStart(GhprbSimpleStatus.java:195)
	at org.jenkinsci.plugins.ghprb.GhprbBuilds.onStarted(GhprbBuilds.java:144)
	at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:20)
	at hudson.model.listeners.RunListener.lambda$fireStarted$2(RunListener.java:246)
	at jenkins.util.Listeners.lambda$notify$0(Listeners.java:59)
	at jenkins.util.Listeners.notify(Listeners.java:67)
	at hudson.model.listeners.RunListener.fireStarted(RunListener.java:244)
	at hudson.model.Run.execute(Run.java:1892)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/eclipse/org.eclipse.sensinact.gateway/statuses/068be1017ad07f297a0316652e66e9dec2412304
	at org.kohsuke.github.GitHubConnectorResponseErrorHandler$1.onError(GitHubConnectorResponseErrorHandler.java:60)
	at org.kohsuke.github.GitHubClient.detectKnownErrors(GitHubClient.java:504)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:464)
	... 15 more
Agent basic-t80jn is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    kubernetes.jenkins.io/last-refresh: "1718719121677"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
    kubernetes.jenkins.io/controller: "http___jenkins-ui_sensinact_svc_cluster_local_sensinactx"
  name: "basic-t80jn"
  namespace: "sensinact"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.sensinact.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-t80jn"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
        \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
    - name: "JAVA_TOOL_OPTIONS"
      value: ""
    - name: "_JAVA_OPTIONS"
      value: ""
    - name: "REMOTING_OPTS"
      value: "-noReconnectAfter 1d"
    - name: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-t80jn"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.sensinact.svc.cluster.local/sensinact/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3206.vb_15dcf73f6a_9"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        cpu: "2000m"
        memory: "4096Mi"
      requests:
        cpu: "1000m"
        memory: "4096Mi"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "m2-dir"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/home/jenkins/.mavenrc"
      name: "m2-dir"
      readOnly: true
      subPath: ".mavenrc"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-3"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings-security.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/wrapper"
      name: "volume-4"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
      subPath: ""
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-sensinact"
      readOnly: true
  - name: "m2-secret-dir"
    secret:
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "m2-dir"
    name: "m2-dir"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-4"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on basic-t80jn (basic) in workspace /home/jenkins/agent/workspace/GitHub Pull Requests
[WS-CLEANUP] Deleting project workspace...
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-T0Z0zFCwMT6w/agent.85
SSH_AGENT_PID=87
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/GitHub Pull Requests@tmp/private_key_16098614084995724132.key (/home/jenkins/agent/workspace/GitHub Pull Requests@tmp/private_key_16098614084995724132.key)
[ssh-agent] Using credentials genie.sensinact (ssh://genie.sensinact@projects-storage.eclipse.org)
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse/org.eclipse.sensinact.gateway
 > git init /home/jenkins/agent/workspace/GitHub Pull Requests # timeout=10
Fetching upstream changes from https://github.com/eclipse/org.eclipse.sensinact.gateway
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
 > git fetch --tags --force --progress -- https://github.com/eclipse/org.eclipse.sensinact.gateway +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse/org.eclipse.sensinact.gateway # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision ee56bf3a1afce9db62f6edd6e88781904ca82ad1 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ee56bf3a1afce9db62f6edd6e88781904ca82ad1 # timeout=10
Commit message: "Merge pull request #409 from eclipse/feature/update-if-present"
First time build. Skipping changelog.
Injecting SonarQube environment variables using the configuration: SonarCloud.io
[GitHub Pull Requests] $ /bin/sh -xe /tmp/jenkins9233275893570901077.sh
Parsing POMs
Failed to transfer Could not find artifact org.osgi:org.osgi.test.bom:pom:1.3.0 in eclipse-sensinact (https://repo.eclipse.org/content/groups/sensinact/)
Downloaded artifact https://repo.eclipse.org/content/repositories/maven_central/org/osgi/org.osgi.test.bom/1.3.0/org.osgi.test.bom-1.3.0.pom
Failed to transfer Could not find artifact org.junit:junit-bom:pom:5.10.1 in eclipse-sensinact (https://repo.eclipse.org/content/groups/sensinact/)
Downloaded artifact https://repo.eclipse.org/content/repositories/maven_central/org/junit/junit-bom/5.10.1/junit-bom-5.10.1.pom
Modules changed, recalculating dependency graph
Established TCP socket on 42915
Copied maven35-agent.jar
Copied maven35-interceptor.jar
Copied maven3-interceptor-commons.jar
[GitHub Pull Requests] $ /opt/tools/java/temurin/jdk-17/latest/bin/java -XX:MaxPermSize=512m -Xmx512m -cp /home/jenkins/agent/maven35-agent.jar:/opt/tools/apache-maven/latest/boot/plexus-classworlds-2.7.0.jar:/opt/tools/apache-maven/latest/conf/logging jenkins.maven3.agent.Maven35Main /opt/tools/apache-maven/latest /usr/share/jenkins/agent.jar /home/jenkins/agent/maven35-interceptor.jar /home/jenkins/agent/maven3-interceptor-commons.jar 42915
Unrecognized VM option 'MaxPermSize=512m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[GitHub Pull Requests] $ /bin/sh -xe /tmp/jenkins15252107486753496312.sh
+ cd distribution/generator/packaging/target/
/tmp/jenkins15252107486753496312.sh: line 3: cd: distribution/generator/packaging/target/: No such file or directory
Build step 'Execute shell' marked build as failure
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 87 killed;
[ssh-agent] Stopped.
ERROR: Failed to launch Maven. Exit code = 1
Setting status of 068be1017ad07f297a0316652e66e9dec2412304 to FAILURE with url https://ci.eclipse.org/sensinact/job/GitHub%20Pull%20Requests/120/ and message: 'Build finished. '
FileNotFoundException means that the credentials Jenkins is using is probably wrong. Or the user account does not have write access to the repo.
org.kohsuke.github.GHFileNotFoundException: https://api.github.com/repos/eclipse/org.eclipse.sensinact.gateway/statuses/068be1017ad07f297a0316652e66e9dec2412304 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status","status":"404"}
	at org.kohsuke.github.GitHubClient.interpretApiError(GitHubClient.java:661)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:480)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:427)
	at org.kohsuke.github.Requester.fetch(Requester.java:85)
	at org.kohsuke.github.GHRepository.createCommitStatus(GHRepository.java:2297)
	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.createCommitStatus(GhprbSimpleStatus.java:283)
	at org.jenkinsci.plugins.ghprb.extensions.status.GhprbSimpleStatus.onBuildComplete(GhprbSimpleStatus.java:241)
	at org.jenkinsci.plugins.ghprb.GhprbBuilds.onCompleted(GhprbBuilds.java:205)
	at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onCompleted(GhprbBuildListener.java:28)
	at hudson.model.listeners.RunListener.lambda$fireCompleted$0(RunListener.java:223)
	at jenkins.util.Listeners.lambda$notify$0(Listeners.java:59)
	at jenkins.util.Listeners.notify(Listeners.java:67)
	at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:221)
	at hudson.model.Run.execute(Run.java:1935)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
Caused by: java.io.FileNotFoundException: https://api.github.com/repos/eclipse/org.eclipse.sensinact.gateway/statuses/068be1017ad07f297a0316652e66e9dec2412304
	at org.kohsuke.github.GitHubConnectorResponseErrorHandler$1.onError(GitHubConnectorResponseErrorHandler.java:60)
	at org.kohsuke.github.GitHubClient.detectKnownErrors(GitHubClient.java:504)
	at org.kohsuke.github.GitHubClient.sendRequest(GitHubClient.java:464)
	... 15 more
Sending e-mails to: sensinact@saxifrage.saclay.cea.fr
Finished: FAILURE