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 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697+f281c8b713d95d8c203921f39489e26903a82368 (19add9b40927ff8bdd67305f665bbdb3bdace41b) 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-26694 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 > 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 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 Merge succeeded, producing 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 Checking out Revision 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 (PR-703) > git config core.sparsecheckout # timeout=10 > git checkout -f 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 # 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 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 # timeout=10 Commit message: "feat: Back port service template from hanoi branch" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:08:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:08:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 198b5d606c653256c3f81b9f5d751b0cc9ddc42c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:08:14 ========================================================= 19:08:14 EdgeX Global Pipelines Version Info 19:08:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:08:16 ------------------- 19:08:16 stable info: 19:08:16 ------------------- 19:08:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:08:16 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 19:08:16 Message: update stable to v1.0.179 19:08:16 ------------------- 19:08:16 experimental info: 19:08:16 ------------------- 19:08:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:08:16 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 19:08:16 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:08:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:08:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 19:08:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-703 [Pipeline] echo 19:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-703 [Pipeline] echo 19:08:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-703 [Pipeline] echo 19:08:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 [Pipeline] echo 19:08:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f11d55 [Pipeline] echo 19:08:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:21 + git log --format=format:%s -1 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 [Pipeline] echo 19:08:21 GIT_COMMIT: 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697, Commit Message: feat: Back port service template from hanoi branch [Pipeline] echo 19:08:21 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:08:22 19:08:22 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:08:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:08:23 latest: Pulling from edgex-devops/git-semver 19:08:23 31603596830f: Pulling fs layer 19:08:23 2a8b12db71e7: Pulling fs layer 19:08:23 6ca5941a6612: Pulling fs layer 19:08:23 ecc8261a40a4: Pulling fs layer 19:08:23 ecc8261a40a4: Waiting 19:08:23 2a8b12db71e7: Verifying Checksum 19:08:23 2a8b12db71e7: Download complete 19:08:23 31603596830f: Verifying Checksum 19:08:23 31603596830f: Download complete 19:08:23 6ca5941a6612: Verifying Checksum 19:08:23 6ca5941a6612: Download complete 19:08:23 ecc8261a40a4: Verifying Checksum 19:08:23 ecc8261a40a4: Download complete 19:08:23 31603596830f: Pull complete 19:08:23 2a8b12db71e7: Pull complete 19:08:24 6ca5941a6612: Pull complete 19:08:25 ecc8261a40a4: Pull complete 19:08:25 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:08:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:08:25 prd-centos7-docker-4c-2g-26694 does not seem to be running inside a container 19:08:25 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:08:27 $ docker top 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:08:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:27 [ssh-agent] Looking for ssh-agent implementation... 19:08:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:27 $ docker exec 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 ssh-agent 19:08:28 SSH_AUTH_SOCK=/tmp/ssh-knVD626sIZy6/agent.12 19:08:28 SSH_AGENT_PID=18 19:08:28 Running ssh-add (command line suppressed) 19:08:28 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_4246040838814090038.key (/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_4246040838814090038.key) 19:08:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:28 + git tag --points-at HEAD [Pipeline] } 19:08:28 $ docker exec --env ******** --env ******** 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 ssh-agent -k 19:08:28 unset SSH_AUTH_SOCK; 19:08:28 unset SSH_AGENT_PID; 19:08:28 echo Agent pid 18 killed; 19:08:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:08:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:08:29 [ssh-agent] Looking for ssh-agent implementation... 19:08:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:08:29 $ docker exec 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 ssh-agent 19:08:29 SSH_AUTH_SOCK=/tmp/ssh-6r1o5aw2WcLc/agent.47 19:08:29 SSH_AGENT_PID=52 19:08:29 Running ssh-add (command line suppressed) 19:08:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_7026329918869054770.key (/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/private_key_7026329918869054770.key) 19:08:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:08:29 + git semver init 19:08:29 # -> Open(): unable to determine branch for HEAD 19:08:29 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-703/.git 19:08:29 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-703 19:08:29 # $SEMVER_REMOTE_NAME = origin 19:08:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:08:29 # $SEMVER_USER_NAME = edgex-jenkins 19:08:29 # $SEMVER_BRANCH = PR-703 19:08:29 # $SEMVER_TEMP = /tmp/semver-202746789 19:08:29 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 19:08:33 # '/tmp/semver-202746789' -> '/w/workspace/ndry_app-functions-sdk-go_PR-703/.semver' 19:08:33 # -> Force: false 19:08:33 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-703/.semver [Pipeline] } 19:08:33 $ docker exec --env ******** --env ******** 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 ssh-agent -k 19:08:33 unset SSH_AUTH_SOCK; 19:08:33 unset SSH_AGENT_PID; 19:08:33 echo Agent pid 52 killed; 19:08:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:33 + git semver [Pipeline] } 19:08:33 $ docker stop --time=1 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 19:08:35 $ docker rm -f 342f408a5ccf82e172d40573e28f8c8bed8de1514bf7d8afc7e4ddb6e83a6a25 [Pipeline] // withDockerContainer [Pipeline] sh 19:08:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:08:36 Stashed 1 file(s) [Pipeline] echo 19:08:36 [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 19:08:52 Still waiting to schedule task 19:08:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:08:52 Still waiting to schedule task 19:08:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:10:26 Running on prd-centos7-docker-4c-2g-26696 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [Pipeline] { [Pipeline] ws 19:10:26 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 19:10:28 using credential edgex-jenkins-ssh 19:10:29 Cloning the remote Git repository 19:10:28 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 19:10:28 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 19:10:28 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:10:28 > git --version # timeout=10 19:10:28 > git --version # 'git version 2.24.3' 19:10:28 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:10:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:10:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:10:30 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:30 > 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 19:10:31 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 19:10:31 Merge succeeded, producing 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 19:10:31 Checking out Revision 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 (PR-703) 19:10:30 > git config core.sparsecheckout # timeout=10 19:10:30 > git checkout -f 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 # timeout=10 19:10:30 > git remote # timeout=10 19:10:30 > git config --get remote.origin.url # timeout=10 19:10:30 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:30 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 19:10:30 > git rev-parse HEAD^{commit} # timeout=10 19:10:30 > git config core.sparsecheckout # timeout=10 19:10:30 > git checkout -f 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 # timeout=10 19:10:34 Commit message: "feat: Back port service template from hanoi branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:36 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 19:10:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:10:36 + sudo service docker restart 19:10:36 + true 19:10:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 19:10:37 ========================================================= 19:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:10:37 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:10:38 + 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 . 19:10:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26695 in /w/workspace/ndry_app-functions-sdk-go_PR-703 [Pipeline] { [Pipeline] ws 19:10:38 Running in /w/workspace/app-functions-sdk-go/5 [Pipeline] { [Pipeline] checkout 19:10:38 Sending build context to Docker daemon 19.23MB 19:10:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:10:38 Step 2/8 : FROM ${BASE} 19:10:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:10:38 188c0c94c7c5: Pulling fs layer 19:10:38 0ef7d3d256c8: Pulling fs layer 19:10:38 de9db76c5a1d: Pulling fs layer 19:10:38 bca2f99d35d6: Pulling fs layer 19:10:38 93359f2a8cfa: Pulling fs layer 19:10:38 7c6f9722023f: Pulling fs layer 19:10:38 a35cf1a2eb13: Pulling fs layer 19:10:38 93359f2a8cfa: Waiting 19:10:38 7c6f9722023f: Waiting 19:10:38 a35cf1a2eb13: Waiting 19:10:38 bca2f99d35d6: Waiting 19:10:38 de9db76c5a1d: Verifying Checksum 19:10:38 de9db76c5a1d: Download complete 19:10:38 0ef7d3d256c8: Download complete 19:10:38 93359f2a8cfa: Verifying Checksum 19:10:38 93359f2a8cfa: Download complete 19:10:39 188c0c94c7c5: Verifying Checksum 19:10:39 188c0c94c7c5: Download complete 19:10:39 188c0c94c7c5: Pull complete 19:10:39 7c6f9722023f: Verifying Checksum 19:10:39 7c6f9722023f: Download complete 19:10:39 0ef7d3d256c8: Pull complete 19:10:40 de9db76c5a1d: Pull complete 19:10:41 a35cf1a2eb13: Verifying Checksum 19:10:41 a35cf1a2eb13: Download complete 19:10:42 bca2f99d35d6: Verifying Checksum 19:10:42 bca2f99d35d6: Download complete 19:10:43 using credential edgex-jenkins-ssh 19:10:43 Cloning the remote Git repository 19:10:43 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 19:10:43 > git init /w/workspace/app-functions-sdk-go/5 # timeout=10 19:10:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:10:43 > git --version # timeout=10 19:10:43 > git --version # 'git version 2.17.1' 19:10:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:10:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:46 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 19:10:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 19:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:47 > 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 19:10:47 bca2f99d35d6: Pull complete 19:10:47 93359f2a8cfa: Pull complete 19:10:47 Merging remotes/origin/master commit f281c8b713d95d8c203921f39489e26903a82368 into PR head commit 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 19:10:47 7c6f9722023f: Pull complete 19:10:47 Merge succeeded, producing 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 19:10:47 Checking out Revision 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 (PR-703) 19:10:47 > git config core.sparsecheckout # timeout=10 19:10:47 > git checkout -f 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 # timeout=10 19:10:47 > git remote # timeout=10 19:10:47 > git config --get remote.origin.url # timeout=10 19:10:47 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:47 > git merge f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 19:10:47 > git rev-parse HEAD^{commit} # timeout=10 19:10:47 > git config core.sparsecheckout # timeout=10 19:10:47 > git checkout -f 2f11d55045323bbe6abbd0fa81bc7eb6adf7e697 # timeout=10 19:10:52 Commit message: "feat: Back port service template from hanoi branch" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 19:10:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 19:10:54 + true 19:10:54 + sudo service docker restart 19:10:56 a35cf1a2eb13: Pull complete 19:10:56 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 19:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:10:56 ---> a62c8e92a672 19:10:56 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 19:10:56 20.10.0: Pulling from library/docker 19:10:56 05e7bc50f07f: Pulling fs layer 19:10:56 6db28d0fdbf6: Pulling fs layer 19:10:56 292df0bc6bf3: Pulling fs layer 19:10:56 2e060f4bd70b: Pulling fs layer 19:10:56 80e8d568a223: Pulling fs layer 19:10:56 8dc6ef1a942a: Pulling fs layer 19:10:56 2312dd95470a: Pulling fs layer 19:10:56 8dc6ef1a942a: Waiting 19:10:56 2e060f4bd70b: Waiting 19:10:56 80e8d568a223: Waiting 19:10:56 2312dd95470a: Waiting 19:10:56 292df0bc6bf3: Verifying Checksum 19:10:56 292df0bc6bf3: Download complete 19:10:56 05e7bc50f07f: Verifying Checksum 19:10:56 05e7bc50f07f: Download complete 19:10:56 6db28d0fdbf6: Verifying Checksum 19:10:56 6db28d0fdbf6: Download complete 19:10:56 80e8d568a223: Verifying Checksum 19:10:56 80e8d568a223: Download complete 19:10:56 8dc6ef1a942a: Verifying Checksum 19:10:56 8dc6ef1a942a: Download complete 19:10:56 2312dd95470a: Verifying Checksum 19:10:56 2312dd95470a: Download complete 19:10:56 05e7bc50f07f: Pull complete 19:10:56 6db28d0fdbf6: Pull complete 19:10:56 292df0bc6bf3: Pull complete [Pipeline] unstash [Pipeline] echo 19:10:57 ========================================================= 19:10:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:10:57 ========================================================= 19:10:57 2e060f4bd70b: Verifying Checksum 19:10:57 2e060f4bd70b: Download complete [Pipeline] isUnix [Pipeline] sh 19:10:57 + 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 . 19:10:58 Sending build context to Docker daemon 19.23MB 19:10:58 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 19:10:58 Step 2/8 : FROM ${BASE} 19:10:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:59 5f621e34cdf4: Pulling fs layer 19:10:59 a4357932f1b6: Pulling fs layer 19:10:59 18c013af1878: Pulling fs layer 19:10:59 00ac8860ef70: Pulling fs layer 19:10:59 63d7cb157983: Pulling fs layer 19:10:59 b116817d02f9: Pulling fs layer 19:10:59 745a02a5169b: Pulling fs layer 19:10:59 00ac8860ef70: Waiting 19:10:59 63d7cb157983: Waiting 19:10:59 b116817d02f9: Waiting 19:10:59 745a02a5169b: Waiting 19:10:59 18c013af1878: Download complete 19:10:59 a4357932f1b6: Verifying Checksum 19:10:59 a4357932f1b6: Download complete 19:10:59 63d7cb157983: Verifying Checksum 19:10:59 63d7cb157983: Download complete 19:10:59 b116817d02f9: Verifying Checksum 19:10:59 b116817d02f9: Download complete 19:10:59 5f621e34cdf4: Verifying Checksum 19:10:59 5f621e34cdf4: Download complete 19:11:00 2e060f4bd70b: Pull complete 19:11:00 80e8d568a223: Pull complete 19:11:00 5f621e34cdf4: Pull complete 19:11:00 8dc6ef1a942a: Pull complete 19:11:00 2312dd95470a: Pull complete 19:11:00 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 19:11:00 Status: Downloaded newer image for docker:20.10.0 19:11:00 a4357932f1b6: Pull complete 19:11:01 18c013af1878: Pull complete 19:11:01 745a02a5169b: Verifying Checksum 19:11:01 745a02a5169b: Download complete 19:11:01 ---> de43e4df438e 19:11:01 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:11:02 ---> Running in ea43c6242c7b 19:11:02 Removing intermediate container ea43c6242c7b 19:11:02 ---> 0db0688f45f0 19:11:02 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 19:11:02 ---> Running in 9f4902c8377d 19:11:02 00ac8860ef70: Verifying Checksum 19:11:02 00ac8860ef70: Download complete 19:11:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:11:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:11:03 (1/5) Installing libsodium (1.0.18-r0) 19:11:04 (2/5) Installing libzmq (4.3.3-r0) 19:11:04 (3/5) Installing pkgconf (1.7.2-r0) 19:11:04 (4/5) Installing libsodium-dev (1.0.18-r0) 19:11:04 (5/5) Installing zeromq-dev (4.3.3-r0) 19:11:04 Executing busybox-1.31.1-r19.trigger 19:11:04 OK: 167 MiB in 44 packages 19:11:04 Removing intermediate container 9f4902c8377d 19:11:04 ---> 2053781d94a1 19:11:04 Step 6/8 : WORKDIR /build 19:11:04 ---> Running in 041dbe28fc27 19:11:05 Removing intermediate container 041dbe28fc27 19:11:05 ---> 8cd6bb293634 19:11:05 Step 7/8 : COPY go.mod . 19:11:05 ---> b0222cef02d3 19:11:05 Step 8/8 : RUN go mod download 19:11:05 ---> Running in a06052e75578 19:11:12 00ac8860ef70: Pull complete 19:11:12 63d7cb157983: Pull complete 19:11:13 b116817d02f9: Pull complete 19:11:16 745a02a5169b: Pull complete 19:11:16 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 19:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:11:16 ---> b7e6874047d6 19:11:16 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 19:11:17 20.10.0: Pulling from library/docker 19:11:17 a3cc7d3b244e: Pulling fs layer 19:11:17 02a3295e0d61: Pulling fs layer 19:11:17 0f4f2e6d8100: Pulling fs layer 19:11:17 330b718f631f: Pulling fs layer 19:11:17 a93816041522: Pulling fs layer 19:11:17 bdb6da89ff94: Pulling fs layer 19:11:17 2a70c0c122f4: Pulling fs layer 19:11:17 330b718f631f: Waiting 19:11:17 a93816041522: Waiting 19:11:17 bdb6da89ff94: Waiting 19:11:17 2a70c0c122f4: Waiting 19:11:17 0f4f2e6d8100: Download complete 19:11:17 02a3295e0d61: Verifying Checksum 19:11:17 02a3295e0d61: Download complete 19:11:17 a93816041522: Download complete 19:11:17 bdb6da89ff94: Verifying Checksum 19:11:17 a3cc7d3b244e: Verifying Checksum 19:11:17 a3cc7d3b244e: Download complete 19:11:17 2a70c0c122f4: Download complete 19:11:17 a3cc7d3b244e: Pull complete 19:11:18 02a3295e0d61: Pull complete 19:11:19 0f4f2e6d8100: Pull complete 19:11:19 330b718f631f: Verifying Checksum 19:11:19 330b718f631f: Download complete 19:11:22 330b718f631f: Pull complete 19:11:23 a93816041522: Pull complete 19:11:23 bdb6da89ff94: Pull complete 19:11:23 2a70c0c122f4: Pull complete 19:11:23 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 19:11:23 Status: Downloaded newer image for docker:20.10.0 19:11:27 Removing intermediate container a06052e75578 19:11:27 ---> 9b25c562da82 19:11:27 Successfully built 9b25c562da82 19:11:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:11:28 + docker inspect -f . ci-base-image-x86_64 19:11:28 . [Pipeline] withDockerContainer 19:11:28 prd-centos7-docker-4c-2g-26696 does not seem to be running inside a container 19:11:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** ci-base-image-x86_64 cat 19:11:28 $ docker top e107b67ee4fccdd9b49bcce2d40445955971f21ad3e7df364bd4c9a7b976cc16 -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:29 + go version 19:11:29 go version go1.15.5 linux/amd64 [Pipeline] } 19:11:29 $ docker stop --time=1 e107b67ee4fccdd9b49bcce2d40445955971f21ad3e7df364bd4c9a7b976cc16 19:11:30 ---> 7a87e7baafd0 19:11:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 19:11:30 ---> Running in 26134002f4f2 19:11:30 Removing intermediate container 26134002f4f2 19:11:30 ---> 676826a5b479 19:11:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 19:11:30 ---> Running in 3cd9cc606968 19:11:30 $ docker rm -f e107b67ee4fccdd9b49bcce2d40445955971f21ad3e7df364bd4c9a7b976cc16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:11:31 + docker inspect -f . ci-base-image-x86_64 19:11:31 . [Pipeline] withDockerContainer 19:11:31 prd-centos7-docker-4c-2g-26696 does not seem to be running inside a container 19:11:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 ******** ci-base-image-x86_64 cat 19:11:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:11:32 $ docker top d07a3595b4bae6e8088a6812e087d80defcd5f0e7de410d8ffa58a4921e542e5 -eo pid,comm 19:11:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh 19:11:32 + make test 19:11:32 make -C ./app-service-template build 19:11:32 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:11:32 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 19:11:32 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 19:11:32 make[1]: *** [Makefile:24: build] Error 1 19:11:32 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:11:32 make: *** [Makefile:6: build] Error 2 [Pipeline] } 19:11:32 $ docker stop --time=1 d07a3595b4bae6e8088a6812e087d80defcd5f0e7de410d8ffa58a4921e542e5 19:11:33 (1/5) Installing libsodium (1.0.18-r0) 19:11:33 (2/5) Installing libzmq (4.3.3-r0) 19:11:33 (3/5) Installing pkgconf (1.7.2-r0) 19:11:33 (4/5) Installing libsodium-dev (1.0.18-r0) 19:11:33 (5/5) Installing zeromq-dev (4.3.3-r0) 19:11:33 Executing busybox-1.31.1-r19.trigger 19:11:33 OK: 144 MiB in 44 packages 19:11:34 $ docker rm -f d07a3595b4bae6e8088a6812e087d80defcd5f0e7de410d8ffa58a4921e542e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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) 19:11:35 Removing intermediate container 3cd9cc606968 19:11:35 ---> 6fc1fa34d0b9 19:11:35 Step 6/8 : WORKDIR /build 19:11:35 ---> Running in d49841a2feea Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv 19:11:35 Removing intermediate container d49841a2feea 19:11:35 ---> 3f805a819a0d 19:11:35 Step 7/8 : COPY go.mod . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:11:35 Failed in branch amd64 19:11:35 ---> 2a15e78c0d28 19:11:35 Step 8/8 : RUN go mod download 19:11:36 ---> Running in 5a08dba60995 19:12:02 Removing intermediate container 5a08dba60995 19:12:02 ---> 9554bf90317a 19:12:02 Successfully built 9554bf90317a 19:12:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:12:03 + docker inspect -f . ci-base-image-arm64 19:12:03 . [Pipeline] withDockerContainer 19:12:03 prd-ubuntu18.04-docker-arm64-4c-16g-26695 does not seem to be running inside a container 19:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 19:12:05 $ docker top a8da0e95c15954fdbe9567dfccbf0ec481df1040c3ba76e74bb044bdacdca1f1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:06 + go version 19:12:06 go version go1.15.5 linux/arm64 [Pipeline] } 19:12:06 $ docker stop --time=1 a8da0e95c15954fdbe9567dfccbf0ec481df1040c3ba76e74bb044bdacdca1f1 19:12:07 $ docker rm -f a8da0e95c15954fdbe9567dfccbf0ec481df1040c3ba76e74bb044bdacdca1f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:12:08 + docker inspect -f . ci-base-image-arm64 19:12:08 . [Pipeline] withDockerContainer 19:12:09 prd-ubuntu18.04-docker-arm64-4c-16g-26695 does not seem to be running inside a container 19:12:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/5 -v /w/workspace/app-functions-sdk-go/5:/w/workspace/app-functions-sdk-go/5:rw,z -v /w/workspace/app-functions-sdk-go/5@tmp:/w/workspace/app-functions-sdk-go/5@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 19:12:10 $ docker top 517c8e6627d2eab058d4b23c91dd1b051721152f4e9aecc4f96b28ac0e155258 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:11 + make test 19:12:11 make -C ./app-service-template build 19:12:11 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:12:11 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 19:12:11 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 19:12:11 make[1]: *** [Makefile:24: build] Error 1 19:12:11 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/5/app-service-template' 19:12:11 make: *** [Makefile:6: build] Error 2 [Pipeline] } 19:12:11 $ docker stop --time=1 517c8e6627d2eab058d4b23c91dd1b051721152f4e9aecc4f96b28ac0e155258 19:12:13 $ docker rm -f 517c8e6627d2eab058d4b23c91dd1b051721152f4e9aecc4f96b28ac0e155258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:12:15 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] { (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 19:12:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:12:18 ---> package-listing.sh 19:12:18 ++ facter osfamily 19:12:18 ++ tr '[:upper:]' '[:lower:]' 19:12:18 + OS_FAMILY=redhat 19:12:18 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-703 19:12:18 + START_PACKAGES=/tmp/packages_start.txt 19:12:18 + END_PACKAGES=/tmp/packages_end.txt 19:12:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:12:18 + PACKAGES=/tmp/packages_start.txt 19:12:18 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-703 ']' 19:12:18 + PACKAGES=/tmp/packages_end.txt 19:12:18 + case "${OS_FAMILY}" in 19:12:18 + rpm -qa 19:12:18 + sort 19:12:22 + '[' -f /tmp/packages_start.txt ']' 19:12:22 + '[' -f /tmp/packages_end.txt ']' 19:12:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:12:22 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-703 ']' 19:12:22 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-703/archives/ 19:12:22 + 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 19:12:22 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 19:12:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:12:23 19:12:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:12:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:12:23 alpine: Pulling from edgex-lftools-log-publisher 19:12:23 df20fa9351a1: Pulling fs layer 19:12:23 36b3adc4ff6f: Pulling fs layer 19:12:23 8ad3a11d3b57: Pulling fs layer 19:12:23 46f8f816bc3b: Pulling fs layer 19:12:23 93b61091891f: Pulling fs layer 19:12:23 93b9cdb0e59b: Pulling fs layer 19:12:23 5e14af77c1be: Pulling fs layer 19:12:23 01666e4c0597: Pulling fs layer 19:12:23 aa168da1d23b: Pulling fs layer 19:12:23 93b9cdb0e59b: Waiting 19:12:23 5e14af77c1be: Waiting 19:12:23 01666e4c0597: Waiting 19:12:23 aa168da1d23b: Waiting 19:12:23 46f8f816bc3b: Waiting 19:12:23 93b61091891f: Waiting 19:12:23 36b3adc4ff6f: Download complete 19:12:23 46f8f816bc3b: Download complete 19:12:23 df20fa9351a1: Verifying Checksum 19:12:23 df20fa9351a1: Download complete 19:12:23 93b9cdb0e59b: Verifying Checksum 19:12:23 93b9cdb0e59b: Download complete 19:12:23 5e14af77c1be: Verifying Checksum 19:12:23 5e14af77c1be: Download complete 19:12:23 93b61091891f: Verifying Checksum 19:12:23 93b61091891f: Download complete 19:12:23 01666e4c0597: Verifying Checksum 19:12:23 01666e4c0597: Download complete 19:12:24 df20fa9351a1: Pull complete 19:12:24 36b3adc4ff6f: Pull complete 19:12:24 8ad3a11d3b57: Verifying Checksum 19:12:24 8ad3a11d3b57: Download complete 19:12:25 8ad3a11d3b57: Pull complete 19:12:25 46f8f816bc3b: Pull complete 19:12:25 93b61091891f: Pull complete 19:12:26 93b9cdb0e59b: Pull complete 19:12:26 aa168da1d23b: Verifying Checksum 19:12:26 aa168da1d23b: Download complete 19:12:26 5e14af77c1be: Pull complete 19:12:26 01666e4c0597: Pull complete 19:12:34 aa168da1d23b: Pull complete 19:12:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:12:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:12:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:12:34 prd-centos7-docker-4c-2g-26694 does not seem to be running inside a container 19:12:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:12:38 $ docker top 46ac65b1d3481d1d7a27d368972a5eaa93449cca5f656438cff04973ed5cc607 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:38 + touch /tmp/pre-build-complete [Pipeline] sh 19:12:38 + mkdir -p /var/log/sa [Pipeline] sh 19:12:39 + ls /var/log/sa-host 19:12:39 + sadf -c /var/log/sa-host/sa17 19:12:39 file_magic: OK 19:12:39 HZ: Using current value: 100 19:12:39 file_header: OK 19:12:39 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 19:12:39 Statistics: 19:12:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:12:39 File successfully converted to sysstat format version 12.2.1 19:12:39 + sadf -c /var/log/sa-host/sa23 19:12:39 file_magic: OK 19:12:39 HZ: Using current value: 100 19:12:39 file_header: OK 19:12:39 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 19:12:39 Statistics: 19:12:39 Hnuu...uuuununununu... 19:12:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:39 provisioning config files... 19:12:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-703@tmp/config5115974814186263954tmp [Pipeline] { [Pipeline] echo 19:12:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:12:40 ---> create-netrc.sh [Pipeline] } 19:12:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:12:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:12:40 ---> python-tools-install.sh [Pipeline] echo 19:12:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:12:40 ---> sudo-logs.sh 19:12:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:12:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:12:41 ---> job-cost.sh 19:12:41 lf-activate-venv: SKIPPING 19:12:41 INFO: No Stack... 19:12:42 INFO: Retrieving Pricing Info for: v1-standard-2 19:12:42 INFO: Archiving Costs [Pipeline] echo 19:12:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:12:42 ---> logs-deploy.sh 19:12:42 lf-activate-venv: SKIPPING 19:12:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-703/5 19:12:42 INFO: archiving workspace using pattern(s): 19:12:44 Archives upload complete. 19:12:44 INFO: archiving logs to Nexus 19:12:45 ---> uname -a: 19:12:45 Linux prd-centos7-docker-4c-2g-26694.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 19:12:45 19:12:45