Pull request #818 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from de4234b446d803550844c6248bc52a16687a1ca2+7ab1d82b7e244905f9818398051c1e157ceda5e1 (c89857688e661dd9c9195f93fa213ab3ad90ff37) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false 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-3601 in /w/workspace/ndry_app-functions-sdk-go_PR-818 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-818 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Merging remotes/origin/master commit 7ab1d82b7e244905f9818398051c1e157ceda5e1 into PR head commit de4234b446d803550844c6248bc52a16687a1ca2 Merge succeeded, producing de4234b446d803550844c6248bc52a16687a1ca2 Checking out Revision de4234b446d803550844c6248bc52a16687a1ca2 (PR-818) Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 Commit message: "Merge branch 'master' into template-readme-fix" > git rev-list --no-walk cfc400115addc8ce9877164abc91991be0d64bfe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:28:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:28:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:28:58 ========================================================= 18:28:58 EdgeX Global Pipelines Version Info 18:28:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:29:02 ------------------- 18:29:02 stable info: 18:29:02 ------------------- 18:29:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:29:02 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 18:29:02 Message: update stable to v1.0.191 18:29:03 ------------------- 18:29:03 experimental info: 18:29:03 ------------------- 18:29:03 Commited By: **** collab-it+edgex@linuxfoundation.org 18:29:03 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 18:29:03 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:29:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-818 [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-818 [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-818 [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de4234b446d803550844c6248bc52a16687a1ca2 [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de4234b [Pipeline] echo 18:29:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:05 + git log --format=format:%s -1 de4234b446d803550844c6248bc52a16687a1ca2 [Pipeline] echo 18:29:05 GIT_COMMIT: de4234b446d803550844c6248bc52a16687a1ca2, Commit Message: Merge branch 'master' into template-readme-fix [Pipeline] echo 18:29:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:29:07 18:29:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:29:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:29:08 latest: Pulling from edgex-devops/git-semver 18:29:08 31603596830f: Pulling fs layer 18:29:08 54011a49482f: Pulling fs layer 18:29:08 a6820b24f6d8: Pulling fs layer 18:29:08 f581987b2513: Pulling fs layer 18:29:08 f581987b2513: Waiting 18:29:08 54011a49482f: Verifying Checksum 18:29:08 54011a49482f: Download complete 18:29:08 31603596830f: Download complete 18:29:09 f581987b2513: Verifying Checksum 18:29:09 f581987b2513: Download complete 18:29:09 a6820b24f6d8: Verifying Checksum 18:29:09 a6820b24f6d8: Download complete 18:29:10 31603596830f: Pull complete 18:29:10 54011a49482f: Pull complete 18:29:12 a6820b24f6d8: Pull complete 18:29:13 f581987b2513: Pull complete 18:29:13 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 18:29:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:29:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:29:13 prd-centos7-docker-4c-2g-3601 does not seem to be running inside a container 18:29:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-818 -v /w/workspace/ndry_app-functions-sdk-go_PR-818:/w/workspace/ndry_app-functions-sdk-go_PR-818:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-818@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 18:29:16 $ docker top 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:29:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:29:17 [ssh-agent] Looking for ssh-agent implementation... 18:29:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:29:17 $ docker exec 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent 18:29:18 SSH_AUTH_SOCK=/tmp/ssh-v442uoJWW4k1/agent.11 18:29:18 SSH_AGENT_PID=16 18:29:18 Running ssh-add (command line suppressed) 18:29:18 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_5372463396552933078.key (/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_5372463396552933078.key) 18:29:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:29:18 + git tag --points-at HEAD [Pipeline] } 18:29:19 $ docker exec --env ******** --env ******** 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent -k 18:29:19 unset SSH_AUTH_SOCK; 18:29:19 unset SSH_AGENT_PID; 18:29:19 echo Agent pid 16 killed; 18:29:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:29:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:29:19 [ssh-agent] Looking for ssh-agent implementation... 18:29:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:29:19 $ docker exec 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent 18:29:20 SSH_AUTH_SOCK=/tmp/ssh-Y1hcsbF8gWwf/agent.45 18:29:20 SSH_AGENT_PID=50 18:29:20 Running ssh-add (command line suppressed) 18:29:20 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_4090895778759716018.key (/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/private_key_4090895778759716018.key) 18:29:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:29:20 + git semver init 18:29:20 # -> Open(): unable to determine branch for HEAD 18:29:20 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-818/.git 18:29:20 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-818 18:29:20 # $SEMVER_REMOTE_NAME = origin 18:29:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:29:20 # $SEMVER_USER_NAME = edgex-jenkins 18:29:20 # $SEMVER_BRANCH = PR-818 18:29:20 # $SEMVER_TEMP = /tmp/semver-019133895 18:29:20 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 18:29:25 # '/tmp/semver-019133895' -> '/w/workspace/ndry_app-functions-sdk-go_PR-818/.semver' 18:29:25 # -> Force: false 18:29:25 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-818/.semver [Pipeline] } 18:29:25 $ docker exec --env ******** --env ******** 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 ssh-agent -k 18:29:25 unset SSH_AUTH_SOCK; 18:29:25 unset SSH_AGENT_PID; 18:29:25 echo Agent pid 50 killed; 18:29:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:29:26 + git semver [Pipeline] } 18:29:26 $ docker stop --time=1 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 18:29:28 $ docker rm -f 2178b224f76235f1458507a3b045117fac3f796846ae6671c47471da2dccda37 [Pipeline] // withDockerContainer [Pipeline] sh 18:29:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:29:30 Stashed 1 file(s) [Pipeline] echo 18:29:30 [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 18:29:45 Still waiting to schedule task 18:29:45 ‘prd-centos7-docker-4c-2g-3593’ is offline; ‘prd-centos7-docker-4c-2g-3600’ is offline; ‘prd-centos7-docker-4c-2g-3602’ is offline; ‘prd-centos7-docker-4c-2g-3603’ is offline; ‘prd-centos7-docker-4c-2g-3609’ is offline; ‘prd-centos7-docker-4c-2g-3610’ is offline; ‘prd-centos7-docker-4c-2g-3611’ is offline 18:29:45 Still waiting to schedule task 18:29:45 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3604’ 18:30:53 Running on prd-centos7-docker-4c-2g-3618 in /w/workspace/ndry_app-functions-sdk-go_PR-818 [Pipeline] { [Pipeline] ws 18:30:53 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:30:56 using credential edgex-jenkins-ssh 18:30:56 Cloning the remote Git repository 18:30:56 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:30:56 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 18:30:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:30:56 > git --version # timeout=10 18:30:56 > git --version # 'git version 2.24.3' 18:30:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:30:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:30:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:30:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:30:57 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:30:57 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:30:57 using GIT_SSH to set credentials SSH Credentials for GitHub 18:30:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:30:58 Merging remotes/origin/master commit 7ab1d82b7e244905f9818398051c1e157ceda5e1 into PR head commit de4234b446d803550844c6248bc52a16687a1ca2 18:30:58 Merge succeeded, producing de4234b446d803550844c6248bc52a16687a1ca2 18:30:58 Checking out Revision de4234b446d803550844c6248bc52a16687a1ca2 (PR-818) 18:30:58 > git config core.sparsecheckout # timeout=10 18:30:58 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 18:30:58 > git remote # timeout=10 18:30:58 > git config --get remote.origin.url # timeout=10 18:30:58 using GIT_SSH to set credentials SSH Credentials for GitHub 18:30:58 > git merge 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 18:30:58 > git rev-parse HEAD^{commit} # timeout=10 18:30:58 > git config core.sparsecheckout # timeout=10 18:30:58 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 18:31:02 Commit message: "Merge branch 'master' into template-readme-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:31:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 18:31:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:31:04 + sudo service docker restart 18:31:04 + true 18:31:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 18:31:06 ========================================================= 18:31:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:31:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:31:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 18:31:06 Sending build context to Docker daemon 19.53MB 18:31:06 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:31:06 Step 2/8 : FROM ${BASE} 18:31:07 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:31:07 540db60ca938: Pulling fs layer 18:31:07 adcc1eea9eea: Pulling fs layer 18:31:07 4c4ab2625f07: Pulling fs layer 18:31:07 0510c868ecb4: Pulling fs layer 18:31:07 afea3b2eda06: Pulling fs layer 18:31:07 7809a108b3ef: Pulling fs layer 18:31:07 f706445af74f: Pulling fs layer 18:31:07 afea3b2eda06: Waiting 18:31:07 7809a108b3ef: Waiting 18:31:07 f706445af74f: Waiting 18:31:07 0510c868ecb4: Waiting 18:31:07 4c4ab2625f07: Verifying Checksum 18:31:07 4c4ab2625f07: Download complete 18:31:07 adcc1eea9eea: Download complete 18:31:07 afea3b2eda06: Verifying Checksum 18:31:07 afea3b2eda06: Download complete 18:31:07 7809a108b3ef: Verifying Checksum 18:31:07 7809a108b3ef: Download complete 18:31:07 540db60ca938: Verifying Checksum 18:31:07 540db60ca938: Download complete 18:31:07 540db60ca938: Pull complete 18:31:07 adcc1eea9eea: Pull complete 18:31:07 4c4ab2625f07: Pull complete 18:31:09 f706445af74f: Verifying Checksum 18:31:09 f706445af74f: Download complete 18:31:10 0510c868ecb4: Verifying Checksum 18:31:10 0510c868ecb4: Download complete 18:31:16 0510c868ecb4: Pull complete 18:31:16 afea3b2eda06: Pull complete 18:31:16 7809a108b3ef: Pull complete 18:31:21 f706445af74f: Pull complete 18:31:21 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 18:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:31:21 ---> b068be0155e3 18:31:21 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:31:21 20.10.0: Pulling from library/docker 18:31:21 05e7bc50f07f: Pulling fs layer 18:31:21 6db28d0fdbf6: Pulling fs layer 18:31:21 292df0bc6bf3: Pulling fs layer 18:31:21 2e060f4bd70b: Pulling fs layer 18:31:21 80e8d568a223: Pulling fs layer 18:31:21 8dc6ef1a942a: Pulling fs layer 18:31:21 2312dd95470a: Pulling fs layer 18:31:21 80e8d568a223: Waiting 18:31:21 8dc6ef1a942a: Waiting 18:31:21 2312dd95470a: Waiting 18:31:21 2e060f4bd70b: Waiting 18:31:21 292df0bc6bf3: Download complete 18:31:21 6db28d0fdbf6: Verifying Checksum 18:31:21 6db28d0fdbf6: Download complete 18:31:21 80e8d568a223: Verifying Checksum 18:31:21 80e8d568a223: Download complete 18:31:21 05e7bc50f07f: Verifying Checksum 18:31:21 05e7bc50f07f: Download complete 18:31:21 8dc6ef1a942a: Download complete 18:31:21 2312dd95470a: Verifying Checksum 18:31:21 2312dd95470a: Download complete 18:31:22 05e7bc50f07f: Pull complete 18:31:22 6db28d0fdbf6: Pull complete 18:31:22 292df0bc6bf3: Pull complete 18:31:23 2e060f4bd70b: Verifying Checksum 18:31:23 2e060f4bd70b: Download complete 18:31:27 2e060f4bd70b: Pull complete 18:31:27 80e8d568a223: Pull complete 18:31:27 8dc6ef1a942a: Pull complete 18:31:27 2312dd95470a: Pull complete 18:31:27 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:31:27 Status: Downloaded newer image for docker:20.10.0 18:31:28 ---> 28723b2ff659 18:31:28 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:31:28 ---> Running in a587bf872294 18:31:28 Removing intermediate container a587bf872294 18:31:28 ---> 4b42c64cc1cc 18:31:28 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:31:29 ---> Running in a85c5e0420f8 18:31:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 18:31:31 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 18:31:32 (1/5) Installing libsodium (1.0.18-r0) 18:31:32 (2/5) Installing libzmq (4.3.3-r1) 18:31:32 (3/5) Installing pkgconf (1.7.3-r0) 18:31:32 (4/5) Installing libsodium-dev (1.0.18-r0) 18:31:32 (5/5) Installing zeromq-dev (4.3.3-r1) 18:31:32 Executing busybox-1.32.1-r6.trigger 18:31:32 OK: 150 MiB in 45 packages 18:31:33 Removing intermediate container a85c5e0420f8 18:31:33 ---> 47b634264797 18:31:33 Step 6/8 : WORKDIR /build 18:31:33 ---> Running in 0624151abb0e 18:31:33 Removing intermediate container 0624151abb0e 18:31:33 ---> 61945ad947e9 18:31:33 Step 7/8 : COPY go.mod . 18:31:34 ---> ba0c30f3c049 18:31:34 Step 8/8 : RUN go mod download 18:31:34 ---> Running in 88e87a2093a8 18:32:00 Removing intermediate container 88e87a2093a8 18:32:00 ---> b8e8ae757296 18:32:00 Successfully built b8e8ae757296 18:32:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:32:01 + docker inspect -f . ci-base-image-x86_64 18:32:01 . [Pipeline] withDockerContainer 18:32:01 prd-centos7-docker-4c-2g-3618 does not seem to be running inside a container 18:32:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:32:02 $ docker top 339ed4f4f32d135f77df111338d367cde7e62ddd653be82607714644421a2ef4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:02 + go version 18:32:02 go version go1.16.3 linux/amd64 [Pipeline] } 18:32:02 $ docker stop --time=1 339ed4f4f32d135f77df111338d367cde7e62ddd653be82607714644421a2ef4 18:32:04 $ docker rm -f 339ed4f4f32d135f77df111338d367cde7e62ddd653be82607714644421a2ef4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:32:04 + docker inspect -f . ci-base-image-x86_64 18:32:04 . [Pipeline] withDockerContainer 18:32:04 prd-centos7-docker-4c-2g-3618 does not seem to be running inside a container 18:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:32:05 $ docker top 2f1a90360ad21e62af2e02b0641f11e8c82b44540c4803df77ad97d16aab0c71 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:05 + go mod tidy [Pipeline] sh 18:32:07 + make test 18:32:07 make -C ./app-service-template build 18:32:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:32:07 go mod tidy 18:32:07 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:32:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:32:22 make -C ./app-service-template test 18:32:22 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:32:22 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:32:32 ok new-app-service 0.013s coverage: 47.8% of statements 18:32:32 ? new-app-service/config [no test files] 18:32:32 ok new-app-service/functions 0.018s 18:32:32 CGO_ENABLED=1 go vet ./... 18:32:33 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3623 in /w/workspace/ndry_app-functions-sdk-go_PR-818 [Pipeline] { [Pipeline] ws 18:32:33 Running in /w/workspace/app-functions-sdk-go/7 [Pipeline] { [Pipeline] checkout 18:32:39 using credential edgex-jenkins-ssh 18:32:39 Cloning the remote Git repository 18:32:39 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 18:32:39 > git init /w/workspace/app-functions-sdk-go/7 # timeout=10 18:32:39 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:32:39 > git --version # timeout=10 18:32:39 > git --version # 'git version 2.17.1' 18:32:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:32:41 gofmt -l . 18:32:41 [ "`gofmt -l .`" = "" ] 18:32:41 ./bin/test-go-mod-tidy.sh 18:32:41 ./bin/test-attribution-txt.sh 18:32:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:32:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:32:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:32:43 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:32:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:32:43 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 18:32:43 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 18:32:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/818/head:refs/remotes/origin/PR-818 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:32:44 Merging remotes/origin/master commit 7ab1d82b7e244905f9818398051c1e157ceda5e1 into PR head commit de4234b446d803550844c6248bc52a16687a1ca2 18:32:44 Merge succeeded, producing de4234b446d803550844c6248bc52a16687a1ca2 18:32:44 Checking out Revision de4234b446d803550844c6248bc52a16687a1ca2 (PR-818) 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.029s coverage: 55.8% of statements 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.026s coverage: 92.5% of statements 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.079s coverage: 61.5% of statements 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.025s 18:32:44 > git config core.sparsecheckout # timeout=10 18:32:44 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 18:32:44 > git remote # timeout=10 18:32:44 > git config --get remote.origin.url # timeout=10 18:32:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:32:44 > git merge 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 18:32:44 > git rev-parse HEAD^{commit} # timeout=10 18:32:44 > git config core.sparsecheckout # timeout=10 18:32:44 > git checkout -f de4234b446d803550844c6248bc52a16687a1ca2 # timeout=10 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.027s coverage: 75.4% of statements 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements 18:32:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:32:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements 18:32:48 Commit message: "Merge branch 'master' into template-readme-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:32:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.759s coverage: 78.4% of statements 18:32:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:32:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.020s coverage: 18.4% of statements 18:32:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements 18:32:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:32:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:32:49 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.012s coverage: 71.7% of statements 18:32:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 18:32:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 18:32:50 + true 18:32:50 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 18:32:53 ========================================================= 18:32:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:32:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:32:53 + 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 . 18:32:54 Sending build context to Docker daemon 19.52MB 18:32:54 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 18:32:54 Step 2/8 : FROM ${BASE} 18:32:55 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:32:55 595b0fe564bb: Pulling fs layer 18:32:55 7186ed65a4f7: Pulling fs layer 18:32:55 316046926c0a: Pulling fs layer 18:32:55 4ebd0625c992: Pulling fs layer 18:32:55 207e8628e3a3: Pulling fs layer 18:32:55 c791037a9be2: Pulling fs layer 18:32:55 ffd874e62e21: Pulling fs layer 18:32:55 207e8628e3a3: Waiting 18:32:55 c791037a9be2: Waiting 18:32:55 ffd874e62e21: Waiting 18:32:55 4ebd0625c992: Waiting 18:32:55 316046926c0a: Download complete 18:32:55 7186ed65a4f7: Download complete 18:32:55 207e8628e3a3: Verifying Checksum 18:32:55 207e8628e3a3: Download complete 18:32:55 c791037a9be2: Verifying Checksum 18:32:55 c791037a9be2: Download complete 18:32:55 595b0fe564bb: Verifying Checksum 18:32:55 595b0fe564bb: Download complete 18:32:55 595b0fe564bb: Pull complete 18:32:56 7186ed65a4f7: Pull complete 18:32:56 316046926c0a: Pull complete 18:32:57 ffd874e62e21: Verifying Checksum 18:32:57 ffd874e62e21: Download complete 18:32:58 4ebd0625c992: Download complete 18:33:09 4ebd0625c992: Pull complete 18:33:09 207e8628e3a3: Pull complete 18:33:09 c791037a9be2: Pull complete 18:33:11 ffd874e62e21: Pull complete 18:33:11 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 18:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:33:11 ---> cfc18b08335c 18:33:11 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 18:33:11 20.10.0: Pulling from library/docker 18:33:11 a3cc7d3b244e: Pulling fs layer 18:33:11 02a3295e0d61: Pulling fs layer 18:33:11 0f4f2e6d8100: Pulling fs layer 18:33:11 330b718f631f: Pulling fs layer 18:33:11 a93816041522: Pulling fs layer 18:33:11 bdb6da89ff94: Pulling fs layer 18:33:11 330b718f631f: Waiting 18:33:11 a93816041522: Waiting 18:33:11 bdb6da89ff94: Waiting 18:33:11 2a70c0c122f4: Pulling fs layer 18:33:11 2a70c0c122f4: Waiting 18:33:12 0f4f2e6d8100: Verifying Checksum 18:33:12 0f4f2e6d8100: Download complete 18:33:12 a3cc7d3b244e: Verifying Checksum 18:33:12 a3cc7d3b244e: Download complete 18:33:12 02a3295e0d61: Verifying Checksum 18:33:12 02a3295e0d61: Download complete 18:33:12 a93816041522: Verifying Checksum 18:33:12 a93816041522: Download complete 18:33:12 bdb6da89ff94: Verifying Checksum 18:33:12 bdb6da89ff94: Download complete 18:33:12 2a70c0c122f4: Download complete 18:33:12 a3cc7d3b244e: Pull complete 18:33:13 02a3295e0d61: Pull complete 18:33:13 0f4f2e6d8100: Pull complete 18:33:13 330b718f631f: Verifying Checksum 18:33:13 330b718f631f: Download complete 18:33:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements 18:33:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.012s coverage: 94.4% of statements 18:33:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:33:16 gofmt -l . 18:33:16 [ "`gofmt -l .`" = "" ] 18:33:16 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 18:33:16 $ docker stop --time=1 2f1a90360ad21e62af2e02b0641f11e8c82b44540c4803df77ad97d16aab0c71 18:33:17 330b718f631f: Pull complete 18:33:17 a93816041522: Pull complete 18:33:18 $ docker rm -f 2f1a90360ad21e62af2e02b0641f11e8c82b44540c4803df77ad97d16aab0c71 18:33:18 bdb6da89ff94: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh 18:33:18 2a70c0c122f4: Pull complete 18:33:18 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 18:33:18 Status: Downloaded newer image for docker:20.10.0 18:33:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:33:19 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 18:33:20 ---> job-cost.sh 18:33:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Kjmo 18:33:25 ---> a5f24aca84f2 18:33:25 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:33:25 ---> Running in 40ad4f5ef779 18:33:25 Removing intermediate container 40ad4f5ef779 18:33:25 ---> 1ed7ca973a28 18:33:25 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 18:33:26 ---> Running in 23878d5630b1 18:33:27 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 18:33:28 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 18:33:29 (1/5) Installing libsodium (1.0.18-r0) 18:33:29 (2/5) Installing libzmq (4.3.3-r1) 18:33:29 (3/5) Installing pkgconf (1.7.3-r0) 18:33:30 (4/5) Installing libsodium-dev (1.0.18-r0) 18:33:30 (5/5) Installing zeromq-dev (4.3.3-r1) 18:33:30 Executing busybox-1.32.1-r6.trigger 18:33:30 OK: 139 MiB in 45 packages 18:33:31 Removing intermediate container 23878d5630b1 18:33:31 ---> 3763405700cd 18:33:31 Step 6/8 : WORKDIR /build 18:33:31 ---> Running in 049e9ecaebb3 18:33:32 Removing intermediate container 049e9ecaebb3 18:33:32 ---> 4df22db458d7 18:33:32 Step 7/8 : COPY go.mod . 18:33:33 ---> 56aa2a817d6a 18:33:33 Step 8/8 : RUN go mod download 18:33:33 ---> Running in 55045b685f40 18:33:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:34:00 Removing intermediate container 55045b685f40 18:34:00 ---> 33a858d094f6 18:34:00 Successfully built 33a858d094f6 18:34:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:34:00 + docker inspect -f . ci-base-image-arm64 18:34:00 . [Pipeline] withDockerContainer 18:34:00 prd-ubuntu18.04-docker-arm64-4c-16g-3623 does not seem to be running inside a container 18:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:34:02 $ docker top 8ab6cd8be5d2b46f3736fb85b8f6dd6336e8dd095b147d23db014a556b999738 -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:03 + go version 18:34:03 go version go1.16.3 linux/arm64 [Pipeline] } 18:34:03 $ docker stop --time=1 8ab6cd8be5d2b46f3736fb85b8f6dd6336e8dd095b147d23db014a556b999738 18:34:04 lf-activate-venv(): INFO: Adding /tmp/venv-Kjmo/bin to PATH 18:34:04 INFO: No Stack... 18:34:04 INFO: Retrieving Pricing Info for: v1-standard-2 18:34:04 INFO: Archiving Costs 18:34:05 $ docker rm -f 8ab6cd8be5d2b46f3736fb85b8f6dd6336e8dd095b147d23db014a556b999738 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:34:06 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv 18:34:06 + cut -d, -f6 [Pipeline] lock 18:34:06 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] 18:34:06 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] did not exist. Created. 18:34:06 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:34:06 + docker inspect -f . ci-base-image-arm64 18:34:06 . [Pipeline] withDockerContainer 18:34:06 + echo total: 0.029999999329447746 18:34:06 prd-ubuntu18.04-docker-arm64-4c-16g-3623 does not seem to be running inside a container 18:34:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/7 -v /w/workspace/app-functions-sdk-go/7:/w/workspace/app-functions-sdk-go/7:rw,z -v /w/workspace/app-functions-sdk-go/7@tmp:/w/workspace/app-functions-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:34:08 $ docker top bcbc03bbbf47f5b2cf2f9872cdd7b70be5ccb28b7af15cf525a9a5ffc2e0075e -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh 18:34:08 Stashed 1 file(s) [Pipeline] } 18:34:08 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:34:09 + go mod tidy [Pipeline] sh 18:34:10 + make test 18:34:10 make -C ./app-service-template build 18:34:10 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:34:10 go mod tidy 18:34:11 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 18:34:50 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:34:50 make -C ./app-service-template test 18:34:50 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:34:50 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 18:35:22 ok new-app-service 0.037s coverage: 47.8% of statements 18:35:22 ? new-app-service/config [no test files] 18:35:22 ok new-app-service/functions 0.028s 18:35:22 CGO_ENABLED=1 go vet ./... 18:35:49 gofmt -l . 18:35:49 [ "`gofmt -l .`" = "" ] 18:35:49 ./bin/test-go-mod-tidy.sh 18:35:49 ./bin/test-attribution-txt.sh 18:35:49 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/7/app-service-template' 18:35:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:35:49 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.068s coverage: 55.8% of statements 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.068s coverage: 92.5% of statements 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.099s coverage: 61.5% of statements 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.058s 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.097s coverage: 75.4% of statements 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements 18:35:58 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 18:35:58 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.030s coverage: 10.5% of statements 18:36:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.848s coverage: 78.4% of statements 18:36:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 18:36:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.078s coverage: 18.4% of statements 18:36:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.030s coverage: 27.3% of statements 18:36:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 18:36:05 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:36:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 71.7% of statements 18:36:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.091s coverage: 81.9% of statements 18:36:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements 18:36:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:36:34 gofmt -l . 18:36:34 [ "`gofmt -l .`" = "" ] 18:36:35 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 18:36:35 $ docker stop --time=1 bcbc03bbbf47f5b2cf2f9872cdd7b70be5ccb28b7af15cf525a9a5ffc2e0075e 18:36:37 $ docker rm -f bcbc03bbbf47f5b2cf2f9872cdd7b70be5ccb28b7af15cf525a9a5ffc2e0075e [Pipeline] // withDockerContainer [Pipeline] sh 18:36:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:36:38 Warning: overwriting stash ‘coverage-report’ 18:36:40 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 18:36:40 ---> job-cost.sh 18:36:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-PedB 18:37:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:39:28 lf-activate-venv(): INFO: Adding /tmp/venv-PedB/bin to PATH 18:39:28 INFO: No Stack... 18:39:28 INFO: Retrieving Pricing Info for: lf-standard-4 18:39:28 INFO: Archiving Costs [Pipeline] sh 18:39:29 + cut -d, -f6 18:39:29 + cat /w/workspace/app-functions-sdk-go/7/archives/cost.csv [Pipeline] lock 18:39:29 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] 18:39:29 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] did not exist. Created. 18:39:29 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:39:29 /w/workspace/app-functions-sdk-go/7@tmp/durable-4c208dd0/script.sh: 1: /w/workspace/app-functions-sdk-go/7@tmp/durable-4c208dd0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:39:30 + echo total: 0.20999999344348907 [Pipeline] stash 18:39:30 Warning: overwriting stash ‘stack-cost’ 18:39:30 Stashed 1 file(s) [Pipeline] } 18:39:30 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-818-7-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] wrap 18:39:30 provisioning config files... 18:39:30 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/config5524625621012498816tmp [Pipeline] { [Pipeline] sh 18:39:31 + set +x 18:39:31 + curl -s https://codecov.io/bash 18:39:31 + bash -s -- 18:39:31 18:39:31 _____ _ 18:39:31 / ____| | | 18:39:31 | | ___ __| | ___ ___ _____ __ 18:39:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:39:31 | |___| (_) | (_| | __/ (_| (_) \ V / 18:39:31 \_____\___/ \__,_|\___|\___\___/ \_/ 18:39:31 Bash-1.0.2 18:39:31 18:39:31 18:39:31 ==> git version 2.24.3 found 18:39:31 ==> 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 18:39:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:39:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:39:31 ==> Jenkins CI detected. 18:39:31 project root: . 18:39:31 --> token set from env 18:39:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:39:31 ==> Running gcov in . (disable via -X gcov) 18:39:31 ==> Python coveragepy not found 18:39:31 ==> Searching for coverage reports in: 18:39:31 + . 18:39:31 -> Found 2 reports 18:39:31 ==> Detecting git/mercurial file structure 18:39:31 ==> Reading reports 18:39:31 + ./app-service-template/coverage.out bytes=1055 18:39:31 + ./coverage.out bytes=86827 18:39:31 ==> Appending adjustments 18:39:31 https://docs.codecov.io/docs/fixing-reports 18:39:32 + Found adjustments 18:39:32 ==> Gzipping contents 18:39:32 16K /tmp/codecov.IIBdka.gz 18:39:32 ==> Uploading reports 18:39:32 url: https://codecov.io 18:39:32 query: branch=PR-818&commit=de4234b446d803550844c6248bc52a16687a1ca2&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-818%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= 18:39:32 -> Pinging Codecov 18:39:32 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-818&commit=de4234b446d803550844c6248bc52a16687a1ca2&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-818%2F7%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=818&job=&cmd_args= 18:39:33 -> Uploading to 18:39:33 https://storage.googleapis.com/codecov/v4/raw/2021-05-07/3D8B5DFFC46A037C893635FACE044666/de4234b446d803550844c6248bc52a16687a1ca2/681bd684-4def-4635-8f4d-4547151ed758.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T183933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23a7cd20f3abb3c12d5665fea3e95a1783dd2f23a485fdc7b6bccd0c69184b18 18:39:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:33 Dload Upload Total Spent Left Speed 18:39:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15264 0 0 100 15264 0 35662 --:--:-- --:--:-- --:--:-- 35663 100 15264 0 0 100 15264 0 35647 --:--:-- --:--:-- --:--:-- 35663 18:39:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/de4234b446d803550844c6248bc52a16687a1ca2 [Pipeline] } 18:39:33 Deleting 1 temporary files [Pipeline] // wrap [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 18:39:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:36 ---> package-listing.sh 18:39:36 ++ tr '[:upper:]' '[:lower:]' 18:39:36 ++ facter osfamily 18:39:36 + OS_FAMILY=redhat 18:39:36 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-818 18:39:36 + START_PACKAGES=/tmp/packages_start.txt 18:39:36 + END_PACKAGES=/tmp/packages_end.txt 18:39:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:36 + PACKAGES=/tmp/packages_start.txt 18:39:36 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-818 ']' 18:39:36 + PACKAGES=/tmp/packages_end.txt 18:39:36 + case "${OS_FAMILY}" in 18:39:36 + rpm -qa 18:39:36 + sort 18:39:43 + '[' -f /tmp/packages_start.txt ']' 18:39:43 + '[' -f /tmp/packages_end.txt ']' 18:39:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:43 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-818 ']' 18:39:43 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-818/archives/ 18:39:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-818/archives/ [Pipeline] echo 18:39:43 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-818/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:39:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:39:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:44 18:39:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 18:39:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:39:45 alpine: Pulling from edgex-lftools-log-publisher 18:39:45 df20fa9351a1: Pulling fs layer 18:39:45 36b3adc4ff6f: Pulling fs layer 18:39:45 8ad3a11d3b57: Pulling fs layer 18:39:45 46f8f816bc3b: Pulling fs layer 18:39:45 93b61091891f: Pulling fs layer 18:39:45 93b9cdb0e59b: Pulling fs layer 18:39:45 5e14af77c1be: Pulling fs layer 18:39:45 01666e4c0597: Pulling fs layer 18:39:45 aa168da1d23b: Pulling fs layer 18:39:45 93b9cdb0e59b: Waiting 18:39:45 5e14af77c1be: Waiting 18:39:45 01666e4c0597: Waiting 18:39:45 aa168da1d23b: Waiting 18:39:45 46f8f816bc3b: Waiting 18:39:45 93b61091891f: Waiting 18:39:45 36b3adc4ff6f: Verifying Checksum 18:39:45 36b3adc4ff6f: Download complete 18:39:45 46f8f816bc3b: Verifying Checksum 18:39:45 46f8f816bc3b: Download complete 18:39:45 df20fa9351a1: Verifying Checksum 18:39:45 df20fa9351a1: Download complete 18:39:45 93b9cdb0e59b: Verifying Checksum 18:39:45 93b9cdb0e59b: Download complete 18:39:45 5e14af77c1be: Verifying Checksum 18:39:45 5e14af77c1be: Download complete 18:39:45 93b61091891f: Verifying Checksum 18:39:45 93b61091891f: Download complete 18:39:45 01666e4c0597: Verifying Checksum 18:39:45 01666e4c0597: Download complete 18:39:46 8ad3a11d3b57: Verifying Checksum 18:39:46 8ad3a11d3b57: Download complete 18:39:46 df20fa9351a1: Pull complete 18:39:46 36b3adc4ff6f: Pull complete 18:39:48 8ad3a11d3b57: Pull complete 18:39:48 46f8f816bc3b: Pull complete 18:39:49 93b61091891f: Pull complete 18:39:50 93b9cdb0e59b: Pull complete 18:39:50 5e14af77c1be: Pull complete 18:39:50 aa168da1d23b: Verifying Checksum 18:39:50 aa168da1d23b: Download complete 18:39:50 01666e4c0597: Pull complete 18:40:09 aa168da1d23b: Pull complete 18:40:09 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 18:40:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 18:40:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 18:40:09 prd-centos7-docker-4c-2g-3601 does not seem to be running inside a container 18:40:09 $ 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-818/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-818 -v /w/workspace/ndry_app-functions-sdk-go_PR-818:/w/workspace/ndry_app-functions-sdk-go_PR-818:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-818@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-818@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 18:40:12 $ docker top 390440fe9a752fac138579b80b4ba017a529325f955cb6c91d53ab9ccc318a14 -eo pid,comm [Pipeline] { [Pipeline] sh 18:40:13 + touch /tmp/pre-build-complete [Pipeline] sh 18:40:13 + mkdir -p /var/log/sa [Pipeline] sh 18:40:14 + ls /var/log/sa-host 18:40:14 + sadf -c /var/log/sa-host/sa07 18:40:14 file_magic: OK 18:40:14 HZ: Using current value: 100 18:40:14 file_header: OK 18:40:14 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 18:40:14 Statistics: 18:40:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:40:14 File successfully converted to sysstat format version 12.2.1 18:40:14 + sadf -c /var/log/sa-host/sa23 18:40:14 file_magic: OK 18:40:14 HZ: Using current value: 100 18:40:14 file_header: OK 18:40:14 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 18:40:14 Statistics: 18:40:14 Hnuu...uuuununununu... 18:40:14 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:14 provisioning config files... 18:40:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-818@tmp/config6102794502131278543tmp [Pipeline] { [Pipeline] echo 18:40:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:40:14 ---> create-netrc.sh [Pipeline] } 18:40:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:40:15 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:40:15 ---> python-tools-install.sh [Pipeline] echo 18:40:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:40:16 ---> sudo-logs.sh 18:40:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:40:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:40:17 ---> job-cost.sh 18:40:17 lf-activate-venv: SKIPPING 18:40:17 DEBUG: total: 0.20999999344348907 18:40:17 INFO: Retrieving Stack Cost... 18:40:18 INFO: Retrieving Pricing Info for: v1-standard-2 18:40:19 INFO: Archiving Costs [Pipeline] echo 18:40:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:40:19 ---> logs-deploy.sh 18:40:19 lf-activate-venv: SKIPPING 18:40:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-818/7 18:40:19 INFO: archiving workspace using pattern(s): 18:40:23 Archives upload complete. 18:40:23 INFO: archiving logs to Nexus