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 [2021-08-24T15:39:08.068Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-24T15:39:08.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-24T15:39:08.194Z] ========================================================= [2021-08-24T15:39:08.195Z] EdgeX Global Pipelines Version Info [2021-08-24T15:39:08.195Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:39:09.424Z] ------------------- [2021-08-24T15:39:09.424Z] stable info: [2021-08-24T15:39:09.424Z] ------------------- [2021-08-24T15:39:09.424Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-24T15:39:09.424Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-24T15:39:09.424Z] Message: update stable to v1.0.205 [2021-08-24T15:39:10.010Z] ------------------- [2021-08-24T15:39:10.010Z] experimental info: [2021-08-24T15:39:10.010Z] ------------------- [2021-08-24T15:39:10.010Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-24T15:39:10.010Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-24T15:39:10.010Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-24T15:39:10.152Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-24T15:39:10.178Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-24T15:39:10.204Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-24T15:39:10.228Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-24T15:39:10.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-24T15:39:10.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-24T15:39:10.303Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-24T15:39:10.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-24T15:39:10.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-24T15:39:10.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-24T15:39:10.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-24T15:39:10.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-24T15:39:10.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-24T15:39:10.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-24T15:39:10.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-24T15:39:10.526Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-24T15:39:10.552Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-24T15:39:10.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-24T15:39:10.603Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-24T15:39:10.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-24T15:39:10.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-24T15:39:10.679Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-24T15:39:10.703Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-24T15:39:10.728Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-24T15:39:10.752Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-24T15:39:10.777Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-24T15:39:10.801Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-24T15:39:10.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-938 [Pipeline] echo [2021-08-24T15:39:10.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-938 [Pipeline] echo [2021-08-24T15:39:10.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-938 [Pipeline] echo [2021-08-24T15:39:10.902Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 314f7188a5aaa180fb4c70faf4d2969a3f909372 [Pipeline] echo [2021-08-24T15:39:10.927Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 314f718 [Pipeline] echo [2021-08-24T15:39:10.961Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-24T15:39:11.475Z] + git log --format=format:%s -1 314f7188a5aaa180fb4c70faf4d2969a3f909372 [Pipeline] echo [2021-08-24T15:39:11.530Z] GIT_COMMIT: 314f7188a5aaa180fb4c70faf4d2969a3f909372, Commit Message: feat: Add Pipeline per Topic capability [Pipeline] echo [2021-08-24T15:39:11.548Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:39:12.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-24T15:39:12.544Z] [2021-08-24T15:39:12.544Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:39:12.874Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-24T15:39:18.212Z] latest: Pulling from edgex-devops/git-semver [2021-08-24T15:39:18.212Z] 31603596830f: Pulling fs layer [2021-08-24T15:39:18.212Z] 04fac38145f0: Pulling fs layer [2021-08-24T15:39:18.212Z] 701f6daf10bf: Pulling fs layer [2021-08-24T15:39:18.212Z] 24f72da36158: Pulling fs layer [2021-08-24T15:39:18.212Z] 24f72da36158: Waiting [2021-08-24T15:39:18.212Z] 04fac38145f0: Verifying Checksum [2021-08-24T15:39:18.212Z] 04fac38145f0: Download complete [2021-08-24T15:39:18.212Z] 31603596830f: Verifying Checksum [2021-08-24T15:39:18.212Z] 31603596830f: Download complete [2021-08-24T15:39:18.479Z] 31603596830f: Pull complete [2021-08-24T15:39:18.479Z] 04fac38145f0: Pull complete [2021-08-24T15:39:18.479Z] 24f72da36158: Verifying Checksum [2021-08-24T15:39:18.479Z] 24f72da36158: Download complete [2021-08-24T15:39:18.747Z] 701f6daf10bf: Verifying Checksum [2021-08-24T15:39:18.748Z] 701f6daf10bf: Download complete [2021-08-24T15:39:19.015Z] 701f6daf10bf: Pull complete [2021-08-24T15:39:19.283Z] 24f72da36158: Pull complete [2021-08-24T15:39:19.283Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-24T15:39:19.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-24T15:39:19.283Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-24T15:39:19.390Z] prd-centos7-docker-4c-2g-695 does not seem to be running inside a container [2021-08-24T15:39:19.443Z] $ 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 [2021-08-24T15:39:20.177Z] $ docker top 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-24T15:39:20.306Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-24T15:39:20.306Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-24T15:39:20.415Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-24T15:39:20.413Z] $ docker exec 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent [2021-08-24T15:39:20.539Z] SSH_AUTH_SOCK=/tmp/ssh-vlJ8k1JwH4T5/agent.13 [2021-08-24T15:39:20.539Z] SSH_AGENT_PID=19 [2021-08-24T15:39:20.551Z] Running ssh-add (command line suppressed) [2021-08-24T15:39:20.637Z] 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) [2021-08-24T15:39:20.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-24T15:39:20.996Z] + git tag --points-at HEAD [Pipeline] } [2021-08-24T15:39:21.013Z] $ docker exec --env ******** --env ******** 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent -k [2021-08-24T15:39:21.107Z] unset SSH_AUTH_SOCK; [2021-08-24T15:39:21.108Z] unset SSH_AGENT_PID; [2021-08-24T15:39:21.108Z] echo Agent pid 19 killed; [2021-08-24T15:39:21.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-24T15:39:21.165Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-24T15:39:21.165Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-24T15:39:21.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-24T15:39:21.274Z] $ docker exec 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent [2021-08-24T15:39:21.385Z] SSH_AUTH_SOCK=/tmp/ssh-gfHP3hRqtv7T/agent.52 [2021-08-24T15:39:21.385Z] SSH_AGENT_PID=58 [2021-08-24T15:39:21.394Z] Running ssh-add (command line suppressed) [2021-08-24T15:39:21.484Z] 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) [2021-08-24T15:39:21.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-24T15:39:21.825Z] + git semver init [2021-08-24T15:39:21.825Z] # -> Open(): unable to determine branch for HEAD [2021-08-24T15:39:21.825Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.git [2021-08-24T15:39:21.825Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-938 [2021-08-24T15:39:21.825Z] # $SEMVER_REMOTE_NAME = origin [2021-08-24T15:39:21.825Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-24T15:39:21.825Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-24T15:39:21.825Z] # $SEMVER_BRANCH = PR-938 [2021-08-24T15:39:21.825Z] # $SEMVER_TEMP = /tmp/semver-135601693 [2021-08-24T15:39:21.825Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-24T15:39:23.772Z] # '/tmp/semver-135601693' -> '/w/workspace/ndry_app-functions-sdk-go_PR-938/.semver' [2021-08-24T15:39:23.772Z] # -> Force: false [2021-08-24T15:39:23.772Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.semver [Pipeline] } [2021-08-24T15:39:23.785Z] $ docker exec --env ******** --env ******** 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 ssh-agent -k [2021-08-24T15:39:23.882Z] unset SSH_AUTH_SOCK; [2021-08-24T15:39:23.883Z] unset SSH_AGENT_PID; [2021-08-24T15:39:23.883Z] echo Agent pid 58 killed; [2021-08-24T15:39:23.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-24T15:39:24.249Z] + git semver [Pipeline] } [2021-08-24T15:39:24.264Z] $ docker stop --time=1 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 [2021-08-24T15:39:25.572Z] $ docker rm -f 1e27348fbc6ecf1664dff0982e2d4aae421198ca7b11b0d7d69ba2089ed5afd9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-24T15:39:25.963Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-24T15:39:26.309Z] Stashed 1 file(s) [Pipeline] echo [2021-08-24T15:39:26.313Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-08-24T15:39:41.630Z] Still waiting to schedule task [2021-08-24T15:39:41.631Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-24T15:39:41.634Z] Still waiting to schedule task [2021-08-24T15:39:41.634Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-24T15:39:57.983Z] Running on prd-centos7-docker-4c-2g-696 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws [2021-08-24T15:39:58.003Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-08-24T15:39:58.144Z] The recommended git tool is: git [2021-08-24T15:40:01.301Z] using credential edgex-jenkins-ssh [2021-08-24T15:40:01.319Z] Cloning the remote Git repository [2021-08-24T15:40:00.978Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-24T15:40:01.059Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-08-24T15:40:01.102Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-24T15:40:01.102Z] > git --version # timeout=10 [2021-08-24T15:40:01.111Z] > git --version # 'git version 2.24.4' [2021-08-24T15:40:01.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-24T15:40:01.159Z] [INFO] Currently running in a labeled security context [2021-08-24T15:40:01.159Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-24T15:40:01.160Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh5961088620762534645.key [2021-08-24T15:40:01.172Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-24T15:40:04.611Z] Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 314f7188a5aaa180fb4c70faf4d2969a3f909372 [2021-08-24T15:40:04.706Z] Merge succeeded, producing 314f7188a5aaa180fb4c70faf4d2969a3f909372 [2021-08-24T15:40:04.707Z] Checking out Revision 314f7188a5aaa180fb4c70faf4d2969a3f909372 (PR-938) [2021-08-24T15:40:03.791Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-24T15:40:03.803Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-24T15:40:03.820Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-24T15:40:03.836Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-24T15:40:03.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-24T15:40:03.839Z] [INFO] Currently running in a labeled security context [2021-08-24T15:40:03.839Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-24T15:40:03.839Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh3441829068481413888.key [2021-08-24T15:40:03.850Z] > 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 [2021-08-24T15:40:04.529Z] > git config core.sparsecheckout # timeout=10 [2021-08-24T15:40:04.537Z] > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 [2021-08-24T15:40:04.582Z] > git remote # timeout=10 [2021-08-24T15:40:04.588Z] > git config --get remote.origin.url # timeout=10 [2021-08-24T15:40:04.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-24T15:40:04.594Z] [INFO] Currently running in a labeled security context [2021-08-24T15:40:04.594Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-24T15:40:04.594Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8368503919800972159.key [2021-08-24T15:40:04.599Z] > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 [2021-08-24T15:40:04.609Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-24T15:40:04.624Z] > git config core.sparsecheckout # timeout=10 [2021-08-24T15:40:04.628Z] > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 [2021-08-24T15:40:08.511Z] 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 [2021-08-24T15:40:09.247Z] ========================================================= [2021-08-24T15:40:09.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-24T15:40:09.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-24T15:40:09.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-24T15:40:10.282Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-24T15:40:10.282Z] 540db60ca938: Pulling fs layer [2021-08-24T15:40:10.282Z] adcc1eea9eea: Pulling fs layer [2021-08-24T15:40:10.282Z] 4c4ab2625f07: Pulling fs layer [2021-08-24T15:40:10.282Z] db62176df00c: Pulling fs layer [2021-08-24T15:40:10.282Z] 3b30891b0d05: Pulling fs layer [2021-08-24T15:40:10.282Z] 06b49ca38bd5: Pulling fs layer [2021-08-24T15:40:10.282Z] c788192a36de: Pulling fs layer [2021-08-24T15:40:10.282Z] a77e37c0d609: Pulling fs layer [2021-08-24T15:40:10.282Z] c3185cebc471: Pulling fs layer [2021-08-24T15:40:10.282Z] 06b49ca38bd5: Waiting [2021-08-24T15:40:10.282Z] c788192a36de: Waiting [2021-08-24T15:40:10.282Z] a77e37c0d609: Waiting [2021-08-24T15:40:10.282Z] c3185cebc471: Waiting [2021-08-24T15:40:10.282Z] db62176df00c: Waiting [2021-08-24T15:40:10.282Z] 3b30891b0d05: Waiting [2021-08-24T15:40:10.282Z] 4c4ab2625f07: Verifying Checksum [2021-08-24T15:40:10.282Z] 4c4ab2625f07: Download complete [2021-08-24T15:40:10.282Z] adcc1eea9eea: Verifying Checksum [2021-08-24T15:40:10.282Z] adcc1eea9eea: Download complete [2021-08-24T15:40:10.282Z] 3b30891b0d05: Verifying Checksum [2021-08-24T15:40:10.282Z] 3b30891b0d05: Download complete [2021-08-24T15:40:10.282Z] 06b49ca38bd5: Verifying Checksum [2021-08-24T15:40:10.282Z] 06b49ca38bd5: Download complete [2021-08-24T15:40:10.282Z] 540db60ca938: Verifying Checksum [2021-08-24T15:40:10.282Z] 540db60ca938: Download complete [2021-08-24T15:40:10.282Z] c788192a36de: Verifying Checksum [2021-08-24T15:40:10.282Z] c788192a36de: Download complete [2021-08-24T15:40:10.549Z] 540db60ca938: Pull complete [2021-08-24T15:40:10.814Z] adcc1eea9eea: Pull complete [2021-08-24T15:40:10.814Z] 4c4ab2625f07: Pull complete [2021-08-24T15:40:11.079Z] a77e37c0d609: Verifying Checksum [2021-08-24T15:40:11.079Z] a77e37c0d609: Download complete [2021-08-24T15:40:15.336Z] c3185cebc471: Verifying Checksum [2021-08-24T15:40:15.336Z] c3185cebc471: Download complete [2021-08-24T15:40:15.921Z] db62176df00c: Verifying Checksum [2021-08-24T15:40:15.921Z] db62176df00c: Download complete [2021-08-24T15:40:19.296Z] db62176df00c: Pull complete [2021-08-24T15:40:19.296Z] 3b30891b0d05: Pull complete [2021-08-24T15:40:19.296Z] 06b49ca38bd5: Pull complete [2021-08-24T15:40:19.572Z] c788192a36de: Pull complete [2021-08-24T15:40:19.572Z] a77e37c0d609: Pull complete [2021-08-24T15:40:21.539Z] c3185cebc471: Pull complete [2021-08-24T15:40:21.539Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-24T15:40:21.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-24T15:40:21.539Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-24T15:40:21.903Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:40:22.252Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-24T15:40:22.253Z] . [Pipeline] withDockerContainer [2021-08-24T15:40:22.360Z] prd-centos7-docker-4c-2g-696 does not seem to be running inside a container [2021-08-24T15:40:22.434Z] $ 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 [2021-08-24T15:40:24.881Z] $ docker top 9662bbf9e0c2ddbb8f460166f885772b1ec9c59dadcef42ec1f2159a4286eeef -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-24T15:40:25.300Z] + go version [2021-08-24T15:40:25.300Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-24T15:40:25.319Z] $ docker stop --time=1 9662bbf9e0c2ddbb8f460166f885772b1ec9c59dadcef42ec1f2159a4286eeef [2021-08-24T15:40:26.497Z] $ docker rm -f 9662bbf9e0c2ddbb8f460166f885772b1ec9c59dadcef42ec1f2159a4286eeef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:40:27.109Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-24T15:40:27.109Z] . [Pipeline] withDockerContainer [2021-08-24T15:40:27.231Z] prd-centos7-docker-4c-2g-696 does not seem to be running inside a container [2021-08-24T15:40:27.334Z] $ 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 [2021-08-24T15:40:27.706Z] $ docker top 2cdf4a758ea537c7e787af367ed79773a34e900ea725f2789e93fd048afac32b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-24T15:40:28.137Z] + make test [2021-08-24T15:40:28.137Z] make -C ./app-service-template build [2021-08-24T15:40:28.137Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:40:28.137Z] go mod tidy [2021-08-24T15:40:28.732Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-24T15:40:28.732Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-24T15:40:28.732Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-24T15:40:28.732Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-24T15:40:28.732Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-24T15:40:28.732Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-24T15:40:28.732Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-24T15:40:28.732Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-24T15:40:28.732Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-24T15:40:29.000Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-24T15:40:29.000Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-24T15:40:29.000Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-24T15:40:29.000Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-24T15:40:29.000Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-24T15:40:29.000Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-24T15:40:29.000Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-24T15:40:29.000Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-24T15:40:29.000Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-24T15:40:29.000Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-24T15:40:29.000Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-24T15:40:29.000Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-24T15:40:29.271Z] go: downloading golang.org/x/text v0.3.2 [2021-08-24T15:40:29.539Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-24T15:40:29.539Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-24T15:40:31.507Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-24T15:40:31.507Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-24T15:40:31.507Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-24T15:40:31.507Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-24T15:40:31.507Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-08-24T15:40:31.507Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-24T15:40:31.507Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-24T15:40:31.507Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-24T15:40:31.507Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-24T15:40:31.507Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-24T15:40:31.780Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-24T15:40:31.780Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-24T15:40:31.780Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-24T15:40:31.780Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-24T15:40:31.780Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-24T15:40:31.780Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-24T15:40:31.780Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-24T15:40:31.780Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-24T15:40:32.050Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-24T15:40:32.050Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-24T15:40:32.050Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-24T15:40:32.050Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-24T15:40:32.050Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-24T15:40:32.050Z] go: downloading github.com/kr/text v0.1.0 [2021-08-24T15:40:32.050Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-24T15:40:32.050Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-24T15:40:32.050Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-24T15:40:32.050Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-24T15:40:32.050Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-24T15:40:32.050Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-24T15:40:32.050Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-24T15:40:32.319Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-24T15:40:32.319Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-24T15:40:32.319Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-24T15:40:32.319Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-24T15:40:32.319Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-24T15:40:32.319Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-24T15:40:32.319Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-24T15:40:32.319Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-24T15:40:32.319Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-24T15:40:32.584Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-24T15:40:32.584Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-24T15:40:32.584Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-24T15:40:32.584Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-24T15:40:32.584Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-24T15:40:32.584Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-24T15:40:32.584Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-24T15:40:32.584Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-24T15:40:32.584Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-24T15:40:32.584Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-24T15:40:32.584Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-24T15:40:32.850Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-24T15:40:32.850Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-24T15:40:32.850Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-24T15:40:32.850Z] 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 [2021-08-24T15:40:42.992Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:40:42.992Z] make -C ./app-service-template test [2021-08-24T15:40:42.992Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:40:42.992Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-24T15:40:53.122Z] ok new-app-service 0.012s coverage: 48.1% of statements [2021-08-24T15:40:53.122Z] ? new-app-service/config [no test files] [2021-08-24T15:40:53.122Z] ok new-app-service/functions 0.007s [2021-08-24T15:40:53.122Z] CGO_ENABLED=1 go vet ./... [2021-08-24T15:40:58.516Z] gofmt -l . [2021-08-24T15:40:58.516Z] [ "`gofmt -l .`" = "" ] [2021-08-24T15:40:58.516Z] ./bin/test-attribution-txt.sh [2021-08-24T15:40:58.791Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:40:58.791Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-24T15:40:59.067Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-24T15:40:59.334Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app.test] [2021-08-24T15:40:59.334Z] 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) [2021-08-24T15:40:59.334Z] 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) [2021-08-24T15:40:59.334Z] 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) [2021-08-24T15:40:59.334Z] 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) [2021-08-24T15:40:59.334Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [build failed] [2021-08-24T15:41:00.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.2% of statements [2021-08-24T15:41:00.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-24T15:41:00.303Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements [2021-08-24T15:41:00.303Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-24T15:41:00.570Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.005s [2021-08-24T15:41:01.163Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.073s coverage: 75.2% of statements [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-24T15:41:01.163Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.3% of statements [2021-08-24T15:41:01.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-24T15:41:01.163Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.163Z] 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) [2021-08-24T15:41:01.430Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements [2021-08-24T15:41:01.430Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] [2021-08-24T15:41:01.430Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-24T15:41:01.703Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 12.5% of statements [2021-08-24T15:41:02.182Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements [2021-08-24T15:41:02.182Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-24T15:41:02.182Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-24T15:41:02.182Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements [2021-08-24T15:41:28.899Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.031s coverage: 77.2% of statements [2021-08-24T15:41:28.899Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.046s coverage: 94.4% of statements [2021-08-24T15:41:28.899Z] FAIL [2021-08-24T15:41:28.899Z] make: *** [Makefile:31: test-sdk] Error 2 [Pipeline] } [2021-08-24T15:41:28.918Z] $ docker stop --time=1 2cdf4a758ea537c7e787af367ed79773a34e900ea725f2789e93fd048afac32b [2021-08-24T15:41:30.219Z] $ 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 [2021-08-24T15:41:31.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-24T15:41:31.454Z] [2021-08-24T15:41:31.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:41:31.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-24T15:41:31.794Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-24T15:41:31.794Z] b4d181a07f80: Pulling fs layer [2021-08-24T15:41:31.794Z] a1111a8f2ec3: Pulling fs layer [2021-08-24T15:41:31.794Z] ed53099fbce6: Pulling fs layer [2021-08-24T15:41:31.794Z] dc539afda2c1: Pulling fs layer [2021-08-24T15:41:31.794Z] 77bc0d833cb6: Pulling fs layer [2021-08-24T15:41:31.794Z] 9065ff56babe: Pulling fs layer [2021-08-24T15:41:31.794Z] d287ab97295c: Pulling fs layer [2021-08-24T15:41:31.794Z] 77bc0d833cb6: Waiting [2021-08-24T15:41:31.794Z] 9065ff56babe: Waiting [2021-08-24T15:41:31.794Z] d287ab97295c: Waiting [2021-08-24T15:41:31.794Z] dc539afda2c1: Waiting [2021-08-24T15:41:32.061Z] a1111a8f2ec3: Verifying Checksum [2021-08-24T15:41:32.061Z] a1111a8f2ec3: Download complete [2021-08-24T15:41:32.061Z] dc539afda2c1: Verifying Checksum [2021-08-24T15:41:32.061Z] dc539afda2c1: Download complete [2021-08-24T15:41:32.330Z] 77bc0d833cb6: Verifying Checksum [2021-08-24T15:41:32.330Z] 77bc0d833cb6: Download complete [2021-08-24T15:41:32.595Z] ed53099fbce6: Verifying Checksum [2021-08-24T15:41:32.595Z] ed53099fbce6: Download complete [2021-08-24T15:41:33.572Z] b4d181a07f80: Verifying Checksum [2021-08-24T15:41:33.572Z] b4d181a07f80: Download complete [2021-08-24T15:41:34.540Z] b4d181a07f80: Pull complete [2021-08-24T15:41:34.814Z] a1111a8f2ec3: Pull complete [2021-08-24T15:41:35.085Z] ed53099fbce6: Pull complete [2021-08-24T15:41:35.358Z] dc539afda2c1: Pull complete [2021-08-24T15:41:35.358Z] 77bc0d833cb6: Pull complete [2021-08-24T15:41:37.301Z] 9065ff56babe: Verifying Checksum [2021-08-24T15:41:37.301Z] 9065ff56babe: Download complete [2021-08-24T15:41:37.566Z] 9065ff56babe: Pull complete [2021-08-24T15:41:45.972Z] d287ab97295c: Verifying Checksum [2021-08-24T15:41:45.972Z] d287ab97295c: Download complete [2021-08-24T15:41:48.165Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-697 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws [2021-08-24T15:41:48.186Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-08-24T15:41:48.590Z] The recommended git tool is: git [2021-08-24T15:41:50.533Z] d287ab97295c: Pull complete [2021-08-24T15:41:50.533Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-24T15:41:50.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-24T15:41:50.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-24T15:41:50.631Z] prd-centos7-docker-4c-2g-696 does not seem to be running inside a container [2021-08-24T15:41:50.696Z] $ 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 [2021-08-24T15:41:53.305Z] $ docker top c00e3b00c2b9e7741545fead38c903b20235bee159ba3a5c8bc3105552a2bef3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:41:53.903Z] ---> job-cost.sh [2021-08-24T15:41:53.903Z] lf-activate-venv: SKIPPING [2021-08-24T15:41:53.903Z] INFO: No Stack... [2021-08-24T15:41:54.490Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-24T15:41:54.669Z] using credential edgex-jenkins-ssh [2021-08-24T15:41:54.690Z] Cloning the remote Git repository [2021-08-24T15:41:54.755Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-24T15:41:54.876Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-08-24T15:41:54.974Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-24T15:41:54.976Z] > git --version # timeout=10 [2021-08-24T15:41:54.992Z] > git --version # 'git version 2.17.1' [2021-08-24T15:41:54.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-24T15:41:55.071Z] INFO: Archiving Costs [Pipeline] sh [2021-08-24T15:41:55.393Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-08-24T15:41:55.393Z] + cut -d, -f6 [Pipeline] lock [2021-08-24T15:41:55.433Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [2021-08-24T15:41:55.442Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] did not exist. Created. [2021-08-24T15:41:55.442Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-24T15:41:55.784Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-24T15:41:56.042Z] Stashed 1 file(s) [Pipeline] } [2021-08-24T15:41:56.056Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-24T15:41:56.083Z] $ docker stop --time=1 c00e3b00c2b9e7741545fead38c903b20235bee159ba3a5c8bc3105552a2bef3 [2021-08-24T15:41:55.066Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-24T15:41:57.245Z] $ 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] } [2021-08-24T15:41:57.616Z] Failed in branch amd64 [2021-08-24T15:41:58.388Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-24T15:41:58.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-24T15:41:58.440Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-24T15:41:58.473Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-24T15:41:58.473Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-24T15:41:58.486Z] > 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 [2021-08-24T15:41:59.170Z] Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 314f7188a5aaa180fb4c70faf4d2969a3f909372 [2021-08-24T15:41:59.416Z] Merge succeeded, producing 314f7188a5aaa180fb4c70faf4d2969a3f909372 [2021-08-24T15:41:59.417Z] Checking out Revision 314f7188a5aaa180fb4c70faf4d2969a3f909372 (PR-938) [2021-08-24T15:41:59.195Z] > git config core.sparsecheckout # timeout=10 [2021-08-24T15:41:59.219Z] > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 [2021-08-24T15:41:59.336Z] > git remote # timeout=10 [2021-08-24T15:41:59.355Z] > git config --get remote.origin.url # timeout=10 [2021-08-24T15:41:59.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-24T15:41:59.376Z] > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 [2021-08-24T15:41:59.407Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-24T15:41:59.430Z] > git config core.sparsecheckout # timeout=10 [2021-08-24T15:41:59.442Z] > git checkout -f 314f7188a5aaa180fb4c70faf4d2969a3f909372 # timeout=10 [2021-08-24T15:42:03.682Z] 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 [2021-08-24T15:42:04.475Z] ========================================================= [2021-08-24T15:42:04.475Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-24T15:42:04.475Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-24T15:42:05.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-24T15:42:06.503Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-24T15:42:06.503Z] 595b0fe564bb: Pulling fs layer [2021-08-24T15:42:06.503Z] 24495759ef45: Pulling fs layer [2021-08-24T15:42:06.503Z] d148012ef14d: Pulling fs layer [2021-08-24T15:42:06.503Z] e90a11edd702: Pulling fs layer [2021-08-24T15:42:06.503Z] d77568369979: Pulling fs layer [2021-08-24T15:42:06.503Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-24T15:42:06.503Z] 170f2ba95c9a: Pulling fs layer [2021-08-24T15:42:06.503Z] 97ac5df62f85: Pulling fs layer [2021-08-24T15:42:06.503Z] d77568369979: Waiting [2021-08-24T15:42:06.503Z] fc1c9f9a7f3b: Waiting [2021-08-24T15:42:06.503Z] 170f2ba95c9a: Waiting [2021-08-24T15:42:06.503Z] 97ac5df62f85: Waiting [2021-08-24T15:42:06.503Z] e90a11edd702: Waiting [2021-08-24T15:42:06.503Z] d148012ef14d: Verifying Checksum [2021-08-24T15:42:06.503Z] d148012ef14d: Download complete [2021-08-24T15:42:06.503Z] 24495759ef45: Verifying Checksum [2021-08-24T15:42:06.503Z] 24495759ef45: Download complete [2021-08-24T15:42:06.503Z] d77568369979: Download complete [2021-08-24T15:42:06.503Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-24T15:42:06.503Z] fc1c9f9a7f3b: Download complete [2021-08-24T15:42:06.503Z] 595b0fe564bb: Verifying Checksum [2021-08-24T15:42:06.503Z] 595b0fe564bb: Download complete [2021-08-24T15:42:06.503Z] 170f2ba95c9a: Verifying Checksum [2021-08-24T15:42:06.503Z] 170f2ba95c9a: Download complete [2021-08-24T15:42:07.111Z] 595b0fe564bb: Pull complete [2021-08-24T15:42:07.719Z] 24495759ef45: Pull complete [2021-08-24T15:42:08.330Z] d148012ef14d: Pull complete [2021-08-24T15:42:09.842Z] 97ac5df62f85: Verifying Checksum [2021-08-24T15:42:09.842Z] 97ac5df62f85: Download complete [2021-08-24T15:42:10.834Z] e90a11edd702: Verifying Checksum [2021-08-24T15:42:10.834Z] e90a11edd702: Download complete [2021-08-24T15:42:23.305Z] e90a11edd702: Pull complete [2021-08-24T15:42:23.305Z] d77568369979: Pull complete [2021-08-24T15:42:23.305Z] fc1c9f9a7f3b: Pull complete [2021-08-24T15:42:23.305Z] 170f2ba95c9a: Pull complete [2021-08-24T15:42:28.754Z] 97ac5df62f85: Pull complete [2021-08-24T15:42:28.754Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-24T15:42:28.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-24T15:42:28.754Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-24T15:42:29.153Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:42:29.502Z] + docker inspect -f . ci-base-image-arm64 [2021-08-24T15:42:29.502Z] . [Pipeline] withDockerContainer [2021-08-24T15:42:29.802Z] prd-ubuntu18.04-docker-arm64-4c-16g-697 does not seem to be running inside a container [2021-08-24T15:42:29.913Z] $ 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 [2021-08-24T15:42:35.078Z] $ docker top ff966058131c0052ac7dcbb08119da9267e6355f904253d629864eb65b58232c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-24T15:42:36.057Z] + go version [2021-08-24T15:42:36.057Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-24T15:42:36.081Z] $ docker stop --time=1 ff966058131c0052ac7dcbb08119da9267e6355f904253d629864eb65b58232c [2021-08-24T15:42:38.044Z] $ docker rm -f ff966058131c0052ac7dcbb08119da9267e6355f904253d629864eb65b58232c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:42:38.914Z] + docker inspect -f . ci-base-image-arm64 [2021-08-24T15:42:38.914Z] . [Pipeline] withDockerContainer [2021-08-24T15:42:39.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-697 does not seem to be running inside a container [2021-08-24T15:42:39.228Z] $ 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 [2021-08-24T15:42:40.849Z] $ docker top 1851e83876fe7b41c31403d63725b64a647ed985cb41cc7e45621be769ef0ac2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-24T15:42:41.793Z] + make test [2021-08-24T15:42:41.793Z] make -C ./app-service-template build [2021-08-24T15:42:41.793Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:42:41.793Z] go mod tidy [2021-08-24T15:42:42.772Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-24T15:42:42.772Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-24T15:42:42.772Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-24T15:42:43.047Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-24T15:42:43.047Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-24T15:42:43.047Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-24T15:42:43.047Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-24T15:42:43.047Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-24T15:42:43.047Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-24T15:42:43.323Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-24T15:42:43.323Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-24T15:42:43.323Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-24T15:42:43.323Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-24T15:42:43.323Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-24T15:42:43.323Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-24T15:42:43.596Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-24T15:42:43.596Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-24T15:42:43.596Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-24T15:42:43.596Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-08-24T15:42:43.596Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-24T15:42:43.873Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-24T15:42:43.873Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-24T15:42:43.873Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-24T15:42:43.873Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-24T15:42:43.873Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-24T15:42:44.151Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-24T15:42:44.151Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-24T15:42:44.151Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-24T15:42:44.151Z] go: downloading golang.org/x/text v0.3.2 [2021-08-24T15:42:44.762Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-24T15:42:44.762Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-24T15:42:47.417Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-24T15:42:47.417Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-24T15:42:47.417Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-24T15:42:47.417Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-24T15:42:47.417Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-24T15:42:47.417Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-24T15:42:47.417Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-24T15:42:47.417Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-24T15:42:47.417Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-24T15:42:47.417Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-24T15:42:47.417Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-24T15:42:47.417Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-24T15:42:47.417Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-24T15:42:47.690Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-24T15:42:47.690Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-24T15:42:47.690Z] go: downloading github.com/kr/text v0.1.0 [2021-08-24T15:42:47.690Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-24T15:42:47.690Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-24T15:42:47.690Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-24T15:42:47.690Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-24T15:42:47.963Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-24T15:42:47.963Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-24T15:42:47.963Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-24T15:42:47.963Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-24T15:42:47.963Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-24T15:42:47.963Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-24T15:42:47.963Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-24T15:42:47.963Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-24T15:42:47.963Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-24T15:42:47.963Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-24T15:42:47.963Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-24T15:42:48.237Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-24T15:42:48.237Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-24T15:42:48.237Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-24T15:42:48.237Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-24T15:42:48.237Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-24T15:42:48.514Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-24T15:42:48.514Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-24T15:42:48.514Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-24T15:42:48.514Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-24T15:42:48.514Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-24T15:42:48.514Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-24T15:42:48.514Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-24T15:42:48.790Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-24T15:42:48.790Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-24T15:42:48.790Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-24T15:42:48.790Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-24T15:42:49.066Z] 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 [2021-08-24T15:43:28.397Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:43:28.397Z] make -C ./app-service-template test [2021-08-24T15:43:28.397Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:43:28.397Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-24T15:43:55.255Z] ok new-app-service 0.045s coverage: 48.1% of statements [2021-08-24T15:43:55.255Z] ? new-app-service/config [no test files] [2021-08-24T15:43:55.255Z] ok new-app-service/functions 0.043s [2021-08-24T15:43:55.255Z] CGO_ENABLED=1 go vet ./... [2021-08-24T15:44:22.073Z] gofmt -l . [2021-08-24T15:44:22.073Z] [ "`gofmt -l .`" = "" ] [2021-08-24T15:44:22.073Z] ./bin/test-attribution-txt.sh [2021-08-24T15:44:22.073Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-08-24T15:44:22.073Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-24T15:44:23.055Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-24T15:44:24.053Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app.test] [2021-08-24T15:44:24.053Z] 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) [2021-08-24T15:44:24.053Z] 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) [2021-08-24T15:44:24.053Z] 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) [2021-08-24T15:44:24.053Z] 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) [2021-08-24T15:44:24.053Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app [build failed] [2021-08-24T15:44:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.081s coverage: 93.2% of statements [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-24T15:44:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.102s coverage: 61.8% of statements [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-24T15:44:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.087s [2021-08-24T15:44:29.516Z] # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] 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) [2021-08-24T15:44:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.124s coverage: 75.2% of statements [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-24T15:44:29.516Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.036s coverage: 97.3% of statements [2021-08-24T15:44:29.516Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-24T15:44:30.984Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.048s coverage: 10.5% of statements [2021-08-24T15:44:30.984Z] FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] [2021-08-24T15:44:30.984Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-24T15:44:31.589Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.040s coverage: 12.5% of statements [2021-08-24T15:44:32.581Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.045s coverage: 27.3% of statements [2021-08-24T15:44:32.581Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-24T15:44:32.581Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-24T15:44:33.598Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.040s coverage: 51.4% of statements [2021-08-24T15:45:00.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.101s coverage: 77.2% of statements [2021-08-24T15:45:00.378Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements [2021-08-24T15:45:00.378Z] FAIL [2021-08-24T15:45:00.649Z] make: *** [Makefile:31: test-sdk] Error 2 [Pipeline] } [2021-08-24T15:45:00.672Z] $ docker stop --time=1 1851e83876fe7b41c31403d63725b64a647ed985cb41cc7e45621be769ef0ac2 [2021-08-24T15:45:02.808Z] $ 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 [2021-08-24T15:45:05.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-24T15:45:05.740Z] [2021-08-24T15:45:05.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:45:06.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-24T15:45:06.381Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-24T15:45:06.381Z] 448f6bf000e3: Pulling fs layer [2021-08-24T15:45:06.381Z] f757da607395: Pulling fs layer [2021-08-24T15:45:06.381Z] 05883995daec: Pulling fs layer [2021-08-24T15:45:06.381Z] 8603b9c90790: Pulling fs layer [2021-08-24T15:45:06.381Z] 1560dd03e051: Pulling fs layer [2021-08-24T15:45:06.381Z] 27f5ce0e4adf: Pulling fs layer [2021-08-24T15:45:06.381Z] c2d8d7efcc4b: Pulling fs layer [2021-08-24T15:45:06.381Z] 1560dd03e051: Waiting [2021-08-24T15:45:06.381Z] 27f5ce0e4adf: Waiting [2021-08-24T15:45:06.381Z] 8603b9c90790: Waiting [2021-08-24T15:45:06.381Z] c2d8d7efcc4b: Waiting [2021-08-24T15:45:06.657Z] f757da607395: Verifying Checksum [2021-08-24T15:45:06.657Z] f757da607395: Download complete [2021-08-24T15:45:06.657Z] 8603b9c90790: Verifying Checksum [2021-08-24T15:45:06.657Z] 8603b9c90790: Download complete [2021-08-24T15:45:06.935Z] 1560dd03e051: Verifying Checksum [2021-08-24T15:45:06.935Z] 1560dd03e051: Download complete [2021-08-24T15:45:06.935Z] 27f5ce0e4adf: Download complete [2021-08-24T15:45:07.531Z] 05883995daec: Verifying Checksum [2021-08-24T15:45:07.531Z] 05883995daec: Download complete [2021-08-24T15:45:08.131Z] 448f6bf000e3: Verifying Checksum [2021-08-24T15:45:08.131Z] 448f6bf000e3: Download complete [2021-08-24T15:45:11.531Z] 448f6bf000e3: Pull complete [2021-08-24T15:45:11.531Z] c2d8d7efcc4b: Verifying Checksum [2021-08-24T15:45:11.531Z] c2d8d7efcc4b: Download complete [2021-08-24T15:45:12.514Z] f757da607395: Pull complete [2021-08-24T15:45:13.951Z] 05883995daec: Pull complete [2021-08-24T15:45:14.225Z] 8603b9c90790: Pull complete [2021-08-24T15:45:15.204Z] 1560dd03e051: Pull complete [2021-08-24T15:45:15.481Z] 27f5ce0e4adf: Pull complete [2021-08-24T15:45:30.576Z] c2d8d7efcc4b: Pull complete [2021-08-24T15:45:30.576Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-24T15:45:30.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-24T15:45:30.576Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-24T15:45:30.848Z] prd-ubuntu18.04-docker-arm64-4c-16g-697 does not seem to be running inside a container [2021-08-24T15:45:30.931Z] $ 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 [2021-08-24T15:45:34.636Z] $ docker top ff6a8dd1516196c36acfdf6be9e5e1843f92d1f4164c782ee981f27c13fba5b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:45:35.617Z] ---> job-cost.sh [2021-08-24T15:45:35.617Z] lf-activate-venv: SKIPPING [2021-08-24T15:45:35.617Z] INFO: No Stack... [2021-08-24T15:45:36.592Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-24T15:45:36.865Z] INFO: Archiving Costs [Pipeline] sh [2021-08-24T15:45:37.535Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-08-24T15:45:37.535Z] + cut -d, -f6 [Pipeline] lock [2021-08-24T15:45:37.597Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [2021-08-24T15:45:37.607Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] did not exist. Created. [2021-08-24T15:45:37.607Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-24T15:45:38.300Z] /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 [2021-08-24T15:45:38.969Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-08-24T15:45:39.000Z] Warning: overwriting stash ‘stack-cost’ [2021-08-24T15:45:39.500Z] Stashed 1 file(s) [Pipeline] } [2021-08-24T15:45:39.513Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-24T15:45:39.542Z] $ docker stop --time=1 ff6a8dd1516196c36acfdf6be9e5e1843f92d1f4164c782ee981f27c13fba5b5 [2021-08-24T15:45:41.313Z] $ 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] } [2021-08-24T15:45:41.953Z] 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 [2021-08-24T15:45:43.497Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-938/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:45:43.819Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:45:44.408Z] ---> package-listing.sh [2021-08-24T15:45:44.408Z] ++ facter osfamily [2021-08-24T15:45:44.408Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-24T15:45:44.689Z] + OS_FAMILY=redhat [2021-08-24T15:45:44.689Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-938 [2021-08-24T15:45:44.689Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-24T15:45:44.689Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-24T15:45:44.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-24T15:45:44.689Z] + PACKAGES=/tmp/packages_start.txt [2021-08-24T15:45:44.689Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' [2021-08-24T15:45:44.689Z] + PACKAGES=/tmp/packages_end.txt [2021-08-24T15:45:44.689Z] + case "${OS_FAMILY}" in [2021-08-24T15:45:44.689Z] + sort [2021-08-24T15:45:44.689Z] + rpm -qa [2021-08-24T15:45:45.276Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-24T15:45:45.276Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-24T15:45:45.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-24T15:45:45.276Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' [2021-08-24T15:45:45.276Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ [2021-08-24T15:45:45.276Z] + 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 [2021-08-24T15:45:45.298Z] 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 [2021-08-24T15:45:45.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:45:46.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-24T15:45:46.198Z] [2021-08-24T15:45:46.198Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-24T15:45:46.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-24T15:45:46.545Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-24T15:45:46.545Z] b4d181a07f80: Pulling fs layer [2021-08-24T15:45:46.545Z] a1111a8f2ec3: Pulling fs layer [2021-08-24T15:45:46.545Z] ed53099fbce6: Pulling fs layer [2021-08-24T15:45:46.545Z] dc539afda2c1: Pulling fs layer [2021-08-24T15:45:46.545Z] 77bc0d833cb6: Pulling fs layer [2021-08-24T15:45:46.545Z] 9065ff56babe: Pulling fs layer [2021-08-24T15:45:46.545Z] d287ab97295c: Pulling fs layer [2021-08-24T15:45:46.545Z] 77bc0d833cb6: Waiting [2021-08-24T15:45:46.545Z] 9065ff56babe: Waiting [2021-08-24T15:45:46.545Z] d287ab97295c: Waiting [2021-08-24T15:45:46.545Z] dc539afda2c1: Waiting [2021-08-24T15:45:46.814Z] a1111a8f2ec3: Verifying Checksum [2021-08-24T15:45:46.814Z] a1111a8f2ec3: Download complete [2021-08-24T15:45:46.814Z] dc539afda2c1: Verifying Checksum [2021-08-24T15:45:46.814Z] dc539afda2c1: Download complete [2021-08-24T15:45:47.093Z] 77bc0d833cb6: Verifying Checksum [2021-08-24T15:45:47.093Z] 77bc0d833cb6: Download complete [2021-08-24T15:45:47.093Z] 9065ff56babe: Verifying Checksum [2021-08-24T15:45:47.093Z] 9065ff56babe: Download complete [2021-08-24T15:45:47.093Z] ed53099fbce6: Verifying Checksum [2021-08-24T15:45:47.093Z] ed53099fbce6: Download complete [2021-08-24T15:45:48.526Z] b4d181a07f80: Verifying Checksum [2021-08-24T15:45:48.526Z] b4d181a07f80: Download complete [2021-08-24T15:45:49.110Z] b4d181a07f80: Pull complete [2021-08-24T15:45:49.382Z] a1111a8f2ec3: Pull complete [2021-08-24T15:45:49.979Z] ed53099fbce6: Pull complete [2021-08-24T15:45:49.979Z] dc539afda2c1: Pull complete [2021-08-24T15:45:50.246Z] 77bc0d833cb6: Pull complete [2021-08-24T15:45:50.246Z] 9065ff56babe: Pull complete [2021-08-24T15:45:52.190Z] d287ab97295c: Verifying Checksum [2021-08-24T15:45:52.190Z] d287ab97295c: Download complete [2021-08-24T15:45:56.476Z] d287ab97295c: Pull complete [2021-08-24T15:45:56.476Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-24T15:45:56.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-24T15:45:56.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-24T15:45:56.572Z] prd-centos7-docker-4c-2g-695 does not seem to be running inside a container [2021-08-24T15:45:56.666Z] $ 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 [2021-08-24T15:45:58.976Z] $ docker top a19f22cb67a16a4f03a3c223312f622604cb78bd4db7327c06504dce967bac09 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-24T15:45:59.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-24T15:45:59.721Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-24T15:46:00.038Z] + ls /var/log/sa-host [2021-08-24T15:46:00.038Z] + sadf -c /var/log/sa-host/sa05 [2021-08-24T15:46:00.038Z] file_magic: OK [2021-08-24T15:46:00.038Z] HZ: Using current value: 100 [2021-08-24T15:46:00.038Z] file_header: OK [2021-08-24T15:46:00.038Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-24T15:46:00.038Z] Statistics: [2021-08-24T15:46:00.038Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-24T15:46:00.038Z] File successfully converted to sysstat format version 12.0.3 [2021-08-24T15:46:00.038Z] + sadf -c /var/log/sa-host/sa24 [2021-08-24T15:46:00.038Z] file_magic: OK [2021-08-24T15:46:00.038Z] HZ: Using current value: 100 [2021-08-24T15:46:00.038Z] file_header: OK [2021-08-24T15:46:00.038Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-24T15:46:00.038Z] Statistics: [2021-08-24T15:46:00.038Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-24T15:46:00.038Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-24T15:46:00.209Z] provisioning config files... [2021-08-24T15:46:00.231Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config8092753837799913997tmp [Pipeline] { [Pipeline] echo [2021-08-24T15:46:00.258Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:46:00.579Z] ---> create-netrc.sh [Pipeline] } [2021-08-24T15:46:00.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:46:00.975Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-24T15:46:00.991Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:46:01.316Z] ---> sudo-logs.sh [2021-08-24T15:46:01.316Z] Archiving 'sudo' log.. [2021-08-24T15:46:01.316Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-695.vexxhost.local: Name or service not known [2021-08-24T15:46:01.316Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-695.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-24T15:46:01.375Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:46:01.696Z] ---> job-cost.sh [2021-08-24T15:46:01.696Z] lf-activate-venv: SKIPPING [2021-08-24T15:46:01.696Z] DEBUG: total: 0.10999999940395355 [2021-08-24T15:46:01.696Z] INFO: Retrieving Stack Cost... [2021-08-24T15:46:02.655Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-24T15:46:02.923Z] INFO: Archiving Costs [Pipeline] echo [2021-08-24T15:46:02.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-24T15:46:03.265Z] ---> logs-deploy.sh [2021-08-24T15:46:03.265Z] lf-activate-venv: SKIPPING [2021-08-24T15:46:03.265Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-938/2 [2021-08-24T15:46:03.265Z] INFO: archiving workspace using pattern(s): [2021-08-24T15:46:03.848Z] Archives upload complete. [2021-08-24T15:46:04.116Z] INFO: archiving logs to Nexus