Pull request #192 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3ccc4a899f803ef09dec14bbe294fdb707c66009+e7656ea348032140d0a2dfcc5c6b39f432d61177 (9f816a23cc7dcb22b0a90aeec7151071302ab57e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-bootstrap, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-bootstrap-settings PROJECT: go-mod-bootstrap USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-go-mod-bootstrap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-31776’ is offline Running on prd-centos7-docker-4c-2g-31778 in /w/workspace/xfoundry_go-mod-bootstrap_PR-192 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-192 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit e7656ea348032140d0a2dfcc5c6b39f432d61177 into PR head commit 3ccc4a899f803ef09dec14bbe294fdb707c66009 Merge succeeded, producing 33add9ded61c03adcea0fdca7e938615ff2a2b47 Checking out Revision 33add9ded61c03adcea0fdca7e938615ff2a2b47 (PR-192) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ccc4a899f803ef09dec14bbe294fdb707c66009 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e7656ea348032140d0a2dfcc5c6b39f432d61177 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 33add9ded61c03adcea0fdca7e938615ff2a2b47 # timeout=10 Commit message: "Merge commit 'e7656ea348032140d0a2dfcc5c6b39f432d61177' into HEAD" > git rev-list --no-walk 3ccc4a899f803ef09dec14bbe294fdb707c66009 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:17:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:17:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:17:14 ========================================================= 18:17:14 EdgeX Global Pipelines Version Info 18:17:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:17:15 ------------------- 18:17:15 stable info: 18:17:15 ------------------- 18:17:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:17:15 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 18:17:15 Message: update stable to v1.0.186 18:17:16 ------------------- 18:17:16 experimental info: 18:17:16 ------------------- 18:17:16 Commited By: **** collab-it+edgex@linuxfoundation.org 18:17:16 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 18:17:16 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:17:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-go-mod-bootstrap [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:17:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 33add9ded61c03adcea0fdca7e938615ff2a2b47 [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 33add9d [Pipeline] echo 18:17:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:20 + git log --format=format:%s -1 33add9ded61c03adcea0fdca7e938615ff2a2b47 [Pipeline] echo 18:17:20 GIT_COMMIT: 33add9ded61c03adcea0fdca7e938615ff2a2b47, Commit Message: Merge commit 'e7656ea348032140d0a2dfcc5c6b39f432d61177' into HEAD [Pipeline] echo 18:17:20 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:17:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:17:21 18:17:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:17:22 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:17:22 latest: Pulling from edgex-devops/git-semver 18:17:22 31603596830f: Pulling fs layer 18:17:22 2a8b12db71e7: Pulling fs layer 18:17:22 6ca5941a6612: Pulling fs layer 18:17:22 ecc8261a40a4: Pulling fs layer 18:17:22 ecc8261a40a4: Waiting 18:17:22 2a8b12db71e7: Verifying Checksum 18:17:22 31603596830f: Verifying Checksum 18:17:22 31603596830f: Download complete 18:17:22 ecc8261a40a4: Verifying Checksum 18:17:22 ecc8261a40a4: Download complete 18:17:22 6ca5941a6612: Verifying Checksum 18:17:22 6ca5941a6612: Download complete 18:17:22 31603596830f: Pull complete 18:17:22 2a8b12db71e7: Pull complete 18:17:23 6ca5941a6612: Pull complete 18:17:23 ecc8261a40a4: Pull complete 18:17:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:17:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:17:23 prd-centos7-docker-4c-2g-31778 does not seem to be running inside a container 18:17:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-192 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-192:/w/workspace/xfoundry_go-mod-bootstrap_PR-192:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:17:26 $ docker top 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:17:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:26 [ssh-agent] Looking for ssh-agent implementation... 18:17:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:26 $ docker exec 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 ssh-agent 18:17:26 SSH_AUTH_SOCK=/tmp/ssh-r3CStWQnTCKz/agent.12 18:17:26 SSH_AGENT_PID=18 18:17:26 Running ssh-add (command line suppressed) 18:17:26 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp/private_key_3127202340417944104.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp/private_key_3127202340417944104.key) 18:17:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:27 + git tag --points-at HEAD [Pipeline] } 18:17:27 $ docker exec --env ******** --env ******** 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 ssh-agent -k 18:17:27 unset SSH_AUTH_SOCK; 18:17:27 unset SSH_AGENT_PID; 18:17:27 echo Agent pid 18 killed; 18:17:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:17:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:27 [ssh-agent] Looking for ssh-agent implementation... 18:17:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:27 $ docker exec 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 ssh-agent 18:17:27 SSH_AUTH_SOCK=/tmp/ssh-lvt3bzaGc7eL/agent.47 18:17:27 SSH_AGENT_PID=53 18:17:27 Running ssh-add (command line suppressed) 18:17:28 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp/private_key_7774172488665134247.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp/private_key_7774172488665134247.key) 18:17:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:28 + git semver init 18:17:28 # -> Open(): unable to determine branch for HEAD 18:17:28 # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-192/.git 18:17:28 # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-192 18:17:28 # $SEMVER_REMOTE_NAME = origin 18:17:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:17:28 # $SEMVER_USER_NAME = edgex-jenkins 18:17:28 # $SEMVER_BRANCH = PR-192 18:17:28 # $SEMVER_TEMP = /tmp/semver-290664532 18:17:28 # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP 18:17:29 # '/tmp/semver-290664532' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-192/.semver' 18:17:29 # -> Force: false 18:17:29 # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-192/.semver [Pipeline] } 18:17:29 $ docker exec --env ******** --env ******** 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 ssh-agent -k 18:17:29 unset SSH_AUTH_SOCK; 18:17:29 unset SSH_AGENT_PID; 18:17:29 echo Agent pid 53 killed; 18:17:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:17:29 + git semver [Pipeline] } 18:17:29 $ docker stop --time=1 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 18:17:31 $ docker rm -f 2cdec4a1f0f4bc080d09b5733eedf017933adc27d80b5868187a92143e6383c7 [Pipeline] // withDockerContainer [Pipeline] sh 18:17:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:17:32 Stashed 1 file(s) [Pipeline] echo 18:17:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 18:17:47 Still waiting to schedule task 18:17:47 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:17:47 Still waiting to schedule task 18:17:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 18:19:26 Running on prd-centos7-docker-4c-2g-31783 in /w/workspace/xfoundry_go-mod-bootstrap_PR-192 [Pipeline] { [Pipeline] ws 18:19:26 Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:19:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:19:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:19:28 + sudo service docker restart 18:19:28 + true 18:19:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 18:19:29 ========================================================= 18:19:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:19:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:19:29 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 18:19:29 unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/go-mod-bootstrap/2/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:19:31 ---> job-cost.sh 18:19:31 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FeK8 18:19:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:20:13 lf-activate-venv(): INFO: Adding /tmp/venv-FeK8/bin to PATH 18:20:13 INFO: No Stack... 18:20:13 INFO: Retrieving Pricing Info for: v1-standard-2 18:20:13 INFO: Archiving Costs [Pipeline] sh 18:20:13 + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv 18:20:13 + cut -d, -f6 [Pipeline] lock 18:20:13 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] 18:20:13 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] did not exist. Created. 18:20:13 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:13 + echo total: 0.029999999329447746 [Pipeline] stash 18:20:14 Stashed 1 file(s) [Pipeline] } 18:20:14 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:20:14 Failed in branch amd64 18:20:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31785 in /w/workspace/xfoundry_go-mod-bootstrap_PR-192 [Pipeline] { [Pipeline] ws 18:20:41 Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:20:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:20:44 + sudo service docker restart 18:20:44 + true [Pipeline] unstash [Pipeline] echo 18:20:47 ========================================================= 18:20:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:20:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:20:48 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 18:20:48 unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /w/workspace/go-mod-bootstrap/2/Dockerfile.build: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 18:20:49 ---> job-cost.sh 18:20:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MBFJ 18:21:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:23:05 lf-activate-venv(): INFO: Adding /tmp/venv-MBFJ/bin to PATH 18:23:05 INFO: No Stack... 18:23:05 INFO: Retrieving Pricing Info for: lf-standard-4 18:23:05 INFO: Archiving Costs [Pipeline] sh 18:23:06 + cut -d, -f6 18:23:06 + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [Pipeline] lock 18:23:06 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] 18:23:06 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] did not exist. Created. 18:23:06 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:23:06 /w/workspace/go-mod-bootstrap/2@tmp/durable-3866bae5/script.sh: 1: /w/workspace/go-mod-bootstrap/2@tmp/durable-3866bae5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:23:07 + echo total: 0.20999999344348907 [Pipeline] stash 18:23:07 Warning: overwriting stash ‘stack-cost’ 18:23:07 Stashed 1 file(s) [Pipeline] } 18:23:07 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-192-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:23:08 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 18:23:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:23:13 ---> package-listing.sh 18:23:13 ++ facter osfamily 18:23:13 ++ tr '[:upper:]' '[:lower:]' 18:23:13 + OS_FAMILY=redhat 18:23:13 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-192 18:23:13 + START_PACKAGES=/tmp/packages_start.txt 18:23:13 + END_PACKAGES=/tmp/packages_end.txt 18:23:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:23:13 + PACKAGES=/tmp/packages_start.txt 18:23:13 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-192 ']' 18:23:13 + PACKAGES=/tmp/packages_end.txt 18:23:13 + case "${OS_FAMILY}" in 18:23:13 + rpm -qa 18:23:13 + sort 18:23:18 + '[' -f /tmp/packages_start.txt ']' 18:23:18 + '[' -f /tmp/packages_end.txt ']' 18:23:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:23:18 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-192 ']' 18:23:18 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-192/archives/ 18:23:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-192/archives/ [Pipeline] echo 18:23:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:23:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:23:19 18:23:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:23:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:23:19 alpine: Pulling from edgex-lftools-log-publisher 18:23:19 df20fa9351a1: Pulling fs layer 18:23:19 36b3adc4ff6f: Pulling fs layer 18:23:19 8ad3a11d3b57: Pulling fs layer 18:23:19 46f8f816bc3b: Pulling fs layer 18:23:19 93b61091891f: Pulling fs layer 18:23:19 93b9cdb0e59b: Pulling fs layer 18:23:19 5e14af77c1be: Pulling fs layer 18:23:19 01666e4c0597: Pulling fs layer 18:23:19 aa168da1d23b: Pulling fs layer 18:23:19 46f8f816bc3b: Waiting 18:23:19 93b61091891f: Waiting 18:23:19 93b9cdb0e59b: Waiting 18:23:19 5e14af77c1be: Waiting 18:23:19 01666e4c0597: Waiting 18:23:19 aa168da1d23b: Waiting 18:23:19 36b3adc4ff6f: Verifying Checksum 18:23:19 36b3adc4ff6f: Download complete 18:23:19 46f8f816bc3b: Verifying Checksum 18:23:19 46f8f816bc3b: Download complete 18:23:19 df20fa9351a1: Verifying Checksum 18:23:19 df20fa9351a1: Download complete 18:23:19 93b9cdb0e59b: Download complete 18:23:19 93b61091891f: Verifying Checksum 18:23:19 93b61091891f: Download complete 18:23:19 5e14af77c1be: Verifying Checksum 18:23:19 5e14af77c1be: Download complete 18:23:19 01666e4c0597: Verifying Checksum 18:23:19 01666e4c0597: Download complete 18:23:19 8ad3a11d3b57: Verifying Checksum 18:23:19 8ad3a11d3b57: Download complete 18:23:19 df20fa9351a1: Pull complete 18:23:20 36b3adc4ff6f: Pull complete 18:23:21 8ad3a11d3b57: Pull complete 18:23:21 46f8f816bc3b: Pull complete 18:23:21 93b61091891f: Pull complete 18:23:21 93b9cdb0e59b: Pull complete 18:23:22 5e14af77c1be: Pull complete 18:23:22 01666e4c0597: Pull complete 18:23:22 aa168da1d23b: Verifying Checksum 18:23:22 aa168da1d23b: Download complete 18:23:30 aa168da1d23b: Pull complete 18:23:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:23:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:23:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:23:30 prd-centos7-docker-4c-2g-31778 does not seem to be running inside a container 18:23:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-192 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-192:/w/workspace/xfoundry_go-mod-bootstrap_PR-192:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 18:23:33 $ docker top c54f5e9c9af71bbf2d1502c847fe3d278005bcb6712e7dc01893f4a00a7fca68 -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:33 + touch /tmp/pre-build-complete [Pipeline] sh 18:23:33 + mkdir -p /var/log/sa [Pipeline] sh 18:23:34 + ls /var/log/sa-host 18:23:34 + sadf -c /var/log/sa-host/sa23 18:23:34 file_magic: OK 18:23:34 HZ: Using current value: 100 18:23:34 file_header: OK 18:23:34 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:23:34 Statistics: 18:23:34 Hnuu...uuuununununu... 18:23:34 File successfully converted to sysstat format version 12.2.1 18:23:34 + sadf -c /var/log/sa-host/sa29 18:23:34 file_magic: OK 18:23:34 HZ: Using current value: 100 18:23:34 file_header: OK 18:23:34 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:23:34 Statistics: 18:23:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:23:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:23:34 provisioning config files... 18:23:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-192@tmp/config1749835302466602402tmp [Pipeline] { [Pipeline] echo 18:23:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:23:35 ---> create-netrc.sh [Pipeline] } 18:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:23:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:23:35 ---> python-tools-install.sh [Pipeline] echo 18:23:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:23:35 ---> sudo-logs.sh 18:23:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:23:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:23:36 ---> job-cost.sh 18:23:36 lf-activate-venv: SKIPPING 18:23:36 DEBUG: total: 0.20999999344348907 18:23:36 INFO: Retrieving Stack Cost... 18:23:37 INFO: Retrieving Pricing Info for: v1-standard-2 18:23:37 INFO: Archiving Costs [Pipeline] echo 18:23:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:23:37 ---> logs-deploy.sh 18:23:37 lf-activate-venv: SKIPPING 18:23:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-192/2 18:23:37 INFO: archiving workspace using pattern(s): 18:23:39 Archives upload complete. 18:23:39 INFO: archiving logs to Nexus