Console Output

Started by user Krum Tsvetkov
Running as Krum Tsvetkov
Agent basic-0672q is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label: ""
  name: "basic-0672q"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.mat.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-0672q"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dsun.zip.disableMemoryMapping=true\
        \ -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-0672q"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.mat.svc.cluster.local/mat/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    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
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    beta.kubernetes.io/os: "linux"
  restartPolicy: "Never"
  securityContext: {}
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-mat"
      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-0672q in workspace /home/jenkins/agent/workspace/mat-standalone-packages
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git.eclipse.org/r/mat/org.eclipse.mat.git
 > git init /home/jenkins/agent/workspace/mat-standalone-packages # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/mat/org.eclipse.mat.git
 > git --version # timeout=10
 > git --version # 'git version 2.26.2'
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/mat/org.eclipse.mat.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/mat/org.eclipse.mat.git # 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 08ac6a38fb8199d6caa9222f06d5ea51a30dc6ab (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 08ac6a38fb8199d6caa9222f06d5ea51a30dc6ab # timeout=10
Commit message: "[569430] Update CONTRIBUTING file, add LICENSE"
 > git rev-list --no-walk d8e9667ef3bbdc2b3d9f669fdf7133fd0c3c452b # timeout=10
$ pkill Xvnc
$ pkill Xrealvnc
$ sh -c "rm -f /tmp/.X*-lock /tmp/.X11-unix/X*"
[mat-standalone-packages] $ vncserver -list
[mat-standalone-packages] $ Xvnc -help
Starting xvnc
[mat-standalone-packages] $ Xvnc :40 -geometry 1024x768 -depth 24 -ac -SecurityTypes none -noreset
FATAL: Cannot run program "Xvnc" (in directory "/home/jenkins/agent/workspace/mat-standalone-packages"): error=2, No such file or directory
java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.<init>(Unknown Source)
	at java.lang.ProcessImpl.start(Unknown Source)
Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.40.9.63/10.40.9.63:45804
		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)
		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
		at hudson.remoting.Channel.call(Channel.java:998)
		at hudson.Launcher$RemoteLauncher.launch(Launcher.java:1057)
		at hudson.Launcher$ProcStarter.start(Launcher.java:454)
		at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:139)
		at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:101)
		at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)
		at hudson.model.Build$BuildExecution.doRun(Build.java:157)
		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
		at hudson.model.Run.execute(Run.java:1856)
		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
		at hudson.model.ResourceController.execute(ResourceController.java:97)
		at hudson.model.Executor.run(Executor.java:428)
Caused: java.io.IOException: Cannot run program "Xvnc" (in directory "/home/jenkins/agent/workspace/mat-standalone-packages"): error=2, No such file or directory
	at java.lang.ProcessBuilder.start(Unknown Source)
	at hudson.Proc$LocalProc.<init>(Proc.java:252)
	at hudson.Proc$LocalProc.<init>(Proc.java:221)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:936)
	at hudson.Launcher$ProcStarter.start(Launcher.java:454)
	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1316)
	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1269)
	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
	at hudson.remoting.Request$2.run(Request.java:369)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)
	at hudson.remoting.Engine$1$$Lambda$4/00000000BC040030.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Finished: FAILURE