Pull request #942 updated Connecting to https://api.github.com using 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 39b9db1dbcbfb947209119f0f3182f92b1e83e0f+262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe (eceb3326799daf87243fbd7c8276a5f3010d2f60) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2126567160456555814.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8672376154727102054.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-942/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-942/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1197198206025292764.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1433263539702782886.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-942/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-942/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2215421865316786666.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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_BUILD_IMAGE_TARGET: builder 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 ‘prd-centos7-docker-4c-2g-1889’ Running on prd-centos7-docker-4c-2g-1897 in /w/workspace/ndry_app-functions-sdk-go_PR-942 [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-942 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/jenkins-gitclient-ssh4238320422675687394.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/jenkins-gitclient-ssh9101896129301319027.key Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit 39b9db1dbcbfb947209119f0f3182f92b1e83e0f Merge succeeded, producing de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4 Checking out Revision de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4 (PR-942) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 39b9db1dbcbfb947209119f0f3182f92b1e83e0f # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/jenkins-gitclient-ssh8833328103199532281.key > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4 # timeout=10 Commit message: "Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:19 ========================================================= 23:18:19 EdgeX Global Pipelines Version Info 23:18:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:20 ------------------- 23:18:20 stable info: 23:18:20 ------------------- 23:18:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:20 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:18:20 Message: update stable to v1.0.205 23:18:21 ------------------- 23:18:21 experimental info: 23:18:21 ------------------- 23:18:21 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:21 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 23:18:21 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-942 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-942 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-942 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de4ce59 [Pipeline] echo 23:18:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:24 + git log --format=format:%s -1 de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4 [Pipeline] echo 23:18:24 GIT_COMMIT: de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4, Commit Message: Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD [Pipeline] echo 23:18:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:18:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:18:25 23:18:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:18:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:18:27 latest: Pulling from edgex-devops/git-semver 23:18:27 31603596830f: Pulling fs layer 23:18:27 04fac38145f0: Pulling fs layer 23:18:27 701f6daf10bf: Pulling fs layer 23:18:27 24f72da36158: Pulling fs layer 23:18:27 24f72da36158: Waiting 23:18:27 04fac38145f0: Verifying Checksum 23:18:27 04fac38145f0: Download complete 23:18:27 31603596830f: Verifying Checksum 23:18:27 31603596830f: Download complete 23:18:27 24f72da36158: Verifying Checksum 23:18:27 24f72da36158: Download complete 23:18:27 31603596830f: Pull complete 23:18:27 701f6daf10bf: Verifying Checksum 23:18:27 701f6daf10bf: Download complete 23:18:27 04fac38145f0: Pull complete 23:18:27 701f6daf10bf: Pull complete 23:18:27 24f72da36158: Pull complete 23:18:27 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 23:18:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:18:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:18:27 prd-centos7-docker-4c-2g-1897 does not seem to be running inside a container 23:18:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-942 -v /w/workspace/ndry_app-functions-sdk-go_PR-942:/w/workspace/ndry_app-functions-sdk-go_PR-942:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-942@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:10004/edgex-devops/git-semver:latest cat 23:18:28 $ docker top 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:28 [ssh-agent] Looking for ssh-agent implementation... 23:18:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:28 $ docker exec 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 ssh-agent 23:18:28 SSH_AUTH_SOCK=/tmp/ssh-Zz3Ndm1gab5A/agent.14 23:18:28 SSH_AGENT_PID=20 23:18:28 Running ssh-add (command line suppressed) 23:18:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_8678192138031913584.key (/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_8678192138031913584.key) 23:18:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:29 + git tag --points-at HEAD [Pipeline] } 23:18:29 $ docker exec --env ******** --env ******** 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 ssh-agent -k 23:18:29 unset SSH_AUTH_SOCK; 23:18:29 unset SSH_AGENT_PID; 23:18:29 echo Agent pid 20 killed; 23:18:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:29 [ssh-agent] Looking for ssh-agent implementation... 23:18:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:29 $ docker exec 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 ssh-agent 23:18:29 SSH_AUTH_SOCK=/tmp/ssh-Marom45E7gVU/agent.54 23:18:29 SSH_AGENT_PID=60 23:18:29 Running ssh-add (command line suppressed) 23:18:29 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_2238067195208983954.key (/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/private_key_2238067195208983954.key) 23:18:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:30 + git semver init 23:18:30 # -> Open(): unable to determine branch for HEAD 23:18:30 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-942/.git 23:18:30 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-942 23:18:30 # $SEMVER_REMOTE_NAME = origin 23:18:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:18:30 # $SEMVER_USER_NAME = edgex-jenkins 23:18:30 # $SEMVER_BRANCH = PR-942 23:18:30 # $SEMVER_TEMP = /tmp/semver-918540076 23:18:30 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:18:32 # '/tmp/semver-918540076' -> '/w/workspace/ndry_app-functions-sdk-go_PR-942/.semver' 23:18:32 # -> Force: false 23:18:32 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-942/.semver [Pipeline] } 23:18:32 $ docker exec --env ******** --env ******** 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 ssh-agent -k 23:18:33 unset SSH_AUTH_SOCK; 23:18:33 unset SSH_AGENT_PID; 23:18:33 echo Agent pid 60 killed; 23:18:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:33 + git semver [Pipeline] } 23:18:33 $ docker stop --time=1 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 23:18:34 $ docker rm -f 1b6ad4b937d7aab3c9584b7e2af9223f12fa784ff502d92b7de0aaf9581400d2 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:35 Stashed 1 file(s) [Pipeline] echo 23:18:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:18:52 Still waiting to schedule task 23:18:52 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:18:52 Still waiting to schedule task 23:18:52 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1892’ is offline 23:20:36 Running on prd-centos7-docker-4c-2g-1902 in /w/workspace/ndry_app-functions-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 23:20:36 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:20:36 The recommended git tool is: git 23:20:40 using credential edgex-jenkins-ssh 23:20:41 Cloning the remote Git repository 23:20:41 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:20:41 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:20:41 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:20:41 > git --version # timeout=10 23:20:41 > git --version # 'git version 2.24.4' 23:20:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:41 [INFO] Currently running in a labeled security context 23:20:41 [INFO] Currently SELinux is 'enforcing' on the host 23:20:41 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4592064523363707787.key 23:20:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:43 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit 39b9db1dbcbfb947209119f0f3182f92b1e83e0f 23:20:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:20:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:42 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:20:42 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:20:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:42 [INFO] Currently running in a labeled security context 23:20:42 [INFO] Currently SELinux is 'enforcing' on the host 23:20:42 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh221198472185731810.key 23:20:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:20:43 > git config core.sparsecheckout # timeout=10 23:20:43 > git checkout -f 39b9db1dbcbfb947209119f0f3182f92b1e83e0f # timeout=10 23:20:44 Merge succeeded, producing 91951fc4dcf43e0eae167000f15f1671eb44f86c 23:20:44 Checking out Revision 91951fc4dcf43e0eae167000f15f1671eb44f86c (PR-942) 23:20:44 > git remote # timeout=10 23:20:44 > git config --get remote.origin.url # timeout=10 23:20:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:44 [INFO] Currently running in a labeled security context 23:20:44 [INFO] Currently SELinux is 'enforcing' on the host 23:20:44 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh9201943613787658885.key 23:20:44 > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 23:20:44 > git rev-parse HEAD^{commit} # timeout=10 23:20:44 > git config core.sparsecheckout # timeout=10 23:20:44 > git checkout -f 91951fc4dcf43e0eae167000f15f1671eb44f86c # timeout=10 23:20:48 Commit message: "Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD" 23:20:48 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:20:49 ========================================================= 23:20:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:20:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:20:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:20:49 540db60ca938: Pulling fs layer 23:20:49 adcc1eea9eea: Pulling fs layer 23:20:49 4c4ab2625f07: Pulling fs layer 23:20:49 db62176df00c: Pulling fs layer 23:20:49 3b30891b0d05: Pulling fs layer 23:20:49 06b49ca38bd5: Pulling fs layer 23:20:49 c788192a36de: Pulling fs layer 23:20:49 a77e37c0d609: Pulling fs layer 23:20:49 c3185cebc471: Pulling fs layer 23:20:49 06b49ca38bd5: Waiting 23:20:49 c788192a36de: Waiting 23:20:49 a77e37c0d609: Waiting 23:20:49 c3185cebc471: Waiting 23:20:49 db62176df00c: Waiting 23:20:49 3b30891b0d05: Waiting 23:20:49 4c4ab2625f07: Verifying Checksum 23:20:49 4c4ab2625f07: Download complete 23:20:49 adcc1eea9eea: Download complete 23:20:49 3b30891b0d05: Verifying Checksum 23:20:49 3b30891b0d05: Download complete 23:20:49 540db60ca938: Verifying Checksum 23:20:49 540db60ca938: Download complete 23:20:49 c788192a36de: Verifying Checksum 23:20:49 c788192a36de: Download complete 23:20:50 06b49ca38bd5: Verifying Checksum 23:20:50 06b49ca38bd5: Download complete 23:20:50 540db60ca938: Pull complete 23:20:50 adcc1eea9eea: Pull complete 23:20:50 a77e37c0d609: Verifying Checksum 23:20:50 a77e37c0d609: Download complete 23:20:50 4c4ab2625f07: Pull complete 23:20:55 c3185cebc471: Verifying Checksum 23:20:55 c3185cebc471: Download complete 23:20:55 db62176df00c: Verifying Checksum 23:20:55 db62176df00c: Download complete 23:20:57 db62176df00c: Pull complete 23:20:57 3b30891b0d05: Pull complete 23:20:57 06b49ca38bd5: Pull complete 23:20:57 c788192a36de: Pull complete 23:20:57 a77e37c0d609: Pull complete 23:20:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1900 in /w/workspace/ndry_app-functions-sdk-go_PR-942 [Pipeline] { [Pipeline] ws 23:20:58 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 23:20:59 The recommended git tool is: git 23:20:59 c3185cebc471: Pull complete 23:20:59 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 23:20:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:20:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 23:20:59 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:21:00 + docker inspect -f . ci-base-image-x86_64 23:21:00 . [Pipeline] withDockerContainer 23:21:00 prd-centos7-docker-4c-2g-1902 does not seem to be running inside a container 23:21:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:21:04 $ docker top ae68600438005986a354cd046186143cc14d645b410f297dccef804344556b89 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:04 + go version 23:21:04 go version go1.16.6 linux/amd64 [Pipeline] } 23:21:04 $ docker stop --time=1 ae68600438005986a354cd046186143cc14d645b410f297dccef804344556b89 23:21:05 $ docker rm -f ae68600438005986a354cd046186143cc14d645b410f297dccef804344556b89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 23:21:06 using credential edgex-jenkins-ssh 23:21:06 Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:06 + docker inspect -f . ci-base-image-x86_64 23:21:06 . [Pipeline] withDockerContainer 23:21:06 prd-centos7-docker-4c-2g-1902 does not seem to be running inside a container 23:21:06 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:21:06 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 23:21:06 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:21:06 > git --version # timeout=10 23:21:06 > git --version # 'git version 2.17.1' 23:21:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:21:07 $ docker top 52db905632250720777ee6ee2a3f45bd8bcf308ee8cbb33b6f51fbf3dbabb162 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:21:07 + make test 23:21:07 make -C ./app-service-template build 23:21:07 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:21:07 go mod tidy 23:21:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:21:08 go: downloading github.com/stretchr/testify v1.7.0 23:21:08 go: downloading github.com/google/uuid v1.3.0 23:21:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:21:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:21:08 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:21:08 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:21:08 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:21:08 go: downloading github.com/davecgh/go-spew v1.1.1 23:21:08 go: downloading github.com/pmezard/go-difflib v1.0.0 23:21:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:21:08 go: downloading github.com/stretchr/objx v0.1.0 23:21:08 go: downloading github.com/go-kit/kit v0.9.0 23:21:08 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:21:08 go: downloading gopkg.in/yaml.v2 v2.4.0 23:21:08 go: downloading github.com/gorilla/mux v1.8.0 23:21:08 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:21:08 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:21:08 go: downloading github.com/mitchellh/copystructure v1.0.0 23:21:08 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:21:08 go: downloading github.com/gorilla/websocket v1.4.2 23:21:08 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:21:08 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:21:08 go: downloading github.com/go-playground/universal-translator v0.17.0 23:21:08 go: downloading github.com/leodido/go-urn v1.2.0 23:21:08 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:21:08 go: downloading golang.org/x/text v0.3.2 23:21:08 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:21:08 go: downloading github.com/go-playground/locales v0.13.0 23:21:09 go: downloading github.com/pelletier/go-toml v1.9.2 23:21:09 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:21:09 go: downloading github.com/go-stack/stack v1.8.0 23:21:09 go: downloading github.com/hashicorp/consul/api v1.8.1 23:21:09 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:21:09 go: downloading github.com/x448/float16 v0.8.4 23:21:09 go: downloading github.com/kr/pretty v0.2.0 23:21:09 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:21:09 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:21:09 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:21:09 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:21:09 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:21:09 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:21:09 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:21:10 go: downloading github.com/hashicorp/serf v0.9.5 23:21:10 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:21:10 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:21:10 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:21:10 go: downloading github.com/kr/text v0.1.0 23:21:10 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:21:10 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:21:10 go: downloading github.com/pebbe/zmq4 v1.2.7 23:21:10 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:21:10 go: downloading github.com/fatih/color v1.9.0 23:21:10 go: downloading github.com/mattn/go-colorable v0.1.6 23:21:10 go: downloading github.com/mattn/go-isatty v0.0.12 23:21:10 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:21:10 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:21:10 go: downloading github.com/pkg/errors v0.8.1 23:21:10 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:21:10 go: downloading github.com/hashicorp/memberlist v0.2.2 23:21:10 go: downloading github.com/onsi/ginkgo v1.10.1 23:21:10 go: downloading github.com/onsi/gomega v1.7.0 23:21:10 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:21:10 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:21:10 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:21:10 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:21:10 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:21:10 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:21:10 go: downloading github.com/miekg/dns v1.1.26 23:21:10 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:21:10 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:21:10 go: downloading github.com/hashicorp/errwrap v1.0.0 23:21:10 go: downloading github.com/hpcloud/tail v1.0.0 23:21:10 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:21:10 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:21:10 go: downloading github.com/golang/protobuf v1.3.2 23:21:10 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:21:10 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:21:10 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:21:10 Merging remotes/origin/main commit 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe into PR head commit 39b9db1dbcbfb947209119f0f3182f92b1e83e0f 23:21:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:21:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:21:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:21:10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:21:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/942/head:refs/remotes/origin/PR-942 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:21:10 > git config core.sparsecheckout # timeout=10 23:21:10 > git checkout -f 39b9db1dbcbfb947209119f0f3182f92b1e83e0f # timeout=10 23:21:10 > git remote # timeout=10 23:21:10 > git config --get remote.origin.url # timeout=10 23:21:11 Merge succeeded, producing cb4227b55b62e7c1631f043d42d3b1c349db6b46 23:21:11 Checking out Revision cb4227b55b62e7c1631f043d42d3b1c349db6b46 (PR-942) 23:21:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:21:10 > git merge 262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe # timeout=10 23:21:10 > git rev-parse HEAD^{commit} # timeout=10 23:21:11 > git config core.sparsecheckout # timeout=10 23:21:11 > git checkout -f cb4227b55b62e7c1631f043d42d3b1c349db6b46 # timeout=10 23:21:15 Commit message: "Merge commit '262cc6aa5531b14f4b25fa45b49e9ec6b31b4cbe' into HEAD" 23:21:15 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 23:21:17 ========================================================= 23:21:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:21:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:21:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:21:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:21:19 595b0fe564bb: Pulling fs layer 23:21:19 24495759ef45: Pulling fs layer 23:21:19 d148012ef14d: Pulling fs layer 23:21:19 e90a11edd702: Pulling fs layer 23:21:19 d77568369979: Pulling fs layer 23:21:19 fc1c9f9a7f3b: Pulling fs layer 23:21:19 170f2ba95c9a: Pulling fs layer 23:21:19 97ac5df62f85: Pulling fs layer 23:21:19 fc1c9f9a7f3b: Waiting 23:21:19 e90a11edd702: Waiting 23:21:19 d77568369979: Waiting 23:21:19 170f2ba95c9a: Waiting 23:21:19 97ac5df62f85: Waiting 23:21:19 d148012ef14d: Download complete 23:21:20 24495759ef45: Verifying Checksum 23:21:20 24495759ef45: Download complete 23:21:20 d77568369979: Verifying Checksum 23:21:20 d77568369979: Download complete 23:21:20 fc1c9f9a7f3b: Verifying Checksum 23:21:20 fc1c9f9a7f3b: Download complete 23:21:20 170f2ba95c9a: Download complete 23:21:20 595b0fe564bb: Verifying Checksum 23:21:20 595b0fe564bb: Download complete 23:21:20 595b0fe564bb: Pull complete 23:21:21 24495759ef45: Pull complete 23:21:21 d148012ef14d: Pull complete 23:21:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:21:22 make -C ./app-service-template test 23:21:22 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:21:22 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:21:22 97ac5df62f85: Verifying Checksum 23:21:22 97ac5df62f85: Download complete 23:21:23 e90a11edd702: Verifying Checksum 23:21:23 e90a11edd702: Download complete 23:21:30 ok new-app-service 0.012s coverage: 48.1% of statements 23:21:30 ? new-app-service/config [no test files] 23:21:30 ok new-app-service/functions 0.007s 23:21:30 CGO_ENABLED=1 go vet ./... 23:21:36 e90a11edd702: Pull complete 23:21:36 d77568369979: Pull complete 23:21:36 fc1c9f9a7f3b: Pull complete 23:21:36 170f2ba95c9a: Pull complete 23:21:37 gofmt -l . 23:21:37 [ "`gofmt -l .`" = "" ] 23:21:37 ./bin/test-attribution-txt.sh 23:21:37 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:21:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:21:37 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:21:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.013s coverage: 65.4% of statements 23:21:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.011s coverage: 93.2% of statements 23:21:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:21:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.021s coverage: 61.8% of statements 23:21:39 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:21:39 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.013s 23:21:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.071s coverage: 75.2% of statements 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:21:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.002s coverage: 97.3% of statements 23:21:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:21:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements 23:21:41 97ac5df62f85: Pull complete 23:21:41 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 23:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:21:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 23:21:42 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:21:42 + docker inspect -f . ci-base-image-arm64 23:21:42 . [Pipeline] withDockerContainer 23:21:42 prd-ubuntu18.04-docker-arm64-4c-16g-1900 does not seem to be running inside a container 23:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.046s coverage: 77.0% of statements 23:21:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:21:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.011s coverage: 12.5% of statements 23:21:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements 23:21:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:21:45 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:21:45 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements 23:21:49 $ docker top 40baf3f96a26e15ed8025a9a794efac98baa9012c13dbbaf94fff18c9db95d76 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:50 + go version 23:21:50 go version go1.16.6 linux/arm64 [Pipeline] } 23:21:50 $ docker stop --time=1 40baf3f96a26e15ed8025a9a794efac98baa9012c13dbbaf94fff18c9db95d76 23:21:55 $ docker rm -f 40baf3f96a26e15ed8025a9a794efac98baa9012c13dbbaf94fff18c9db95d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:21:55 + docker inspect -f . ci-base-image-arm64 23:21:55 . [Pipeline] withDockerContainer 23:21:56 prd-ubuntu18.04-docker-arm64-4c-16g-1900 does not seem to be running inside a container 23:21:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:58 $ docker top 57f0261fd0e3d8add5ae2e20ec7c3463d32fa3995c45740503f1cd6bc518aca8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:21:59 + make test 23:21:59 make -C ./app-service-template build 23:21:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:21:59 go mod tidy 23:22:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 23:22:00 go: downloading github.com/google/uuid v1.3.0 23:22:00 go: downloading github.com/stretchr/testify v1.7.0 23:22:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 23:22:00 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 23:22:00 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 23:22:00 go: downloading github.com/davecgh/go-spew v1.1.1 23:22:00 go: downloading github.com/pmezard/go-difflib v1.0.0 23:22:01 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:22:01 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 23:22:01 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:22:01 go: downloading github.com/go-playground/validator/v10 v10.6.1 23:22:01 go: downloading github.com/stretchr/objx v0.1.0 23:22:01 go: downloading github.com/go-kit/kit v0.9.0 23:22:01 go: downloading gopkg.in/yaml.v2 v2.4.0 23:22:01 go: downloading github.com/gorilla/mux v1.8.0 23:22:01 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 23:22:01 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 23:22:01 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:22:01 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:22:01 go: downloading github.com/mitchellh/copystructure v1.0.0 23:22:01 go: downloading github.com/gorilla/websocket v1.4.2 23:22:01 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:22:01 go: downloading github.com/hashicorp/consul/api v1.8.1 23:22:01 go: downloading github.com/go-playground/universal-translator v0.17.0 23:22:01 go: downloading github.com/leodido/go-urn v1.2.0 23:22:01 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 23:22:01 go: downloading golang.org/x/text v0.3.2 23:22:02 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:22:02 go: downloading github.com/go-playground/locales v0.13.0 23:22:05 go: downloading github.com/pelletier/go-toml v1.9.2 23:22:05 go: downloading github.com/kr/pretty v0.2.0 23:22:05 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:22:05 go: downloading github.com/x448/float16 v0.8.4 23:22:05 go: downloading github.com/go-logfmt/logfmt v0.4.0 23:22:05 go: downloading github.com/go-stack/stack v1.8.0 23:22:05 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:22:05 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:22:05 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:22:05 go: downloading github.com/hashicorp/serf v0.9.5 23:22:05 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:22:05 go: downloading github.com/hashicorp/consul/sdk v0.7.0 23:22:05 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:22:05 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:22:05 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:22:05 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:22:05 go: downloading github.com/kr/text v0.1.0 23:22:05 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 23:22:05 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:22:05 go: downloading github.com/fatih/color v1.9.0 23:22:05 go: downloading github.com/mattn/go-colorable v0.1.6 23:22:05 go: downloading github.com/mattn/go-isatty v0.0.12 23:22:05 go: downloading github.com/pkg/errors v0.8.1 23:22:05 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 23:22:05 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:22:05 go: downloading github.com/pebbe/zmq4 v1.2.7 23:22:05 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:22:06 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:22:06 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:22:06 go: downloading github.com/hashicorp/memberlist v0.2.2 23:22:06 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:22:06 go: downloading github.com/onsi/ginkgo v1.10.1 23:22:06 go: downloading github.com/onsi/gomega v1.7.0 23:22:06 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:22:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:22:06 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:22:06 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:22:06 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:22:06 go: downloading github.com/miekg/dns v1.1.26 23:22:06 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:22:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:22:06 go: downloading github.com/hashicorp/errwrap v1.0.0 23:22:06 go: downloading github.com/hpcloud/tail v1.0.0 23:22:06 go: downloading github.com/golang/protobuf v1.3.2 23:22:06 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 23:22:06 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:22:06 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:22:07 go: downloading github.com/fsnotify/fsnotify v1.4.7 23:22:07 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 23:22:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.034s coverage: 77.3% of statements 23:22:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements 23:22:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:22:12 gofmt -l . 23:22:12 [ "`gofmt -l .`" = "" ] [Pipeline] } 23:22:12 $ docker stop --time=1 52db905632250720777ee6ee2a3f45bd8bcf308ee8cbb33b6f51fbf3dbabb162 23:22:13 $ docker rm -f 52db905632250720777ee6ee2a3f45bd8bcf308ee8cbb33b6f51fbf3dbabb162 [Pipeline] // withDockerContainer [Pipeline] sh 23:22:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:22:14 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:22:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:15 23:22:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:22:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:15 latest: Pulling from edgex-lftools-log-publisher 23:22:15 b4d181a07f80: Pulling fs layer 23:22:15 a1111a8f2ec3: Pulling fs layer 23:22:15 ed53099fbce6: Pulling fs layer 23:22:15 dc539afda2c1: Pulling fs layer 23:22:15 77bc0d833cb6: Pulling fs layer 23:22:15 9065ff56babe: Pulling fs layer 23:22:15 d287ab97295c: Pulling fs layer 23:22:15 77bc0d833cb6: Waiting 23:22:15 9065ff56babe: Waiting 23:22:15 d287ab97295c: Waiting 23:22:15 dc539afda2c1: Waiting 23:22:15 a1111a8f2ec3: Verifying Checksum 23:22:15 a1111a8f2ec3: Download complete 23:22:15 dc539afda2c1: Verifying Checksum 23:22:15 dc539afda2c1: Download complete 23:22:16 77bc0d833cb6: Verifying Checksum 23:22:16 77bc0d833cb6: Download complete 23:22:16 9065ff56babe: Verifying Checksum 23:22:16 9065ff56babe: Download complete 23:22:16 ed53099fbce6: Verifying Checksum 23:22:16 ed53099fbce6: Download complete 23:22:17 b4d181a07f80: Verifying Checksum 23:22:17 b4d181a07f80: Download complete 23:22:18 b4d181a07f80: Pull complete 23:22:18 a1111a8f2ec3: Pull complete 23:22:18 ed53099fbce6: Pull complete 23:22:18 dc539afda2c1: Pull complete 23:22:19 77bc0d833cb6: Pull complete 23:22:19 9065ff56babe: Pull complete 23:22:20 d287ab97295c: Download complete 23:22:25 d287ab97295c: Pull complete 23:22:25 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:22:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:22:25 prd-centos7-docker-4c-2g-1902 does not seem to be running inside a container 23:22:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:22:27 $ docker top 5467ff1270c085658b5070193facfd6b325e3b85241bc932c66d08cf3a9e4d97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:28 ---> job-cost.sh 23:22:28 lf-activate-venv: SKIPPING 23:22:28 INFO: No Stack... 23:22:29 INFO: Retrieving Pricing Info for: v3-standard-2 23:22:29 INFO: Archiving Costs [Pipeline] sh 23:22:29 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 23:22:29 + cut -d, -f6 [Pipeline] lock 23:22:29 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] 23:22:29 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] did not exist. Created. 23:22:29 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:30 + echo total: 0.05999999865889549 [Pipeline] stash 23:22:30 Stashed 1 file(s) [Pipeline] } 23:22:30 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:30 $ docker stop --time=1 5467ff1270c085658b5070193facfd6b325e3b85241bc932c66d08cf3a9e4d97 23:22:32 $ docker rm -f 5467ff1270c085658b5070193facfd6b325e3b85241bc932c66d08cf3a9e4d97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:22:46 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:22:46 make -C ./app-service-template test 23:22:46 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:22:46 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 23:23:14 ok new-app-service 0.046s coverage: 48.1% of statements 23:23:14 ? new-app-service/config [no test files] 23:23:14 ok new-app-service/functions 0.041s 23:23:14 CGO_ENABLED=1 go vet ./... 23:23:41 gofmt -l . 23:23:41 [ "`gofmt -l .`" = "" ] 23:23:41 ./bin/test-attribution-txt.sh 23:23:43 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 23:23:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:23:44 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.116s coverage: 65.4% of statements 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 93.2% of statements 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.088s coverage: 61.8% of statements 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.069s 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.109s coverage: 75.2% of statements 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.3% of statements 23:23:53 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:23:53 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.058s coverage: 10.5% of statements 23:24:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.174s coverage: 77.0% of statements 23:24:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:24:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.110s coverage: 12.5% of statements 23:24:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.047s coverage: 27.3% of statements 23:24:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 23:24:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 23:24:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 51.4% of statements 23:24:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.126s coverage: 77.3% of statements 23:24:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.034s coverage: 94.4% of statements 23:24:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:24:30 gofmt -l . 23:24:30 [ "`gofmt -l .`" = "" ] [Pipeline] } 23:24:31 $ docker stop --time=1 57f0261fd0e3d8add5ae2e20ec7c3463d32fa3995c45740503f1cd6bc518aca8 23:24:33 $ docker rm -f 57f0261fd0e3d8add5ae2e20ec7c3463d32fa3995c45740503f1cd6bc518aca8 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:36 Warning: overwriting stash ‘coverage-report’ 23:24:37 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:24:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:24:38 23:24:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:24:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:24:38 arm64: Pulling from edgex-lftools-log-publisher 23:24:38 448f6bf000e3: Pulling fs layer 23:24:38 f757da607395: Pulling fs layer 23:24:38 05883995daec: Pulling fs layer 23:24:38 8603b9c90790: Pulling fs layer 23:24:38 1560dd03e051: Pulling fs layer 23:24:38 27f5ce0e4adf: Pulling fs layer 23:24:38 c2d8d7efcc4b: Pulling fs layer 23:24:38 8603b9c90790: Waiting 23:24:38 1560dd03e051: Waiting 23:24:38 27f5ce0e4adf: Waiting 23:24:38 c2d8d7efcc4b: Waiting 23:24:39 f757da607395: Verifying Checksum 23:24:39 f757da607395: Download complete 23:24:39 8603b9c90790: Verifying Checksum 23:24:39 8603b9c90790: Download complete 23:24:39 1560dd03e051: Verifying Checksum 23:24:39 1560dd03e051: Download complete 23:24:39 27f5ce0e4adf: Verifying Checksum 23:24:39 27f5ce0e4adf: Download complete 23:24:39 05883995daec: Verifying Checksum 23:24:39 05883995daec: Download complete 23:24:40 448f6bf000e3: Verifying Checksum 23:24:40 448f6bf000e3: Download complete 23:24:43 c2d8d7efcc4b: Verifying Checksum 23:24:43 c2d8d7efcc4b: Download complete 23:24:43 448f6bf000e3: Pull complete 23:24:47 f757da607395: Pull complete 23:24:47 05883995daec: Pull complete 23:24:47 8603b9c90790: Pull complete 23:24:47 1560dd03e051: Pull complete 23:24:47 27f5ce0e4adf: Pull complete 23:25:01 c2d8d7efcc4b: Pull complete 23:25:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:25:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:25:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:25:01 prd-ubuntu18.04-docker-arm64-4c-16g-1900 does not seem to be running inside a container 23:25:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:25:07 $ docker top e829180fa6208d3f403a714f0534a84ccb7dd9e599ca23175b453674ee9e6406 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:08 ---> job-cost.sh 23:25:08 lf-activate-venv: SKIPPING 23:25:08 INFO: No Stack... 23:25:08 INFO: Retrieving Pricing Info for: v3-standard-4 23:25:09 INFO: Archiving Costs [Pipeline] sh 23:25:09 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 23:25:09 + cut -d, -f6 [Pipeline] lock 23:25:09 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] 23:25:10 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] did not exist. Created. 23:25:10 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:25:10 /w/workspace/app-functions-sdk-go/2@tmp/durable-ff1214d6/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-ff1214d6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:25:13 + echo total: 0.10999999940395355 [Pipeline] stash 23:25:13 Warning: overwriting stash ‘stack-cost’ 23:25:13 Stashed 1 file(s) [Pipeline] } 23:25:13 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-942-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:25:13 $ docker stop --time=1 e829180fa6208d3f403a714f0534a84ccb7dd9e599ca23175b453674ee9e6406 23:25:15 $ docker rm -f e829180fa6208d3f403a714f0534a84ccb7dd9e599ca23175b453674ee9e6406 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 23:25:16 provisioning config files... 23:25:16 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/config6439363590688706748tmp [Pipeline] { [Pipeline] sh 23:25:16 + set +x 23:25:16 + curl -s https://codecov.io/bash 23:25:16 + bash -s -- 23:25:16 23:25:16 _____ _ 23:25:16 / ____| | | 23:25:16 | | ___ __| | ___ ___ _____ __ 23:25:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:25:16 | |___| (_) | (_| | __/ (_| (_) \ V / 23:25:16 \_____\___/ \__,_|\___|\___\___/ \_/ 23:25:16 Bash-1.0.6 23:25:16 23:25:16 23:25:16 ==> git version 2.24.4 found 23:25:16 ==> 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 23:25:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 23:25:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 23:25:16 ==> Jenkins CI detected. 23:25:16 current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-942 23:25:16 project root: . 23:25:16 --> token set from env 23:25:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:25:17 ==> Running gcov in . (disable via -X gcov) 23:25:17 ==> Python coveragepy not found 23:25:17 ==> Searching for coverage reports in: 23:25:17 + . 23:25:17 -> Found 2 reports 23:25:17 ==> Detecting git/mercurial file structure 23:25:17 ==> Reading reports 23:25:17 + ./app-service-template/coverage.out bytes=1219 23:25:17 + ./coverage.out bytes=100525 23:25:17 ==> Appending adjustments 23:25:17 https://docs.codecov.io/docs/fixing-reports 23:25:17 + Found adjustments 23:25:17 ==> Gzipping contents 23:25:17 20K /tmp/codecov.vxg4u8.gz 23:25:17 ==> Uploading reports 23:25:17 url: https://codecov.io 23:25:17 query: branch=PR-942&commit=de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-942%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=942&job=&cmd_args= 23:25:17 -> Pinging Codecov 23:25:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-942&commit=de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-942%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=942&job=&cmd_args= 23:25:17 -> Uploading to 23:25:17 https://storage.googleapis.com/codecov/v4/raw/2021-09-09/3D8B5DFFC46A037C893635FACE044666/de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4/9f3ead6b-4aae-48b4-bdbf-037aba5acf20.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210909%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210909T232517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c2ca7cac84d362984093be71e82c9e3e979c05b418d60805fe012b8016e0a78 23:25:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:17 Dload Upload Total Spent Left Speed 23:25:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17482 0 0 100 17482 0 48225 --:--:-- --:--:-- --:--:-- 48292 23:25:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/de4ce59c3f00c52b62a2e59aa074ff5c1c8323f4 [Pipeline] } 23:25:18 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] sh 23:25:21 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-942/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:25:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:25:22 ---> package-listing.sh 23:25:22 ++ facter osfamily 23:25:22 ++ tr '[:upper:]' '[:lower:]' 23:25:22 + OS_FAMILY=redhat 23:25:22 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-942 23:25:22 + START_PACKAGES=/tmp/packages_start.txt 23:25:22 + END_PACKAGES=/tmp/packages_end.txt 23:25:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:25:22 + PACKAGES=/tmp/packages_start.txt 23:25:22 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-942 ']' 23:25:22 + PACKAGES=/tmp/packages_end.txt 23:25:22 + case "${OS_FAMILY}" in 23:25:22 + rpm -qa 23:25:22 + sort 23:25:23 + '[' -f /tmp/packages_start.txt ']' 23:25:23 + '[' -f /tmp/packages_end.txt ']' 23:25:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:25:23 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-942 ']' 23:25:23 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-942/archives/ 23:25:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-942/archives/ [Pipeline] echo 23:25:23 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-942/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:25:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:25:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:24 23:25:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:25:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:24 latest: Pulling from edgex-lftools-log-publisher 23:25:24 b4d181a07f80: Pulling fs layer 23:25:24 a1111a8f2ec3: Pulling fs layer 23:25:24 ed53099fbce6: Pulling fs layer 23:25:24 dc539afda2c1: Pulling fs layer 23:25:24 77bc0d833cb6: Pulling fs layer 23:25:24 9065ff56babe: Pulling fs layer 23:25:24 d287ab97295c: Pulling fs layer 23:25:24 77bc0d833cb6: Waiting 23:25:24 9065ff56babe: Waiting 23:25:24 d287ab97295c: Waiting 23:25:24 dc539afda2c1: Waiting 23:25:24 a1111a8f2ec3: Verifying Checksum 23:25:24 a1111a8f2ec3: Download complete 23:25:24 dc539afda2c1: Verifying Checksum 23:25:24 dc539afda2c1: Download complete 23:25:24 77bc0d833cb6: Verifying Checksum 23:25:24 77bc0d833cb6: Download complete 23:25:24 9065ff56babe: Download complete 23:25:24 ed53099fbce6: Verifying Checksum 23:25:24 ed53099fbce6: Download complete 23:25:25 b4d181a07f80: Verifying Checksum 23:25:25 b4d181a07f80: Download complete 23:25:26 b4d181a07f80: Pull complete 23:25:26 a1111a8f2ec3: Pull complete 23:25:27 ed53099fbce6: Pull complete 23:25:27 dc539afda2c1: Pull complete 23:25:27 77bc0d833cb6: Pull complete 23:25:27 9065ff56babe: Pull complete 23:25:28 d287ab97295c: Verifying Checksum 23:25:28 d287ab97295c: Download complete 23:25:32 d287ab97295c: Pull complete 23:25:32 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:25:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:25:32 prd-centos7-docker-4c-2g-1897 does not seem to be running inside a container 23:25:32 $ 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-942/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-942 -v /w/workspace/ndry_app-functions-sdk-go_PR-942:/w/workspace/ndry_app-functions-sdk-go_PR-942:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-942@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-942@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:25:35 $ docker top a466e1add40d4b303f6a7633518f6ec54eb02e9c969feead4306d4aca2242bd1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:25:35 + touch /tmp/pre-build-complete [Pipeline] sh 23:25:35 + mkdir -p /var/log/sysstat [Pipeline] sh 23:25:36 + ls /var/log/sa-host 23:25:36 + sadf -c /var/log/sa-host/sa05 23:25:36 file_magic: OK 23:25:36 HZ: Using current value: 100 23:25:36 file_header: OK 23:25:36 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:25:36 Statistics: 23:25:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:25:36 File successfully converted to sysstat format version 12.0.3 23:25:36 + sadf -c /var/log/sa-host/sa09 23:25:36 file_magic: OK 23:25:36 HZ: Using current value: 100 23:25:36 file_header: OK 23:25:36 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:25:36 Statistics: 23:25:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:25:36 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:36 provisioning config files... 23:25:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-942@tmp/config1283037146663632379tmp [Pipeline] { [Pipeline] echo 23:25:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:25:36 ---> create-netrc.sh [Pipeline] } 23:25:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:25:37 ---> python-tools-install.sh [Pipeline] echo 23:25:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:25:37 ---> sudo-logs.sh 23:25:37 Archiving 'sudo' log.. 23:25:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-1897.vexxhost.local: Name or service not known 23:25:37 sudo: unable to resolve host prd-centos7-docker-4c-2g-1897.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 23:25:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:25:37 ---> job-cost.sh 23:25:37 lf-activate-venv: SKIPPING 23:25:37 DEBUG: total: 0.10999999940395355 23:25:37 INFO: Retrieving Stack Cost... 23:25:38 INFO: Retrieving Pricing Info for: v3-standard-2 23:25:39 INFO: Archiving Costs [Pipeline] echo 23:25:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:25:39 ---> logs-deploy.sh 23:25:39 lf-activate-venv: SKIPPING 23:25:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-942/2 23:25:39 INFO: archiving workspace using pattern(s): 23:25:39 Archives upload complete. 23:25:40 INFO: archiving logs to Nexus 23:25:40 ---> uname -a: 23:25:40 Linux prd-centos7-docker-4c-2g-1897.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux 23:25:40 23:25:40 23:25:40 ---> lscpu: 23:25:40 Architecture: x86_64 23:25:40 CPU op-mode(s): 32-bit, 64-bit 23:25:40 Byte Order: Little Endian 23:25:40 Address sizes: 40 bits physical, 48 bits virtual 23:25:40 CPU(s): 2 23:25:40 On-line CPU(s) list: 0,1 23:25:40 Thread(s) per core: 1 23:25:40 Core(s) per socket: 1 23:25:40 Socket(s): 2 23:25:40 NUMA node(s): 1 23:25:40 Vendor ID: AuthenticAMD 23:25:40 CPU family: 23 23:25:40 Model: 49 23:25:40 Model name: AMD EPYC-Rome Processor 23:25:40 Stepping: 0 23:25:40 CPU MHz: 2799.996 23:25:40 BogoMIPS: 5599.99 23:25:40 Virtualization: AMD-V 23:25:40 Hypervisor vendor: KVM 23:25:40 Virtualization type: full 23:25:40 L1d cache: 32K 23:25:40 L1i cache: 32K 23:25:40 L2 cache: 512K 23:25:40 L3 cache: 16384K 23:25:40 NUMA node0 CPU(s): 0,1 23:25:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 23:25:40 23:25:40 23:25:40 ---> nproc: 23:25:40 2 23:25:40 23:25:40 23:25:40 ---> df -h: 23:25:40 Filesystem Size Used Avail Use% Mounted on 23:25:40 overlay 40G 7.7G 33G 20% / 23:25:40 tmpfs 64M 0 64M 0% /dev 23:25:40 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 23:25:40 shm 64M 0 64M 0% /dev/shm 23:25:40 /dev/vda1 40G 7.7G 33G 20% /facter-os 23:25:40 23:25:40 23:25:40 ---> sar -b -r -n DEV: 23:25:40 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/09/21 _x86_64_ (2 CPU) 23:25:40 23:25:40 23:17:30 LINUX RESTART (2 CPU) 23:25:40 23:25:40 23:18:01 tps rtps wtps bread/s bwrtn/s 23:25:40 23:19:01 81.89 4.29 77.59 2794.34 5157.87 23:25:40 23:20:01 1.78 0.00 1.78 0.00 35.06 23:25:40 23:21:01 0.25 0.00 0.25 0.00 2.83 23:25:40 23:22:01 0.13 0.00 0.13 0.00 2.15 23:25:40 23:23:01 0.28 0.00 0.28 0.00 4.11 23:25:40 23:24:01 0.30 0.00 0.30 0.00 4.31 23:25:40 23:25:01 0.23 0.00 0.23 0.00 3.20 23:25:40 Average: 12.13 0.61 11.52 399.39 744.59 23:25:40 23:25:40 23:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 23:25:40 23:19:01 5432320 0 804924 10.05 2620 1769068 1295312 14.30 599760 1576268 132 23:25:40 23:20:01 5443948 0 793288 9.91 2620 1769076 1202132 13.27 590072 1576232 16 23:25:40 23:21:01 5442968 0 794264 9.92 2620 1769080 1202384 13.28 588304 1579336 20 23:25:40 23:22:01 5440640 0 796584 9.95 2620 1769088 1202420 13.28 590132 1579336 16 23:25:40 23:23:01 5441560 0 795660 9.93 2620 1769092 1202324 13.27 586408 1582632 12 23:25:40 23:24:01 5440628 0 796588 9.95 2620 1769096 1202252 13.27 586992 1582632 20 23:25:40 23:25:01 5441360 0 795852 9.94 2620 1769100 1202132 13.27 586300 1582680 20 23:25:40 Average: 5440489 0 796737 9.95 2620 1769086 1215565 13.42 589710 1579874 34 23:25:40 23:25:40 23:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 23:25:40 23:19:01 eth0 620.04 420.96 1370.62 80.75 0.00 0.00 0.00 0.00 23:25:40 23:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:19:01 docker0 109.11 96.90 9.32 317.57 0.00 0.00 0.00 0.00 23:25:40 23:20:01 eth0 0.83 0.07 0.07 0.01 0.00 0.00 0.00 0.00 23:25:40 23:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:21:01 eth0 2.30 0.47 0.66 0.36 0.00 0.00 0.00 0.00 23:25:40 23:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:22:01 eth0 0.70 0.33 0.29 0.23 0.00 0.00 0.00 0.00 23:25:40 23:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:23:01 eth0 0.68 0.35 0.32 0.23 0.00 0.00 0.00 0.00 23:25:40 23:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:24:01 eth0 0.30 0.25 0.11 0.05 0.00 0.00 0.00 0.00 23:25:40 23:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:25:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 23:25:40 23:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 23:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 Average: eth0 89.32 60.39 196.11 11.67 0.00 0.00 0.00 0.00 23:25:40 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 23:25:40 Average: docker0 15.59 13.85 1.33 45.39 0.00 0.00 0.00 0.00 23:25:40 23:25:40 23:25:40 ---> sar -P ALL: 23:25:40 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 09/09/21 _x86_64_ (2 CPU) 23:25:40 23:25:40 23:17:30 LINUX RESTART (2 CPU) 23:25:40 23:25:40 23:18:01 CPU %user %nice %system %iowait %steal %idle 23:25:40 23:19:01 all 11.39 0.00 3.30 2.20 0.05 83.05 23:25:40 23:19:01 0 11.72 0.00 3.46 1.09 0.05 83.68 23:25:40 23:19:01 1 11.06 0.00 3.15 3.31 0.05 82.43 23:25:40 23:20:01 all 0.24 0.00 0.08 0.00 0.01 99.67 23:25:40 23:20:01 0 0.08 0.00 0.07 0.00 0.00 99.85 23:25:40 23:20:01 1 0.40 0.00 0.08 0.00 0.02 99.50 23:25:40 23:21:01 all 0.26 0.00 0.08 0.00 0.01 99.65 23:25:40 23:21:01 0 0.12 0.00 0.10 0.00 0.02 99.77 23:25:40 23:21:01 1 0.40 0.00 0.07 0.00 0.00 99.53 23:25:40 23:22:01 all 0.19 0.00 0.05 0.00 0.01 99.75 23:25:40 23:22:01 0 0.32 0.00 0.05 0.00 0.02 99.62 23:25:40 23:22:01 1 0.07 0.00 0.05 0.00 0.00 99.88 23:25:40 23:23:01 all 0.31 0.00 0.05 0.00 0.01 99.63 23:25:40 23:23:01 0 0.52 0.00 0.05 0.00 0.00 99.43 23:25:40 23:23:01 1 0.10 0.00 0.05 0.00 0.02 99.83 23:25:40 23:24:01 all 0.26 0.00 0.06 0.00 0.02 99.67 23:25:40 23:24:01 0 0.45 0.00 0.05 0.00 0.02 99.48 23:25:40 23:24:01 1 0.07 0.00 0.07 0.00 0.02 99.85 23:25:40 23:25:01 all 0.23 0.00 0.04 0.00 0.00 99.73 23:25:40 23:25:01 0 0.42 0.00 0.05 0.00 0.00 99.53 23:25:40 23:25:01 1 0.03 0.00 0.03 0.00 0.00 99.93 23:25:40 Average: all 1.81 0.00 0.51 0.31 0.01 97.35 23:25:40 Average: 0 1.91 0.00 0.54 0.15 0.01 97.38 23:25:40 Average: 1 1.71 0.00 0.49 0.46 0.01 97.32 23:25:40 23:25:40 23:25:40