Pull request #703 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 1cc9f630856e4a571875906580a3e40a8cb83102+f281c8b713d95d8c203921f39489e26903a82368 (c0497ae54547393a9f268b01b344280f2e0935ff) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go 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-app-functions-sdk-go 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: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26711 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-703 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.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/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 1cc9f630856e4a571875906580a3e40a8cb83102 Merge succeeded, producing 1cc9f630856e4a571875906580a3e40a8cb83102 Checking out Revision 1cc9f630856e4a571875906580a3e40a8cb83102 (PR-703) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc9f630856e4a571875906580a3e40a8cb83102 # 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 f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cc9f630856e4a571875906580a3e40a8cb83102 # timeout=10 Commit message: "feat: Fixup - addressed PR comments" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:59:04 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 07f62b37a1d2ae1f55cc55c432a7ea6d986cb8df # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:59:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:59:04 ========================================================= 22:59:04 EdgeX Global Pipelines Version Info 22:59:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:59:05 ------------------- 22:59:05 stable info: 22:59:05 ------------------- 22:59:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:05 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:59:05 Message: update stable to v1.0.179 22:59:06 ------------------- 22:59:06 experimental info: 22:59:06 ------------------- 22:59:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 22:59:06 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:59:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:59:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:59:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-703 [Pipeline] echo 22:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-703 [Pipeline] echo 22:59:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-703 [Pipeline] echo 22:59:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cc9f630856e4a571875906580a3e40a8cb83102 [Pipeline] echo 22:59:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cc9f63 [Pipeline] echo 22:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:11 + git log --format=format:%s -1 1cc9f630856e4a571875906580a3e40a8cb83102 [Pipeline] echo 22:59:11 GIT_COMMIT: 1cc9f630856e4a571875906580a3e40a8cb83102, Commit Message: feat: Fixup - addressed PR comments [Pipeline] echo 22:59:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:59:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:59:12 22:59:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:59:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:59:12 latest: Pulling from edgex-devops/git-semver 22:59:12 31603596830f: Pulling fs layer 22:59:12 2a8b12db71e7: Pulling fs layer 22:59:12 6ca5941a6612: Pulling fs layer 22:59:12 ecc8261a40a4: Pulling fs layer 22:59:12 ecc8261a40a4: Waiting 22:59:12 2a8b12db71e7: Verifying Checksum 22:59:12 2a8b12db71e7: Download complete 22:59:13 31603596830f: Verifying Checksum 22:59:13 31603596830f: Download complete 22:59:13 ecc8261a40a4: Verifying Checksum 22:59:13 ecc8261a40a4: Download complete 22:59:13 6ca5941a6612: Verifying Checksum 22:59:13 6ca5941a6612: Download complete 22:59:13 31603596830f: Pull complete 22:59:13 2a8b12db71e7: Pull complete 22:59:14 6ca5941a6612: Pull complete 22:59:14 ecc8261a40a4: Pull complete 22:59:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:59:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:59:14 prd-centos7-docker-4c-2g-26711 does not seem to be running inside a container 22:59:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-703 -v /w/workspace/ndry_app-functions-sdk-go_PR-703:/w/workspace/ndry_app-functions-sdk-go_PR-703:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-703@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:59:16 $ docker top 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:17 [ssh-agent] Looking for ssh-agent implementation... 22:59:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:17 $ docker exec 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 ssh-agent 22:59:17 SSH_AUTH_SOCK=/tmp/ssh-G5gobmwhKoSH/agent.12 22:59:17 SSH_AGENT_PID=18 22:59:17 Running ssh-add (command line suppressed) 22:59:17 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_7022385156961564996.key (/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_7022385156961564996.key) 22:59:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:17 + git tag --points-at HEAD [Pipeline] } 22:59:17 $ docker exec --env ******** --env ******** 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 ssh-agent -k 22:59:18 unset SSH_AUTH_SOCK; 22:59:18 unset SSH_AGENT_PID; 22:59:18 echo Agent pid 18 killed; 22:59:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:59:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:18 [ssh-agent] Looking for ssh-agent implementation... 22:59:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:18 $ docker exec 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 ssh-agent 22:59:18 SSH_AUTH_SOCK=/tmp/ssh-nlheiocbIfsr/agent.47 22:59:18 SSH_AGENT_PID=52 22:59:18 Running ssh-add (command line suppressed) 22:59:18 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_3620321971213917133.key (/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_3620321971213917133.key) 22:59:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:19 + git semver init 22:59:19 # -> Open(): unable to determine branch for HEAD 22:59:19 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-703/.git 22:59:19 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-703 22:59:19 # $SEMVER_REMOTE_NAME = origin 22:59:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:59:19 # $SEMVER_USER_NAME = edgex-jenkins 22:59:19 # $SEMVER_BRANCH = PR-703 22:59:19 # $SEMVER_TEMP = /tmp/semver-059159431 22:59:19 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:59:21 # '/tmp/semver-059159431' -> '/w/workspace/ndry_app-functions-sdk-go_PR-703/.semver' 22:59:21 # -> Force: false 22:59:21 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-703/.semver [Pipeline] } 22:59:21 $ docker exec --env ******** --env ******** 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 ssh-agent -k 22:59:22 unset SSH_AUTH_SOCK; 22:59:22 unset SSH_AGENT_PID; 22:59:22 echo Agent pid 52 killed; 22:59:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:22 + git semver [Pipeline] } 22:59:22 $ docker stop --time=1 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 22:59:24 $ docker rm -f 064ae9368ab4f40d6fd45396118e0e8ad838bd5bb1167e3f0b7541503e41a645 [Pipeline] // withDockerContainer [Pipeline] sh 22:59:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:59:25 Stashed 1 file(s) [Pipeline] echo 22:59:25 [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 22:59:40 Still waiting to schedule task 22:59:40 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:59:40 Still waiting to schedule task 22:59:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:01:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26712 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [Pipeline] { [Pipeline] ws 23:01:24 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 23:01:29 using credential edgex-jenkins-ssh 23:01:29 Cloning the remote Git repository 23:01:29 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:30 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 23:01:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:30 > git --version # timeout=10 23:01:30 > git --version # 'git version 2.17.1' 23:01:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:33 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:01:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:33 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:01:33 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:01:33 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 1cc9f630856e4a571875906580a3e40a8cb83102 23:01:34 Merge succeeded, producing 1cc9f630856e4a571875906580a3e40a8cb83102 23:01:34 Checking out Revision 1cc9f630856e4a571875906580a3e40a8cb83102 (PR-703) 23:01:33 > git config core.sparsecheckout # timeout=10 23:01:33 > git checkout -f 1cc9f630856e4a571875906580a3e40a8cb83102 # timeout=10 23:01:34 > git remote # timeout=10 23:01:34 > git config --get remote.origin.url # timeout=10 23:01:34 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:34 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 23:01:34 > git rev-parse HEAD^{commit} # timeout=10 23:01:34 > git config core.sparsecheckout # timeout=10 23:01:34 > git checkout -f 1cc9f630856e4a571875906580a3e40a8cb83102 # timeout=10 23:01:38 Commit message: "feat: Fixup - addressed PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:01:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:01:41 + sudo service docker restart 23:01:41 + true [Pipeline] unstash [Pipeline] echo 23:01:44 ========================================================= 23:01:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:01:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:01:44 + 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 . 23:01:45 Sending build context to Docker daemon 19.24MB 23:01:45 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:01:45 Step 2/8 : FROM ${BASE} 23:01:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:01:46 5f621e34cdf4: Pulling fs layer 23:01:46 a4357932f1b6: Pulling fs layer 23:01:46 18c013af1878: Pulling fs layer 23:01:46 00ac8860ef70: Pulling fs layer 23:01:46 63d7cb157983: Pulling fs layer 23:01:46 b116817d02f9: Pulling fs layer 23:01:46 745a02a5169b: Pulling fs layer 23:01:46 00ac8860ef70: Waiting 23:01:46 63d7cb157983: Waiting 23:01:46 b116817d02f9: Waiting 23:01:46 745a02a5169b: Waiting 23:01:46 18c013af1878: Verifying Checksum 23:01:46 18c013af1878: Download complete 23:01:46 a4357932f1b6: Verifying Checksum 23:01:46 a4357932f1b6: Download complete 23:01:46 63d7cb157983: Verifying Checksum 23:01:46 63d7cb157983: Download complete 23:01:46 b116817d02f9: Verifying Checksum 23:01:46 b116817d02f9: Download complete 23:01:46 5f621e34cdf4: Verifying Checksum 23:01:46 5f621e34cdf4: Download complete 23:01:47 5f621e34cdf4: Pull complete 23:01:47 a4357932f1b6: Pull complete 23:01:48 18c013af1878: Pull complete 23:01:49 745a02a5169b: Verifying Checksum 23:01:49 745a02a5169b: Download complete 23:01:50 00ac8860ef70: Verifying Checksum 23:01:50 00ac8860ef70: Download complete 23:01:54 Running on prd-centos7-docker-4c-2g-26713 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [Pipeline] { [Pipeline] ws 23:01:54 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 23:01:56 using credential edgex-jenkins-ssh 23:01:56 Cloning the remote Git repository 23:01:56 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:56 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 23:01:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:56 > git --version # timeout=10 23:01:56 > git --version # 'git version 2.24.3' 23:01:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:01:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:01:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:01:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:01:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/703/head:refs/remotes/origin/PR-703 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:01:58 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 1cc9f630856e4a571875906580a3e40a8cb83102 23:01:59 Merge succeeded, producing 1cc9f630856e4a571875906580a3e40a8cb83102 23:01:59 Checking out Revision 1cc9f630856e4a571875906580a3e40a8cb83102 (PR-703) 23:01:58 > git config core.sparsecheckout # timeout=10 23:01:58 > git checkout -f 1cc9f630856e4a571875906580a3e40a8cb83102 # timeout=10 23:01:59 > git remote # timeout=10 23:01:59 > git config --get remote.origin.url # timeout=10 23:01:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:01:59 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 23:01:59 > git rev-parse HEAD^{commit} # timeout=10 23:01:59 > git config core.sparsecheckout # timeout=10 23:01:59 > git checkout -f 1cc9f630856e4a571875906580a3e40a8cb83102 # timeout=10 23:02:00 00ac8860ef70: Pull complete 23:02:00 63d7cb157983: Pull complete 23:02:00 b116817d02f9: Pull complete 23:02:02 Commit message: "feat: Fixup - addressed PR comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:02:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:02:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:02:05 + sudo service docker restart 23:02:05 + true 23:02:05 Redirecting to /bin/systemctl restart docker.service 23:02:05 745a02a5169b: Pull complete 23:02:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:02:05 ---> b7e6874047d6 23:02:05 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:02:05 20.10.0: Pulling from library/docker 23:02:05 a3cc7d3b244e: Pulling fs layer 23:02:05 02a3295e0d61: Pulling fs layer 23:02:05 0f4f2e6d8100: Pulling fs layer 23:02:05 330b718f631f: Pulling fs layer 23:02:05 a93816041522: Pulling fs layer 23:02:05 bdb6da89ff94: Pulling fs layer 23:02:05 2a70c0c122f4: Pulling fs layer 23:02:05 a93816041522: Waiting 23:02:05 bdb6da89ff94: Waiting 23:02:05 2a70c0c122f4: Waiting 23:02:05 330b718f631f: Waiting 23:02:05 0f4f2e6d8100: Verifying Checksum 23:02:05 0f4f2e6d8100: Download complete 23:02:05 02a3295e0d61: Verifying Checksum 23:02:05 02a3295e0d61: Download complete 23:02:05 a3cc7d3b244e: Verifying Checksum 23:02:05 a3cc7d3b244e: Download complete 23:02:05 bdb6da89ff94: Verifying Checksum 23:02:05 bdb6da89ff94: Download complete 23:02:05 a93816041522: Verifying Checksum 23:02:05 2a70c0c122f4: Verifying Checksum 23:02:05 2a70c0c122f4: Download complete 23:02:05 a3cc7d3b244e: Pull complete [Pipeline] unstash [Pipeline] echo 23:02:06 ========================================================= 23:02:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:02:06 ========================================================= 23:02:06 02a3295e0d61: Pull complete [Pipeline] isUnix [Pipeline] sh 23:02:06 330b718f631f: Verifying Checksum 23:02:06 330b718f631f: Download complete 23:02:06 0f4f2e6d8100: Pull complete 23:02:06 + 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 . 23:02:07 Sending build context to Docker daemon 19.24MB 23:02:07 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:02:07 Step 2/8 : FROM ${BASE} 23:02:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:02:07 188c0c94c7c5: Pulling fs layer 23:02:07 0ef7d3d256c8: Pulling fs layer 23:02:07 de9db76c5a1d: Pulling fs layer 23:02:07 bca2f99d35d6: Pulling fs layer 23:02:07 93359f2a8cfa: Pulling fs layer 23:02:07 7c6f9722023f: Pulling fs layer 23:02:07 a35cf1a2eb13: Pulling fs layer 23:02:07 bca2f99d35d6: Waiting 23:02:07 7c6f9722023f: Waiting 23:02:07 a35cf1a2eb13: Waiting 23:02:07 93359f2a8cfa: Waiting 23:02:07 de9db76c5a1d: Verifying Checksum 23:02:07 de9db76c5a1d: Download complete 23:02:07 0ef7d3d256c8: Download complete 23:02:07 93359f2a8cfa: Verifying Checksum 23:02:07 93359f2a8cfa: Download complete 23:02:07 7c6f9722023f: Verifying Checksum 23:02:07 7c6f9722023f: Download complete 23:02:07 188c0c94c7c5: Verifying Checksum 23:02:07 188c0c94c7c5: Download complete 23:02:07 188c0c94c7c5: Pull complete 23:02:07 0ef7d3d256c8: Pull complete 23:02:07 de9db76c5a1d: Pull complete 23:02:09 a35cf1a2eb13: Verifying Checksum 23:02:09 a35cf1a2eb13: Download complete 23:02:09 bca2f99d35d6: Verifying Checksum 23:02:09 bca2f99d35d6: Download complete 23:02:10 330b718f631f: Pull complete 23:02:10 a93816041522: Pull complete 23:02:11 bdb6da89ff94: Pull complete 23:02:11 2a70c0c122f4: Pull complete 23:02:11 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:02:11 Status: Downloaded newer image for docker:20.10.0 23:02:15 bca2f99d35d6: Pull complete 23:02:15 93359f2a8cfa: Pull complete 23:02:15 7c6f9722023f: Pull complete 23:02:18 ---> efd3a7ac01eb 23:02:18 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:02:18 ---> Running in 060b323461a9 23:02:18 Removing intermediate container 060b323461a9 23:02:18 ---> be9e3ddf4d8a 23:02:18 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:02:18 ---> Running in 13a9a58032cf 23:02:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:02:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:02:20 a35cf1a2eb13: Pull complete 23:02:20 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:02:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:02:20 ---> a62c8e92a672 23:02:20 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:02:20 20.10.0: Pulling from library/docker 23:02:20 05e7bc50f07f: Pulling fs layer 23:02:20 6db28d0fdbf6: Pulling fs layer 23:02:20 292df0bc6bf3: Pulling fs layer 23:02:20 2e060f4bd70b: Pulling fs layer 23:02:20 80e8d568a223: Pulling fs layer 23:02:20 8dc6ef1a942a: Pulling fs layer 23:02:20 2312dd95470a: Pulling fs layer 23:02:20 80e8d568a223: Waiting 23:02:20 8dc6ef1a942a: Waiting 23:02:20 2312dd95470a: Waiting 23:02:20 2e060f4bd70b: Waiting 23:02:20 292df0bc6bf3: Verifying Checksum 23:02:20 292df0bc6bf3: Download complete 23:02:20 6db28d0fdbf6: Verifying Checksum 23:02:20 6db28d0fdbf6: Download complete 23:02:20 05e7bc50f07f: Verifying Checksum 23:02:20 05e7bc50f07f: Download complete 23:02:20 80e8d568a223: Download complete 23:02:20 8dc6ef1a942a: Verifying Checksum 23:02:20 8dc6ef1a942a: Download complete 23:02:20 2312dd95470a: Verifying Checksum 23:02:20 2312dd95470a: Download complete 23:02:20 (1/5) Installing libsodium (1.0.18-r0) 23:02:20 (2/5) Installing libzmq (4.3.3-r0) 23:02:20 05e7bc50f07f: Pull complete 23:02:20 (3/5) Installing pkgconf (1.7.2-r0) 23:02:20 (4/5) Installing libsodium-dev (1.0.18-r0) 23:02:20 (5/5) Installing zeromq-dev (4.3.3-r0) 23:02:21 6db28d0fdbf6: Pull complete 23:02:21 Executing busybox-1.31.1-r19.trigger 23:02:21 OK: 144 MiB in 44 packages 23:02:21 292df0bc6bf3: Pull complete 23:02:21 2e060f4bd70b: Download complete 23:02:22 Removing intermediate container 13a9a58032cf 23:02:22 ---> 6112bd3b1e4d 23:02:22 Step 6/8 : WORKDIR /build 23:02:22 ---> Running in 0c7353392542 23:02:23 Removing intermediate container 0c7353392542 23:02:23 ---> f620e2536c6a 23:02:23 Step 7/8 : COPY go.mod . 23:02:23 ---> 9825d1d027e7 23:02:23 Step 8/8 : RUN go mod download 23:02:23 ---> Running in 78b02d5adf37 23:02:24 2e060f4bd70b: Pull complete 23:02:24 80e8d568a223: Pull complete 23:02:24 8dc6ef1a942a: Pull complete 23:02:24 2312dd95470a: Pull complete 23:02:24 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:02:24 Status: Downloaded newer image for docker:20.10.0 23:02:26 ---> 1b810916de30 23:02:26 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:02:26 ---> Running in 37650d914534 23:02:26 Removing intermediate container 37650d914534 23:02:26 ---> fcea10f75f29 23:02:26 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:02:26 ---> Running in e7036faa7188 23:02:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:02:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:02:28 (1/5) Installing libsodium (1.0.18-r0) 23:02:28 (2/5) Installing libzmq (4.3.3-r0) 23:02:28 (3/5) Installing pkgconf (1.7.2-r0) 23:02:28 (4/5) Installing libsodium-dev (1.0.18-r0) 23:02:28 (5/5) Installing zeromq-dev (4.3.3-r0) 23:02:28 Executing busybox-1.31.1-r19.trigger 23:02:28 OK: 167 MiB in 44 packages 23:02:29 Removing intermediate container e7036faa7188 23:02:29 ---> b54e1a847c94 23:02:29 Step 6/8 : WORKDIR /build 23:02:29 ---> Running in 3c8e396b7dc5 23:02:29 Removing intermediate container 3c8e396b7dc5 23:02:29 ---> 428d240c0b5f 23:02:29 Step 7/8 : COPY go.mod . 23:02:29 ---> fd98f48dbb00 23:02:29 Step 8/8 : RUN go mod download 23:02:29 ---> Running in 99a91687b0c7 23:02:50 Removing intermediate container 78b02d5adf37 23:02:50 ---> c89a7e192d76 23:02:50 Successfully built c89a7e192d76 23:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:02:50 + docker inspect -f . ci-base-image-arm64 23:02:50 . [Pipeline] withDockerContainer 23:02:51 prd-ubuntu18.04-docker-arm64-4c-16g-26712 does not seem to be running inside a container 23:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:51 Removing intermediate container 99a91687b0c7 23:02:51 ---> 6174132f4674 23:02:51 Successfully built 6174132f4674 23:02:51 Successfully tagged ci-base-image-x86_64:latest 23:02:52 $ docker top 5fe81994d7644123035b4270e5220254621863ba9beab71cfc6f48202cf5bbf3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 23:02:53 + docker inspect -f . ci-base-image-x86_64 23:02:53 . [Pipeline] withDockerContainer 23:02:53 + go version 23:02:53 go version go1.15.5 linux/arm64 23:02:53 prd-centos7-docker-4c-2g-26713 does not seem to be running inside a container 23:02:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:02:54 $ docker top 6166495e2b4dc8e17bc2c0589c10e637ff7dab6addae4438281cc4d0d02315a1 -eo pid,comm [Pipeline] { [Pipeline] } 23:02:55 $ docker stop --time=1 5fe81994d7644123035b4270e5220254621863ba9beab71cfc6f48202cf5bbf3 23:02:57 $ docker rm -f 5fe81994d7644123035b4270e5220254621863ba9beab71cfc6f48202cf5bbf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 23:02:57 + go version 23:02:57 go version go1.15.5 linux/amd64 [Pipeline] } 23:02:57 $ docker stop --time=1 6166495e2b4dc8e17bc2c0589c10e637ff7dab6addae4438281cc4d0d02315a1 23:02:59 $ docker rm -f 6166495e2b4dc8e17bc2c0589c10e637ff7dab6addae4438281cc4d0d02315a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:02:59 + docker inspect -f . ci-base-image-arm64 23:02:59 . [Pipeline] withDockerContainer 23:02:59 + docker inspect -f . ci-base-image-x86_64 23:02:59 . 23:03:00 prd-ubuntu18.04-docker-arm64-4c-16g-26712 does not seem to be running inside a container 23:03:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:03:01 $ docker top 76beddf08adb137975510a0e48da9d06cf907a6acdd8ccaa8bd931194e0f40e3 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 23:03:02 prd-centos7-docker-4c-2g-26713 does not seem to be running inside a container 23:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:03:02 $ docker top 9aad4373a2316827518fc5a18d99346743688d44361bb8affba982b574ee575c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 23:03:03 + make test 23:03:03 make -C ./app-service-template build 23:03:03 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 23:03:03 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:03:03 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.0-dev.14: parsing ../../app-functions-sdk-go/go.mod: open /w/workspace/app-functions-sdk-go/app-functions-sdk-go/go.mod: no such file or directory 23:03:03 make[1]: *** [Makefile:24: build] Error 1 23:03:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 23:03:03 make: *** [Makefile:6: build] Error 2 [Pipeline] } 23:03:03 $ docker stop --time=1 9aad4373a2316827518fc5a18d99346743688d44361bb8affba982b574ee575c 23:03:03 + make test 23:03:03 make -C ./app-service-template build 23:03:03 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 23:03:03 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:03:03 go: github.com/edgexfoundry/app-functions-sdk-go/v2@v2.0.0-dev.14: parsing ../../app-functions-sdk-go/go.mod: open /w/workspace/app-functions-sdk-go/app-functions-sdk-go/go.mod: no such file or directory 23:03:03 make[1]: *** [Makefile:24: build] Error 1 23:03:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 23:03:03 make: *** [Makefile:6: build] Error 2 23:03:04 $ docker rm -f 9aad4373a2316827518fc5a18d99346743688d44361bb8affba982b574ee575c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 23:03:04 $ docker stop --time=1 76beddf08adb137975510a0e48da9d06cf907a6acdd8ccaa8bd931194e0f40e3 23:03:06 $ docker rm -f 76beddf08adb137975510a0e48da9d06cf907a6acdd8ccaa8bd931194e0f40e3 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // withEnv [Pipeline] } Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:03:09 Failed in branch arm64 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:03:09 Failed in branch amd64 [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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 23:03:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:03:12 ---> package-listing.sh 23:03:12 ++ facter osfamily 23:03:12 ++ tr '[:upper:]' '[:lower:]' 23:03:12 + OS_FAMILY=redhat 23:03:12 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-703 23:03:12 + START_PACKAGES=/tmp/packages_start.txt 23:03:12 + END_PACKAGES=/tmp/packages_end.txt 23:03:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:03:12 + PACKAGES=/tmp/packages_start.txt 23:03:12 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-703 ']' 23:03:12 + PACKAGES=/tmp/packages_end.txt 23:03:12 + case "${OS_FAMILY}" in 23:03:12 + rpm -qa 23:03:12 + sort 23:03:17 + '[' -f /tmp/packages_start.txt ']' 23:03:17 + '[' -f /tmp/packages_end.txt ']' 23:03:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:03:17 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-703 ']' 23:03:17 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-703/archives/ 23:03:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-703/archives/ [Pipeline] echo 23:03:17 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/ndry_app-functions-sdk-go_PR-703/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:03:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:18 23:03:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:03:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:18 alpine: Pulling from edgex-lftools-log-publisher 23:03:18 df20fa9351a1: Pulling fs layer 23:03:18 36b3adc4ff6f: Pulling fs layer 23:03:18 8ad3a11d3b57: Pulling fs layer 23:03:18 46f8f816bc3b: Pulling fs layer 23:03:18 93b61091891f: Pulling fs layer 23:03:18 93b9cdb0e59b: Pulling fs layer 23:03:18 5e14af77c1be: Pulling fs layer 23:03:18 01666e4c0597: Pulling fs layer 23:03:18 aa168da1d23b: Pulling fs layer 23:03:18 5e14af77c1be: Waiting 23:03:18 93b61091891f: Waiting 23:03:18 93b9cdb0e59b: Waiting 23:03:18 01666e4c0597: Waiting 23:03:18 aa168da1d23b: Waiting 23:03:18 46f8f816bc3b: Waiting 23:03:18 36b3adc4ff6f: Verifying Checksum 23:03:18 36b3adc4ff6f: Download complete 23:03:18 46f8f816bc3b: Verifying Checksum 23:03:18 46f8f816bc3b: Download complete 23:03:18 df20fa9351a1: Verifying Checksum 23:03:18 df20fa9351a1: Download complete 23:03:18 93b9cdb0e59b: Verifying Checksum 23:03:18 93b9cdb0e59b: Download complete 23:03:18 93b61091891f: Verifying Checksum 23:03:18 93b61091891f: Download complete 23:03:18 5e14af77c1be: Verifying Checksum 23:03:18 5e14af77c1be: Download complete 23:03:18 01666e4c0597: Verifying Checksum 23:03:18 01666e4c0597: Download complete 23:03:19 df20fa9351a1: Pull complete 23:03:19 8ad3a11d3b57: Verifying Checksum 23:03:19 8ad3a11d3b57: Download complete 23:03:19 36b3adc4ff6f: Pull complete 23:03:20 8ad3a11d3b57: Pull complete 23:03:20 46f8f816bc3b: Pull complete 23:03:20 93b61091891f: Pull complete 23:03:21 93b9cdb0e59b: Pull complete 23:03:21 aa168da1d23b: Verifying Checksum 23:03:21 aa168da1d23b: Download complete 23:03:21 5e14af77c1be: Pull complete 23:03:21 01666e4c0597: Pull complete 23:03:28 aa168da1d23b: Pull complete 23:03:28 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:03:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:03:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:03:28 prd-centos7-docker-4c-2g-26711 does not seem to be running inside a container 23:03:28 $ 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/ndry_app-functions-sdk-go_PR-703/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-703 -v /w/workspace/ndry_app-functions-sdk-go_PR-703:/w/workspace/ndry_app-functions-sdk-go_PR-703:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-703@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 23:03:34 $ docker top 6d933eac83f0759207fa8c4eda65bddd740ef95515a2a0373e72c1a567b186f8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:35 + touch /tmp/pre-build-complete [Pipeline] sh 23:03:35 + mkdir -p /var/log/sa [Pipeline] sh 23:03:35 + ls /var/log/sa-host 23:03:35 + sadf -c /var/log/sa-host/sa17 23:03:35 file_magic: OK 23:03:35 HZ: Using current value: 100 23:03:35 file_header: OK 23:03:35 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 23:03:35 Statistics: 23:03:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:03:35 File successfully converted to sysstat format version 12.2.1 23:03:35 + sadf -c /var/log/sa-host/sa23 23:03:35 file_magic: OK 23:03:35 HZ: Using current value: 100 23:03:35 file_header: OK 23:03:35 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 23:03:35 Statistics: 23:03:35 Hnuu...uuuununununu... 23:03:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:03:36 provisioning config files... 23:03:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/config5882543952553987430tmp [Pipeline] { [Pipeline] echo 23:03:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:03:36 ---> create-netrc.sh [Pipeline] } 23:03:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:03:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:03:36 ---> python-tools-install.sh [Pipeline] echo 23:03:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:03:37 ---> sudo-logs.sh 23:03:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:03:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:03:37 ---> job-cost.sh 23:03:37 lf-activate-venv: SKIPPING 23:03:37 INFO: No Stack... 23:03:38 INFO: Retrieving Pricing Info for: v1-standard-2 23:03:39 INFO: Archiving Costs [Pipeline] echo 23:03:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:03:39 ---> logs-deploy.sh 23:03:39 lf-activate-venv: SKIPPING 23:03:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-703/7 23:03:39 INFO: archiving workspace using pattern(s): 23:03:41 Archives upload complete. 23:03:41 INFO: archiving logs to Nexus