Started by user Lakshmi Shanmugam Running as Lakshmi Shanmugam Agent centos-7-w4850 is provisioned from template centos-7 --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "migration_jipp-migration_centos-7" name: "centos-7-w4850" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.releng.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "centos-7-w4850" - 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: "centos-7-w4850" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.releng.svc.cluster.local/releng/" image: "docker.io/eclipsecbi/jiro-agent-centos-7:remoting-4.5" 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/settings-deploy-ossrh-releng.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-deploy-ossrh-releng.xml" - 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-deploy-ossrh-pde.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-deploy-ossrh-pde.xml" - 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/.m2/settings-deploy-ossrh-jdt.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-deploy-ossrh-jdt.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-releng" 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 centos-7-w4850 (centos-7 jipp-migration migration) in workspace /home/jenkins/agent/workspace/Build-equinox-security [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-ZFkqmlRcSC0s/agent.59 SSH_AGENT_PID=61 [ssh-agent] Started. Running ssh-add (command line suppressed) Identity added: /home/jenkins/agent/workspace/Build-equinox-security@tmp/private_key_1690287947441099550.key (/home/jenkins/agent/workspace/Build-equinox-security@tmp/private_key_1690287947441099550.key) [ssh-agent] Using credentials genie.releng (ssh://genie.releng@git.eclipse.org) Unpacking https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.9-bin.zip to /home/jenkins/agent/tools/hudson.tasks.Ant_AntInstallation/apache-ant-latest on centos-7-w4850 [Build-equinox-security] $ /bin/sh -xe /tmp/jenkins3740972864436689751.sh + git config --global user.email releng-bot@eclipse.org + git config --global user.name 'Eclipse Releng Bot' + git clone -b master ssh://genie.releng@git.eclipse.org:29418/equinox/rt.equinox.bundles.git Cloning into 'rt.equinox.bundles'... Total 52947 (delta 0), reused 52921 (delta 0) [Build-equinox-security] $ /bin/sh -xe /tmp/jenkins2068521876077229532.sh + pushd /home/jenkins/agent/workspace/Build-equinox-security/rt.equinox.bundles/bundles/org.eclipse.equinox.security.macosx/keystoreNative ~/agent/workspace/Build-equinox-security/rt.equinox.bundles/bundles/org.eclipse.equinox.security.macosx/keystoreNative ~/agent/workspace/Build-equinox-security + git checkout master Already on 'master' + git status # On branch master nothing to commit, working directory clean + popd ~/agent/workspace/Build-equinox-security [Build-equinox-security] $ /bin/sh -xe /tmp/jenkins3986127715802976982.sh + cd rt.equinox.bundles/bundles/org.eclipse.equinox.security.macosx/ + tar cvzf /home/jenkins/agent/workspace/Build-equinox-security/source.tar.gz about.html build.properties forceQualifierUpdate.txt fragment.properties fragment.xml keystoreNative libkeystoreNative.jnilib META-INF pom.xml src about.html build.properties forceQualifierUpdate.txt fragment.properties fragment.xml keystoreNative/ keystoreNative/build.xml keystoreNative/keystoreNative.h keystoreNative/keystoreNative.xcodeproj/ keystoreNative/keystoreNative.xcodeproj/default.pbxuser keystoreNative/keystoreNative.xcodeproj/kim.mode1v3 keystoreNative/keystoreNative.xcodeproj/kim.pbxuser keystoreNative/keystoreNative.xcodeproj/project.pbxproj keystoreNative/resources/ keystoreNative/resources/Manifest keystoreNative/src/ keystoreNative/src/keystoreNative.java keystoreNative/src/keystoreNativejnilib.c libkeystoreNative.jnilib META-INF/ META-INF/MANIFEST.MF pom.xml src/ src/org/ src/org/eclipse/ src/org/eclipse/equinox/ src/org/eclipse/equinox/internal/ src/org/eclipse/equinox/internal/security/ src/org/eclipse/equinox/internal/security/osx/ src/org/eclipse/equinox/internal/security/osx/OSXProvider.java src/org/eclipse/equinox/internal/security/osx/nls/ src/org/eclipse/equinox/internal/security/osx/nls/OSXProviderMessages.java src/org/eclipse/equinox/internal/security/osx/nls/messages.properties Waiting for the completion of cocoa-equinox-security-library cocoa-equinox-security-library #19 started. cocoa-equinox-security-library #19 completed. Result was SUCCESS Build step 'Trigger/call builds on other projects' changed build result to SUCCESS [Build-equinox-security] $ /bin/bash -x /tmp/jenkins17651534232588536714.sh + curl -o libkeystoreNative.jnilib https://ci.eclipse.org/releng/job/cocoa-equinox-security-library/lastSuccessfulBuild/artifact/libkeystoreNative.jnilib % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 113k 100 113k 0 0 1084k 0 --:--:-- --:--:-- --:--:-- 1083k + libPath=/home/jenkins/agent/workspace/Build-equinox-security/rt.equinox.bundles/bundles/org.eclipse.equinox.security.macosx/ + echo 'Sign libs' Sign libs + set -x ++ ls libkeystoreNative.jnilib + fn-mac-sign libkeystoreNative.jnilib + filename=libkeystoreNative.jnilib + mv libkeystoreNative.jnilib unsigned-libkeystoreNative.jnilib + curl -o libkeystoreNative.jnilib -F file=@unsigned-libkeystoreNative.jnilib https://cbi.eclipse.org/macos/codesign/sign % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 113k 0 0 100 113k 0 104k 0:00:01 0:00:01 --:--:-- 104k 100 113k 0 0 100 113k 0 55695 0:00:02 0:00:02 --:--:-- 55720 100 113k 0 0 100 113k 0 37695 0:00:03 0:00:03 --:--:-- 37698 100 262k 100 148k 100 113k 42852 32964 0:00:03 0:00:03 --:--:-- 42859 + '[' 0 -ne 0 ']' + rm unsigned-libkeystoreNative.jnilib + echo 'Clean existing libs' Clean existing libs + rm /home/jenkins/agent/workspace/Build-equinox-security/rt.equinox.bundles/bundles/org.eclipse.equinox.security.macosx//libkeystoreNative.jnilib + echo 'Copy new libs' Copy new libs + cp libkeystoreNative.jnilib /home/jenkins/agent/workspace/Build-equinox-security/rt.equinox.bundles/bundles/org.eclipse.equinox.security.macosx/ [Build-equinox-security] $ /bin/bash -x /tmp/jenkins1017016953712219224.sh + git config --global user.email releng-bot@eclipse.org + git config --global user.name 'Eclipse Releng Bot' + cd /home/jenkins/agent/workspace/Build-equinox-security/rt.equinox.bundles + git status # On branch master # Changes not staged for commit: # (use "git add ..." to update what will be committed) # (use "git checkout -- ..." to discard changes in working directory) # # modified: bundles/org.eclipse.equinox.security.macosx/libkeystoreNative.jnilib # no changes added to commit (use "git add" and/or "git commit -a") + git commit -a -m 'Recompiled and signed Mac library' [master 4d597e6] Recompiled and signed Mac library 1 file changed, 0 insertions(+), 0 deletions(-) + git status # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # (use "git push" to publish your local commits) # nothing to commit, working directory clean + git log -2 commit 4d597e6d6ad4d81eb90b9d55c59e4edb878aab9e Author: Eclipse Releng Bot Date: Fri Mar 26 21:49:24 2021 +0000 Recompiled and signed Mac library commit 6e4c842e6df4b797affc08b98ad0d2b12b3e739d Author: Lakshmi Shanmugam Date: Wed Mar 24 19:44:08 2021 +0100 Bug 572113 - Build native library in equinox.security for arm64 Changes to build universal library for arm64 and x86_64, also cleanup xcode project. - clean-up unused archs and add arm64 - For jni.h: JavaVM framework is not available since XCode 12.2, so use header from the installed Java. Pass value to xcode using JAVA_HOME. - Change to "jni.h" as it's not in the Framework and set ALWAYS_SEARCH_USER_PATHS = NO - Fix ALWAYS_SEARCH_USER_PATHS is deprecated warning - setPassword() in C code returns void, remove String return type in OSXProvider.setPassword() as this causes NPE. - Skip signing during xcode build using CODE_SIGN_IDENTITY = "" and CODE_SIGN_STYLE = Manual Change-Id: Ib045f1966115ec1e27aecba44d58ae046a3bd16d Signed-off-by: Lakshmi Shanmugam + [[ false == \t\r\u\e ]] + git pull Already up-to-date. + git push origin master remote: remote: Processing changes: (\) remote: Processing changes: (|) remote: Processing changes: refs: 1 (|) remote: Processing changes: refs: 1, done  remote: commit 4d597e6: ---------- remote: commit 4d597e6: Reviewing commit: 4d597e6d remote: commit 4d597e6: Authored by: Eclipse Releng Bot  remote: commit 4d597e6:  remote: commit 4d597e6: Reviewing commit: 4d597e6d6ad4d81eb90b9d55c59e4edb878aab9e remote: commit 4d597e6: Authored by: Eclipse Releng Bot  remote: commit 4d597e6: The author is a committer on the project. remote: commit 4d597e6:  remote: commit 4d597e6: This commit passes Eclipse validation. To ssh://genie.releng@git.eclipse.org:29418/equinox/rt.equinox.bundles.git 6e4c842..4d597e6 master -> master $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 61 killed; [ssh-agent] Stopped. Archiving artifacts Finished: SUCCESS