Skip to content

Console Output

GitHub pull request #350 of commit 68669a278c9e72a7b99d7ee7ebf005d845c049a9, no merge conflicts.
Running as SYSTEM
Setting status of 68669a278c9e72a7b99d7ee7ebf005d845c049a9 to PENDING with url https://ci.eclipse.org/sensinact/job/GitHub%20Pull%20Requests/112/ 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/68669a278c9e72a7b99d7ee7ebf005d845c049a9 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"}
	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:230)
	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:228)
	at hudson.model.Run.execute(Run.java:1893)
	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/68669a278c9e72a7b99d7ee7ebf005d845c049a9
	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-m3dts is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-m3dts"
  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-m3dts"
    - 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: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-m3dts"
    - 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-3160.vd76b_9ddd10cc"
    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-m3dts (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-upqNczMJf8yS/agent.86
SSH_AGENT_PID=88
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/GitHub Pull Requests@tmp/private_key_10672386609664104646.key (/home/jenkins/agent/workspace/GitHub Pull Requests@tmp/private_key_10672386609664104646.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 673d91096f077b67be0bc47a6e25eb78ed4312f7 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 673d91096f077b67be0bc47a6e25eb78ed4312f7 # timeout=10
Commit message: "Merge pull request #348 from eclipse/thomas/device-factory-updates"
First time build. Skipping changelog.
Injecting SonarQube environment variables using the configuration: SonarCloud.io
[GitHub Pull Requests] $ /bin/sh -xe /tmp/jenkins3297831749452736920.sh
Parsing POMs
Failed to transfer Could not find metadata org.osgi:org.osgi.test.bom:1.3.0-SNAPSHOT/maven-metadata.xml in eclipse-sensinact (https://repo.eclipse.org/content/groups/sensinact/)
Downloaded artifact https://oss.sonatype.org/content/repositories/snapshots/org/osgi/org.osgi.test.bom/1.3.0-SNAPSHOT/maven-metadata.xml
Failed to transfer Could not find metadata org.osgi:org.osgi.test.bom:1.3.0-SNAPSHOT/maven-metadata.xml in apache-snapshots (https://repository.apache.org/snapshots/)
Downloaded artifact https://oss.sonatype.org/content/repositories/snapshots/org/osgi/org.osgi.test.bom/1.3.0-SNAPSHOT/org.osgi.test.bom-1.3.0-20240212.132611-89.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 42121
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 42121
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/jenkins4233922787951923378.sh
+ cd distribution/generator/packaging/target/
/tmp/jenkins4233922787951923378.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 88 killed;
[ssh-agent] Stopped.
ERROR: Failed to launch Maven. Exit code = 1
Setting status of 68669a278c9e72a7b99d7ee7ebf005d845c049a9 to FAILURE with url https://ci.eclipse.org/sensinact/job/GitHub%20Pull%20Requests/112/ 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/68669a278c9e72a7b99d7ee7ebf005d845c049a9 {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/statuses#create-a-commit-status"}
	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:207)
	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:205)
	at hudson.model.Run.execute(Run.java:1936)
	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/68669a278c9e72a7b99d7ee7ebf005d845c049a9
	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