Skip to content

Console Output

Started by remote host 172.30.42.1
Running as SYSTEM
Agent default-agent-z34ss is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-z34ss"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "28919f72355bdd2fc76fa11e0273e58d825ca3fab997994b9f8ee6da8d7dd902"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.efxclipse.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-z34ss"
    - name: "JENKINS_NAME"
      value: "default-agent-z34ss"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.efxclipse.svc.cluster.local/efxclipse/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:5e2449faafc9c1662697946057b511572fa666289255069526c1d5057be0c0f3"
    imagePullPolicy: "IfNotPresent"
    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: "toolchains-xml"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins"
      name: "workspace-volume"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
    workingDir: "/home/jenkins"
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-efxclipse"
      readOnly: true
  - configMap:
      items:
      - key: "toolchains.xml"
        path: "toolchains.xml"
      name: "m2-dir"
    name: "toolchains-xml"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - configMap:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      name: "m2-dir"
    name: "settings-xml"
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Building remotely on default-agent-z34ss in workspace /home/jenkins/workspace/efxclipse_drift_azure
[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-AKICM2BahUdf/agent.63
SSH_AGENT_PID=65
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/efxclipse_drift_azure@tmp/private_key_6848246804248434213.key (/home/jenkins/workspace/efxclipse_drift_azure@tmp/private_key_6848246804248434213.key)
[ssh-agent] Using credentials genie.efxclipse (ssh://genie.efxclipse@projects-storage.eclipse.org)
[efxclipse_drift_azure] $ /bin/bash /tmp/jenkins3820112576924957814.sh
+ shopt -s expand_aliases
+ echo 'Continuing after Travis Build #'
Continuing after Travis Build #
+ echo 'Fixing maven settings'
Fixing maven settings
+ echo '<?xml version="1.0" encoding="UTF-8"?>'
+ echo '<settings>'
+ echo '  <mirrors>'
+ echo '    <mirror>'
+ echo '      <id>eclipse.maven.central.mirror</id>'
+ echo '      <name>Eclipse Central Proxy</name>'
+ echo '      <url>https://repo.eclipse.org/content/repositories/maven_central/</url>'
+ echo '      <mirrorOf>central</mirrorOf>'
+ echo '    </mirror>'
+ echo '  </mirrors>'
+ echo '  <profiles>'
+ echo '   <profile>'
+ echo '    <id>default-repos</id>'
+ echo '    <pluginRepositories>'
+ echo '     <pluginRepository>'
+ echo '      <id>efxclipse-snapshots</id>'
+ echo '      <name>e(fx)clipse snaphots</name>'
+ echo '      <url>http://maven.bestsolution.at/efxclipse-snapshots/</url>'
+ echo '      <releases><enabled>false</enabled></releases>'
+ echo '      <snapshots><enabled>true</enabled></snapshots>'
+ echo '     </pluginRepository>'
+ echo '    </pluginRepositories>'
+ echo '   </profile>'
+ echo '  </profiles>'
+ echo '  <activeProfiles>'
+ echo '    <activeProfile>default-repos</activeProfile>'
+ echo '  </activeProfiles>'
+ echo '</settings>'
++ pwd
+ alias 'mvn=/opt/tools/apache-maven/latest/bin/mvn -B -q -s /home/jenkins/workspace/efxclipse_drift_azure/settings.xml '
+ echo 'Downloading Azure build'
Downloading Azure build
+ ARTIFACT_NAME=dist-unsigned-none
+ ARTIFACT_VERSION=0.0.
+ /opt/tools/apache-maven/latest/bin/mvn -B -q -s /home/jenkins/workspace/efxclipse_drift_azure/settings.xml -q org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl=https://pkgs.dev.azure.com/redrezo/efxclipse-drift/_packaging/drift/maven/v1 -Dartifact=org.eclipse.fx.drift:dist-unsigned-none:0.0. -Dpackaging=zip
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:get (default-cli) on project standalone-pom: Couldn't download artifact: Could not find artifact org.eclipse.fx.drift:dist-unsigned-none:zip:0.0. in eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/)
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command: 
[ERROR]     mvn install:install-file -DgroupId=org.eclipse.fx.drift -DartifactId=dist-unsigned-none -Dversion=0.0. -Dpackaging=zip -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there: 
[ERROR]     mvn deploy:deploy-file -DgroupId=org.eclipse.fx.drift -DartifactId=dist-unsigned-none -Dversion=0.0. -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR]   org.eclipse.fx.drift:dist-unsigned-none:zip:0.0.
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/, releases=true, snapshots=false),
[ERROR]   temp (https://pkgs.dev.azure.com/redrezo/efxclipse-drift/_packaging/drift/maven/v1, releases=true, snapshots=true)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
+ mkdir extracted
+ unzip -q /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-none/0.0./dist-unsigned-none-0.0..zip -d extracted
unzip:  cannot find or open /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-none/0.0./dist-unsigned-none-0.0..zip, /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-none/0.0./dist-unsigned-none-0.0..zip.zip or /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-none/0.0./dist-unsigned-none-0.0..zip.ZIP.
++ cat extracted/git_commit
cat: extracted/git_commit: No such file or directory
+ GIT_COMMIT=
+ mkdir updatesite
+ mkdir target
+ mkdir target/site
+ mkdir target/site/plugins
+ mkdir target/site/features
+ unzip extracted/org.eclipse.fx.drift.updatesite-0.1.0-SNAPSHOT.zip -d updatesite
unzip:  cannot find or open extracted/org.eclipse.fx.drift.updatesite-0.1.0-SNAPSHOT.zip, extracted/org.eclipse.fx.drift.updatesite-0.1.0-SNAPSHOT.zip.zip or extracted/org.eclipse.fx.drift.updatesite-0.1.0-SNAPSHOT.zip.ZIP.
+ echo Check
Check
+ ls -al target/site/updatesite/features/org.eclipse.fx.drift.feature_0.1.0.201908141119.jar
ls: cannot access 'target/site/updatesite/features/org.eclipse.fx.drift.feature_0.1.0.201908141119.jar': No such file or directory
+ ls -al updatesite/features/org.eclipse.fx.drift.feature_0.1.0.201908141119.jar
ls: cannot access 'updatesite/features/org.eclipse.fx.drift.feature_0.1.0.201908141119.jar': No such file or directory
+ cd updatesite
+ echo 'Signing Jars'
Signing Jars
++ ls 'plugins/*' 'features/*'
ls: cannot access 'plugins/*': No such file or directory
ls: cannot access 'features/*': No such file or directory
+ cd ..
+ echo 'After signing'
After signing
+ ls -lR target/site
target/site:
total 0
drwxr-sr-x 2 default 1000240000 6 Aug 19 14:27 features
drwxr-sr-x 2 default 1000240000 6 Aug 19 14:27 plugins

target/site/features:
total 0

target/site/plugins:
total 0
+ echo 'Checking Signed Jars'
Checking Signed Jars
++ ls 'target/site/plugins/*' 'target/site/features/*'
ls: cannot access 'target/site/plugins/*': No such file or directory
ls: cannot access 'target/site/features/*': No such file or directory
+ echo 'Downloading category.xml'
Downloading category.xml
+ wget -q https://raw.githubusercontent.com/eclipse-efx/efxclipse-drift//org.eclipse.fx.drift.updatesite/category.xml
+ echo '<project><modelVersion>4.0.0</modelVersion><groupId>g</groupId><artifactId>DriftFX</artifactId><version>0.0.0</version></project>'
+ echo 'Generating p2 metadata'
Generating p2 metadata
+ /opt/tools/apache-maven/latest/bin/mvn -B -q -s /home/jenkins/workspace/efxclipse_drift_azure/settings.xml org.eclipse.tycho:tycho-p2-plugin:feature-p2-metadata
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Generating metadata for ..
Generation completed with success [0 seconds].
+ /opt/tools/apache-maven/latest/bin/mvn -B -q -s /home/jenkins/workspace/efxclipse_drift_azure/settings.xml org.eclipse.tycho:tycho-p2-plugin:category-p2-metadata
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Generating metadata for ..
Status ERROR: this code=0 publishing result null children=[Status ERROR: org.eclipse.equinox.p2.updatesite code=0 Error generating category xml action. org.eclipse.equinox.p2.core.ProvisionException: Error reading update site file:/home/jenkins/workspace/efxclipse_drift_azure/category.xml.]
Product publisher application was executed with the following arguments:
-metadataRepository
file:/home/jenkins/workspace/efxclipse_drift_azure/target/site/
-categoryDefinition
file:/home/jenkins/workspace/efxclipse_drift_azure/category.xml
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-plugin:1.4.0:category-p2-metadata (default-cli) on project DriftFX: P2 publisher return code was 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
+ echo 'Packing updatesite'
Packing updatesite
+ tar -zcf updatesite.tar.gz -C target/site .
+ rm extracted/org.eclipse.fx.drift.updatesite-0.1.0-SNAPSHOT.zip
rm: cannot remove 'extracted/org.eclipse.fx.drift.updatesite-0.1.0-SNAPSHOT.zip': No such file or directory
+ cp updatesite.tar.gz extracted/
+ tar -zcf dist.tar.gz -C extracted .
+ cp git_commit target/site/
cp: cannot stat 'git_commit': No such file or directory
+ echo
+ echo 'Produced Updatesite looks like this:'
Produced Updatesite looks like this:
+ ls -lR target/site
target/site:
total 12
-rw-r--r-- 1 default 1000240000 483 Aug 19 14:27 artifacts.jar
-rw-r--r-- 1 default 1000240000 355 Aug 19 14:27 content.jar
drwxr-sr-x 2 default 1000240000   6 Aug 19 14:27 features
-rw-r--r-- 1 default 1000240000   1 Aug 19 14:27 jenkinsBuildNumber
drwxr-sr-x 2 default 1000240000   6 Aug 19 14:27 plugins

target/site/features:
total 0

target/site/plugins:
total 0
+ echo 'Checking branch name'
Checking branch name
+ [[ none == *\.\.* ]]
+ echo 'Deploying Nightly Updatesite'
Deploying Nightly Updatesite
+ DEPLOY_DIR=/home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/none
+ ssh genie.efxclipse@projects-storage.eclipse.org '[ -d /home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/none ] || mkdir /home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/none'
+ ssh genie.efxclipse@projects-storage.eclipse.org rm -rf '/home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/none/*'
+ scp -r target/site/artifacts.jar target/site/content.jar target/site/features target/site/jenkinsBuildNumber target/site/plugins ./dist.tar.gz genie.efxclipse@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/none/
+ echo Done.
Done.
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 65 killed;
[ssh-agent] Stopped.
Finished: SUCCESS