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 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4+4d6967253c42c2a443b56733e0120e3dc957a25e (7cfd4188e3272c388a943419228f005a734e4fef) 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-ssh4751976740206228509.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-ssh1914919055981929380.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-ssh1545779412948371389.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-ssh7056089424905780573.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-ssh6717563905603613316.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-850 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-ssh4254842953360669180.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-ssh5169841022279429829.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 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 Merge succeeded, producing 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 Checking out Revision 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 (PR-938) > git config core.sparsecheckout # timeout=10 > git checkout -f 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # 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-ssh937397053413008074.key > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # timeout=10 Commit message: "feat: Added SetDefaultFunctionsPipeline to replace deprecated SetFunctionsPipeline" > git rev-list --no-walk 82dd4a40f68d56724c0c860592e687c32cd20b4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-26T19:02:37.941Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-26T19:02:38.049Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-26T19:02:38.080Z] ========================================================= [2021-08-26T19:02:38.080Z] EdgeX Global Pipelines Version Info [2021-08-26T19:02:38.080Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:02:39.334Z] ------------------- [2021-08-26T19:02:39.334Z] stable info: [2021-08-26T19:02:39.334Z] ------------------- [2021-08-26T19:02:39.334Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-26T19:02:39.334Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-26T19:02:39.334Z] Message: update stable to v1.0.205 [2021-08-26T19:02:39.918Z] ------------------- [2021-08-26T19:02:39.918Z] experimental info: [2021-08-26T19:02:39.918Z] ------------------- [2021-08-26T19:02:39.918Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-26T19:02:39.918Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-26T19:02:39.918Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-26T19:02:40.063Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-26T19:02:40.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-26T19:02:40.116Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-26T19:02:40.141Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-26T19:02:40.170Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-26T19:02:40.197Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-26T19:02:40.224Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-26T19:02:40.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-26T19:02:40.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-26T19:02:40.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-26T19:02:40.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-26T19:02:40.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-26T19:02:40.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-26T19:02:40.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-26T19:02:40.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-26T19:02:40.457Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T19:02:40.482Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T19:02:40.509Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T19:02:40.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-26T19:02:40.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-26T19:02:40.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-26T19:02:40.617Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-26T19:02:40.643Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-26T19:02:40.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-26T19:02:40.695Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-26T19:02:40.721Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-26T19:02:40.748Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-26T19:02:40.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-938 [Pipeline] echo [2021-08-26T19:02:40.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-938 [Pipeline] echo [2021-08-26T19:02:40.825Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-938 [Pipeline] echo [2021-08-26T19:02:40.851Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 [Pipeline] echo [2021-08-26T19:02:40.877Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b59b5a [Pipeline] echo [2021-08-26T19:02:40.902Z] [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-26T19:02:41.433Z] + git log --format=format:%s -1 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 [Pipeline] echo [2021-08-26T19:02:41.488Z] GIT_COMMIT: 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4, Commit Message: feat: Added SetDefaultFunctionsPipeline to replace deprecated SetFunctionsPipeline [Pipeline] echo [2021-08-26T19:02:41.506Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:02:42.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T19:02:42.230Z] [2021-08-26T19:02:42.230Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:02:42.578Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T19:02:42.845Z] latest: Pulling from edgex-devops/git-semver [2021-08-26T19:02:42.845Z] 31603596830f: Pulling fs layer [2021-08-26T19:02:42.845Z] 04fac38145f0: Pulling fs layer [2021-08-26T19:02:42.845Z] 701f6daf10bf: Pulling fs layer [2021-08-26T19:02:42.845Z] 24f72da36158: Pulling fs layer [2021-08-26T19:02:42.845Z] 24f72da36158: Waiting [2021-08-26T19:02:42.845Z] 04fac38145f0: Verifying Checksum [2021-08-26T19:02:42.845Z] 04fac38145f0: Download complete [2021-08-26T19:02:43.115Z] 31603596830f: Verifying Checksum [2021-08-26T19:02:43.115Z] 31603596830f: Download complete [2021-08-26T19:02:43.115Z] 31603596830f: Pull complete [2021-08-26T19:02:43.385Z] 24f72da36158: Verifying Checksum [2021-08-26T19:02:43.385Z] 24f72da36158: Download complete [2021-08-26T19:02:43.385Z] 04fac38145f0: Pull complete [2021-08-26T19:02:43.659Z] 701f6daf10bf: Verifying Checksum [2021-08-26T19:02:43.659Z] 701f6daf10bf: Download complete [2021-08-26T19:02:44.245Z] 701f6daf10bf: Pull complete [2021-08-26T19:02:44.245Z] 24f72da36158: Pull complete [2021-08-26T19:02:44.245Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-26T19:02:44.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-26T19:02:44.245Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-26T19:02:44.352Z] prd-centos7-docker-4c-2g-850 does not seem to be running inside a container [2021-08-26T19:02:44.415Z] $ 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-26T19:02:45.256Z] $ docker top f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-26T19:02:45.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T19:02:45.417Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T19:02:45.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T19:02:45.558Z] $ docker exec f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 ssh-agent [2021-08-26T19:02:45.692Z] SSH_AUTH_SOCK=/tmp/ssh-r1g7guGjwep1/agent.14 [2021-08-26T19:02:45.692Z] SSH_AGENT_PID=21 [2021-08-26T19:02:45.705Z] Running ssh-add (command line suppressed) [2021-08-26T19:02:45.826Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_7712026675508163257.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_7712026675508163257.key) [2021-08-26T19:02:45.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T19:02:46.170Z] + git tag --points-at HEAD [Pipeline] } [2021-08-26T19:02:46.190Z] $ docker exec --env ******** --env ******** f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 ssh-agent -k [2021-08-26T19:02:46.292Z] unset SSH_AUTH_SOCK; [2021-08-26T19:02:46.293Z] unset SSH_AGENT_PID; [2021-08-26T19:02:46.293Z] echo Agent pid 21 killed; [2021-08-26T19:02:46.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-26T19:02:46.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-26T19:02:46.359Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-26T19:02:46.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-26T19:02:46.495Z] $ docker exec f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 ssh-agent [2021-08-26T19:02:46.616Z] SSH_AUTH_SOCK=/tmp/ssh-w4wgf4cHjMth/agent.55 [2021-08-26T19:02:46.616Z] SSH_AGENT_PID=61 [2021-08-26T19:02:46.625Z] Running ssh-add (command line suppressed) [2021-08-26T19:02:46.733Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_2617558609774535117.key (/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/private_key_2617558609774535117.key) [2021-08-26T19:02:46.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-26T19:02:47.068Z] + git semver init [2021-08-26T19:02:47.068Z] # -> Open(): unable to determine branch for HEAD [2021-08-26T19:02:47.068Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.git [2021-08-26T19:02:47.068Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-938 [2021-08-26T19:02:47.068Z] # $SEMVER_REMOTE_NAME = origin [2021-08-26T19:02:47.068Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-26T19:02:47.068Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-26T19:02:47.068Z] # $SEMVER_BRANCH = PR-938 [2021-08-26T19:02:47.068Z] # $SEMVER_TEMP = /tmp/semver-255020673 [2021-08-26T19:02:47.068Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-26T19:02:49.671Z] # '/tmp/semver-255020673' -> '/w/workspace/ndry_app-functions-sdk-go_PR-938/.semver' [2021-08-26T19:02:49.671Z] # -> Force: false [2021-08-26T19:02:49.671Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-938/.semver [Pipeline] } [2021-08-26T19:02:49.687Z] $ docker exec --env ******** --env ******** f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 ssh-agent -k [2021-08-26T19:02:49.793Z] unset SSH_AUTH_SOCK; [2021-08-26T19:02:49.794Z] unset SSH_AGENT_PID; [2021-08-26T19:02:49.794Z] echo Agent pid 61 killed; [2021-08-26T19:02:49.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-26T19:02:50.159Z] + git semver [Pipeline] } [2021-08-26T19:02:50.181Z] $ docker stop --time=1 f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 [2021-08-26T19:02:51.523Z] $ docker rm -f f093572dc8e79fd33841ccc4ae5bc96e0d8a00a1d7878775a0b4931d2b2efd58 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-26T19:02:51.914Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-26T19:02:52.234Z] Stashed 1 file(s) [Pipeline] echo [2021-08-26T19:02:52.237Z] [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-26T19:03:07.511Z] Still waiting to schedule task [2021-08-26T19:03:07.511Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-26T19:03:07.515Z] Still waiting to schedule task [2021-08-26T19:03:07.515Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-26T19:05:18.067Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-852 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws [2021-08-26T19:05:18.089Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-08-26T19:05:18.336Z] The recommended git tool is: git [2021-08-26T19:05:23.939Z] using credential edgex-jenkins-ssh [2021-08-26T19:05:23.960Z] Cloning the remote Git repository [2021-08-26T19:05:24.090Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-26T19:05:24.303Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-08-26T19:05:24.393Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-26T19:05:24.394Z] > git --version # timeout=10 [2021-08-26T19:05:24.423Z] > git --version # 'git version 2.17.1' [2021-08-26T19:05:24.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T19:05:24.537Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T19:05:27.873Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-26T19:05:27.891Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T19:05:27.919Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-26T19:05:27.965Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-26T19:05:27.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T19:05:27.983Z] > 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-26T19:05:28.803Z] Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 [2021-08-26T19:05:29.046Z] Merge succeeded, producing 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 [2021-08-26T19:05:29.047Z] Checking out Revision 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 (PR-938) [2021-08-26T19:05:28.829Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T19:05:28.855Z] > git checkout -f 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # timeout=10 [2021-08-26T19:05:28.970Z] > git remote # timeout=10 [2021-08-26T19:05:28.988Z] > git config --get remote.origin.url # timeout=10 [2021-08-26T19:05:28.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T19:05:29.009Z] > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 [2021-08-26T19:05:29.030Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-26T19:05:29.053Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T19:05:29.068Z] > git checkout -f 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # timeout=10 [2021-08-26T19:05:33.513Z] Commit message: "feat: Added SetDefaultFunctionsPipeline to replace deprecated SetFunctionsPipeline" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-26T19:05:34.360Z] ========================================================= [2021-08-26T19:05:34.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-26T19:05:34.360Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-26T19:05:34.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-26T19:05:36.411Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-26T19:05:36.411Z] 595b0fe564bb: Pulling fs layer [2021-08-26T19:05:36.411Z] 24495759ef45: Pulling fs layer [2021-08-26T19:05:36.411Z] d148012ef14d: Pulling fs layer [2021-08-26T19:05:36.411Z] e90a11edd702: Pulling fs layer [2021-08-26T19:05:36.411Z] d77568369979: Pulling fs layer [2021-08-26T19:05:36.411Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-26T19:05:36.411Z] 170f2ba95c9a: Pulling fs layer [2021-08-26T19:05:36.411Z] 97ac5df62f85: Pulling fs layer [2021-08-26T19:05:36.411Z] d77568369979: Waiting [2021-08-26T19:05:36.411Z] fc1c9f9a7f3b: Waiting [2021-08-26T19:05:36.411Z] 170f2ba95c9a: Waiting [2021-08-26T19:05:36.411Z] 97ac5df62f85: Waiting [2021-08-26T19:05:36.411Z] e90a11edd702: Waiting [2021-08-26T19:05:36.411Z] d148012ef14d: Verifying Checksum [2021-08-26T19:05:36.411Z] d148012ef14d: Download complete [2021-08-26T19:05:36.411Z] 24495759ef45: Download complete [2021-08-26T19:05:36.411Z] d77568369979: Verifying Checksum [2021-08-26T19:05:36.411Z] d77568369979: Download complete [2021-08-26T19:05:36.411Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-26T19:05:36.411Z] fc1c9f9a7f3b: Download complete [2021-08-26T19:05:36.411Z] 595b0fe564bb: Verifying Checksum [2021-08-26T19:05:36.411Z] 595b0fe564bb: Download complete [2021-08-26T19:05:36.411Z] 170f2ba95c9a: Verifying Checksum [2021-08-26T19:05:36.411Z] 170f2ba95c9a: Download complete [2021-08-26T19:05:37.019Z] 595b0fe564bb: Pull complete [2021-08-26T19:05:37.642Z] 24495759ef45: Pull complete [2021-08-26T19:05:37.918Z] d148012ef14d: Pull complete [2021-08-26T19:05:39.920Z] 97ac5df62f85: Verifying Checksum [2021-08-26T19:05:39.920Z] 97ac5df62f85: Download complete [2021-08-26T19:05:40.196Z] e90a11edd702: Verifying Checksum [2021-08-26T19:05:40.196Z] e90a11edd702: Download complete [2021-08-26T19:05:50.405Z] e90a11edd702: Pull complete [2021-08-26T19:05:50.680Z] d77568369979: Pull complete [2021-08-26T19:05:51.288Z] fc1c9f9a7f3b: Pull complete [2021-08-26T19:05:51.565Z] 170f2ba95c9a: Pull complete [2021-08-26T19:05:58.364Z] 97ac5df62f85: Pull complete [2021-08-26T19:05:58.364Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-26T19:05:58.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-26T19:05:58.364Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-26T19:05:58.805Z] + 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-26T19:05:59.186Z] + docker inspect -f . ci-base-image-arm64 [2021-08-26T19:05:59.186Z] . [Pipeline] withDockerContainer [2021-08-26T19:05:59.480Z] prd-ubuntu18.04-docker-arm64-4c-16g-852 does not seem to be running inside a container [2021-08-26T19:05:59.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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-26T19:06:04.912Z] $ docker top f955e989d47b8b96729539b6f5757bcbab72cf1ae2bb38acd3fc604c9534dcea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T19:06:05.918Z] + go version [2021-08-26T19:06:05.918Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-26T19:06:05.946Z] $ docker stop --time=1 f955e989d47b8b96729539b6f5757bcbab72cf1ae2bb38acd3fc604c9534dcea [2021-08-26T19:06:07.801Z] $ docker rm -f f955e989d47b8b96729539b6f5757bcbab72cf1ae2bb38acd3fc604c9534dcea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:06:08.573Z] + docker inspect -f . ci-base-image-arm64 [2021-08-26T19:06:08.573Z] . [Pipeline] withDockerContainer [2021-08-26T19:06:09.026Z] prd-ubuntu18.04-docker-arm64-4c-16g-852 does not seem to be running inside a container [2021-08-26T19:06:09.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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-26T19:06:10.942Z] $ docker top c7015a4eff1ece9f200f37e1cd11e658b9dcaeda93881a9aad61c4e8a7459dbc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-26T19:06:11.966Z] + make test [2021-08-26T19:06:11.966Z] make -C ./app-service-template build [2021-08-26T19:06:11.966Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:06:11.966Z] go mod tidy [2021-08-26T19:06:20.277Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-26T19:06:20.277Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-26T19:06:20.277Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-26T19:06:20.277Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-26T19:06:20.565Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-26T19:06:20.565Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-26T19:06:20.565Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-26T19:06:20.565Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-26T19:06:20.565Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-26T19:06:20.845Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-26T19:06:20.845Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-26T19:06:20.845Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-26T19:06:21.123Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-26T19:06:21.123Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-26T19:06:21.123Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-26T19:06:21.402Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-26T19:06:21.402Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-26T19:06:21.402Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-26T19:06:21.678Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-26T19:06:21.679Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-26T19:06:21.679Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-08-26T19:06:21.958Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-26T19:06:21.958Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-26T19:06:21.958Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-26T19:06:22.236Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-26T19:06:22.236Z] go: downloading golang.org/x/text v0.3.2 [2021-08-26T19:06:22.236Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-26T19:06:22.236Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-26T19:06:25.702Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-26T19:06:25.702Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-26T19:06:25.702Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-26T19:06:25.702Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-26T19:06:25.702Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-26T19:06:25.702Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-26T19:06:25.702Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-26T19:06:25.702Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-26T19:06:25.702Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-26T19:06:25.702Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-26T19:06:26.349Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-26T19:06:26.350Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-26T19:06:26.350Z] go: downloading github.com/kr/text v0.1.0 [2021-08-26T19:06:26.350Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-26T19:06:26.350Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-26T19:06:26.634Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-26T19:06:26.634Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-26T19:06:26.634Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-26T19:06:26.634Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-26T19:06:26.908Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-26T19:06:26.908Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-26T19:06:27.185Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-26T19:06:27.185Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-26T19:06:27.185Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-26T19:06:27.185Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-26T19:06:27.466Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-26T19:06:27.466Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-26T19:06:27.466Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-26T19:06:27.759Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-26T19:06:27.759Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-26T19:06:27.759Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-26T19:06:27.759Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-26T19:06:28.046Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-26T19:06:28.046Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-26T19:06:28.046Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-26T19:06:28.046Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-26T19:06:28.330Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-26T19:06:28.330Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-26T19:06:28.611Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-26T19:06:28.611Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-26T19:06:28.925Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-26T19:06:28.925Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-26T19:06:28.925Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-26T19:06:28.925Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-26T19:06:28.925Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-26T19:06:28.925Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-26T19:06:28.925Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-26T19:06:29.220Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-26T19:06:29.220Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-26T19:06:29.220Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-26T19:06:29.836Z] 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-26T19:07:09.461Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:07:09.461Z] make -C ./app-service-template test [2021-08-26T19:07:09.461Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:07:09.461Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-26T19:07:19.967Z] # new-app-service [new-app-service.test] [2021-08-26T19:07:19.967Z] ./main_test.go:59:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:07:19.967Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:07:19.967Z] ./main_test.go:90:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:07:19.967Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:07:19.967Z] ./main_test.go:123:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:07:19.967Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:07:19.967Z] ./main_test.go:159:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:07:19.967Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:07:38.720Z] FAIL new-app-service [build failed] [2021-08-26T19:07:38.720Z] ? new-app-service/config [no test files] [2021-08-26T19:07:38.720Z] ok new-app-service/functions 0.036s [2021-08-26T19:07:38.720Z] FAIL [2021-08-26T19:07:38.720Z] make[1]: *** [Makefile:62: test] Error 2 [2021-08-26T19:07:38.720Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:07:38.720Z] make: *** [Makefile:28: test-template] Error 2 [Pipeline] } [2021-08-26T19:07:38.756Z] $ docker stop --time=1 c7015a4eff1ece9f200f37e1cd11e658b9dcaeda93881a9aad61c4e8a7459dbc [2021-08-26T19:07:40.986Z] $ docker rm -f c7015a4eff1ece9f200f37e1cd11e658b9dcaeda93881a9aad61c4e8a7459dbc [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-26T19:07:43.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T19:07:43.788Z] [2021-08-26T19:07:43.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:07:44.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T19:07:44.551Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-26T19:07:44.551Z] 448f6bf000e3: Pulling fs layer [2021-08-26T19:07:44.551Z] f757da607395: Pulling fs layer [2021-08-26T19:07:44.551Z] 05883995daec: Pulling fs layer [2021-08-26T19:07:44.551Z] 8603b9c90790: Pulling fs layer [2021-08-26T19:07:44.551Z] 1560dd03e051: Pulling fs layer [2021-08-26T19:07:44.551Z] 27f5ce0e4adf: Pulling fs layer [2021-08-26T19:07:44.551Z] c2d8d7efcc4b: Pulling fs layer [2021-08-26T19:07:44.551Z] 1560dd03e051: Waiting [2021-08-26T19:07:44.551Z] 27f5ce0e4adf: Waiting [2021-08-26T19:07:44.551Z] c2d8d7efcc4b: Waiting [2021-08-26T19:07:44.551Z] 8603b9c90790: Waiting [2021-08-26T19:07:44.845Z] f757da607395: Verifying Checksum [2021-08-26T19:07:44.845Z] f757da607395: Download complete [2021-08-26T19:07:44.845Z] 8603b9c90790: Verifying Checksum [2021-08-26T19:07:44.845Z] 8603b9c90790: Download complete [2021-08-26T19:07:45.149Z] 1560dd03e051: Verifying Checksum [2021-08-26T19:07:45.149Z] 1560dd03e051: Download complete [2021-08-26T19:07:45.149Z] 27f5ce0e4adf: Verifying Checksum [2021-08-26T19:07:45.149Z] 27f5ce0e4adf: Download complete [2021-08-26T19:07:45.149Z] 05883995daec: Verifying Checksum [2021-08-26T19:07:45.149Z] 05883995daec: Download complete [2021-08-26T19:07:47.010Z] 448f6bf000e3: Verifying Checksum [2021-08-26T19:07:47.010Z] 448f6bf000e3: Download complete [2021-08-26T19:07:48.845Z] Running on prd-centos7-docker-4c-2g-855 in /w/workspace/ndry_app-functions-sdk-go_PR-938 [Pipeline] { [Pipeline] ws [2021-08-26T19:07:48.865Z] Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-08-26T19:07:49.236Z] The recommended git tool is: git [2021-08-26T19:07:50.628Z] c2d8d7efcc4b: Verifying Checksum [2021-08-26T19:07:50.628Z] c2d8d7efcc4b: Download complete [2021-08-26T19:07:50.628Z] 448f6bf000e3: Pull complete [2021-08-26T19:07:51.255Z] f757da607395: Pull complete [2021-08-26T19:07:52.793Z] 05883995daec: Pull complete [2021-08-26T19:07:53.080Z] 8603b9c90790: Pull complete [2021-08-26T19:07:54.123Z] 1560dd03e051: Pull complete [2021-08-26T19:07:54.403Z] 27f5ce0e4adf: Pull complete [2021-08-26T19:07:54.660Z] using credential edgex-jenkins-ssh [2021-08-26T19:07:54.684Z] Cloning the remote Git repository [2021-08-26T19:07:54.726Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-26T19:07:54.815Z] > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 [2021-08-26T19:07:54.899Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-26T19:07:54.899Z] > git --version # timeout=10 [2021-08-26T19:07:54.907Z] > git --version # 'git version 2.24.4' [2021-08-26T19:07:54.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T19:07:54.950Z] [INFO] Currently running in a labeled security context [2021-08-26T19:07:54.951Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T19:07:54.951Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh4363357252618992957.key [2021-08-26T19:07:54.960Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T19:07:57.717Z] Merging remotes/origin/main commit 4d6967253c42c2a443b56733e0120e3dc957a25e into PR head commit 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 [2021-08-26T19:07:57.828Z] Merge succeeded, producing 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 [2021-08-26T19:07:57.829Z] Checking out Revision 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 (PR-938) [2021-08-26T19:07:57.043Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-26T19:07:57.056Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-26T19:07:57.069Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-26T19:07:57.084Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-26T19:07:57.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T19:07:57.086Z] [INFO] Currently running in a labeled security context [2021-08-26T19:07:57.086Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T19:07:57.086Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh3544641575397581986.key [2021-08-26T19:07:57.093Z] > 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-26T19:07:57.724Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T19:07:57.730Z] > git checkout -f 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # timeout=10 [2021-08-26T19:07:57.782Z] > git remote # timeout=10 [2021-08-26T19:07:57.790Z] > git config --get remote.origin.url # timeout=10 [2021-08-26T19:07:57.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-26T19:07:57.795Z] [INFO] Currently running in a labeled security context [2021-08-26T19:07:57.795Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-26T19:07:57.795Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/4@tmp/jenkins-gitclient-ssh8200631636705424085.key [2021-08-26T19:07:57.800Z] > git merge 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 [2021-08-26T19:07:57.813Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-26T19:07:57.827Z] > git config core.sparsecheckout # timeout=10 [2021-08-26T19:07:57.830Z] > git checkout -f 3b59b5a5b64443c1e7e5492cc1ead7ba38b831a4 # timeout=10 [2021-08-26T19:08:02.019Z] Commit message: "feat: Added SetDefaultFunctionsPipeline to replace deprecated SetFunctionsPipeline" [2021-08-26T19:08:02.453Z] [2021-08-26T19:08:02.453Z] GitHub has been notified of this commit’s build result [2021-08-26T19:08:02.453Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-26T19:08:02.907Z] ========================================================= [2021-08-26T19:08:02.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-26T19:08:02.908Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-26T19:08:03.511Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-26T19:08:03.512Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-26T19:08:03.512Z] 540db60ca938: Pulling fs layer [2021-08-26T19:08:03.512Z] adcc1eea9eea: Pulling fs layer [2021-08-26T19:08:03.512Z] 4c4ab2625f07: Pulling fs layer [2021-08-26T19:08:03.512Z] db62176df00c: Pulling fs layer [2021-08-26T19:08:03.512Z] 3b30891b0d05: Pulling fs layer [2021-08-26T19:08:03.512Z] 06b49ca38bd5: Pulling fs layer [2021-08-26T19:08:03.512Z] c788192a36de: Pulling fs layer [2021-08-26T19:08:03.512Z] a77e37c0d609: Pulling fs layer [2021-08-26T19:08:03.512Z] c3185cebc471: Pulling fs layer [2021-08-26T19:08:03.512Z] 06b49ca38bd5: Waiting [2021-08-26T19:08:03.512Z] c788192a36de: Waiting [2021-08-26T19:08:03.512Z] a77e37c0d609: Waiting [2021-08-26T19:08:03.512Z] c3185cebc471: Waiting [2021-08-26T19:08:03.512Z] db62176df00c: Waiting [2021-08-26T19:08:03.512Z] 3b30891b0d05: Waiting [2021-08-26T19:08:03.512Z] 4c4ab2625f07: Verifying Checksum [2021-08-26T19:08:03.512Z] 4c4ab2625f07: Download complete [2021-08-26T19:08:03.512Z] adcc1eea9eea: Verifying Checksum [2021-08-26T19:08:03.512Z] adcc1eea9eea: Download complete [2021-08-26T19:08:03.512Z] 3b30891b0d05: Verifying Checksum [2021-08-26T19:08:03.512Z] 3b30891b0d05: Download complete [2021-08-26T19:08:03.512Z] 06b49ca38bd5: Verifying Checksum [2021-08-26T19:08:03.512Z] 06b49ca38bd5: Download complete [2021-08-26T19:08:03.799Z] c788192a36de: Verifying Checksum [2021-08-26T19:08:03.799Z] c788192a36de: Download complete [2021-08-26T19:08:03.799Z] 540db60ca938: Verifying Checksum [2021-08-26T19:08:04.155Z] 540db60ca938: Pull complete [2021-08-26T19:08:04.155Z] adcc1eea9eea: Pull complete [2021-08-26T19:08:04.155Z] 4c4ab2625f07: Pull complete [2021-08-26T19:08:04.486Z] a77e37c0d609: Verifying Checksum [2021-08-26T19:08:04.486Z] a77e37c0d609: Download complete [2021-08-26T19:08:09.659Z] c3185cebc471: Verifying Checksum [2021-08-26T19:08:09.659Z] c3185cebc471: Download complete [2021-08-26T19:08:09.958Z] c2d8d7efcc4b: Pull complete [2021-08-26T19:08:09.958Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-26T19:08:09.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-26T19:08:09.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-26T19:08:10.327Z] prd-ubuntu18.04-docker-arm64-4c-16g-852 does not seem to be running inside a container [2021-08-26T19:08:10.608Z] $ 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/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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-26T19:08:11.825Z] db62176df00c: Verifying Checksum [2021-08-26T19:08:11.825Z] db62176df00c: Download complete [2021-08-26T19:08:15.008Z] $ docker top 6ae5d0543b0493aeff7510a8ac3ff1309505721cee8189bf891ea33d36a13ea7 -eo pid,comm [2021-08-26T19:08:15.308Z] db62176df00c: Pull complete [2021-08-26T19:08:15.308Z] 3b30891b0d05: Pull complete [2021-08-26T19:08:15.308Z] 06b49ca38bd5: Pull complete [2021-08-26T19:08:15.308Z] c788192a36de: Pull complete [2021-08-26T19:08:15.308Z] a77e37c0d609: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:08:16.264Z] ---> job-cost.sh [2021-08-26T19:08:16.265Z] lf-activate-venv: SKIPPING [2021-08-26T19:08:16.265Z] INFO: No Stack... [2021-08-26T19:08:17.295Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-26T19:08:17.405Z] c3185cebc471: Pull complete [2021-08-26T19:08:17.405Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-26T19:08:17.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-26T19:08:17.405Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-26T19:08:17.593Z] INFO: Archiving Costs [Pipeline] sh [2021-08-26T19:08:17.937Z] + 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-26T19:08:18.319Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-26T19:08:18.319Z] . [Pipeline] withDockerContainer [2021-08-26T19:08:18.384Z] + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [2021-08-26T19:08:18.384Z] + cut -d, -f6 [2021-08-26T19:08:18.470Z] prd-centos7-docker-4c-2g-855 does not seem to be running inside a container [2021-08-26T19:08:18.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-26T19:08:20.638Z] $ docker top c27c30141dc88d5a08407db746c3886331d9ea112e240a342f98213a44f0dc48 -eo pid,comm [Pipeline] { [Pipeline] lock [2021-08-26T19:08:20.753Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] [2021-08-26T19:08:20.764Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] did not exist. Created. [2021-08-26T19:08:20.764Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2021-08-26T19:08:21.114Z] + go version [2021-08-26T19:08:21.114Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-26T19:08:21.131Z] $ docker stop --time=1 c27c30141dc88d5a08407db746c3886331d9ea112e240a342f98213a44f0dc48 [2021-08-26T19:08:21.563Z] + echo total: 0.10999999940395355 [2021-08-26T19:08:22.334Z] $ docker rm -f c27c30141dc88d5a08407db746c3886331d9ea112e240a342f98213a44f0dc48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:08:22.987Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-26T19:08:22.987Z] . [Pipeline] withDockerContainer [2021-08-26T19:08:23.042Z] Stashed 1 file(s) [2021-08-26T19:08:23.098Z] prd-centos7-docker-4c-2g-855 does not seem to be running inside a container [2021-08-26T19:08:23.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-08-26T19:08:23.605Z] $ docker top cef8c512c814db73abbc832602883e727ec1e581c2891b12c2dbfa257d7a4eef -eo pid,comm [Pipeline] { [Pipeline] } [2021-08-26T19:08:23.791Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-26T19:08:23.824Z] $ docker stop --time=1 6ae5d0543b0493aeff7510a8ac3ff1309505721cee8189bf891ea33d36a13ea7 [2021-08-26T19:08:25.597Z] $ docker rm -f 6ae5d0543b0493aeff7510a8ac3ff1309505721cee8189bf891ea33d36a13ea7 [Pipeline] fileExists [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-26T19:08:26.245Z] Failed in branch arm64 [2021-08-26T19:08:26.254Z] + make test [2021-08-26T19:08:26.254Z] make -C ./app-service-template build [2021-08-26T19:08:26.254Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:08:26.254Z] go mod tidy [2021-08-26T19:08:26.555Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-26T19:08:26.829Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-26T19:08:26.829Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-26T19:08:26.829Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-26T19:08:26.829Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-26T19:08:26.829Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-26T19:08:26.829Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-26T19:08:26.829Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-26T19:08:27.103Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-26T19:08:27.103Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-26T19:08:27.103Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-26T19:08:27.103Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-26T19:08:27.103Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-26T19:08:27.103Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-26T19:08:27.375Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-26T19:08:27.375Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-26T19:08:27.375Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-26T19:08:27.375Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-26T19:08:27.375Z] go: downloading golang.org/x/text v0.3.2 [2021-08-26T19:08:27.647Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-26T19:08:27.647Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-26T19:08:28.929Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-26T19:08:28.929Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-26T19:08:28.929Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-26T19:08:28.929Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-26T19:08:28.929Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-26T19:08:28.929Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-26T19:08:28.929Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-26T19:08:28.929Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-08-26T19:08:28.929Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-26T19:08:29.210Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-26T19:08:29.210Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-26T19:08:29.210Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-26T19:08:29.210Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-26T19:08:29.499Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-26T19:08:29.499Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-26T19:08:29.499Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-26T19:08:29.499Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-26T19:08:29.499Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-26T19:08:29.499Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-26T19:08:29.499Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-26T19:08:29.499Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-26T19:08:29.499Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-26T19:08:29.499Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-26T19:08:29.499Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-26T19:08:29.774Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-26T19:08:29.774Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-26T19:08:29.774Z] go: downloading github.com/kr/text v0.1.0 [2021-08-26T19:08:29.774Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-26T19:08:29.774Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-26T19:08:29.774Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-26T19:08:29.774Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-26T19:08:29.774Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-26T19:08:29.774Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-26T19:08:29.774Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-26T19:08:29.774Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-26T19:08:29.774Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-26T19:08:29.774Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-26T19:08:29.775Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-26T19:08:29.775Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-26T19:08:29.775Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-26T19:08:29.775Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-26T19:08:29.775Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-26T19:08:29.775Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-26T19:08:29.775Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-26T19:08:29.775Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-26T19:08:30.073Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-26T19:08:30.073Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-26T19:08:30.073Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-26T19:08:30.073Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-26T19:08:30.073Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-26T19:08:30.073Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-26T19:08:30.073Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-26T19:08:30.073Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-26T19:08:30.073Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-26T19:08:30.073Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-26T19:08:30.073Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-26T19:08:30.073Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-26T19:08:30.371Z] 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-26T19:08:40.819Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:08:40.819Z] make -C ./app-service-template test [2021-08-26T19:08:40.819Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:08:40.819Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-26T19:08:43.592Z] # new-app-service [new-app-service.test] [2021-08-26T19:08:43.592Z] ./main_test.go:59:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:08:43.592Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:08:43.592Z] ./main_test.go:90:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:08:43.592Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:08:43.592Z] ./main_test.go:123:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:08:43.592Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:08:43.592Z] ./main_test.go:159:3: cannot use mockAppService (type *mocks.ApplicationService) as type "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService in return argument: [2021-08-26T19:08:43.592Z] *mocks.ApplicationService does not implement "github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces".ApplicationService (missing SetDefaultFunctionsPipeline method) [2021-08-26T19:08:49.271Z] FAIL new-app-service [build failed] [2021-08-26T19:08:49.271Z] ? new-app-service/config [no test files] [2021-08-26T19:08:49.271Z] ok new-app-service/functions 0.007s [2021-08-26T19:08:49.271Z] FAIL [2021-08-26T19:08:49.271Z] make[1]: *** [Makefile:62: test] Error 2 [2021-08-26T19:08:49.271Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/4/app-service-template' [2021-08-26T19:08:49.271Z] make: *** [Makefile:28: test-template] Error 2 [Pipeline] } [2021-08-26T19:08:49.316Z] $ docker stop --time=1 cef8c512c814db73abbc832602883e727ec1e581c2891b12c2dbfa257d7a4eef [2021-08-26T19:08:51.336Z] $ docker rm -f cef8c512c814db73abbc832602883e727ec1e581c2891b12c2dbfa257d7a4eef [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-26T19:08:52.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T19:08:52.646Z] [2021-08-26T19:08:52.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:08:53.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T19:08:53.049Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-26T19:08:53.049Z] b4d181a07f80: Pulling fs layer [2021-08-26T19:08:53.049Z] a1111a8f2ec3: Pulling fs layer [2021-08-26T19:08:53.049Z] ed53099fbce6: Pulling fs layer [2021-08-26T19:08:53.049Z] dc539afda2c1: Pulling fs layer [2021-08-26T19:08:53.049Z] 77bc0d833cb6: Pulling fs layer [2021-08-26T19:08:53.049Z] 9065ff56babe: Pulling fs layer [2021-08-26T19:08:53.049Z] d287ab97295c: Pulling fs layer [2021-08-26T19:08:53.049Z] dc539afda2c1: Waiting [2021-08-26T19:08:53.049Z] 77bc0d833cb6: Waiting [2021-08-26T19:08:53.049Z] 9065ff56babe: Waiting [2021-08-26T19:08:53.049Z] d287ab97295c: Waiting [2021-08-26T19:08:53.341Z] a1111a8f2ec3: Verifying Checksum [2021-08-26T19:08:53.341Z] a1111a8f2ec3: Download complete [2021-08-26T19:08:53.341Z] dc539afda2c1: Verifying Checksum [2021-08-26T19:08:53.341Z] dc539afda2c1: Download complete [2021-08-26T19:08:53.627Z] 77bc0d833cb6: Verifying Checksum [2021-08-26T19:08:53.627Z] 77bc0d833cb6: Download complete [2021-08-26T19:08:53.627Z] ed53099fbce6: Verifying Checksum [2021-08-26T19:08:53.627Z] ed53099fbce6: Download complete [2021-08-26T19:08:55.360Z] b4d181a07f80: Verifying Checksum [2021-08-26T19:08:55.360Z] b4d181a07f80: Download complete [2021-08-26T19:08:55.966Z] b4d181a07f80: Pull complete [2021-08-26T19:08:56.262Z] a1111a8f2ec3: Pull complete [2021-08-26T19:08:56.877Z] ed53099fbce6: Pull complete [2021-08-26T19:08:56.877Z] dc539afda2c1: Pull complete [2021-08-26T19:08:57.148Z] 77bc0d833cb6: Pull complete [2021-08-26T19:08:57.148Z] 9065ff56babe: Pull complete [2021-08-26T19:08:59.121Z] d287ab97295c: Verifying Checksum [2021-08-26T19:08:59.121Z] d287ab97295c: Download complete [2021-08-26T19:09:03.501Z] d287ab97295c: Pull complete [2021-08-26T19:09:03.501Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-26T19:09:03.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T19:09:03.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-26T19:09:03.893Z] prd-centos7-docker-4c-2g-855 does not seem to be running inside a container [2021-08-26T19:09:04.000Z] $ 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/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-26T19:09:06.590Z] $ docker top 0d40cb9bb396455e9d3679d232e315bf26ba5cd961ffde21c70271d0f50caf40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:07.060Z] ---> job-cost.sh [2021-08-26T19:09:07.060Z] lf-activate-venv: SKIPPING [2021-08-26T19:09:07.060Z] INFO: No Stack... [2021-08-26T19:09:09.704Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-26T19:09:10.307Z] INFO: Archiving Costs [Pipeline] sh [2021-08-26T19:09:10.675Z] + cut -d, -f6 [2021-08-26T19:09:10.675Z] + cat /w/workspace/app-functions-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-08-26T19:09:10.736Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] [2021-08-26T19:09:10.754Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] did not exist. Created. [2021-08-26T19:09:10.754Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-26T19:09:11.145Z] /w/workspace/app-functions-sdk-go/4@tmp/durable-6dde9be0/script.sh: 1: /w/workspace/app-functions-sdk-go/4@tmp/durable-6dde9be0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-26T19:09:11.541Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-26T19:09:11.597Z] Warning: overwriting stash ‘stack-cost’ [2021-08-26T19:09:11.999Z] Stashed 1 file(s) [Pipeline] } [2021-08-26T19:09:12.011Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-938-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-26T19:09:12.043Z] $ docker stop --time=1 0d40cb9bb396455e9d3679d232e315bf26ba5cd961ffde21c70271d0f50caf40 [2021-08-26T19:09:13.283Z] $ docker rm -f 0d40cb9bb396455e9d3679d232e315bf26ba5cd961ffde21c70271d0f50caf40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-26T19:09:13.751Z] Failed in branch amd64 [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-26T19:09:15.420Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-938/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:15.779Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:16.377Z] ---> package-listing.sh [2021-08-26T19:09:16.377Z] ++ facter osfamily [2021-08-26T19:09:16.377Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-26T19:09:16.652Z] + OS_FAMILY=redhat [2021-08-26T19:09:16.652Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-938 [2021-08-26T19:09:16.652Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-26T19:09:16.652Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-26T19:09:16.652Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-26T19:09:16.652Z] + PACKAGES=/tmp/packages_start.txt [2021-08-26T19:09:16.652Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' [2021-08-26T19:09:16.652Z] + PACKAGES=/tmp/packages_end.txt [2021-08-26T19:09:16.652Z] + case "${OS_FAMILY}" in [2021-08-26T19:09:16.652Z] + sort [2021-08-26T19:09:16.652Z] + rpm -qa [2021-08-26T19:09:17.259Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-26T19:09:17.259Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-26T19:09:17.259Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-26T19:09:17.259Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-938 ']' [2021-08-26T19:09:17.259Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-938/archives/ [2021-08-26T19:09:17.259Z] + 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-26T19:09:17.276Z] 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-26T19:09:17.582Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:09:18.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T19:09:18.243Z] [2021-08-26T19:09:18.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-26T19:09:18.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T19:09:18.665Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-26T19:09:18.665Z] b4d181a07f80: Pulling fs layer [2021-08-26T19:09:18.665Z] a1111a8f2ec3: Pulling fs layer [2021-08-26T19:09:18.665Z] ed53099fbce6: Pulling fs layer [2021-08-26T19:09:18.665Z] dc539afda2c1: Pulling fs layer [2021-08-26T19:09:18.665Z] 77bc0d833cb6: Pulling fs layer [2021-08-26T19:09:18.665Z] 9065ff56babe: Pulling fs layer [2021-08-26T19:09:18.665Z] d287ab97295c: Pulling fs layer [2021-08-26T19:09:18.665Z] dc539afda2c1: Waiting [2021-08-26T19:09:18.665Z] 77bc0d833cb6: Waiting [2021-08-26T19:09:18.665Z] 9065ff56babe: Waiting [2021-08-26T19:09:18.665Z] d287ab97295c: Waiting [2021-08-26T19:09:18.949Z] a1111a8f2ec3: Verifying Checksum [2021-08-26T19:09:18.949Z] a1111a8f2ec3: Download complete [2021-08-26T19:09:18.949Z] dc539afda2c1: Verifying Checksum [2021-08-26T19:09:18.949Z] dc539afda2c1: Download complete [2021-08-26T19:09:19.246Z] 77bc0d833cb6: Verifying Checksum [2021-08-26T19:09:19.246Z] 77bc0d833cb6: Download complete [2021-08-26T19:09:19.246Z] 9065ff56babe: Verifying Checksum [2021-08-26T19:09:19.246Z] 9065ff56babe: Download complete [2021-08-26T19:09:19.520Z] ed53099fbce6: Verifying Checksum [2021-08-26T19:09:19.520Z] ed53099fbce6: Download complete [2021-08-26T19:09:20.534Z] b4d181a07f80: Verifying Checksum [2021-08-26T19:09:20.534Z] b4d181a07f80: Download complete [2021-08-26T19:09:21.541Z] b4d181a07f80: Pull complete [2021-08-26T19:09:21.541Z] a1111a8f2ec3: Pull complete [2021-08-26T19:09:22.172Z] ed53099fbce6: Pull complete [2021-08-26T19:09:22.172Z] dc539afda2c1: Pull complete [2021-08-26T19:09:22.500Z] 77bc0d833cb6: Pull complete [2021-08-26T19:09:22.500Z] 9065ff56babe: Pull complete [2021-08-26T19:09:24.594Z] d287ab97295c: Verifying Checksum [2021-08-26T19:09:24.594Z] d287ab97295c: Download complete [2021-08-26T19:09:29.001Z] d287ab97295c: Pull complete [2021-08-26T19:09:29.002Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-26T19:09:29.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-26T19:09:29.002Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-26T19:09:29.153Z] prd-centos7-docker-4c-2g-850 does not seem to be running inside a container [2021-08-26T19:09:29.272Z] $ 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-26T19:09:31.427Z] $ docker top 367de8b9fa9543d093e99401371b8e54d6f3582e70bf512cc92012c93d2d20bb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-26T19:09:31.963Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-26T19:09:32.370Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-26T19:09:32.738Z] + ls /var/log/sa-host [2021-08-26T19:09:32.738Z] + sadf -c /var/log/sa-host/sa05 [2021-08-26T19:09:32.739Z] file_magic: OK [2021-08-26T19:09:32.739Z] HZ: Using current value: 100 [2021-08-26T19:09:32.739Z] file_header: OK [2021-08-26T19:09:32.739Z] 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-26T19:09:32.739Z] Statistics: [2021-08-26T19:09:32.739Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-26T19:09:32.739Z] File successfully converted to sysstat format version 12.0.3 [2021-08-26T19:09:32.739Z] + sadf -c /var/log/sa-host/sa26 [2021-08-26T19:09:32.739Z] file_magic: OK [2021-08-26T19:09:32.739Z] HZ: Using current value: 100 [2021-08-26T19:09:32.739Z] file_header: OK [2021-08-26T19:09:32.739Z] 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-26T19:09:32.739Z] Statistics: [2021-08-26T19:09:32.739Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-26T19:09:32.739Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-26T19:09:32.945Z] provisioning config files... [2021-08-26T19:09:32.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-938@tmp/config7351090202291192078tmp [Pipeline] { [Pipeline] echo [2021-08-26T19:09:32.994Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:33.408Z] ---> create-netrc.sh [Pipeline] } [2021-08-26T19:09:33.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:33.920Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-26T19:09:33.962Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:34.392Z] ---> sudo-logs.sh [2021-08-26T19:09:34.392Z] Archiving 'sudo' log.. [2021-08-26T19:09:34.392Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-850.vexxhost.local: Name or service not known [2021-08-26T19:09:34.392Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-850.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-26T19:09:34.482Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:35.115Z] ---> job-cost.sh [2021-08-26T19:09:35.115Z] lf-activate-venv: SKIPPING [2021-08-26T19:09:35.115Z] DEBUG: total: 0.05999999865889549 [2021-08-26T19:09:35.115Z] INFO: Retrieving Stack Cost... [2021-08-26T19:09:36.111Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-26T19:09:36.760Z] INFO: Archiving Costs [Pipeline] echo [2021-08-26T19:09:36.783Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-26T19:09:37.157Z] ---> logs-deploy.sh [2021-08-26T19:09:37.157Z] lf-activate-venv: SKIPPING [2021-08-26T19:09:37.157Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-938/4 [2021-08-26T19:09:37.157Z] INFO: archiving workspace using pattern(s): [2021-08-26T19:09:37.750Z] Archives upload complete. [2021-08-26T19:09:38.050Z] INFO: archiving logs to Nexus