Skip to content

Console Output

Started by user Johannes Faltermeier
Running as Johannes Faltermeier
Agent basic-agent-g80z8 is provisioned from template basic-agent
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label: ""
  name: "basic-agent-g80z8"
spec:
  containers:
  - env:
    - name: "MAVEN_OPTS"
      value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ecp.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-agent-g80z8"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "basic-agent-g80z8"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ecp.svc.cluster.local/ecp/"
    image: "eclipsecbijenkins/basic-agent:4.2"
    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: "/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-ecp"
      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-agent-g80z8 in workspace /home/jenkins/agent/workspace/ecp-script-testing
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[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-bGru6Z15XlHb/agent.61
SSH_AGENT_PID=63
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/ecp-script-testing@tmp/private_key_1675653559743454072.key (/home/jenkins/agent/workspace/ecp-script-testing@tmp/private_key_1675653559743454072.key)
[ssh-agent] Using credentials genie.ecp (ssh://genie.ecp@projects-storage.eclipse.org)
[ecp-script-testing] $ /bin/sh /tmp/jenkins5370919989360029903.sh
one
hello
two
Last login: Wed May  6 05:49:04 2020 from 172.30.42.77


				build.eclipse.org
 
                                      ***
Please be aware that this server must be used for purposes approved by the 
Eclipse Management Organization (EMO) and/or an Eclipse Project Management 
Committee (PMC).

Using this server to establish outbound connections or to open ports on 
remote systems is PERMITTED, provided usage is in accordance with the 
EMO or your project's PMC. Please contact webmaster@eclipse.org for info. 

                                      ***
TARGE
T_D- To access the downloads area, type: cd downloads
I- To change your password, please log in to http://portal.eclipse.org/
R_TW- Everything you need is in:
O  - /home/data/httpd/download.eclipse.org, archive.eclipse.org
="/  - /cvsroot, /svnroot and /gitroot
hom  - /shared
e
                                      ***/data/httpd/download.eclipse.org/ecp/releases/releases_target_114/1140_XXX"
echo Test: /home/data/httpd/download.eclipse.org/ecp/releases/releases_targe
t_114 /home
/da- Do not use your user home directory as a working directory (except
t  local *build accounts)
a/httpd/downl
oad- Use /shared as a working directory, and to temporarily store build
.  artifacts.  It is accessible via http://build.eclipse.org/(directory)
eclipse
.or- Please note: /shared and *build home directories are snapshot, not backed up
g
/ecp/- Using local filesystems (:local:/cvsroot, etc) for code repository access
r  will be faster and more reliable than user pserver.
ele
as- http://dev.eclipse.org/cacti/ for build server & Hudson health
e
s
/If your prompt is r$ and you are disconnected after a command, you have a 
rrestricted shell.  Please login to the portal and request a real shell if you
elreally need one.  New Git repos can be created without a shell by using:
e
a    initrepo /gitroot/path/to/repo.git
s
e
s_target_114/1140_XXX ECP/EMFForms 1140_XXX Repository
echo Variable from inside: ${TARGET_DIR_TWO}
exit 0
[?1034hgenie.ecp@build:~> TARGET_DIR_TWO="/home/data/httpd/download.eclipse.org/ecp/rel 
eases/releases_target_114/1140_XXX"
genie.ecp@build:~> echo Test: /home/data/httpd/download.eclipse.org/ecp/releases 
/releases_target_114 /home/data/httpd/download.eclipse.org/ecp/releases/releases 
_target_114/1140_XXX ECP/EMFForms 1140_XXX Repository
Test: /home/data/httpd/download.eclipse.org/ecp/releases/releases_target_114 /home/data/httpd/download.eclipse.org/ecp/releases/releases_target_114/1140_XXX ECP/EMFForms 1140_XXX Repository
genie.ecp@build:~> echo Variable from inside: ${TARGET_DIR_TWO}
Variable from inside: /home/data/httpd/download.eclipse.org/ecp/releases/releases_target_114/1140_XXX
genie.ecp@build:~> exit 0
logout
Connection to projects-storage.eclipse.org closed.
three
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 63 killed;
[ssh-agent] Stopped.
Finished: SUCCESS