Pull request #877 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 AlexCuse for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 51b9883b1e9de516453713838b412bb61812cfff+e5a015aadf82674317b1b80edf4b00daa11f50d1 (e04fea7c836bc87328edef2208b5998a648c739f) 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-ssh4356841063749740646.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-ssh8289319690070270420.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 c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 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-877/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-877/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3867753318246481219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd # timeout=10 Commit message: "Merge pull request #338 from ernestojeda/add-latest-tag" > 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-ssh6215628894941019673.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-877/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-877/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4827606704915166850.key > 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.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-134 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [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-877 # 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-877@tmp/jenkins-gitclient-ssh9014043830725242905.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 e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 51b9883b1e9de516453713838b412bb61812cfff Merge succeeded, producing 51b9883b1e9de516453713838b412bb61812cfff Checking out Revision 51b9883b1e9de516453713838b412bb61812cfff (PR-877) > 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-877@tmp/jenkins-gitclient-ssh1554764151433388281.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # 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-877@tmp/jenkins-gitclient-ssh2859313406977165796.key > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 Commit message: "feat(sdk): Add URL Formatting To HTTP Sender" > git rev-list --no-walk 6612e6b2953e51b49c56650bcb81d5c00d8bd63e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:46 ========================================================= 20:17:46 EdgeX Global Pipelines Version Info 20:17:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:47 ------------------- 20:17:47 stable info: 20:17:47 ------------------- 20:17:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:17:47 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 20:17:47 Message: update stable to v1.0.193 20:17:48 ------------------- 20:17:48 experimental info: 20:17:48 ------------------- 20:17:48 Commited By: **** collab-it+edgex@linuxfoundation.org 20:17:48 Commit SHA: c93435b1c3a491ac51ce5a3d4b78246cb8dbf7dd 20:17:48 Message: update experimental to v1.0.193 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:17:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-877 [Pipeline] echo 20:17:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-877 [Pipeline] echo 20:17:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-877 [Pipeline] echo 20:17:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51b9883b1e9de516453713838b412bb61812cfff [Pipeline] echo 20:17:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51b9883 [Pipeline] echo 20:17:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:49 + git log --format=format:%s -1 51b9883b1e9de516453713838b412bb61812cfff [Pipeline] echo 20:17:49 GIT_COMMIT: 51b9883b1e9de516453713838b412bb61812cfff, Commit Message: feat(sdk): Add URL Formatting To HTTP Sender [Pipeline] echo 20:17:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:17:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:17:50 20:17:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:17:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:17:50 latest: Pulling from edgex-devops/git-semver 20:17:50 31603596830f: Pulling fs layer 20:17:50 54011a49482f: Pulling fs layer 20:17:50 a6820b24f6d8: Pulling fs layer 20:17:50 f581987b2513: Pulling fs layer 20:17:50 f581987b2513: Waiting 20:17:50 54011a49482f: Verifying Checksum 20:17:50 54011a49482f: Download complete 20:17:50 31603596830f: Verifying Checksum 20:17:50 31603596830f: Download complete 20:17:50 f581987b2513: Verifying Checksum 20:17:50 f581987b2513: Download complete 20:17:50 a6820b24f6d8: Verifying Checksum 20:17:50 a6820b24f6d8: Download complete 20:17:50 31603596830f: Pull complete 20:17:51 54011a49482f: Pull complete 20:17:51 a6820b24f6d8: Pull complete 20:17:51 f581987b2513: Pull complete 20:17:51 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:17:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:17:51 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:17:51 prd-centos7-docker-4c-2g-134 does not seem to be running inside a container 20:17:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-877 -v /w/workspace/ndry_app-functions-sdk-go_PR-877:/w/workspace/ndry_app-functions-sdk-go_PR-877:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:17:53 $ docker top 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:53 [ssh-agent] Looking for ssh-agent implementation... 20:17:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:53 $ docker exec 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent 20:17:53 SSH_AUTH_SOCK=/tmp/ssh-3ZDKxZ8OlTYS/agent.14 20:17:53 SSH_AGENT_PID=21 20:17:53 Running ssh-add (command line suppressed) 20:17:53 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7386913712390833522.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7386913712390833522.key) 20:17:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:53 + git tag --points-at HEAD [Pipeline] } 20:17:53 $ docker exec --env ******** --env ******** 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent -k 20:17:53 unset SSH_AUTH_SOCK; 20:17:54 unset SSH_AGENT_PID; 20:17:54 echo Agent pid 21 killed; 20:17:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:17:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:54 [ssh-agent] Looking for ssh-agent implementation... 20:17:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:54 $ docker exec 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent 20:17:54 SSH_AUTH_SOCK=/tmp/ssh-b8oYRnscST8v/agent.54 20:17:54 SSH_AGENT_PID=60 20:17:54 Running ssh-add (command line suppressed) 20:17:54 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7663432461306921653.key (/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/private_key_7663432461306921653.key) 20:17:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:54 + git semver init 20:17:54 # -> Open(): unable to determine branch for HEAD 20:17:54 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.git 20:17:54 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-877 20:17:54 # $SEMVER_REMOTE_NAME = origin 20:17:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:17:54 # $SEMVER_USER_NAME = edgex-jenkins 20:17:54 # $SEMVER_BRANCH = PR-877 20:17:54 # $SEMVER_TEMP = /tmp/semver-648855183 20:17:54 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 20:17:56 # '/tmp/semver-648855183' -> '/w/workspace/ndry_app-functions-sdk-go_PR-877/.semver' 20:17:56 # -> Force: false 20:17:56 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-877/.semver [Pipeline] } 20:17:56 $ docker exec --env ******** --env ******** 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 ssh-agent -k 20:17:56 unset SSH_AUTH_SOCK; 20:17:56 unset SSH_AGENT_PID; 20:17:56 echo Agent pid 60 killed; 20:17:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:17:57 + git semver [Pipeline] } 20:17:57 $ docker stop --time=1 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 20:17:58 $ docker rm -f 0210cfd6f426b953523363a282e01d960733f3c095b7b893ae0a8b42ea3ae9b4 [Pipeline] // withDockerContainer [Pipeline] sh 20:17:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:17:59 Stashed 1 file(s) [Pipeline] echo 20:17:59 [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 20:18:14 Still waiting to schedule task 20:18:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:18:14 Still waiting to schedule task 20:18:14 ‘prd-ubuntu18.04-docker-arm64-4c-16g-131’ is offline 20:20:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-137 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws 20:20:57 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 20:20:57 The recommended git tool is: git 20:21:03 using credential edgex-jenkins-ssh 20:21:03 Cloning the remote Git repository 20:21:03 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:03 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 20:21:03 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:03 > git --version # timeout=10 20:21:03 > git --version # 'git version 2.17.1' 20:21:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:07 Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 51b9883b1e9de516453713838b412bb61812cfff 20:21:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:07 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:07 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:21:07 > git config core.sparsecheckout # timeout=10 20:21:08 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 20:21:08 Merge succeeded, producing 51b9883b1e9de516453713838b412bb61812cfff 20:21:08 Checking out Revision 51b9883b1e9de516453713838b412bb61812cfff (PR-877) 20:21:08 > git remote # timeout=10 20:21:08 > git config --get remote.origin.url # timeout=10 20:21:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:08 > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 20:21:08 > git rev-parse HEAD^{commit} # timeout=10 20:21:08 > git config core.sparsecheckout # timeout=10 20:21:08 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 20:21:12 Commit message: "feat(sdk): Add URL Formatting To HTTP Sender" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 20:21:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:21:14 + sudo service docker restart+ 20:21:14 true [Pipeline] unstash [Pipeline] echo 20:21:33 ========================================================= 20:21:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:21:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:21:33 + 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 . 20:21:34 Sending build context to Docker daemon 19.68MB 20:21:34 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:21:34 Step 2/8 : FROM ${BASE} 20:21:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:21:35 595b0fe564bb: Pulling fs layer 20:21:35 7186ed65a4f7: Pulling fs layer 20:21:35 316046926c0a: Pulling fs layer 20:21:35 4ebd0625c992: Pulling fs layer 20:21:35 207e8628e3a3: Pulling fs layer 20:21:35 c791037a9be2: Pulling fs layer 20:21:35 ffd874e62e21: Pulling fs layer 20:21:35 207e8628e3a3: Waiting 20:21:35 c791037a9be2: Waiting 20:21:35 4ebd0625c992: Waiting 20:21:35 ffd874e62e21: Waiting 20:21:35 316046926c0a: Download complete 20:21:35 7186ed65a4f7: Download complete 20:21:35 207e8628e3a3: Verifying Checksum 20:21:35 207e8628e3a3: Download complete 20:21:35 c791037a9be2: Verifying Checksum 20:21:35 c791037a9be2: Download complete 20:21:35 595b0fe564bb: Verifying Checksum 20:21:35 595b0fe564bb: Download complete 20:21:35 595b0fe564bb: Pull complete 20:21:36 7186ed65a4f7: Pull complete 20:21:36 316046926c0a: Pull complete 20:21:37 ffd874e62e21: Verifying Checksum 20:21:37 ffd874e62e21: Download complete 20:21:39 4ebd0625c992: Verifying Checksum 20:21:39 4ebd0625c992: Download complete 20:21:49 4ebd0625c992: Pull complete 20:21:49 207e8628e3a3: Pull complete 20:21:49 c791037a9be2: Pull complete 20:21:53 Running on prd-centos7-docker-4c-2g-138 in /w/workspace/ndry_app-functions-sdk-go_PR-877 [Pipeline] { [Pipeline] ws 20:21:53 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 20:21:53 ffd874e62e21: Pull complete 20:21:53 The recommended git tool is: git 20:21:53 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:21:53 ---> cfc18b08335c 20:21:53 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:21:53 20.10.0: Pulling from library/docker 20:21:53 a3cc7d3b244e: Pulling fs layer 20:21:53 02a3295e0d61: Pulling fs layer 20:21:53 0f4f2e6d8100: Pulling fs layer 20:21:53 330b718f631f: Pulling fs layer 20:21:53 a93816041522: Pulling fs layer 20:21:53 bdb6da89ff94: Pulling fs layer 20:21:53 2a70c0c122f4: Pulling fs layer 20:21:53 330b718f631f: Waiting 20:21:53 bdb6da89ff94: Waiting 20:21:53 2a70c0c122f4: Waiting 20:21:53 0f4f2e6d8100: Verifying Checksum 20:21:53 0f4f2e6d8100: Download complete 20:21:53 02a3295e0d61: Verifying Checksum 20:21:53 02a3295e0d61: Download complete 20:21:53 a93816041522: Verifying Checksum 20:21:53 a93816041522: Download complete 20:21:53 a3cc7d3b244e: Verifying Checksum 20:21:53 bdb6da89ff94: Verifying Checksum 20:21:53 bdb6da89ff94: Download complete 20:21:53 2a70c0c122f4: Download complete 20:21:54 a3cc7d3b244e: Pull complete 20:21:55 02a3295e0d61: Pull complete 20:21:55 0f4f2e6d8100: Pull complete 20:21:55 using credential edgex-jenkins-ssh 20:21:55 Cloning the remote Git repository 20:21:55 330b718f631f: Verifying Checksum 20:21:55 330b718f631f: Download complete 20:21:55 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:55 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 20:21:55 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:55 > git --version # timeout=10 20:21:55 > git --version # 'git version 2.24.4' 20:21:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:55 [INFO] Currently running in a labeled security context 20:21:55 [INFO] Currently SELinux is 'enforcing' on the host 20:21:55 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh5029751725569453955.key 20:21:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:57 Merging remotes/origin/master commit e5a015aadf82674317b1b80edf4b00daa11f50d1 into PR head commit 51b9883b1e9de516453713838b412bb61812cfff 20:21:57 Merge succeeded, producing 51b9883b1e9de516453713838b412bb61812cfff 20:21:57 Checking out Revision 51b9883b1e9de516453713838b412bb61812cfff (PR-877) 20:21:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 20:21:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 20:21:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:57 [INFO] Currently running in a labeled security context 20:21:57 [INFO] Currently SELinux is 'enforcing' on the host 20:21:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1892245122526433918.key 20:21:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/877/head:refs/remotes/origin/PR-877 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:21:57 > git config core.sparsecheckout # timeout=10 20:21:57 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 20:21:57 > git remote # timeout=10 20:21:57 > git config --get remote.origin.url # timeout=10 20:21:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:57 [INFO] Currently running in a labeled security context 20:21:57 [INFO] Currently SELinux is 'enforcing' on the host 20:21:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/3@tmp/jenkins-gitclient-ssh1907007059539837989.key 20:21:57 > git merge e5a015aadf82674317b1b80edf4b00daa11f50d1 # timeout=10 20:21:57 > git rev-parse HEAD^{commit} # timeout=10 20:21:57 > git config core.sparsecheckout # timeout=10 20:21:57 > git checkout -f 51b9883b1e9de516453713838b412bb61812cfff # timeout=10 20:22:00 330b718f631f: Pull complete 20:22:00 a93816041522: Pull complete 20:22:00 bdb6da89ff94: Pull complete 20:22:00 2a70c0c122f4: Pull complete 20:22:00 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:22:00 Status: Downloaded newer image for docker:20.10.0 20:22:01 Commit message: "feat(sdk): Add URL Formatting To HTTP Sender" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:22:02 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:22:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:22:03 + sudo service docker restart 20:22:03 + true 20:22:03 Redirecting to /bin/systemctl restart docker.service 20:22:06 ---> 810c313a3ac2 20:22:06 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:22:06 ---> Running in 4bc02cad50a9 20:22:06 Removing intermediate container 4bc02cad50a9 20:22:06 ---> aad959484eb4 20:22:06 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:22:06 ---> Running in 00839386c005 20:22:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:22:08 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:22:09 (1/5) Installing libsodium (1.0.18-r0) 20:22:09 (2/5) Installing libzmq (4.3.3-r1) 20:22:09 (3/5) Installing pkgconf (1.7.3-r0) 20:22:09 (4/5) Installing libsodium-dev (1.0.18-r0) 20:22:09 (5/5) Installing zeromq-dev (4.3.3-r1) 20:22:09 Executing busybox-1.32.1-r6.trigger 20:22:09 OK: 139 MiB in 45 packages 20:22:10 Removing intermediate container 00839386c005 20:22:10 ---> aaeaebe17b74 20:22:10 Step 6/8 : WORKDIR /build 20:22:10 ---> Running in eb75d54bb91a 20:22:11 Removing intermediate container eb75d54bb91a 20:22:11 ---> b12934d93fcd 20:22:11 Step 7/8 : COPY go.mod . 20:22:11 ---> 5cebce71f977 20:22:11 Step 8/8 : RUN go mod download 20:22:12 ---> Running in b3518dc4b403 [Pipeline] unstash [Pipeline] echo 20:22:21 ========================================================= 20:22:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:22:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:22:21 + 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 . 20:22:22 Sending build context to Docker daemon 19.69MB 20:22:22 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 20:22:22 Step 2/8 : FROM ${BASE} 20:22:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:22:22 540db60ca938: Pulling fs layer 20:22:22 adcc1eea9eea: Pulling fs layer 20:22:22 4c4ab2625f07: Pulling fs layer 20:22:22 0510c868ecb4: Pulling fs layer 20:22:22 afea3b2eda06: Pulling fs layer 20:22:22 7809a108b3ef: Pulling fs layer 20:22:22 f706445af74f: Pulling fs layer 20:22:22 0510c868ecb4: Waiting 20:22:22 afea3b2eda06: Waiting 20:22:22 7809a108b3ef: Waiting 20:22:22 f706445af74f: Waiting 20:22:22 4c4ab2625f07: Verifying Checksum 20:22:22 4c4ab2625f07: Download complete 20:22:22 adcc1eea9eea: Verifying Checksum 20:22:22 adcc1eea9eea: Download complete 20:22:22 afea3b2eda06: Verifying Checksum 20:22:22 afea3b2eda06: Download complete 20:22:22 540db60ca938: Verifying Checksum 20:22:22 540db60ca938: Download complete 20:22:22 7809a108b3ef: Verifying Checksum 20:22:22 7809a108b3ef: Download complete 20:22:22 540db60ca938: Pull complete 20:22:22 adcc1eea9eea: Pull complete 20:22:22 4c4ab2625f07: Pull complete 20:22:24 f706445af74f: Verifying Checksum 20:22:24 f706445af74f: Download complete 20:22:25 0510c868ecb4: Download complete 20:22:28 0510c868ecb4: Pull complete 20:22:28 afea3b2eda06: Pull complete 20:22:28 7809a108b3ef: Pull complete 20:22:29 f706445af74f: Pull complete 20:22:29 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:22:29 ---> b068be0155e3 20:22:29 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 20:22:29 20.10.0: Pulling from library/docker 20:22:29 05e7bc50f07f: Pulling fs layer 20:22:29 6db28d0fdbf6: Pulling fs layer 20:22:29 292df0bc6bf3: Pulling fs layer 20:22:29 2e060f4bd70b: Pulling fs layer 20:22:29 80e8d568a223: Pulling fs layer 20:22:29 8dc6ef1a942a: Pulling fs layer 20:22:29 2312dd95470a: Pulling fs layer 20:22:29 80e8d568a223: Waiting 20:22:29 8dc6ef1a942a: Waiting 20:22:29 2312dd95470a: Waiting 20:22:29 2e060f4bd70b: Waiting 20:22:29 292df0bc6bf3: Verifying Checksum 20:22:29 292df0bc6bf3: Download complete 20:22:29 6db28d0fdbf6: Verifying Checksum 20:22:29 6db28d0fdbf6: Download complete 20:22:29 05e7bc50f07f: Verifying Checksum 20:22:29 05e7bc50f07f: Download complete 20:22:29 80e8d568a223: Verifying Checksum 20:22:29 80e8d568a223: Download complete 20:22:30 8dc6ef1a942a: Verifying Checksum 20:22:30 8dc6ef1a942a: Download complete 20:22:30 2312dd95470a: Verifying Checksum 20:22:30 2312dd95470a: Download complete 20:22:30 05e7bc50f07f: Pull complete 20:22:30 6db28d0fdbf6: Pull complete 20:22:30 292df0bc6bf3: Pull complete 20:22:30 2e060f4bd70b: Verifying Checksum 20:22:30 2e060f4bd70b: Download complete 20:22:32 2e060f4bd70b: Pull complete 20:22:32 80e8d568a223: Pull complete 20:22:32 8dc6ef1a942a: Pull complete 20:22:32 2312dd95470a: Pull complete 20:22:32 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 20:22:32 Status: Downloaded newer image for docker:20.10.0 20:22:35 ---> ea52856e85cd 20:22:35 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:22:35 ---> Running in 862ec86f7d38 20:22:35 Removing intermediate container 862ec86f7d38 20:22:35 ---> 9cf607cb9ae6 20:22:35 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 20:22:35 ---> Running in caddfccd0b06 20:22:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:22:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:22:37 (1/5) Installing libsodium (1.0.18-r0) 20:22:37 (2/5) Installing libzmq (4.3.3-r1) 20:22:37 (3/5) Installing pkgconf (1.7.3-r0) 20:22:37 (4/5) Installing libsodium-dev (1.0.18-r0) 20:22:37 (5/5) Installing zeromq-dev (4.3.3-r1) 20:22:37 Executing busybox-1.32.1-r6.trigger 20:22:37 OK: 150 MiB in 45 packages 20:22:37 Removing intermediate container caddfccd0b06 20:22:37 ---> 54d5b89b0855 20:22:37 Step 6/8 : WORKDIR /build 20:22:37 ---> Running in b8039556f389 20:22:37 Removing intermediate container b8039556f389 20:22:37 ---> 36b80d3134c9 20:22:37 Step 7/8 : COPY go.mod . 20:22:37 ---> 82cdaa17eb16 20:22:37 Step 8/8 : RUN go mod download 20:22:37 ---> Running in a5de4e68cb6d 20:22:39 Removing intermediate container b3518dc4b403 20:22:39 ---> 9a19d49a8b93 20:22:39 Successfully built 9a19d49a8b93 20:22:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:22:39 + docker inspect -f . ci-base-image-arm64 20:22:39 . [Pipeline] withDockerContainer 20:22:39 prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container 20:22:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 20:22:41 $ docker top 5f97b6a434190c3223370c68b90003f55d9d283a9c2c81fbdc83a93e5cd1ac75 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:42 + go version 20:22:42 go version go1.16.3 linux/arm64 [Pipeline] } 20:22:42 $ docker stop --time=1 5f97b6a434190c3223370c68b90003f55d9d283a9c2c81fbdc83a93e5cd1ac75 20:22:44 $ docker rm -f 5f97b6a434190c3223370c68b90003f55d9d283a9c2c81fbdc83a93e5cd1ac75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:45 + docker inspect -f . ci-base-image-arm64 20:22:45 . [Pipeline] withDockerContainer 20:22:45 prd-ubuntu18.04-docker-arm64-4c-16g-137 does not seem to be running inside a container 20:22:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 20:22:46 $ docker top 416bb0359f4282364c9b0e376d56acd763adeeb0df09055def57c220032c9534 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:47 + go mod tidy 20:22:48 Removing intermediate container a5de4e68cb6d 20:22:48 ---> 78fc0a6b57d1 20:22:48 Successfully built 78fc0a6b57d1 20:22:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] sh 20:22:48 + docker inspect -f . ci-base-image-x86_64 20:22:48 . [Pipeline] withDockerContainer 20:22:48 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 20:22:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 20:22:49 $ docker top cb39c6298fd3dedee07aeaffab5bd4bf2b5f9f1a5f2c2fc9251a28eb575e8535 -eo pid,comm 20:22:49 + make test 20:22:49 make -C ./app-service-template build 20:22:49 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:22:49 go mod tidy [Pipeline] { [Pipeline] sh 20:22:49 + go version 20:22:49 go version go1.16.3 linux/amd64 [Pipeline] } 20:22:49 $ docker stop --time=1 cb39c6298fd3dedee07aeaffab5bd4bf2b5f9f1a5f2c2fc9251a28eb575e8535 20:22:49 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 20:22:50 $ docker rm -f cb39c6298fd3dedee07aeaffab5bd4bf2b5f9f1a5f2c2fc9251a28eb575e8535 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:51 + docker inspect -f . ci-base-image-x86_64 20:22:51 . [Pipeline] withDockerContainer 20:22:51 prd-centos7-docker-4c-2g-138 does not seem to be running inside a container 20:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 20:22:51 $ docker top ef4c8a807bb8dd36b49f7d916b95c621b290b2001bc3b96b990e20bd5cd86c0f -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:52 + go mod tidy [Pipeline] sh 20:22:52 + make test 20:22:52 make -C ./app-service-template build 20:22:52 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:22:52 go mod tidy 20:22:52 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 20:23:03 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:23:03 make -C ./app-service-template test 20:23:03 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:23:03 go mod tidy 20:23:03 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:23:11 ok new-app-service 0.018s coverage: 47.8% of statements 20:23:11 ? new-app-service/config [no test files] 20:23:11 ok new-app-service/functions 0.007s 20:23:11 CGO_ENABLED=1 go vet ./... 20:23:17 gofmt -l . 20:23:17 [ "`gofmt -l .`" = "" ] 20:23:17 ./bin/test-attribution-txt.sh 20:23:18 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:23:18 go mod tidy 20:23:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:23:19 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:23:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 58.4% of statements 20:23:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.5% of statements 20:23:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:23:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.5% of statements 20:23:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:23:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 20:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.023s coverage: 76.1% of statements 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements 20:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.021s coverage: 10.5% of statements 20:23:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.735s coverage: 76.9% of statements 20:23:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:23:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements 20:23:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements 20:23:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:23:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:23:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 20:23:28 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:23:28 make -C ./app-service-template test 20:23:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:23:28 go mod tidy 20:23:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 20:23:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.028s coverage: 79.4% of statements 20:23:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements 20:23:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:23:51 gofmt -l . 20:23:51 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:23:51 $ docker stop --time=1 ef4c8a807bb8dd36b49f7d916b95c621b290b2001bc3b96b990e20bd5cd86c0f 20:23:52 $ docker rm -f ef4c8a807bb8dd36b49f7d916b95c621b290b2001bc3b96b990e20bd5cd86c0f [Pipeline] // withDockerContainer [Pipeline] sh 20:23:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:53 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 20:23:54 ---> job-cost.sh 20:23:54 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2vpL 20:23:55 ok new-app-service 0.041s coverage: 47.8% of statements 20:23:55 ? new-app-service/config [no test files] 20:23:55 ok new-app-service/functions 0.037s 20:23:55 CGO_ENABLED=1 go vet ./... 20:24:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:24:17 lf-activate-venv(): INFO: Adding /tmp/venv-2vpL/bin to PATH 20:24:17 INFO: No Stack... 20:24:17 INFO: Retrieving Pricing Info for: v3-standard-2 20:24:17 INFO: Archiving Costs [Pipeline] sh 20:24:17 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 20:24:17 + cut -d, -f6 [Pipeline] lock 20:24:17 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] 20:24:17 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] did not exist. Created. 20:24:17 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:18 + echo total: 0.05999999865889549 [Pipeline] stash 20:24:18 Stashed 1 file(s) [Pipeline] } 20:24:18 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:24:22 gofmt -l . 20:24:22 [ "`gofmt -l .`" = "" ] 20:24:22 ./bin/test-attribution-txt.sh 20:24:23 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/3/app-service-template' 20:24:23 go mod tidy 20:24:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:24:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.070s coverage: 58.4% of statements 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.055s coverage: 93.5% of statements 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.160s coverage: 61.5% of statements 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.032s 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.087s coverage: 76.1% of statements 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.023s coverage: 97.1% of statements 20:24:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 20:24:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.075s coverage: 10.5% of statements 20:24:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.869s coverage: 76.9% of statements 20:24:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 20:24:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 12.5% of statements 20:24:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.062s coverage: 27.3% of statements 20:24:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 20:24:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 20:24:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 51.4% of statements 20:25:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.114s coverage: 79.4% of statements 20:25:07 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.035s coverage: 94.4% of statements 20:25:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:25:09 gofmt -l . 20:25:09 [ "`gofmt -l .`" = "" ] [Pipeline] } 20:25:10 $ docker stop --time=1 416bb0359f4282364c9b0e376d56acd763adeeb0df09055def57c220032c9534 20:25:11 $ docker rm -f 416bb0359f4282364c9b0e376d56acd763adeeb0df09055def57c220032c9534 [Pipeline] // withDockerContainer [Pipeline] sh 20:25:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:25:12 Warning: overwriting stash ‘coverage-report’ 20:25:13 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 20:25:14 ---> job-cost.sh 20:25:14 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-acza 20:25:52 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:27:14 lf-activate-venv(): INFO: Adding /tmp/venv-acza/bin to PATH 20:27:14 INFO: No Stack... 20:27:14 INFO: Retrieving Pricing Info for: v2-standard-4 20:27:15 INFO: Archiving Costs [Pipeline] sh 20:27:15 + cat /w/workspace/app-functions-sdk-go/3/archives/cost.csv 20:27:15 + cut -d, -f6 [Pipeline] lock 20:27:15 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] 20:27:15 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] did not exist. Created. 20:27:15 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:15 /w/workspace/app-functions-sdk-go/3@tmp/durable-1ce1e718/script.sh: 1: /w/workspace/app-functions-sdk-go/3@tmp/durable-1ce1e718/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:27:16 + echo total: 0.18000000715255737 [Pipeline] stash 20:27:16 Warning: overwriting stash ‘stack-cost’ 20:27:16 Stashed 1 file(s) [Pipeline] } 20:27:16 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-877-3-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 20:27:17 provisioning config files... 20:27:17 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config1713549236361452273tmp [Pipeline] { [Pipeline] sh 20:27:17 + set +x 20:27:17 + curl -s https://codecov.io/bash 20:27:17 + bash -s -- 20:27:17 20:27:17 _____ _ 20:27:17 / ____| | | 20:27:17 | | ___ __| | ___ ___ _____ __ 20:27:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:27:17 | |___| (_) | (_| | __/ (_| (_) \ V / 20:27:17 \_____\___/ \__,_|\___|\___\___/ \_/ 20:27:17 Bash-1.0.3 20:27:17 20:27:17 20:27:17 ==> git version 2.24.4 found 20:27:17 ==> 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 20:27:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:27:17 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:27:17 ==> Jenkins CI detected. 20:27:17 project root: . 20:27:17 --> token set from env 20:27:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:27:17 ==> Running gcov in . (disable via -X gcov) 20:27:17 ==> Python coveragepy not found 20:27:17 ==> Searching for coverage reports in: 20:27:17 + . 20:27:17 -> Found 2 reports 20:27:17 ==> Detecting git/mercurial file structure 20:27:17 ==> Reading reports 20:27:17 + ./app-service-template/coverage.out bytes=1055 20:27:17 + ./coverage.out bytes=92438 20:27:17 ==> Appending adjustments 20:27:17 https://docs.codecov.io/docs/fixing-reports 20:27:18 + Found adjustments 20:27:18 ==> Gzipping contents 20:27:18 16K /tmp/codecov.aZM5JP.gz 20:27:18 ==> Uploading reports 20:27:18 url: https://codecov.io 20:27:18 query: branch=PR-877&commit=51b9883b1e9de516453713838b412bb61812cfff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-877%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= 20:27:18 -> Pinging Codecov 20:27:18 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-877&commit=51b9883b1e9de516453713838b412bb61812cfff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-877%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=877&job=&cmd_args= 20:27:18 -> Uploading to 20:27:18 https://storage.googleapis.com/codecov/v4/raw/2021-06-02/3D8B5DFFC46A037C893635FACE044666/51b9883b1e9de516453713838b412bb61812cfff/0c5b98a4-0412-412a-b675-414c6622ca95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210602T202718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6026c26bf1fa9dfad51b003fcdcd2bd47cda0a0f123f0e605d2c45994b382ae1 20:27:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:18 Dload Upload Total Spent Left Speed 20:27:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16105 0 0 100 16105 0 42055 --:--:-- --:--:-- --:--:-- 42159 20:27:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/51b9883b1e9de516453713838b412bb61812cfff [Pipeline] } 20:27:19 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 20:27:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:27:21 ---> package-listing.sh 20:27:21 ++ facter osfamily 20:27:21 ++ tr '[:upper:]' '[:lower:]' 20:27:21 + OS_FAMILY=redhat 20:27:21 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-877 20:27:21 + START_PACKAGES=/tmp/packages_start.txt 20:27:21 + END_PACKAGES=/tmp/packages_end.txt 20:27:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:27:21 + PACKAGES=/tmp/packages_start.txt 20:27:21 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' 20:27:21 + PACKAGES=/tmp/packages_end.txt 20:27:21 + case "${OS_FAMILY}" in 20:27:21 + rpm -qa 20:27:21 + sort 20:27:22 + '[' -f /tmp/packages_start.txt ']' 20:27:22 + '[' -f /tmp/packages_end.txt ']' 20:27:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:27:22 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-877 ']' 20:27:22 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ 20:27:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-877/archives/ [Pipeline] echo 20:27:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_PR-877/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:27:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:22 20:27:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:27:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:23 alpine: Pulling from edgex-lftools-log-publisher 20:27:23 df20fa9351a1: Pulling fs layer 20:27:23 36b3adc4ff6f: Pulling fs layer 20:27:23 8ad3a11d3b57: Pulling fs layer 20:27:23 46f8f816bc3b: Pulling fs layer 20:27:23 93b61091891f: Pulling fs layer 20:27:23 93b9cdb0e59b: Pulling fs layer 20:27:23 5e14af77c1be: Pulling fs layer 20:27:23 01666e4c0597: Pulling fs layer 20:27:23 aa168da1d23b: Pulling fs layer 20:27:23 46f8f816bc3b: Waiting 20:27:23 93b61091891f: Waiting 20:27:23 01666e4c0597: Waiting 20:27:23 93b9cdb0e59b: Waiting 20:27:23 5e14af77c1be: Waiting 20:27:23 aa168da1d23b: Waiting 20:27:23 36b3adc4ff6f: Verifying Checksum 20:27:23 36b3adc4ff6f: Download complete 20:27:23 46f8f816bc3b: Verifying Checksum 20:27:23 46f8f816bc3b: Download complete 20:27:23 df20fa9351a1: Verifying Checksum 20:27:23 df20fa9351a1: Download complete 20:27:23 93b9cdb0e59b: Verifying Checksum 20:27:23 93b9cdb0e59b: Download complete 20:27:23 5e14af77c1be: Verifying Checksum 20:27:23 5e14af77c1be: Download complete 20:27:23 93b61091891f: Verifying Checksum 20:27:23 93b61091891f: Download complete 20:27:23 df20fa9351a1: Pull complete 20:27:23 01666e4c0597: Verifying Checksum 20:27:23 01666e4c0597: Download complete 20:27:23 36b3adc4ff6f: Pull complete 20:27:24 8ad3a11d3b57: Verifying Checksum 20:27:24 8ad3a11d3b57: Download complete 20:27:24 8ad3a11d3b57: Pull complete 20:27:24 46f8f816bc3b: Pull complete 20:27:24 93b61091891f: Pull complete 20:27:25 93b9cdb0e59b: Pull complete 20:27:25 5e14af77c1be: Pull complete 20:27:25 01666e4c0597: Pull complete 20:27:25 aa168da1d23b: Verifying Checksum 20:27:25 aa168da1d23b: Download complete 20:27:29 aa168da1d23b: Pull complete 20:27:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:27:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:27:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:27:29 prd-centos7-docker-4c-2g-134 does not seem to be running inside a container 20:27:29 $ 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-877/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-877 -v /w/workspace/ndry_app-functions-sdk-go_PR-877:/w/workspace/ndry_app-functions-sdk-go_PR-877:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 20:27:32 $ docker top 7bb4727e0aae67c253ec655deebdc8d8004b194bf268ee39117a0aa30bbf1c3a -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:32 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:32 + mkdir -p /var/log/sa [Pipeline] sh 20:27:33 + ls /var/log/sa-host 20:27:33 + sadf -c /var/log/sa-host/sa02 20:27:33 file_magic: OK 20:27:33 HZ: Using current value: 100 20:27:33 file_header: OK 20:27:33 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 20:27:33 Statistics: 20:27:33 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:27:33 File successfully converted to sysstat format version 12.2.1 20:27:33 + sadf -c /var/log/sa-host/sa05 20:27:33 file_magic: OK 20:27:33 HZ: Using current value: 100 20:27:33 file_header: OK 20:27:33 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 20:27:33 Statistics: 20:27:33 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:27:33 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:33 provisioning config files... 20:27:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-877@tmp/config5393042355167565530tmp [Pipeline] { [Pipeline] echo 20:27:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:33 ---> create-netrc.sh [Pipeline] } 20:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:27:33 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:27:34 ---> python-tools-install.sh [Pipeline] echo 20:27:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:34 ---> sudo-logs.sh 20:27:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:34 ---> job-cost.sh 20:27:34 lf-activate-venv: SKIPPING 20:27:34 DEBUG: total: 0.18000000715255737 20:27:34 INFO: Retrieving Stack Cost... 20:27:35 INFO: Retrieving Pricing Info for: v3-standard-2 20:27:36 INFO: Archiving Costs [Pipeline] echo 20:27:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:36 ---> logs-deploy.sh 20:27:36 lf-activate-venv: SKIPPING 20:27:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-877/3 20:27:36 INFO: archiving workspace using pattern(s): 20:27:37 Archives upload complete. 20:27:37 INFO: archiving logs to Nexus