Started by remote host 172.30.42.1 Running as SYSTEM Agent default-agent-85m8h is provisioned from template Kubernetes Pod Template --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" name: "default-agent-85m8h" spec: containers: - env: - name: "JENKINS_SECRET" value: "170d04c05c4c099dfb943f65187f238acb2a9ac2292492ab9cf9cbb82afed6a6" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.efxclipse.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "default-agent-85m8h" - name: "JENKINS_NAME" value: "default-agent-85m8h" - 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-85m8h 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-tsru4ZCLfweO/agent.69 SSH_AGENT_PID=71 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/workspace/efxclipse_drift_azure@tmp/private_key_5808942675610969155.key (/home/jenkins/workspace/efxclipse_drift_azure@tmp/private_key_5808942675610969155.key) [ssh-agent] Using credentials genie.efxclipse (ssh://genie.efxclipse@projects-storage.eclipse.org) [efxclipse_drift_azure] $ /bin/bash /tmp/jenkins2005656109818005812.sh + shopt -s expand_aliases + echo 'Continuing after Travis Build #' Continuing after Travis Build # + echo 'Fixing maven settings' Fixing maven settings + echo '' + echo '' + echo ' ' + echo ' ' + echo ' eclipse.maven.central.mirror' + echo ' Eclipse Central Proxy' + echo ' https://repo.eclipse.org/content/repositories/maven_central/' + echo ' central' + echo ' ' + echo ' ' + echo ' ' + echo ' ' + echo ' default-repos' + echo ' ' + echo ' ' + echo ' efxclipse-snapshots' + echo ' e(fx)clipse snaphots' + echo ' http://maven.bestsolution.at/efxclipse-snapshots/' + echo ' false' + echo ' true' + echo ' ' + echo ' ' + echo ' ' + echo ' ' + echo ' ' + echo ' default-repos' + echo ' ' + echo '' ++ 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-wip_azure + 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-wip_azure: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-wip_azure: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-wip_azure -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-wip_azure -Dversion=0.0. -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.eclipse.fx.drift:dist-unsigned-wip_azure: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-wip_azure/0.0./dist-unsigned-wip_azure-0.0..zip -d extracted unzip: cannot find or open /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-wip_azure/0.0./dist-unsigned-wip_azure-0.0..zip, /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-wip_azure/0.0./dist-unsigned-wip_azure-0.0..zip.zip or /home/jenkins/.m2/repository/org/eclipse/fx/drift/dist-unsigned-wip_azure/0.0./dist-unsigned-wip_azure-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 16:36 features drwxr-sr-x 2 default 1000240000 6 Aug 19 16:36 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 '4.0.0gDriftFX0.0.0' + 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 16:36 artifacts.jar -rw-r--r-- 1 default 1000240000 355 Aug 19 16:36 content.jar drwxr-sr-x 2 default 1000240000 6 Aug 19 16:36 features -rw-r--r-- 1 default 1000240000 1 Aug 19 16:36 jenkinsBuildNumber drwxr-sr-x 2 default 1000240000 6 Aug 19 16:36 plugins target/site/features: total 0 target/site/plugins: total 0 + echo 'Checking branch name' Checking branch name + [[ wip_azure == *\.\.* ]] + echo 'Deploying Nightly Updatesite' Deploying Nightly Updatesite + DEPLOY_DIR=/home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/wip_azure + ssh genie.efxclipse@projects-storage.eclipse.org '[ -d /home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/wip_azure ] || mkdir /home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/wip_azure' + ssh genie.efxclipse@projects-storage.eclipse.org rm -rf '/home/data/httpd/download.eclipse.org/efxclipse/runtime-driftfx-nightly/wip_azure/*' + 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/wip_azure/ + echo Done. Done. $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 71 killed; [ssh-agent] Stopped. Finished: SUCCESS