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