Pull request #938 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 314f7188a5aaa180fb4c70faf4d2969a3f909372+4d6967253c42c2a443b56733e0120e3dc957a25e (7276fdcb82ec9da943e7959e19065f457ed49cd2) 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-ssh3878393412878796132.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-ssh2919888946613538931.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-938/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-938/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2913813249613482819.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-ssh9186736720428748273.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-938/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-938/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3741388010458440809.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 Running on prd-centos7-docker-4c-2g-695 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [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-938 # 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-938@tmp/jenkins-gitclient-ssh6652889796894878578.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-938@tmp/jenkins-gitclient-ssh8915326290773724713.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/938/head:refs/remotes/origin/PR-938 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 314f7188a5aaa180fb4c70faf4d2969a3f909372 Merge succeeded, producing 314f7188a5aaa180fb4c70faf4d2969a3f909372 Checking out Revision 314f7188a5aaa180fb4c70faf4d2969a3f909372 (PR-938) > git config core.sparsecheckout # timeout=10 > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # 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-938@tmp/jenkins-gitclient-ssh3356968114233512437.key > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 Commit message: "feat: Add Pipeline per Topic capability" First time build. Skipping changelog. > git rev-list --no-walk 1979637a16c3b6db5abd85636d97336eaa4670a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:39:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:39:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:39:08 ========================================================= 15:39:08 EdgeX Global Pipelines Version Info 15:39:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:39:09 ------------------- 15:39:09 stable info: 15:39:09 ------------------- 15:39:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:39:09 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:39:09 Message: update stable to v1.0.205 15:39:10 ------------------- 15:39:10 experimental info: 15:39:10 ------------------- 15:39:10 Commited By: **** collab-it+edgex@linuxfoundation.org 15:39:10 Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 15:39:10 Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-938 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-938 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-938 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 314f7188a5aaa180fb4c70faf4d2969a3f909372 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 314f718 [Pipeline] echo 15:39:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:39:11 + git log --format=format:%s -1 314f7188a5aaa180fb4c70faf4d2969a3f909372 [Pipeline] echo 15:39:11 GIT_COMMIT: 314f7188a5aaa180fb4c70faf4d2969a3f909372, Commit Message: feat: Add Pipeline per Topic capability [Pipeline] echo 15:39:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:39:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:12 15:39:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:39:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:18 latest: Pulling from edgex-devops/git-semver 15:39:18 31603596830f: Pulling fs layer 15:39:18 04fac38145f0: Pulling fs layer 15:39:18 701f6daf10bf: Pulling fs layer 15:39:18 24f72da36158: Pulling fs layer 15:39:18 24f72da36158: Waiting 15:39:18 04fac38145f0: Verifying Checksum 15:39:18 04fac38145f0: Download complete 15:39:18 31603596830f: Verifying Checksum 15:39:18 31603596830f: Download complete 15:39:18 31603596830f: Pull complete 15:39:18 04fac38145f0: Pull complete 15:39:18 24f72da36158: Verifying Checksum 15:39:18 24f72da36158: Download complete 15:39:18 701f6daf10bf: Verifying Checksum 15:39:18 701f6daf10bf: Download complete 15:39:19 701f6daf10bf: Pull complete 15:39:19 24f72da36158: Pull complete 15:39:19 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 15:39:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:39:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:39:19 prd-centos7-docker-4c-2g-695 does not seem to be running inside a container 15:39:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-938 -v /w/workspace/ndry_app-functions-sdk-go_PR-938:/w/workspace/ndry_app-functions-sdk-go_PR-938:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-938@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:39:20 $ docker top 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:39:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:20 [ssh-agent] Looking for ssh-agent implementation... 15:39:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:20 $ docker exec 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent 15:39:20 SSH_AUTH_SOCK=/tmp/ssh-vlJ8k1JwH4T5/agent.13 15:39:20 SSH_AGENT_PID=19 15:39:20 Running ssh-add (command line suppressed) 15:39:20 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_865203646345042605.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_865203646345042605.key) 15:39:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:20 + git tag --points-at HEAD [Pipeline] } 15:39:21 $ docker exec --env ******** --env ******** 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent -k 15:39:21 unset SSH_AUTH_SOCK; 15:39:21 unset SSH_AGENT_PID; 15:39:21 echo Agent pid 19 killed; 15:39:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:39:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:21 [ssh-agent] Looking for ssh-agent implementation... 15:39:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:21 $ docker exec 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent 15:39:21 SSH_AUTH_SOCK=/tmp/ssh-gfHP3hRqtv7T/agent.52 15:39:21 SSH_AGENT_PID=58 15:39:21 Running ssh-add (command line suppressed) 15:39:21 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_5404514588578481008.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_5404514588578481008.key) 15:39:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:21 + git semver init 15:39:21 # -> Open(): unable to determine branch for HEAD 15:39:21 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.git 15:39:21 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-938 15:39:21 # $SEMVER_REMOTE_NAME = origin 15:39:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:39:21 # $SEMVER_USER_NAME = edgex-jenkins 15:39:21 # $SEMVER_BRANCH = PR-938 15:39:21 # $SEMVER_TEMP = /tmp/semver-135601693 15:39:21 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:39:23 # '/tmp/semver-135601693' -> '/w/workspace/ndry_app-functions-sdk-go_PR-938/.semver' 15:39:23 # -> Force: false 15:39:23 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.semver [Pipeline] } 15:39:23 $ docker exec --env ******** --env ******** 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent -k 15:39:23 unset SSH_AUTH_SOCK; 15:39:23 unset SSH_AGENT_PID; 15:39:23 echo Agent pid 58 killed; 15:39:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:39:24 + git semver [Pipeline] } 15:39:24 $ docker stop --time=1 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 15:39:25 $ docker rm -f 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 [Pipeline] // withDockerContainer [Pipeline] sh 15:39:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:39:26 Stashed 1 file(s) [Pipeline] echo 15:39:26 [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 15:39:41 Still waiting to schedule task 15:39:41 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:39:41 Still waiting to schedule task 15:39:41 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:39:57 Running on prd-centos7-docker-4c-2g-696 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws 15:39:58 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:39:58 The recommended git tool is: git 15:40:01 using credential edgex-jenkins-ssh 15:40:01 Cloning the remote Git repository 15:40:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:40:01 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 15:40:01 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:40:01 > git --version # timeout=10 15:40:01 > git --version # 'git version 2.24.4' 15:40:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:01 [INFO] Currently running in a labeled security context 15:40:01 [INFO] Currently SELinux is 'enforcing' on the host 15:40:01 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh5961088620762534645.key 15:40:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:04 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 314f7188a5aaa180fb4c70faf4d2969a3f909372 15:40:04 Merge succeeded, producing 314f7188a5aaa180fb4c70faf4d2969a3f909372 15:40:04 Checking out Revision 314f7188a5aaa180fb4c70faf4d2969a3f909372 (PR-938) 15:40:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:40:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:40:03 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:40:03 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:40:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:03 [INFO] Currently running in a labeled security context 15:40:03 [INFO] Currently SELinux is 'enforcing' on the host 15:40:03 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3441829068481413888.key 15:40:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/938/head:refs/remotes/origin/PR-938 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:40:04 > git config core.sparsecheckout # timeout=10 15:40:04 > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 15:40:04 > git remote # timeout=10 15:40:04 > git config --get remote.origin.url # timeout=10 15:40:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:40:04 [INFO] Currently running in a labeled security context 15:40:04 [INFO] Currently SELinux is 'enforcing' on the host 15:40:04 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8368503919800972159.key 15:40:04 > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 15:40:04 > git rev-parse HEAD^{commit} # timeout=10 15:40:04 > git config core.sparsecheckout # timeout=10 15:40:04 > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 15:40:08 Commit message: "feat: Add Pipeline per Topic capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:40:09 ========================================================= 15:40:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:40:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:40:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:40:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:40:10 540db60ca938: Pulling fs layer 15:40:10 adcc1eea9eea: Pulling fs layer 15:40:10 4c4ab2625f07: Pulling fs layer 15:40:10 db62176df00c: Pulling fs layer 15:40:10 3b30891b0d05: Pulling fs layer 15:40:10 06b49ca38bd5: Pulling fs layer 15:40:10 c788192a36de: Pulling fs layer 15:40:10 a77e37c0d609: Pulling fs layer 15:40:10 c3185cebc471: Pulling fs layer 15:40:10 06b49ca38bd5: Waiting 15:40:10 c788192a36de: Waiting 15:40:10 a77e37c0d609: Waiting 15:40:10 c3185cebc471: Waiting 15:40:10 db62176df00c: Waiting 15:40:10 3b30891b0d05: Waiting 15:40:10 4c4ab2625f07: Verifying Checksum 15:40:10 4c4ab2625f07: Download complete 15:40:10 adcc1eea9eea: Verifying Checksum 15:40:10 adcc1eea9eea: Download complete 15:40:10 3b30891b0d05: Verifying Checksum 15:40:10 3b30891b0d05: Download complete 15:40:10 06b49ca38bd5: Verifying Checksum 15:40:10 06b49ca38bd5: Download complete 15:40:10 540db60ca938: Verifying Checksum 15:40:10 540db60ca938: Download complete 15:40:10 c788192a36de: Verifying Checksum 15:40:10 c788192a36de: Download complete 15:40:10 540db60ca938: Pull complete 15:40:10 adcc1eea9eea: Pull complete 15:40:10 4c4ab2625f07: Pull complete 15:40:11 a77e37c0d609: Verifying Checksum 15:40:11 a77e37c0d609: Download complete 15:40:15 c3185cebc471: Verifying Checksum 15:40:15 c3185cebc471: Download complete 15:40:15 db62176df00c: Verifying Checksum 15:40:15 db62176df00c: Download complete 15:40:19 db62176df00c: Pull complete 15:40:19 3b30891b0d05: Pull complete 15:40:19 06b49ca38bd5: Pull complete 15:40:19 c788192a36de: Pull complete 15:40:19 a77e37c0d609: Pull complete 15:40:21 c3185cebc471: Pull complete 15:40:21 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 15:40:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:40:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh 15:40:21 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 15:40:22 + docker inspect -f . ci-base-image-x86_64 15:40:22 . [Pipeline] withDockerContainer 15:40:22 prd-centos7-docker-4c-2g-696 does not seem to be running inside a container 15:40:22 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:40:24 $ docker top 9662bbf9e0c2ddbb8f460166f885772b1ec9c59dadcef42ec1f2159a4286eeef -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:25 + go version 15:40:25 go version go1.16.6 linux/amd64 [Pipeline] } 15:40:25 $ docker stop --time=1 9662bbf9e0c2ddbb8f460166f885772b1ec9c59dadcef42ec1f2159a4286eeef 15:40:26 $ docker rm -f 9662bbf9e0c2ddbb8f460166f885772b1ec9c59dadcef42ec1f2159a4286eeef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:40:27 + docker inspect -f . ci-base-image-x86_64 15:40:27 . [Pipeline] withDockerContainer 15:40:27 prd-centos7-docker-4c-2g-696 does not seem to be running inside a container 15:40:27 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:40:27 $ docker top 2cdf4a758ea537c7e787af367ed79773a34e900ea725f2789e93fd048afac32b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:40:28 + make test 15:40:28 make -C ./app-service-template build 15:40:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:40:28 go mod tidy 15:40:28 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 15:40:28 go: downloading github.com/google/uuid v1.3.0 15:40:28 go: downloading github.com/stretchr/testify v1.7.0 15:40:28 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 15:40:28 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 15:40:28 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 15:40:28 go: downloading github.com/go-playground/validator/v10 v10.6.1 15:40:28 go: downloading github.com/go-kit/kit v0.9.0 15:40:28 go: downloading gopkg.in/yaml.v2 v2.4.0 15:40:29 go: downloading github.com/davecgh/go-spew v1.1.1 15:40:29 go: downloading github.com/pmezard/go-difflib v1.0.0 15:40:29 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 15:40:29 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 15:40:29 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:40:29 go: downloading github.com/stretchr/objx v0.1.0 15:40:29 go: downloading github.com/gorilla/mux v1.8.0 15:40:29 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 15:40:29 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 15:40:29 go: downloading github.com/go-playground/universal-translator v0.17.0 15:40:29 go: downloading github.com/leodido/go-urn v1.2.0 15:40:29 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 15:40:29 go: downloading golang.org/x/text v0.3.2 15:40:29 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:40:29 go: downloading github.com/go-playground/locales v0.13.0 15:40:31 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 15:40:31 go: downloading github.com/go-logfmt/logfmt v0.4.0 15:40:31 go: downloading github.com/go-stack/stack v1.8.0 15:40:31 go: downloading github.com/mitchellh/copystructure v1.0.0 15:40:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:40:31 go: downloading github.com/gorilla/websocket v1.4.2 15:40:31 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 15:40:31 go: downloading github.com/pelletier/go-toml v1.9.2 15:40:31 go: downloading github.com/hashicorp/consul/api v1.8.1 15:40:31 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 15:40:31 go: downloading github.com/kr/pretty v0.2.0 15:40:31 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:40:31 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:40:31 go: downloading github.com/x448/float16 v0.8.4 15:40:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:40:31 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:40:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:40:31 go: downloading github.com/hashicorp/serf v0.9.5 15:40:32 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:40:32 go: downloading github.com/hashicorp/consul/sdk v0.7.0 15:40:32 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:40:32 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:40:32 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:40:32 go: downloading github.com/kr/text v0.1.0 15:40:32 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:40:32 go: downloading github.com/fatih/color v1.9.0 15:40:32 go: downloading github.com/mattn/go-colorable v0.1.6 15:40:32 go: downloading github.com/mattn/go-isatty v0.0.12 15:40:32 go: downloading github.com/pkg/errors v0.8.1 15:40:32 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:40:32 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:40:32 go: downloading github.com/hashicorp/memberlist v0.2.2 15:40:32 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:40:32 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:40:32 go: downloading github.com/pebbe/zmq4 v1.2.7 15:40:32 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:40:32 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:40:32 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:40:32 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:40:32 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:40:32 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:40:32 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:40:32 go: downloading github.com/miekg/dns v1.1.26 15:40:32 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:40:32 go: downloading github.com/onsi/ginkgo v1.10.1 15:40:32 go: downloading github.com/onsi/gomega v1.7.0 15:40:32 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:40:32 go: downloading github.com/hashicorp/errwrap v1.0.0 15:40:32 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 15:40:32 go: downloading github.com/hpcloud/tail v1.0.0 15:40:32 go: downloading github.com/golang/protobuf v1.3.2 15:40:32 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:40:32 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:40:32 go: downloading github.com/fsnotify/fsnotify v1.4.7 15:40:32 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 15:40:42 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:40:42 make -C ./app-service-template test 15:40:42 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:40:42 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:40:53 ok new-app-service 0.012s coverage: 48.1% of statements 15:40:53 ? new-app-service/config [no test files] 15:40:53 ok new-app-service/functions 0.007s 15:40:53 CGO_ENABLED=1 go vet ./... 15:40:58 gofmt -l . 15:40:58 [ "`gofmt -l .`" = "" ] 15:40:58 ./bin/test-attribution-txt.sh 15:40:58 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:40:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:40:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:40:59 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app.test] 15:40:59 internal/app/service_test.go:244:13: testRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:40:59 internal/app/service_test.go:262:13: testRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:40:59 internal/app/service_test.go:298:13: sdk.runtime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:40:59 internal/app/service_test.go:314:17: service.runtime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:40:59 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [build failed] 15:41:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.2% of statements 15:41:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:41:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements 15:41:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:41:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s 15:41:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.073s coverage: 75.2% of statements 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:41:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.3% of statements 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:41:01 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] 15:41:01 internal/trigger/messagebus/messaging_test.go:265:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 internal/trigger/messagebus/messaging_test.go:352:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 internal/trigger/messagebus/messaging_test.go:436:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 internal/trigger/messagebus/messaging_test.go:540:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 internal/trigger/messagebus/messaging_test.go:645:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 internal/trigger/messagebus/messaging_test.go:741:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 internal/trigger/messagebus/messaging_test.go:834:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:41:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements 15:41:01 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] 15:41:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:41:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 12.5% of statements 15:41:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements 15:41:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:41:02 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:41:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements 15:41:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.031s coverage: 77.2% of statements 15:41:28 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.046s coverage: 94.4% of statements 15:41:28 FAIL 15:41:28 make: *** [Makefile:31: test-sdk] Error 2 [Pipeline] } 15:41:28 $ docker stop --time=1 2cdf4a758ea537c7e787af367ed79773a34e900ea725f2789e93fd048afac32b 15:41:30 $ docker rm -f 2cdf4a758ea537c7e787af367ed79773a34e900ea725f2789e93fd048afac32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:41:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:31 15:41:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:41:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:31 latest: Pulling from edgex-lftools-log-publisher 15:41:31 b4d181a07f80: Pulling fs layer 15:41:31 a1111a8f2ec3: Pulling fs layer 15:41:31 ed53099fbce6: Pulling fs layer 15:41:31 dc539afda2c1: Pulling fs layer 15:41:31 77bc0d833cb6: Pulling fs layer 15:41:31 9065ff56babe: Pulling fs layer 15:41:31 d287ab97295c: Pulling fs layer 15:41:31 77bc0d833cb6: Waiting 15:41:31 9065ff56babe: Waiting 15:41:31 d287ab97295c: Waiting 15:41:31 dc539afda2c1: Waiting 15:41:32 a1111a8f2ec3: Verifying Checksum 15:41:32 a1111a8f2ec3: Download complete 15:41:32 dc539afda2c1: Verifying Checksum 15:41:32 dc539afda2c1: Download complete 15:41:32 77bc0d833cb6: Verifying Checksum 15:41:32 77bc0d833cb6: Download complete 15:41:32 ed53099fbce6: Verifying Checksum 15:41:32 ed53099fbce6: Download complete 15:41:33 b4d181a07f80: Verifying Checksum 15:41:33 b4d181a07f80: Download complete 15:41:34 b4d181a07f80: Pull complete 15:41:34 a1111a8f2ec3: Pull complete 15:41:35 ed53099fbce6: Pull complete 15:41:35 dc539afda2c1: Pull complete 15:41:35 77bc0d833cb6: Pull complete 15:41:37 9065ff56babe: Verifying Checksum 15:41:37 9065ff56babe: Download complete 15:41:37 9065ff56babe: Pull complete 15:41:45 d287ab97295c: Verifying Checksum 15:41:45 d287ab97295c: Download complete 15:41:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-697 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws 15:41:48 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:41:48 The recommended git tool is: git 15:41:50 d287ab97295c: Pull complete 15:41:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:41:50 prd-centos7-docker-4c-2g-696 does not seem to be running inside a container 15:41:50 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:41:53 $ docker top c00e3b00c2b9e7741545fead38c903b20235bee159ba3a5c8bc3105552a2bef3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:41:53 ---> job-cost.sh 15:41:53 lf-activate-venv: SKIPPING 15:41:53 INFO: No Stack... 15:41:54 INFO: Retrieving Pricing Info for: v3-standard-2 15:41:54 using credential edgex-jenkins-ssh 15:41:54 Cloning the remote Git repository 15:41:54 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:41:54 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 15:41:54 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:41:54 > git --version # timeout=10 15:41:54 > git --version # 'git version 2.17.1' 15:41:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:55 INFO: Archiving Costs [Pipeline] sh 15:41:55 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 15:41:55 + cut -d, -f6 [Pipeline] lock 15:41:55 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] 15:41:55 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] did not exist. Created. 15:41:55 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:41:55 + echo total: 0.05999999865889549 [Pipeline] stash 15:41:56 Stashed 1 file(s) [Pipeline] } 15:41:56 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:41:56 $ docker stop --time=1 c00e3b00c2b9e7741545fead38c903b20235bee159ba3a5c8bc3105552a2bef3 15:41:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:41:57 $ docker rm -f c00e3b00c2b9e7741545fead38c903b20235bee159ba3a5c8bc3105552a2bef3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:41:57 Failed in branch amd64 15:41:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:41:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:41:58 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:41:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:41:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/938/head:refs/remotes/origin/PR-938 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:41:59 Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 314f7188a5aaa180fb4c70faf4d2969a3f909372 15:41:59 Merge succeeded, producing 314f7188a5aaa180fb4c70faf4d2969a3f909372 15:41:59 Checking out Revision 314f7188a5aaa180fb4c70faf4d2969a3f909372 (PR-938) 15:41:59 > git config core.sparsecheckout # timeout=10 15:41:59 > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 15:41:59 > git remote # timeout=10 15:41:59 > git config --get remote.origin.url # timeout=10 15:41:59 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:59 > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 15:41:59 > git rev-parse HEAD^{commit} # timeout=10 15:41:59 > git config core.sparsecheckout # timeout=10 15:41:59 > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 15:42:03 Commit message: "feat: Add Pipeline per Topic capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 15:42:04 ========================================================= 15:42:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:42:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:42:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:42:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:42:06 595b0fe564bb: Pulling fs layer 15:42:06 24495759ef45: Pulling fs layer 15:42:06 d148012ef14d: Pulling fs layer 15:42:06 e90a11edd702: Pulling fs layer 15:42:06 d77568369979: Pulling fs layer 15:42:06 fc1c9f9a7f3b: Pulling fs layer 15:42:06 170f2ba95c9a: Pulling fs layer 15:42:06 97ac5df62f85: Pulling fs layer 15:42:06 d77568369979: Waiting 15:42:06 fc1c9f9a7f3b: Waiting 15:42:06 170f2ba95c9a: Waiting 15:42:06 97ac5df62f85: Waiting 15:42:06 e90a11edd702: Waiting 15:42:06 d148012ef14d: Verifying Checksum 15:42:06 d148012ef14d: Download complete 15:42:06 24495759ef45: Verifying Checksum 15:42:06 24495759ef45: Download complete 15:42:06 d77568369979: Download complete 15:42:06 fc1c9f9a7f3b: Verifying Checksum 15:42:06 fc1c9f9a7f3b: Download complete 15:42:06 595b0fe564bb: Verifying Checksum 15:42:06 595b0fe564bb: Download complete 15:42:06 170f2ba95c9a: Verifying Checksum 15:42:06 170f2ba95c9a: Download complete 15:42:07 595b0fe564bb: Pull complete 15:42:07 24495759ef45: Pull complete 15:42:08 d148012ef14d: Pull complete 15:42:09 97ac5df62f85: Verifying Checksum 15:42:09 97ac5df62f85: Download complete 15:42:10 e90a11edd702: Verifying Checksum 15:42:10 e90a11edd702: Download complete 15:42:23 e90a11edd702: Pull complete 15:42:23 d77568369979: Pull complete 15:42:23 fc1c9f9a7f3b: Pull complete 15:42:23 170f2ba95c9a: Pull complete 15:42:28 97ac5df62f85: Pull complete 15:42:28 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 15:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:42:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh 15:42:29 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 15:42:29 + docker inspect -f . ci-base-image-arm64 15:42:29 . [Pipeline] withDockerContainer 15:42:29 prd-ubuntu18.04-docker-arm64-4c-16g-697 does not seem to be running inside a container 15:42:29 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:35 $ docker top ff966058131c0052ac7dcbb08119da9267e6355f904253d629864eb65b58232c -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:36 + go version 15:42:36 go version go1.16.6 linux/arm64 [Pipeline] } 15:42:36 $ docker stop --time=1 ff966058131c0052ac7dcbb08119da9267e6355f904253d629864eb65b58232c 15:42:38 $ docker rm -f ff966058131c0052ac7dcbb08119da9267e6355f904253d629864eb65b58232c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:42:38 + docker inspect -f . ci-base-image-arm64 15:42:38 . [Pipeline] withDockerContainer 15:42:39 prd-ubuntu18.04-docker-arm64-4c-16g-697 does not seem to be running inside a container 15:42:39 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:42:40 $ docker top 1851e83876fe7b41c31403d63725b64a647ed985cb41cc7e45621be769ef0ac2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:42:41 + make test 15:42:41 make -C ./app-service-template build 15:42:41 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:42:41 go mod tidy 15:42:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 15:42:42 go: downloading github.com/google/uuid v1.3.0 15:42:42 go: downloading github.com/stretchr/testify v1.7.0 15:42:43 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 15:42:43 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 15:42:43 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 15:42:43 go: downloading github.com/pmezard/go-difflib v1.0.0 15:42:43 go: downloading github.com/davecgh/go-spew v1.1.1 15:42:43 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 15:42:43 go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 15:42:43 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 15:42:43 go: downloading github.com/stretchr/objx v0.1.0 15:42:43 go: downloading github.com/go-playground/validator/v10 v10.6.1 15:42:43 go: downloading github.com/go-kit/kit v0.9.0 15:42:43 go: downloading gopkg.in/yaml.v2 v2.4.0 15:42:43 go: downloading github.com/gorilla/mux v1.8.0 15:42:43 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 15:42:43 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 15:42:43 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 15:42:43 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 15:42:43 go: downloading github.com/mitchellh/copystructure v1.0.0 15:42:43 go: downloading github.com/gorilla/websocket v1.4.2 15:42:43 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 15:42:43 go: downloading github.com/hashicorp/consul/api v1.8.1 15:42:43 go: downloading github.com/pelletier/go-toml v1.9.2 15:42:44 go: downloading github.com/go-playground/universal-translator v0.17.0 15:42:44 go: downloading github.com/leodido/go-urn v1.2.0 15:42:44 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 15:42:44 go: downloading golang.org/x/text v0.3.2 15:42:44 go: downloading github.com/go-playground/assert/v2 v2.0.1 15:42:44 go: downloading github.com/go-playground/locales v0.13.0 15:42:47 go: downloading github.com/kr/pretty v0.2.0 15:42:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:42:47 go: downloading github.com/x448/float16 v0.8.4 15:42:47 go: downloading github.com/go-logfmt/logfmt v0.4.0 15:42:47 go: downloading github.com/go-stack/stack v1.8.0 15:42:47 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:42:47 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:42:47 go: downloading github.com/hashicorp/go-hclog v0.12.0 15:42:47 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:42:47 go: downloading github.com/hashicorp/serf v0.9.5 15:42:47 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:42:47 go: downloading github.com/hashicorp/consul/sdk v0.7.0 15:42:47 go: downloading github.com/hashicorp/go-uuid v1.0.1 15:42:47 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 15:42:47 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:42:47 go: downloading github.com/kr/text v0.1.0 15:42:47 go: downloading github.com/gomodule/redigo v2.0.0+incompatible 15:42:47 go: downloading github.com/go-redis/redis/v7 v7.3.0 15:42:47 go: downloading github.com/pebbe/zmq4 v1.2.7 15:42:47 go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 15:42:47 go: downloading github.com/mitchellh/go-homedir v1.1.0 15:42:47 go: downloading github.com/fatih/color v1.9.0 15:42:47 go: downloading github.com/mattn/go-colorable v0.1.6 15:42:47 go: downloading github.com/mattn/go-isatty v0.0.12 15:42:47 go: downloading github.com/pkg/errors v0.8.1 15:42:47 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:42:47 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:42:47 go: downloading github.com/hashicorp/go-msgpack v0.5.3 15:42:47 go: downloading github.com/hashicorp/memberlist v0.2.2 15:42:47 go: downloading github.com/onsi/ginkgo v1.10.1 15:42:47 go: downloading github.com/onsi/gomega v1.7.0 15:42:48 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 15:42:48 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:42:48 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 15:42:48 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 15:42:48 go: downloading github.com/hashicorp/go-multierror v1.1.0 15:42:48 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 15:42:48 go: downloading github.com/miekg/dns v1.1.26 15:42:48 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 15:42:48 go: downloading github.com/hashicorp/golang-lru v0.5.0 15:42:48 go: downloading github.com/hashicorp/errwrap v1.0.0 15:42:48 go: downloading github.com/hpcloud/tail v1.0.0 15:42:48 go: downloading github.com/golang/protobuf v1.3.2 15:42:48 go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 15:42:48 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 15:42:48 go: downloading gopkg.in/fsnotify.v1 v1.4.7 15:42:48 go: downloading github.com/fsnotify/fsnotify v1.4.7 15:42:49 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 15:43:28 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:43:28 make -C ./app-service-template test 15:43:28 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:43:28 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:43:55 ok new-app-service 0.045s coverage: 48.1% of statements 15:43:55 ? new-app-service/config [no test files] 15:43:55 ok new-app-service/functions 0.043s 15:43:55 CGO_ENABLED=1 go vet ./... 15:44:22 gofmt -l . 15:44:22 [ "`gofmt -l .`" = "" ] 15:44:22 ./bin/test-attribution-txt.sh 15:44:22 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' 15:44:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:44:23 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:44:24 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app.test] 15:44:24 internal/app/service_test.go:244:13: testRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:24 internal/app/service_test.go:262:13: testRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:24 internal/app/service_test.go:298:13: sdk.runtime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:24 internal/app/service_test.go:314:17: service.runtime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:24 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [build failed] 15:44:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.081s coverage: 93.2% of statements 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:44:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.102s coverage: 61.8% of statements 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:44:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.087s 15:44:29 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] 15:44:29 internal/trigger/messagebus/messaging_test.go:265:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 internal/trigger/messagebus/messaging_test.go:352:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 internal/trigger/messagebus/messaging_test.go:436:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 internal/trigger/messagebus/messaging_test.go:540:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 internal/trigger/messagebus/messaging_test.go:645:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 internal/trigger/messagebus/messaging_test.go:741:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 internal/trigger/messagebus/messaging_test.go:834:11: goRuntime.Initialize undefined (type *"github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime".GolangRuntime has no field or method Initialize) 15:44:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.124s coverage: 75.2% of statements 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:44:29 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.036s coverage: 97.3% of statements 15:44:29 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:44:30 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 10.5% of statements 15:44:30 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] 15:44:30 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:44:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 12.5% of statements 15:44:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.045s coverage: 27.3% of statements 15:44:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:44:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:44:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 51.4% of statements 15:45:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.101s coverage: 77.2% of statements 15:45:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements 15:45:00 FAIL 15:45:00 make: *** [Makefile:31: test-sdk] Error 2 [Pipeline] } 15:45:00 $ docker stop --time=1 1851e83876fe7b41c31403d63725b64a647ed985cb41cc7e45621be769ef0ac2 15:45:02 $ docker rm -f 1851e83876fe7b41c31403d63725b64a647ed985cb41cc7e45621be769ef0ac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:05 15:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:06 arm64: Pulling from edgex-lftools-log-publisher 15:45:06 448f6bf000e3: Pulling fs layer 15:45:06 f757da607395: Pulling fs layer 15:45:06 05883995daec: Pulling fs layer 15:45:06 8603b9c90790: Pulling fs layer 15:45:06 1560dd03e051: Pulling fs layer 15:45:06 27f5ce0e4adf: Pulling fs layer 15:45:06 c2d8d7efcc4b: Pulling fs layer 15:45:06 1560dd03e051: Waiting 15:45:06 27f5ce0e4adf: Waiting 15:45:06 8603b9c90790: Waiting 15:45:06 c2d8d7efcc4b: Waiting 15:45:06 f757da607395: Verifying Checksum 15:45:06 f757da607395: Download complete 15:45:06 8603b9c90790: Verifying Checksum 15:45:06 8603b9c90790: Download complete 15:45:06 1560dd03e051: Verifying Checksum 15:45:06 1560dd03e051: Download complete 15:45:06 27f5ce0e4adf: Download complete 15:45:07 05883995daec: Verifying Checksum 15:45:07 05883995daec: Download complete 15:45:08 448f6bf000e3: Verifying Checksum 15:45:08 448f6bf000e3: Download complete 15:45:11 448f6bf000e3: Pull complete 15:45:11 c2d8d7efcc4b: Verifying Checksum 15:45:11 c2d8d7efcc4b: Download complete 15:45:12 f757da607395: Pull complete 15:45:13 05883995daec: Pull complete 15:45:14 8603b9c90790: Pull complete 15:45:15 1560dd03e051: Pull complete 15:45:15 27f5ce0e4adf: Pull complete 15:45:30 c2d8d7efcc4b: Pull complete 15:45:30 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 15:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:45:30 prd-ubuntu18.04-docker-arm64-4c-16g-697 does not seem to be running inside a container 15:45:30 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:45:34 $ docker top ff6a8dd1516196c36acfdf6be9e5e1843f92d1f4164c782ee981f27c13fba5b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:35 ---> job-cost.sh 15:45:35 lf-activate-venv: SKIPPING 15:45:35 INFO: No Stack... 15:45:36 INFO: Retrieving Pricing Info for: v3-standard-4 15:45:36 INFO: Archiving Costs [Pipeline] sh 15:45:37 + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv 15:45:37 + cut -d, -f6 [Pipeline] lock 15:45:37 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] 15:45:37 Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] did not exist. Created. 15:45:37 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:38 /w/workspace/app-functions-sdk-go/2@tmp/durable-6651d643/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-6651d643/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:45:38 + echo total: 0.10999999940395355 [Pipeline] stash 15:45:39 Warning: overwriting stash ‘stack-cost’ 15:45:39 Stashed 1 file(s) [Pipeline] } 15:45:39 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:39 $ docker stop --time=1 ff6a8dd1516196c36acfdf6be9e5e1843f92d1f4164c782ee981f27c13fba5b5 15:45:41 $ docker rm -f ff6a8dd1516196c36acfdf6be9e5e1843f92d1f4164c782ee981f27c13fba5b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:45:41 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:45:43 + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-938/archives ']' [Pipeline] libraryResource [Pipeline] sh 15:45:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:45:44 ---> package-listing.sh 15:45:44 ++ facter osfamily 15:45:44 ++ tr '[:upper:]' '[:lower:]' 15:45:44 + OS_FAMILY=redhat 15:45:44 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-938 15:45:44 + START_PACKAGES=/tmp/packages_start.txt 15:45:44 + END_PACKAGES=/tmp/packages_end.txt 15:45:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:45:44 + PACKAGES=/tmp/packages_start.txt 15:45:44 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' 15:45:44 + PACKAGES=/tmp/packages_end.txt 15:45:44 + case "${OS_FAMILY}" in 15:45:44 + sort 15:45:44 + rpm -qa 15:45:45 + '[' -f /tmp/packages_start.txt ']' 15:45:45 + '[' -f /tmp/packages_end.txt ']' 15:45:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:45:45 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' 15:45:45 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ 15:45:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ [Pipeline] echo 15:45:45 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-938/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:45:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:46 15:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:45:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:46 latest: Pulling from edgex-lftools-log-publisher 15:45:46 b4d181a07f80: Pulling fs layer 15:45:46 a1111a8f2ec3: Pulling fs layer 15:45:46 ed53099fbce6: Pulling fs layer 15:45:46 dc539afda2c1: Pulling fs layer 15:45:46 77bc0d833cb6: Pulling fs layer 15:45:46 9065ff56babe: Pulling fs layer 15:45:46 d287ab97295c: Pulling fs layer 15:45:46 77bc0d833cb6: Waiting 15:45:46 9065ff56babe: Waiting 15:45:46 d287ab97295c: Waiting 15:45:46 dc539afda2c1: Waiting 15:45:46 a1111a8f2ec3: Verifying Checksum 15:45:46 a1111a8f2ec3: Download complete 15:45:46 dc539afda2c1: Verifying Checksum 15:45:46 dc539afda2c1: Download complete 15:45:47 77bc0d833cb6: Verifying Checksum 15:45:47 77bc0d833cb6: Download complete 15:45:47 9065ff56babe: Verifying Checksum 15:45:47 9065ff56babe: Download complete 15:45:47 ed53099fbce6: Verifying Checksum 15:45:47 ed53099fbce6: Download complete 15:45:48 b4d181a07f80: Verifying Checksum 15:45:48 b4d181a07f80: Download complete 15:45:49 b4d181a07f80: Pull complete 15:45:49 a1111a8f2ec3: Pull complete 15:45:49 ed53099fbce6: Pull complete 15:45:49 dc539afda2c1: Pull complete 15:45:50 77bc0d833cb6: Pull complete 15:45:50 9065ff56babe: Pull complete 15:45:52 d287ab97295c: Verifying Checksum 15:45:52 d287ab97295c: Download complete 15:45:56 d287ab97295c: Pull complete 15:45:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 15:45:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:45:56 prd-centos7-docker-4c-2g-695 does not seem to be running inside a container 15:45:56 $ 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-938/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-938 -v /w/workspace/ndry_app-functions-sdk-go_PR-938:/w/workspace/ndry_app-functions-sdk-go_PR-938:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-938@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:58 $ docker top a19f22cb67a16a4f03a3c223312f622604cb78bd4db7327c06504dce967bac09 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:59 + touch /tmp/pre-build-complete [Pipeline] sh 15:45:59 + mkdir -p /var/log/sysstat [Pipeline] sh 15:46:00 + ls /var/log/sa-host 15:46:00 + sadf -c /var/log/sa-host/sa05 15:46:00 file_magic: OK 15:46:00 HZ: Using current value: 100 15:46:00 file_header: OK 15:46:00 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 15:46:00 Statistics: 15:46:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:46:00 File successfully converted to sysstat format version 12.0.3 15:46:00 + sadf -c /var/log/sa-host/sa24 15:46:00 file_magic: OK 15:46:00 HZ: Using current value: 100 15:46:00 file_header: OK 15:46:00 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 15:46:00 Statistics: 15:46:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:46:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:00 provisioning config files... 15:46:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config8092753837799913997tmp [Pipeline] { [Pipeline] echo 15:46:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:46:00 ---> create-netrc.sh [Pipeline] } 15:46:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:46:00 ---> python-tools-install.sh [Pipeline] echo 15:46:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:46:01 ---> sudo-logs.sh 15:46:01 Archiving 'sudo' log.. 15:46:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-695.vexxhost.local: Name or service not known 15:46:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-695.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo 15:46:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:46:01 ---> job-cost.sh 15:46:01 lf-activate-venv: SKIPPING 15:46:01 DEBUG: total: 0.10999999940395355 15:46:01 INFO: Retrieving Stack Cost... 15:46:02 INFO: Retrieving Pricing Info for: v3-standard-2 15:46:02 INFO: Archiving Costs [Pipeline] echo 15:46:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:46:03 ---> logs-deploy.sh 15:46:03 lf-activate-venv: SKIPPING 15:46:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-938/2 15:46:03 INFO: archiving workspace using pattern(s): 15:46:03 Archives upload complete. 15:46:04 INFO: archiving logs to Nexus 15:46:04 ---> uname -a: 15:46:04 Linux prd-centos7-docker-4c-2g-695.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 15:46:04 15:46:04 15:46:04 ---> lscpu: 15:46:04 Architecture: x86_64 15:46:04 CPU op-mode(s): 32-bit, 64-bit 15:46:04 Byte Order: Little Endian 15:46:04 Address sizes: 40 bits physical, 48 bits virtual 15:46:04 CPU(s): 2 15:46:04 On-line CPU(s) list: 0,1 15:46:04 Thread(s) per core: 1 15:46:04 Core(s) per socket: 1 15:46:04 Socket(s): 2 15:46:04 NUMA node(s): 1 15:46:04 Vendor ID: AuthenticAMD 15:46:04 CPU family: 23 15:46:04 Model: 49 15:46:04 Model name: AMD EPYC-Rome Processor 15:46:04 Stepping: 0 15:46:04 CPU MHz: 2799.998 15:46:04 BogoMIPS: 5599.99 15:46:04 Virtualization: AMD-V 15:46:04 Hypervisor vendor: KVM 15:46:04 Virtualization type: full 15:46:04 L1d cache: 32K 15:46:04 L1i cache: 32K 15:46:04 L2 cache: 512K 15:46:04 L3 cache: 16384K 15:46:04 NUMA node0 CPU(s): 0,1 15:46:04 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 15:46:04 15:46:04 15:46:04 ---> nproc: 15:46:04 2 15:46:04 15:46:04 15:46:04 ---> df -h: 15:46:04 Filesystem Size Used Avail Use% Mounted on 15:46:04 overlay 40G 7.7G 33G 20% / 15:46:04 tmpfs 64M 0 64M 0% /dev 15:46:04 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:46:04 shm 64M 0 64M 0% /dev/shm 15:46:04 /dev/vda1 40G 7.7G 33G 20% /facter-os 15:46:04 15:46:04 15:46:04 ---> sar -b -r -n DEV: 15:46:04 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/24/21 _x86_64_ (2 CPU) 15:46:04 15:46:04 15:38:18 LINUX RESTART (2 CPU) 15:46:04 15:46:04 15:39:01 tps rtps wtps bread/s bwrtn/s 15:46:04 15:40:01 85.06 3.40 81.66 2558.99 4981.88 15:46:04 15:41:02 0.90 0.00 0.90 0.00 14.47 15:46:04 15:42:01 0.22 0.00 0.22 0.00 3.22 15:46:04 15:43:01 0.15 0.00 0.15 0.00 2.18 15:46:04 15:44:01 0.35 0.00 0.35 0.00 5.28 15:46:04 15:45:01 0.22 0.00 0.22 0.00 3.12 15:46:04 Average: 14.52 0.57 13.95 427.69 837.34 15:46:04 15:46:04 15:39:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:46:04 15:40:01 5429004 0 808148 10.09 2620 1769168 1295176 14.30 602056 1576808 20 15:46:04 15:41:02 5440544 0 796600 9.95 2620 1769176 1202076 13.27 592428 1576980 16 15:46:04 15:42:01 5438660 0 798484 9.97 2620 1769176 1202364 13.27 596208 1574852 20 15:46:04 15:43:01 5439392 0 797744 9.96 2620 1769184 1202076 13.27 595180 1575428 16 15:46:04 15:44:01 5435408 0 801724 10.01 2620 1769188 1202368 13.27 591548 1583012 20 15:46:04 15:45:01 5435580 0 801548 10.01 2620 1769192 1202140 13.27 591360 1583016 12 15:46:04 Average: 5436431 0 800708 10.00 2620 1769181 1217700 13.44 594797 1578349 17 15:46:04 15:46:04 15:39:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:46:04 15:40:01 eth0 200.48 154.11 702.30 33.52 0.00 0.00 0.00 0.00 15:46:04 15:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:40:01 docker0 78.49 83.67 8.90 312.66 0.00 0.00 0.00 0.00 15:46:04 15:41:02 eth0 0.75 0.03 0.06 0.03 0.00 0.00 0.00 0.00 15:46:04 15:41:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:41:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:42:01 eth0 1.03 0.29 0.31 0.20 0.00 0.00 0.00 0.00 15:46:04 15:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:43:01 eth0 0.37 0.08 0.03 0.01 0.00 0.00 0.00 0.00 15:46:04 15:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:44:01 eth0 1.60 0.72 0.72 0.46 0.00 0.00 0.00 0.00 15:46:04 15:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:45:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 15:46:04 15:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 15:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 Average: eth0 34.16 25.96 117.56 5.72 0.00 0.00 0.00 0.00 15:46:04 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:46:04 Average: docker0 13.12 13.98 1.49 52.25 0.00 0.00 0.00 0.00 15:46:04 15:46:04 15:46:04 ---> sar -P ALL: 15:46:04 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 08/24/21 _x86_64_ (2 CPU) 15:46:04 15:46:04 15:38:18 LINUX RESTART (2 CPU) 15:46:04 15:46:04 15:39:01 CPU %user %nice %system %iowait %steal %idle 15:46:04 15:40:01 all 5.62 0.00 2.19 2.08 0.04 90.07 15:46:04 15:40:01 0 5.97 0.00 2.05 0.90 0.05 91.03 15:46:04 15:40:01 1 5.28 0.00 2.32 3.25 0.03 89.11 15:46:04 15:41:02 all 0.12 0.00 0.06 0.00 0.02 99.81 15:46:04 15:41:02 0 0.15 0.00 0.05 0.00 0.00 99.80 15:46:04 15:41:02 1 0.08 0.00 0.07 0.00 0.03 99.82 15:46:04 15:42:01 all 0.15 0.00 0.05 0.00 0.02 99.78 15:46:04 15:42:01 0 0.07 0.00 0.05 0.00 0.03 99.85 15:46:04 15:42:01 1 0.24 0.00 0.05 0.00 0.00 99.71 15:46:04 15:43:01 all 0.23 0.00 0.05 0.00 0.03 99.70 15:46:04 15:43:01 0 0.03 0.00 0.05 0.00 0.02 99.90 15:46:04 15:43:01 1 0.42 0.00 0.05 0.00 0.03 99.50 15:46:04 15:44:01 all 0.29 0.00 0.28 0.00 0.03 99.41 15:46:04 15:44:01 0 0.13 0.00 0.30 0.00 0.03 99.53 15:46:04 15:44:01 1 0.45 0.00 0.25 0.00 0.02 99.28 15:46:04 15:45:01 all 0.15 0.00 0.03 0.00 0.02 99.81 15:46:04 15:45:01 0 0.07 0.00 0.02 0.00 0.02 99.90 15:46:04 15:45:01 1 0.23 0.00 0.03 0.00 0.02 99.72 15:46:04 Average: all 1.09 0.00 0.44 0.34 0.02 98.11 15:46:04 Average: 0 1.06 0.00 0.42 0.15 0.03 98.35 15:46:04 Average: 1 1.11 0.00 0.46 0.54 0.02 97.87 15:46:04 15:46:04 15:46:04