Pull request #896 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 phanvanhai for edgexfoundry/app-functions-sdk-go Loading trusted files from base branch master at a4532674cdf1935ad680053a644fcdbb6a5686a9 rather than 1549aa7bc2f525602411dc85df1c5b0b6d210cfd Obtained Jenkinsfile from a4532674cdf1935ad680053a644fcdbb6a5686a9 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6933783305118242927.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4477139574122155412.key > 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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-896/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-896/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1026295795746818873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh144954192009910033.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-896/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-896/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh548690874136653214.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: app-functions-sdk 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1259 in /w/workspace/ndry_app-functions-sdk-go_PR-896 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-896 # 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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/jenkins-gitclient-ssh1219914705047458862.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a4532674cdf1935ad680053a644fcdbb6a5686a9 into PR head commit 1549aa7bc2f525602411dc85df1c5b0b6d210cfd Merge succeeded, producing 1549aa7bc2f525602411dc85df1c5b0b6d210cfd Checking out Revision 1549aa7bc2f525602411dc85df1c5b0b6d210cfd (PR-896) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/jenkins-gitclient-ssh6853898194138195687.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/896/head:refs/remotes/origin/PR-896 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1549aa7bc2f525602411dc85df1c5b0b6d210cfd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/jenkins-gitclient-ssh8770771360373544451.key > git merge a4532674cdf1935ad680053a644fcdbb6a5686a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1549aa7bc2f525602411dc85df1c5b0b6d210cfd # timeout=10 Commit message: "Merge branch 'master' of https://github.com/phanvanhai/app-functions-sdk-go" > git rev-list --no-walk e043df2fdb94aa6c24033cc28ac40a6554821db3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-14T16:57:56.942Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-14T16:57:57.062Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-14T16:57:57.094Z] ========================================================= [2021-06-14T16:57:57.094Z] EdgeX Global Pipelines Version Info [2021-06-14T16:57:57.094Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-14T16:57:58.599Z] ------------------- [2021-06-14T16:57:58.599Z] stable info: [2021-06-14T16:57:58.599Z] ------------------- [2021-06-14T16:57:58.599Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-14T16:57:58.599Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T16:57:58.599Z] Message: update stable to v1.0.195 [2021-06-14T16:57:59.177Z] ------------------- [2021-06-14T16:57:59.177Z] experimental info: [2021-06-14T16:57:59.177Z] ------------------- [2021-06-14T16:57:59.177Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-14T16:57:59.177Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T16:57:59.177Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-14T16:57:59.312Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-06-14T16:57:59.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-06-14T16:57:59.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-14T16:57:59.391Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-14T16:57:59.417Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-14T16:57:59.443Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-14T16:57:59.473Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-14T16:57:59.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-14T16:57:59.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-14T16:57:59.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-14T16:57:59.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-14T16:57:59.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-06-14T16:57:59.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-14T16:57:59.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-14T16:57:59.699Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T16:57:59.729Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T16:57:59.758Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T16:57:59.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T16:57:59.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-14T16:57:59.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-14T16:57:59.880Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-14T16:57:59.907Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-06-14T16:57:59.934Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-14T16:57:59.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-14T16:57:59.992Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-06-14T16:58:00.021Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-14T16:58:00.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-896 [Pipeline] echo [2021-06-14T16:58:00.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-896 [Pipeline] echo [2021-06-14T16:58:00.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-896 [Pipeline] echo [2021-06-14T16:58:00.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1549aa7bc2f525602411dc85df1c5b0b6d210cfd [Pipeline] echo [2021-06-14T16:58:00.188Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1549aa7 [Pipeline] echo [2021-06-14T16:58:00.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T16:58:00.752Z] + git log --format=format:%s -1 1549aa7bc2f525602411dc85df1c5b0b6d210cfd [Pipeline] echo [2021-06-14T16:58:00.794Z] GIT_COMMIT: 1549aa7bc2f525602411dc85df1c5b0b6d210cfd, Commit Message: Merge branch 'master' of https://github.com/phanvanhai/app-functions-sdk-go [Pipeline] echo [2021-06-14T16:58:00.811Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-14T16:58:02.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T16:58:02.007Z] [2021-06-14T16:58:02.007Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T16:58:02.323Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T16:58:02.323Z] latest: Pulling from edgex-devops/git-semver [2021-06-14T16:58:02.323Z] 31603596830f: Pulling fs layer [2021-06-14T16:58:02.323Z] 54011a49482f: Pulling fs layer [2021-06-14T16:58:02.323Z] a6820b24f6d8: Pulling fs layer [2021-06-14T16:58:02.323Z] f581987b2513: Pulling fs layer [2021-06-14T16:58:02.323Z] f581987b2513: Waiting [2021-06-14T16:58:02.586Z] 54011a49482f: Verifying Checksum [2021-06-14T16:58:02.587Z] 54011a49482f: Download complete [2021-06-14T16:58:02.849Z] 31603596830f: Verifying Checksum [2021-06-14T16:58:02.849Z] 31603596830f: Download complete [2021-06-14T16:58:02.849Z] f581987b2513: Verifying Checksum [2021-06-14T16:58:02.849Z] f581987b2513: Download complete [2021-06-14T16:58:02.849Z] a6820b24f6d8: Verifying Checksum [2021-06-14T16:58:02.850Z] a6820b24f6d8: Download complete [2021-06-14T16:58:02.850Z] 31603596830f: Pull complete [2021-06-14T16:58:03.123Z] 54011a49482f: Pull complete [2021-06-14T16:58:03.710Z] a6820b24f6d8: Pull complete [2021-06-14T16:58:03.972Z] f581987b2513: Pull complete [2021-06-14T16:58:03.972Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-14T16:58:03.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T16:58:03.972Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-14T16:58:04.067Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-06-14T16:58:03.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-896 -v /w/workspace/ndry_app-functions-sdk-go_PR-896:/w/workspace/ndry_app-functions-sdk-go_PR-896:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-896@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 [2021-06-14T16:58:04.890Z] $ docker top dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-14T16:58:05.108Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T16:58:05.108Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T16:58:05.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T16:58:05.151Z] $ docker exec dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d ssh-agent [2021-06-14T16:58:05.336Z] SSH_AUTH_SOCK=/tmp/ssh-9sXsYbEiCycn/agent.14 [2021-06-14T16:58:05.336Z] SSH_AGENT_PID=20 [2021-06-14T16:58:05.345Z] Running ssh-add (command line suppressed) [2021-06-14T16:58:05.371Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/private_key_2991373052063973184.key (/w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/private_key_2991373052063973184.key) [2021-06-14T16:58:05.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T16:58:05.758Z] + git tag --points-at HEAD [Pipeline] } [2021-06-14T16:58:05.738Z] $ docker exec --env ******** --env ******** dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d ssh-agent -k [2021-06-14T16:58:05.841Z] unset SSH_AUTH_SOCK; [2021-06-14T16:58:05.841Z] unset SSH_AGENT_PID; [2021-06-14T16:58:05.841Z] echo Agent pid 20 killed; [2021-06-14T16:58:05.880Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-14T16:58:05.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T16:58:05.919Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T16:58:06.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T16:58:06.016Z] $ docker exec dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d ssh-agent [2021-06-14T16:58:06.133Z] SSH_AUTH_SOCK=/tmp/ssh-QY2rAyB0pAS7/agent.55 [2021-06-14T16:58:06.134Z] SSH_AGENT_PID=62 [2021-06-14T16:58:06.139Z] Running ssh-add (command line suppressed) [2021-06-14T16:58:06.233Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/private_key_8070399110476799507.key (/w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/private_key_8070399110476799507.key) [2021-06-14T16:58:06.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T16:58:06.556Z] + git semver init [2021-06-14T16:58:06.556Z] # -> Open(): unable to determine branch for HEAD [2021-06-14T16:58:06.556Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-896/.git [2021-06-14T16:58:06.556Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-896 [2021-06-14T16:58:06.556Z] # $SEMVER_REMOTE_NAME = origin [2021-06-14T16:58:06.556Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-14T16:58:06.556Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-14T16:58:06.556Z] # $SEMVER_BRANCH = PR-896 [2021-06-14T16:58:06.556Z] # $SEMVER_TEMP = /tmp/semver-416634591 [2021-06-14T16:58:06.556Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-06-14T16:58:08.480Z] # '/tmp/semver-416634591' -> '/w/workspace/ndry_app-functions-sdk-go_PR-896/.semver' [2021-06-14T16:58:08.480Z] # -> Force: false [2021-06-14T16:58:08.481Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-896/.semver [Pipeline] } [2021-06-14T16:58:08.487Z] $ docker exec --env ******** --env ******** dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d ssh-agent -k [2021-06-14T16:58:08.594Z] unset SSH_AUTH_SOCK; [2021-06-14T16:58:08.594Z] unset SSH_AGENT_PID; [2021-06-14T16:58:08.594Z] echo Agent pid 62 killed; [2021-06-14T16:58:08.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-14T16:58:08.951Z] + git semver [Pipeline] } [2021-06-14T16:58:08.963Z] $ docker stop --time=1 dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d [2021-06-14T16:58:10.299Z] $ docker rm -f dc9eb5a0ab1f5f5f4ffc5c3463bb10a8bc20aa8e4e03310a3fdf183f56e8114d [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-14T16:58:10.684Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-14T16:58:10.957Z] Stashed 1 file(s) [Pipeline] echo [2021-06-14T16:58:10.961Z] [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 [2021-06-14T16:58:26.212Z] Still waiting to schedule task [2021-06-14T16:58:26.213Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1259’ [2021-06-14T16:58:26.215Z] Still waiting to schedule task [2021-06-14T16:58:26.216Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-14T17:00:27.308Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1260 in /w/workspace/ndry_app-functions-sdk-go_PR-896 [Pipeline] { [Pipeline] ws [2021-06-14T17:00:27.326Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-14T17:00:27.588Z] The recommended git tool is: git [2021-06-14T17:00:32.478Z] using credential edgex-jenkins-ssh [2021-06-14T17:00:32.524Z] Cloning the remote Git repository [2021-06-14T17:00:32.571Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-14T17:00:32.688Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-06-14T17:00:32.766Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-14T17:00:32.767Z] > git --version # timeout=10 [2021-06-14T17:00:32.824Z] > git --version # 'git version 2.17.1' [2021-06-14T17:00:32.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T17:00:32.976Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T17:00:36.087Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-14T17:00:36.112Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T17:00:36.134Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-14T17:00:36.169Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-14T17:00:36.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T17:00:36.182Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/896/head:refs/remotes/origin/PR-896 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-14T17:00:36.810Z] Merging remotes/origin/master commit a4532674cdf1935ad680053a644fcdbb6a5686a9 into PR head commit 1549aa7bc2f525602411dc85df1c5b0b6d210cfd [2021-06-14T17:00:37.029Z] Merge succeeded, producing 1549aa7bc2f525602411dc85df1c5b0b6d210cfd [2021-06-14T17:00:37.030Z] Checking out Revision 1549aa7bc2f525602411dc85df1c5b0b6d210cfd (PR-896) [2021-06-14T17:00:36.824Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T17:00:36.850Z] > git checkout -f 1549aa7bc2f525602411dc85df1c5b0b6d210cfd # timeout=10 [2021-06-14T17:00:36.948Z] > git remote # timeout=10 [2021-06-14T17:00:36.963Z] > git config --get remote.origin.url # timeout=10 [2021-06-14T17:00:36.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T17:00:36.985Z] > git merge a4532674cdf1935ad680053a644fcdbb6a5686a9 # timeout=10 [2021-06-14T17:00:37.010Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-14T17:00:37.033Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T17:00:37.043Z] > git checkout -f 1549aa7bc2f525602411dc85df1c5b0b6d210cfd # timeout=10 [2021-06-14T17:00:41.356Z] Commit message: "Merge branch 'master' of https://github.com/phanvanhai/app-functions-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T17:00:42.820Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-14T17:00:43.263Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T17:00:43.608Z] + sudo service docker restart [2021-06-14T17:00:43.608Z] + true [Pipeline] unstash [Pipeline] echo [2021-06-14T17:01:02.172Z] ========================================================= [2021-06-14T17:01:02.172Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-14T17:01:02.172Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:01:02.513Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-14T17:01:03.494Z] Sending build context to Docker daemon 19.79MB [2021-06-14T17:01:03.494Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T17:01:03.494Z] Step 2/8 : FROM ${BASE} [2021-06-14T17:01:04.116Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-14T17:01:04.117Z] 595b0fe564bb: Pulling fs layer [2021-06-14T17:01:04.117Z] 3088b5b3c5c0: Pulling fs layer [2021-06-14T17:01:04.117Z] 5b7225fbf94c: Pulling fs layer [2021-06-14T17:01:04.117Z] ba82ee9f976e: Pulling fs layer [2021-06-14T17:01:04.117Z] 506bd15cee9f: Pulling fs layer [2021-06-14T17:01:04.117Z] 75a0a4a0db45: Pulling fs layer [2021-06-14T17:01:04.117Z] 618dc40b7e24: Pulling fs layer [2021-06-14T17:01:04.117Z] ba82ee9f976e: Waiting [2021-06-14T17:01:04.117Z] 506bd15cee9f: Waiting [2021-06-14T17:01:04.117Z] 75a0a4a0db45: Waiting [2021-06-14T17:01:04.117Z] 618dc40b7e24: Waiting [2021-06-14T17:01:04.117Z] 5b7225fbf94c: Verifying Checksum [2021-06-14T17:01:04.117Z] 5b7225fbf94c: Download complete [2021-06-14T17:01:04.394Z] 3088b5b3c5c0: Verifying Checksum [2021-06-14T17:01:04.395Z] 3088b5b3c5c0: Download complete [2021-06-14T17:01:04.395Z] 506bd15cee9f: Download complete [2021-06-14T17:01:04.395Z] 75a0a4a0db45: Download complete [2021-06-14T17:01:04.395Z] 595b0fe564bb: Verifying Checksum [2021-06-14T17:01:04.395Z] 595b0fe564bb: Download complete [2021-06-14T17:01:04.996Z] 595b0fe564bb: Pull complete [2021-06-14T17:01:06.011Z] 3088b5b3c5c0: Pull complete [2021-06-14T17:01:06.298Z] 5b7225fbf94c: Pull complete [2021-06-14T17:01:06.896Z] 618dc40b7e24: Verifying Checksum [2021-06-14T17:01:06.896Z] 618dc40b7e24: Download complete [2021-06-14T17:01:07.887Z] ba82ee9f976e: Verifying Checksum [2021-06-14T17:01:07.887Z] ba82ee9f976e: Download complete [2021-06-14T17:01:16.898Z] Running on prd-centos7-docker-4c-2g-1261 in /w/workspace/ndry_app-functions-sdk-go_PR-896 [Pipeline] { [Pipeline] ws [2021-06-14T17:01:16.917Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-14T17:01:17.079Z] The recommended git tool is: git [2021-06-14T17:01:19.206Z] ba82ee9f976e: Pull complete [2021-06-14T17:01:19.207Z] 506bd15cee9f: Pull complete [2021-06-14T17:01:19.207Z] 75a0a4a0db45: Pull complete [2021-06-14T17:01:19.363Z] using credential edgex-jenkins-ssh [2021-06-14T17:01:19.382Z] Cloning the remote Git repository [2021-06-14T17:01:18.661Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-14T17:01:18.729Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-06-14T17:01:18.813Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-14T17:01:18.813Z] > git --version # timeout=10 [2021-06-14T17:01:18.826Z] > git --version # 'git version 2.24.4' [2021-06-14T17:01:18.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T17:01:18.852Z] [INFO] Currently running in a labeled security context [2021-06-14T17:01:18.852Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T17:01:18.852Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh5458012703656921867.key [2021-06-14T17:01:18.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T17:01:21.367Z] Merging remotes/origin/master commit a4532674cdf1935ad680053a644fcdbb6a5686a9 into PR head commit 1549aa7bc2f525602411dc85df1c5b0b6d210cfd [2021-06-14T17:01:20.221Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-14T17:01:20.235Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T17:01:20.250Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-06-14T17:01:20.268Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-06-14T17:01:20.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T17:01:20.271Z] [INFO] Currently running in a labeled security context [2021-06-14T17:01:20.271Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T17:01:20.271Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8387754520922780728.key [2021-06-14T17:01:20.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/896/head:refs/remotes/origin/PR-896 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-14T17:01:20.785Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T17:01:20.792Z] > git checkout -f 1549aa7bc2f525602411dc85df1c5b0b6d210cfd # timeout=10 [2021-06-14T17:01:21.518Z] Merge succeeded, producing 1549aa7bc2f525602411dc85df1c5b0b6d210cfd [2021-06-14T17:01:21.519Z] Checking out Revision 1549aa7bc2f525602411dc85df1c5b0b6d210cfd (PR-896) [2021-06-14T17:01:20.896Z] > git remote # timeout=10 [2021-06-14T17:01:20.904Z] > git config --get remote.origin.url # timeout=10 [2021-06-14T17:01:20.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T17:01:20.913Z] [INFO] Currently running in a labeled security context [2021-06-14T17:01:20.913Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T17:01:20.913Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh2270988864089087148.key [2021-06-14T17:01:20.919Z] > git merge a4532674cdf1935ad680053a644fcdbb6a5686a9 # timeout=10 [2021-06-14T17:01:20.930Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-14T17:01:20.944Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T17:01:20.956Z] > git checkout -f 1549aa7bc2f525602411dc85df1c5b0b6d210cfd # timeout=10 [2021-06-14T17:01:22.624Z] 618dc40b7e24: Pull complete [2021-06-14T17:01:22.624Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-14T17:01:22.624Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-14T17:01:22.624Z] ---> a36622ca3599 [2021-06-14T17:01:22.624Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-14T17:01:22.624Z] 20.10.0: Pulling from library/docker [2021-06-14T17:01:22.902Z] a3cc7d3b244e: Pulling fs layer [2021-06-14T17:01:22.902Z] 02a3295e0d61: Pulling fs layer [2021-06-14T17:01:22.902Z] 0f4f2e6d8100: Pulling fs layer [2021-06-14T17:01:22.902Z] 330b718f631f: Pulling fs layer [2021-06-14T17:01:22.902Z] a93816041522: Pulling fs layer [2021-06-14T17:01:22.902Z] bdb6da89ff94: Pulling fs layer [2021-06-14T17:01:22.902Z] 2a70c0c122f4: Pulling fs layer [2021-06-14T17:01:22.902Z] 330b718f631f: Waiting [2021-06-14T17:01:22.902Z] a93816041522: Waiting [2021-06-14T17:01:22.902Z] bdb6da89ff94: Waiting [2021-06-14T17:01:22.902Z] 2a70c0c122f4: Waiting [2021-06-14T17:01:22.902Z] 0f4f2e6d8100: Verifying Checksum [2021-06-14T17:01:22.902Z] 0f4f2e6d8100: Download complete [2021-06-14T17:01:22.902Z] 02a3295e0d61: Verifying Checksum [2021-06-14T17:01:22.902Z] 02a3295e0d61: Download complete [2021-06-14T17:01:22.902Z] a3cc7d3b244e: Verifying Checksum [2021-06-14T17:01:22.902Z] a3cc7d3b244e: Download complete [2021-06-14T17:01:22.902Z] a93816041522: Download complete [2021-06-14T17:01:22.902Z] bdb6da89ff94: Verifying Checksum [2021-06-14T17:01:22.902Z] bdb6da89ff94: Download complete [2021-06-14T17:01:23.178Z] 2a70c0c122f4: Verifying Checksum [2021-06-14T17:01:23.178Z] 2a70c0c122f4: Download complete [2021-06-14T17:01:24.615Z] a3cc7d3b244e: Pull complete [2021-06-14T17:01:24.616Z] 330b718f631f: Verifying Checksum [2021-06-14T17:01:24.616Z] 330b718f631f: Download complete [2021-06-14T17:01:24.862Z] Commit message: "Merge branch 'master' of https://github.com/phanvanhai/app-functions-sdk-go" [2021-06-14T17:01:25.215Z] 02a3295e0d61: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2021-06-14T17:01:25.491Z] 0f4f2e6d8100: Pull complete [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T17:01:26.098Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-14T17:01:26.442Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T17:01:26.742Z] + sudo service docker restart [2021-06-14T17:01:26.742Z] + true [2021-06-14T17:01:26.742Z] Redirecting to /bin/systemctl restart docker.service [2021-06-14T17:01:29.814Z] 330b718f631f: Pull complete [2021-06-14T17:01:29.815Z] a93816041522: Pull complete [2021-06-14T17:01:29.815Z] bdb6da89ff94: Pull complete [2021-06-14T17:01:30.412Z] 2a70c0c122f4: Pull complete [2021-06-14T17:01:30.412Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-14T17:01:30.412Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-14T17:01:35.859Z] ---> caa41f00e81c [2021-06-14T17:01:35.859Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-14T17:01:35.859Z] ---> Running in 11d960239241 [2021-06-14T17:01:35.859Z] Removing intermediate container 11d960239241 [2021-06-14T17:01:35.859Z] ---> d02d395eabca [2021-06-14T17:01:35.859Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-14T17:01:36.134Z] ---> Running in 9d246105e7ba [2021-06-14T17:01:37.585Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-14T17:01:38.557Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-14T17:01:39.148Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-14T17:01:39.148Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-14T17:01:39.418Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-14T17:01:39.418Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-14T17:01:39.418Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-14T17:01:39.688Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T17:01:39.688Z] OK: 139 MiB in 45 packages [2021-06-14T17:01:40.663Z] Removing intermediate container 9d246105e7ba [2021-06-14T17:01:40.663Z] ---> 438fb8053850 [2021-06-14T17:01:40.663Z] Step 6/8 : WORKDIR /build [2021-06-14T17:01:40.939Z] ---> Running in 1c0be8fa0873 [2021-06-14T17:01:41.918Z] Removing intermediate container 1c0be8fa0873 [2021-06-14T17:01:41.918Z] ---> 83f00eb7844c [2021-06-14T17:01:41.918Z] Step 7/8 : COPY go.mod . [2021-06-14T17:01:42.516Z] ---> a64b9319a95b [2021-06-14T17:01:42.516Z] Step 8/8 : RUN go mod download [2021-06-14T17:01:42.789Z] ---> Running in 6f78e265533f [Pipeline] unstash [Pipeline] echo [2021-06-14T17:01:45.000Z] ========================================================= [2021-06-14T17:01:45.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-14T17:01:45.000Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:01:45.414Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-14T17:01:45.679Z] Sending build context to Docker daemon 19.8MB [2021-06-14T17:01:45.679Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T17:01:45.679Z] Step 2/8 : FROM ${BASE} [2021-06-14T17:01:45.947Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-14T17:01:45.947Z] 540db60ca938: Pulling fs layer [2021-06-14T17:01:45.947Z] adcc1eea9eea: Pulling fs layer [2021-06-14T17:01:45.947Z] 4c4ab2625f07: Pulling fs layer [2021-06-14T17:01:45.947Z] 0510c868ecb4: Pulling fs layer [2021-06-14T17:01:45.947Z] afea3b2eda06: Pulling fs layer [2021-06-14T17:01:45.947Z] 7809a108b3ef: Pulling fs layer [2021-06-14T17:01:45.947Z] f706445af74f: Pulling fs layer [2021-06-14T17:01:45.947Z] afea3b2eda06: Waiting [2021-06-14T17:01:45.947Z] 7809a108b3ef: Waiting [2021-06-14T17:01:45.947Z] f706445af74f: Waiting [2021-06-14T17:01:45.947Z] 0510c868ecb4: Waiting [2021-06-14T17:01:45.947Z] 4c4ab2625f07: Verifying Checksum [2021-06-14T17:01:45.947Z] 4c4ab2625f07: Download complete [2021-06-14T17:01:45.947Z] adcc1eea9eea: Verifying Checksum [2021-06-14T17:01:45.947Z] adcc1eea9eea: Download complete [2021-06-14T17:01:45.947Z] afea3b2eda06: Verifying Checksum [2021-06-14T17:01:45.947Z] afea3b2eda06: Download complete [2021-06-14T17:01:45.947Z] 540db60ca938: Verifying Checksum [2021-06-14T17:01:45.947Z] 540db60ca938: Download complete [2021-06-14T17:01:45.947Z] 7809a108b3ef: Verifying Checksum [2021-06-14T17:01:45.947Z] 7809a108b3ef: Download complete [2021-06-14T17:01:46.210Z] 540db60ca938: Pull complete [2021-06-14T17:01:46.470Z] adcc1eea9eea: Pull complete [2021-06-14T17:01:46.470Z] 4c4ab2625f07: Pull complete [2021-06-14T17:01:47.864Z] f706445af74f: Verifying Checksum [2021-06-14T17:01:47.864Z] f706445af74f: Download complete [2021-06-14T17:01:48.128Z] 0510c868ecb4: Verifying Checksum [2021-06-14T17:01:48.128Z] 0510c868ecb4: Download complete [2021-06-14T17:01:51.447Z] 0510c868ecb4: Pull complete [2021-06-14T17:01:51.447Z] afea3b2eda06: Pull complete [2021-06-14T17:01:51.447Z] 7809a108b3ef: Pull complete [2021-06-14T17:01:52.838Z] f706445af74f: Pull complete [2021-06-14T17:01:52.838Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-14T17:01:52.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-14T17:01:52.838Z] ---> b068be0155e3 [2021-06-14T17:01:52.839Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-06-14T17:01:53.104Z] 20.10.0: Pulling from library/docker [2021-06-14T17:01:53.104Z] 05e7bc50f07f: Pulling fs layer [2021-06-14T17:01:53.104Z] 6db28d0fdbf6: Pulling fs layer [2021-06-14T17:01:53.104Z] 292df0bc6bf3: Pulling fs layer [2021-06-14T17:01:53.104Z] 2e060f4bd70b: Pulling fs layer [2021-06-14T17:01:53.104Z] 80e8d568a223: Pulling fs layer [2021-06-14T17:01:53.104Z] 8dc6ef1a942a: Pulling fs layer [2021-06-14T17:01:53.104Z] 2312dd95470a: Pulling fs layer [2021-06-14T17:01:53.104Z] 2e060f4bd70b: Waiting [2021-06-14T17:01:53.104Z] 80e8d568a223: Waiting [2021-06-14T17:01:53.104Z] 8dc6ef1a942a: Waiting [2021-06-14T17:01:53.104Z] 2312dd95470a: Waiting [2021-06-14T17:01:53.104Z] 292df0bc6bf3: Verifying Checksum [2021-06-14T17:01:53.104Z] 292df0bc6bf3: Download complete [2021-06-14T17:01:53.104Z] 6db28d0fdbf6: Verifying Checksum [2021-06-14T17:01:53.104Z] 6db28d0fdbf6: Download complete [2021-06-14T17:01:53.104Z] 80e8d568a223: Verifying Checksum [2021-06-14T17:01:53.104Z] 80e8d568a223: Download complete [2021-06-14T17:01:53.104Z] 05e7bc50f07f: Verifying Checksum [2021-06-14T17:01:53.104Z] 05e7bc50f07f: Download complete [2021-06-14T17:01:53.104Z] 8dc6ef1a942a: Verifying Checksum [2021-06-14T17:01:53.104Z] 8dc6ef1a942a: Download complete [2021-06-14T17:01:53.104Z] 2312dd95470a: Verifying Checksum [2021-06-14T17:01:53.104Z] 2312dd95470a: Download complete [2021-06-14T17:01:53.364Z] 05e7bc50f07f: Pull complete [2021-06-14T17:01:53.624Z] 6db28d0fdbf6: Pull complete [2021-06-14T17:01:53.624Z] 292df0bc6bf3: Pull complete [2021-06-14T17:01:53.886Z] 2e060f4bd70b: Verifying Checksum [2021-06-14T17:01:53.886Z] 2e060f4bd70b: Download complete [2021-06-14T17:01:56.457Z] 2e060f4bd70b: Pull complete [2021-06-14T17:01:56.457Z] 80e8d568a223: Pull complete [2021-06-14T17:01:56.457Z] 8dc6ef1a942a: Pull complete [2021-06-14T17:01:56.457Z] 2312dd95470a: Pull complete [2021-06-14T17:01:56.457Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-06-14T17:01:56.457Z] Status: Downloaded newer image for docker:20.10.0 [2021-06-14T17:01:59.777Z] ---> 46d0b6ac506a [2021-06-14T17:01:59.777Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-14T17:01:59.777Z] ---> Running in 3cce78c043c8 [2021-06-14T17:01:59.777Z] Removing intermediate container 3cce78c043c8 [2021-06-14T17:01:59.777Z] ---> 99e28254767d [2021-06-14T17:01:59.777Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-06-14T17:01:59.777Z] ---> Running in 577b34fc7869 [2021-06-14T17:01:59.777Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-14T17:02:00.722Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-14T17:02:00.988Z] (1/5) Installing libsodium (1.0.18-r0) [2021-06-14T17:02:01.248Z] (2/5) Installing libzmq (4.3.3-r1) [2021-06-14T17:02:01.248Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-06-14T17:02:01.248Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-06-14T17:02:01.513Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-06-14T17:02:01.513Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T17:02:01.513Z] OK: 150 MiB in 45 packages [2021-06-14T17:02:01.777Z] Removing intermediate container 577b34fc7869 [2021-06-14T17:02:01.777Z] ---> 75c49ba9ba37 [2021-06-14T17:02:01.777Z] Step 6/8 : WORKDIR /build [2021-06-14T17:02:02.038Z] ---> Running in ec2b70381fb5 [2021-06-14T17:02:02.038Z] Removing intermediate container ec2b70381fb5 [2021-06-14T17:02:02.038Z] ---> 0729b6f34e8e [2021-06-14T17:02:02.038Z] Step 7/8 : COPY go.mod . [2021-06-14T17:02:02.038Z] ---> d175f3e0b9b8 [2021-06-14T17:02:02.038Z] Step 8/8 : RUN go mod download [2021-06-14T17:02:02.297Z] ---> Running in b8c3bab29d67 [2021-06-14T17:02:09.584Z] Removing intermediate container 6f78e265533f [2021-06-14T17:02:09.584Z] ---> 01ec16013378 [2021-06-14T17:02:09.584Z] Successfully built 01ec16013378 [2021-06-14T17:02:09.584Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:02:09.939Z] + docker inspect -f . ci-base-image-arm64 [2021-06-14T17:02:09.939Z] . [Pipeline] withDockerContainer [2021-06-14T17:02:10.209Z] prd-ubuntu18.04-docker-arm64-4c-16g-1260 does not seem to be running inside a container [2021-06-14T17:02:10.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2021-06-14T17:02:11.857Z] $ docker top 1b9e1e8cb378d26114b168b2fc2d36ffd37be0ae1d67d6bb1f664d2fec27d3a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T17:02:12.847Z] + go version [2021-06-14T17:02:12.847Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-14T17:02:12.865Z] $ docker stop --time=1 1b9e1e8cb378d26114b168b2fc2d36ffd37be0ae1d67d6bb1f664d2fec27d3a4 [2021-06-14T17:02:14.569Z] Removing intermediate container b8c3bab29d67 [2021-06-14T17:02:14.569Z] ---> 1c2249ea707a [2021-06-14T17:02:14.569Z] Successfully built 1c2249ea707a [2021-06-14T17:02:14.569Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-14T17:02:14.670Z] $ docker rm -f 1b9e1e8cb378d26114b168b2fc2d36ffd37be0ae1d67d6bb1f664d2fec27d3a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:02:15.502Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T17:02:15.502Z] . [Pipeline] withDockerContainer [2021-06-14T17:02:15.591Z] prd-centos7-docker-4c-2g-1261 does not seem to be running inside a container [2021-06-14T17:02:15.618Z] + docker inspect -f . ci-base-image-arm64 [2021-06-14T17:02:15.618Z] . [2021-06-14T17:02:15.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2021-06-14T17:02:15.999Z] $ docker top 603fc2bc28d53763a2caa3fb135f455c664e4ce0515c742a7c868e4f11bd63a6 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-06-14T17:02:16.344Z] prd-ubuntu18.04-docker-arm64-4c-16g-1260 does not seem to be running inside a container [2021-06-14T17:02:16.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2021-06-14T17:02:18.019Z] $ docker top bc111b93f3ef44f63bc2497788a50c7f594f66992c554c90f107bf288135a074 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-14T17:02:18.610Z] + go version [2021-06-14T17:02:18.610Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-14T17:02:18.623Z] $ docker stop --time=1 603fc2bc28d53763a2caa3fb135f455c664e4ce0515c742a7c868e4f11bd63a6 [2021-06-14T17:02:19.000Z] + go mod tidy [2021-06-14T17:02:19.798Z] $ docker rm -f 603fc2bc28d53763a2caa3fb135f455c664e4ce0515c742a7c868e4f11bd63a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:02:20.460Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T17:02:20.460Z] . [Pipeline] withDockerContainer [2021-06-14T17:02:20.526Z] + make test [2021-06-14T17:02:20.526Z] make -C ./app-service-template build [2021-06-14T17:02:20.526Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:02:20.526Z] go mod tidy [2021-06-14T17:02:20.540Z] prd-centos7-docker-4c-2g-1261 does not seem to be running inside a container [2021-06-14T17:02:20.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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 [2021-06-14T17:02:20.952Z] $ docker top fd1d086fac8e1d50140e211dffa5fc862f77490dc2d7969cd43b3ab3390428c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T17:02:21.131Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-14T17:02:21.342Z] + go mod tidy [Pipeline] sh [2021-06-14T17:02:22.101Z] + make test [2021-06-14T17:02:22.101Z] make -C ./app-service-template build [2021-06-14T17:02:22.101Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:02:22.101Z] go mod tidy [2021-06-14T17:02:22.368Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.52 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-06-14T17:02:32.473Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:02:32.473Z] make -C ./app-service-template test [2021-06-14T17:02:32.473Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:02:32.473Z] go mod tidy [2021-06-14T17:02:32.473Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-14T17:02:40.688Z] ok new-app-service 0.011s coverage: 47.8% of statements [2021-06-14T17:02:40.688Z] ? new-app-service/config [no test files] [2021-06-14T17:02:40.688Z] ok new-app-service/functions 0.007s [2021-06-14T17:02:40.688Z] CGO_ENABLED=1 go vet ./... [2021-06-14T17:02:47.535Z] gofmt -l . [2021-06-14T17:02:47.535Z] [ "`gofmt -l .`" = "" ] [2021-06-14T17:02:47.535Z] ./bin/test-attribution-txt.sh [2021-06-14T17:02:47.535Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:02:47.535Z] go mod tidy [2021-06-14T17:02:47.535Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-14T17:02:47.798Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-14T17:02:49.269Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 62.8% of statements [2021-06-14T17:02:49.270Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 96.5% of statements [2021-06-14T17:02:49.270Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-14T17:02:49.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.019s coverage: 61.8% of statements [2021-06-14T17:02:49.537Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-14T17:02:49.537Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s [2021-06-14T17:02:50.155Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.033s coverage: 74.5% of statements [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-14T17:02:50.155Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.1% of statements [2021-06-14T17:02:50.155Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-14T17:02:50.426Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements [2021-06-14T17:02:53.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.752s coverage: 76.9% of statements [2021-06-14T17:02:53.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-14T17:02:53.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements [2021-06-14T17:02:53.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-06-14T17:02:53.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-14T17:02:53.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-14T17:02:53.742Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-06-14T17:03:00.179Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:03:00.179Z] make -C ./app-service-template test [2021-06-14T17:03:00.179Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:03:00.179Z] go mod tidy [2021-06-14T17:03:00.179Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-06-14T17:03:20.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.031s coverage: 78.0% of statements [2021-06-14T17:03:20.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-06-14T17:03:20.335Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-14T17:03:20.335Z] gofmt -l . [2021-06-14T17:03:20.335Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-14T17:03:20.343Z] $ docker stop --time=1 fd1d086fac8e1d50140e211dffa5fc862f77490dc2d7969cd43b3ab3390428c2 [2021-06-14T17:03:21.590Z] $ docker rm -f fd1d086fac8e1d50140e211dffa5fc862f77490dc2d7969cd43b3ab3390428c2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-14T17:03:22.019Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-14T17:03:22.220Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:03:23.220Z] ---> job-cost.sh [2021-06-14T17:03:23.220Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-meEk [2021-06-14T17:03:27.030Z] ok new-app-service 0.041s coverage: 47.8% of statements [2021-06-14T17:03:27.030Z] ? new-app-service/config [no test files] [2021-06-14T17:03:27.030Z] ok new-app-service/functions 0.041s [2021-06-14T17:03:27.030Z] CGO_ENABLED=1 go vet ./... [2021-06-14T17:03:35.468Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-14T17:03:47.733Z] lf-activate-venv(): INFO: Adding /tmp/venv-meEk/bin to PATH [2021-06-14T17:03:47.733Z] INFO: No Stack... [2021-06-14T17:03:48.304Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T17:03:48.874Z] INFO: Archiving Costs [Pipeline] sh [2021-06-14T17:03:49.173Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-06-14T17:03:49.173Z] + cut -d, -f6 [Pipeline] lock [2021-06-14T17:03:49.205Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] [2021-06-14T17:03:49.215Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] did not exist. Created. [2021-06-14T17:03:49.215Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-14T17:03:49.543Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-14T17:03:49.596Z] Stashed 1 file(s) [Pipeline] } [2021-06-14T17:03:49.611Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-14T17:03:53.833Z] gofmt -l . [2021-06-14T17:03:54.108Z] [ "`gofmt -l .`" = "" ] [2021-06-14T17:03:54.108Z] ./bin/test-attribution-txt.sh [2021-06-14T17:03:56.086Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-06-14T17:03:56.086Z] go mod tidy [2021-06-14T17:03:56.360Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-06-14T17:03:57.808Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-06-14T17:04:06.143Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.138s coverage: 62.8% of statements [2021-06-14T17:04:06.143Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.053s coverage: 96.5% of statements [2021-06-14T17:04:06.143Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-06-14T17:04:06.143Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.109s coverage: 61.8% of statements [2021-06-14T17:04:06.143Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-06-14T17:04:06.143Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.034s [2021-06-14T17:04:06.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.165s coverage: 74.5% of statements [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-06-14T17:04:06.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.035s coverage: 97.1% of statements [2021-06-14T17:04:06.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-06-14T17:04:06.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.041s coverage: 10.5% of statements [2021-06-14T17:04:13.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.830s coverage: 76.9% of statements [2021-06-14T17:04:13.152Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-06-14T17:04:13.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.038s coverage: 12.5% of statements [2021-06-14T17:04:13.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.043s coverage: 27.3% of statements [2021-06-14T17:04:13.152Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-06-14T17:04:13.152Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-06-14T17:04:13.152Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.053s coverage: 51.4% of statements [2021-06-14T17:04:39.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.112s coverage: 78.0% of statements [2021-06-14T17:04:39.914Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements [2021-06-14T17:04:39.914Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-14T17:04:43.342Z] gofmt -l . [2021-06-14T17:04:43.342Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-06-14T17:04:43.622Z] $ docker stop --time=1 bc111b93f3ef44f63bc2497788a50c7f594f66992c554c90f107bf288135a074 [2021-06-14T17:04:45.578Z] $ docker rm -f bc111b93f3ef44f63bc2497788a50c7f594f66992c554c90f107bf288135a074 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-14T17:04:46.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-14T17:04:46.614Z] Warning: overwriting stash ‘coverage-report’ [2021-06-14T17:04:47.461Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:04:48.274Z] ---> job-cost.sh [2021-06-14T17:04:48.274Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qSxE [2021-06-14T17:05:28.180Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-14T17:06:49.918Z] lf-activate-venv(): INFO: Adding /tmp/venv-qSxE/bin to PATH [2021-06-14T17:06:49.918Z] INFO: No Stack... [2021-06-14T17:06:49.918Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-14T17:06:49.918Z] INFO: Archiving Costs [Pipeline] sh [2021-06-14T17:06:50.260Z] + + catcut /w/workspace/app-functions-sdk-go/2/archives/cost.csv -d, [2021-06-14T17:06:50.260Z] -f6 [Pipeline] lock [2021-06-14T17:06:50.322Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] [2021-06-14T17:06:50.331Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] did not exist. Created. [2021-06-14T17:06:50.332Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-14T17:06:50.703Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-704d6200/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-704d6200/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-14T17:06:51.042Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-14T17:06:51.079Z] Warning: overwriting stash ‘stack-cost’ [2021-06-14T17:06:51.238Z] Stashed 1 file(s) [Pipeline] } [2021-06-14T17:06:51.247Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-896-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-14T17:06:52.129Z] provisioning config files... [2021-06-14T17:06:52.147Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/config4212786157342486507tmp [Pipeline] { [Pipeline] sh [2021-06-14T17:06:52.473Z] + set +x [2021-06-14T17:06:52.474Z] + curl -s https://codecov.io/bash [2021-06-14T17:06:52.474Z] + bash -s -- [2021-06-14T17:06:52.474Z] [2021-06-14T17:06:52.474Z] _____ _ [2021-06-14T17:06:52.474Z] / ____| | | [2021-06-14T17:06:52.474Z] | | ___ __| | ___ ___ _____ __ [2021-06-14T17:06:52.474Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-14T17:06:52.474Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-14T17:06:52.474Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-14T17:06:52.474Z] Bash-1.0.3 [2021-06-14T17:06:52.474Z] [2021-06-14T17:06:52.474Z] [2021-06-14T17:06:52.474Z] ==> git version 2.24.4 found [2021-06-14T17:06:52.474Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-14T17:06:52.474Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-14T17:06:52.474Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-14T17:06:52.474Z] ==> Jenkins CI detected. [2021-06-14T17:06:52.474Z] project root: . [2021-06-14T17:06:52.474Z] --> token set from env [2021-06-14T17:06:52.474Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-14T17:06:52.474Z] ==> Running gcov in . (disable via -X gcov) [2021-06-14T17:06:52.474Z] ==> Python coveragepy not found [2021-06-14T17:06:52.474Z] ==> Searching for coverage reports in: [2021-06-14T17:06:52.474Z] + . [2021-06-14T17:06:52.474Z] -> Found 2 reports [2021-06-14T17:06:52.474Z] ==> Detecting git/mercurial file structure [2021-06-14T17:06:52.736Z] ==> Reading reports [2021-06-14T17:06:52.736Z] + ./app-service-template/coverage.out bytes=1055 [2021-06-14T17:06:52.736Z] + ./coverage.out bytes=94036 [2021-06-14T17:06:52.736Z] ==> Appending adjustments [2021-06-14T17:06:52.736Z] https://docs.codecov.io/docs/fixing-reports [2021-06-14T17:06:53.003Z] + Found adjustments [2021-06-14T17:06:53.003Z] ==> Gzipping contents [2021-06-14T17:06:53.003Z] 20K /tmp/codecov.eJuX00.gz [2021-06-14T17:06:53.003Z] ==> Uploading reports [2021-06-14T17:06:53.003Z] url: https://codecov.io [2021-06-14T17:06:53.003Z] query: branch=PR-896&commit=1549aa7bc2f525602411dc85df1c5b0b6d210cfd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-896%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=896&job=&cmd_args= [2021-06-14T17:06:53.003Z] -> Pinging Codecov [2021-06-14T17:06:53.003Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-896&commit=1549aa7bc2f525602411dc85df1c5b0b6d210cfd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-896%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=896&job=&cmd_args= [2021-06-14T17:06:53.264Z] -> Uploading to [2021-06-14T17:06:53.264Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-14/3D8B5DFFC46A037C893635FACE044666/1549aa7bc2f525602411dc85df1c5b0b6d210cfd/da7e62a5-3480-42f5-90d7-2eab0992ea56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210614%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210614T170653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c82dd858ffbb67bda5b7ffb3e0e3cbc7f856e761e8fa20fe5ed8a3a64992639d [2021-06-14T17:06:53.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-14T17:06:53.264Z] Dload Upload Total Spent Left Speed [2021-06-14T17:06:53.787Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16506 0 0 100 16506 0 47483 --:--:-- --:--:-- --:--:-- 47431 [2021-06-14T17:06:53.787Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/1549aa7bc2f525602411dc85df1c5b0b6d210cfd [Pipeline] } [2021-06-14T17:06:53.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:06:55.686Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:06:56.257Z] ---> package-listing.sh [2021-06-14T17:06:56.257Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-14T17:06:56.257Z] ++ facter osfamily [2021-06-14T17:06:56.523Z] + OS_FAMILY=redhat [2021-06-14T17:06:56.524Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-896 [2021-06-14T17:06:56.524Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-14T17:06:56.524Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-14T17:06:56.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-14T17:06:56.524Z] + PACKAGES=/tmp/packages_start.txt [2021-06-14T17:06:56.524Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-896 ']' [2021-06-14T17:06:56.524Z] + PACKAGES=/tmp/packages_end.txt [2021-06-14T17:06:56.524Z] + case "${OS_FAMILY}" in [2021-06-14T17:06:56.524Z] + sort [2021-06-14T17:06:56.524Z] + rpm -qa [2021-06-14T17:06:57.110Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-14T17:06:57.110Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-14T17:06:57.110Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-14T17:06:57.110Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-896 ']' [2021-06-14T17:06:57.110Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-896/archives/ [2021-06-14T17:06:57.110Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-896/archives/ [Pipeline] echo [2021-06-14T17:06:57.131Z] 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-896/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-14T17:06:57.424Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:06:57.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T17:06:57.999Z] [2021-06-14T17:06:57.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-14T17:06:58.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T17:06:58.336Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-14T17:06:58.336Z] df20fa9351a1: Pulling fs layer [2021-06-14T17:06:58.336Z] 36b3adc4ff6f: Pulling fs layer [2021-06-14T17:06:58.336Z] 8ad3a11d3b57: Pulling fs layer [2021-06-14T17:06:58.336Z] 46f8f816bc3b: Pulling fs layer [2021-06-14T17:06:58.336Z] 93b61091891f: Pulling fs layer [2021-06-14T17:06:58.336Z] 93b9cdb0e59b: Pulling fs layer [2021-06-14T17:06:58.336Z] 5e14af77c1be: Pulling fs layer [2021-06-14T17:06:58.336Z] 01666e4c0597: Pulling fs layer [2021-06-14T17:06:58.336Z] aa168da1d23b: Pulling fs layer [2021-06-14T17:06:58.336Z] 93b9cdb0e59b: Waiting [2021-06-14T17:06:58.336Z] 5e14af77c1be: Waiting [2021-06-14T17:06:58.336Z] 01666e4c0597: Waiting [2021-06-14T17:06:58.336Z] aa168da1d23b: Waiting [2021-06-14T17:06:58.336Z] 46f8f816bc3b: Waiting [2021-06-14T17:06:58.336Z] 93b61091891f: Waiting [2021-06-14T17:06:58.336Z] 36b3adc4ff6f: Verifying Checksum [2021-06-14T17:06:58.336Z] 36b3adc4ff6f: Download complete [2021-06-14T17:06:58.336Z] 46f8f816bc3b: Verifying Checksum [2021-06-14T17:06:58.336Z] 46f8f816bc3b: Download complete [2021-06-14T17:06:58.336Z] df20fa9351a1: Verifying Checksum [2021-06-14T17:06:58.596Z] 93b9cdb0e59b: Verifying Checksum [2021-06-14T17:06:58.596Z] 93b9cdb0e59b: Download complete [2021-06-14T17:06:58.596Z] 5e14af77c1be: Verifying Checksum [2021-06-14T17:06:58.596Z] 5e14af77c1be: Download complete [2021-06-14T17:06:58.596Z] 01666e4c0597: Verifying Checksum [2021-06-14T17:06:58.596Z] 01666e4c0597: Download complete [2021-06-14T17:06:58.596Z] 93b61091891f: Verifying Checksum [2021-06-14T17:06:58.596Z] 93b61091891f: Download complete [2021-06-14T17:06:58.596Z] 8ad3a11d3b57: Verifying Checksum [2021-06-14T17:06:58.596Z] 8ad3a11d3b57: Download complete [2021-06-14T17:06:58.596Z] df20fa9351a1: Pull complete [2021-06-14T17:06:58.860Z] 36b3adc4ff6f: Pull complete [2021-06-14T17:06:59.437Z] 8ad3a11d3b57: Pull complete [2021-06-14T17:06:59.437Z] 46f8f816bc3b: Pull complete [2021-06-14T17:06:59.697Z] 93b61091891f: Pull complete [2021-06-14T17:06:59.697Z] 93b9cdb0e59b: Pull complete [2021-06-14T17:06:59.697Z] 5e14af77c1be: Pull complete [2021-06-14T17:06:59.957Z] 01666e4c0597: Pull complete [2021-06-14T17:07:00.536Z] aa168da1d23b: Verifying Checksum [2021-06-14T17:07:00.536Z] aa168da1d23b: Download complete [2021-06-14T17:07:04.763Z] aa168da1d23b: Pull complete [2021-06-14T17:07:04.763Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-14T17:07:04.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T17:07:04.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-14T17:07:04.838Z] prd-centos7-docker-4c-2g-1259 does not seem to be running inside a container [2021-06-14T17:07:04.872Z] $ 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-896/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-896 -v /w/workspace/ndry_app-functions-sdk-go_PR-896:/w/workspace/ndry_app-functions-sdk-go_PR-896:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-896@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-896@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 [2021-06-14T17:07:06.820Z] $ docker top ffd2437c40055f83f1b55b1fe65c4dd8f76f7bcf1fb8d533b1aeb9904ed7d9f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T17:07:07.210Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-14T17:07:07.507Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-14T17:07:07.813Z] + ls /var/log/sa-host [2021-06-14T17:07:07.813Z] + sadf -c /var/log/sa-host/sa05 [2021-06-14T17:07:07.813Z] file_magic: OK [2021-06-14T17:07:07.813Z] HZ: Using current value: 100 [2021-06-14T17:07:07.813Z] file_header: OK [2021-06-14T17:07:07.813Z] 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 [2021-06-14T17:07:07.813Z] Statistics: [2021-06-14T17:07:07.813Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T17:07:07.813Z] File successfully converted to sysstat format version 12.2.1 [2021-06-14T17:07:07.813Z] + sadf -c /var/log/sa-host/sa14 [2021-06-14T17:07:07.813Z] file_magic: OK [2021-06-14T17:07:07.813Z] HZ: Using current value: 100 [2021-06-14T17:07:07.813Z] file_header: OK [2021-06-14T17:07:07.813Z] 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 [2021-06-14T17:07:07.813Z] Statistics: [2021-06-14T17:07:07.813Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T17:07:07.813Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T17:07:08.492Z] provisioning config files... [2021-06-14T17:07:08.504Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-896@tmp/config7775935843685935886tmp [Pipeline] { [Pipeline] echo [2021-06-14T17:07:08.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:07:08.837Z] ---> create-netrc.sh [Pipeline] } [2021-06-14T17:07:08.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:07:09.273Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-14T17:07:09.285Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:07:09.585Z] ---> sudo-logs.sh [2021-06-14T17:07:09.585Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-14T17:07:09.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:07:09.917Z] ---> job-cost.sh [2021-06-14T17:07:09.918Z] lf-activate-venv: SKIPPING [2021-06-14T17:07:09.918Z] DEBUG: total: 0.18000000715255737 [2021-06-14T17:07:09.918Z] INFO: Retrieving Stack Cost... [2021-06-14T17:07:10.493Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T17:07:11.066Z] INFO: Archiving Costs [Pipeline] echo [2021-06-14T17:07:11.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T17:07:11.392Z] ---> logs-deploy.sh [2021-06-14T17:07:11.392Z] lf-activate-venv: SKIPPING [2021-06-14T17:07:11.392Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-896/2 [2021-06-14T17:07:11.392Z] INFO: archiving workspace using pattern(s): [2021-06-14T17:07:12.337Z] Archives upload complete. [2021-06-14T17:07:12.337Z] INFO: archiving logs to Nexus