Pull request #957 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 621cff3b9b784168617c51082c3e5734ecc4f342+6a6a1c5973c1070a14136fb6a022961729ef896e (aaeb78ad4fa48c855705350592853951ac3e8b89) 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-ssh5663878173392580958.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-ssh4635652038366811185.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-957/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-957/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6899737623748163898.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-ssh6945771830465392850.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-957/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-957/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1135929409284917184.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 ‘prd-centos7-blackbox-4c-2g-563’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1311’ is offline ‘prd-centos7-docker-4c-2g-1314’ is offline ‘prd-centos7-docker-4c-2g-1322’ is offline ‘prd-centos7-docker-4c-2g-1324’ is offline ‘prd-centos7-docker-4c-2g-1328’ is offline ‘prd-centos7-docker-4c-2g-1329’ is offline ‘prd-centos7-docker-4c-2g-1332’ is offline ‘prd-centos7-docker-4c-2g-1335’ is offline ‘prd-centos7-docker-4c-2g-1338’ is offline ‘prd-centos7-docker-4c-2g-1343’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1326’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1331’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1333’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1334’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1339’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1344 in /w/workspace/ndry_app-functions-sdk-go_PR-957 [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-957 # 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-957@tmp/jenkins-gitclient-ssh1052840222951205145.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6a6a1c5973c1070a14136fb6a022961729ef896e into PR head commit 621cff3b9b784168617c51082c3e5734ecc4f342 Merge succeeded, producing 621cff3b9b784168617c51082c3e5734ecc4f342 Checking out Revision 621cff3b9b784168617c51082c3e5734ecc4f342 (PR-957) > 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-957@tmp/jenkins-gitclient-ssh1354789016095749608.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 621cff3b9b784168617c51082c3e5734ecc4f342 # 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-957@tmp/jenkins-gitclient-ssh1755747914290856323.key > git merge 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 621cff3b9b784168617c51082c3e5734ecc4f342 # timeout=10 Commit message: "ci: Fix issue with PR template" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-24T23:27:34.660Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-24T23:27:34.767Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-24T23:27:34.807Z] ========================================================= [2021-09-24T23:27:34.807Z] EdgeX Global Pipelines Version Info [2021-09-24T23:27:34.807Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:27:36.081Z] ------------------- [2021-09-24T23:27:36.081Z] stable info: [2021-09-24T23:27:36.081Z] ------------------- [2021-09-24T23:27:36.081Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-24T23:27:36.081Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-24T23:27:36.081Z] Message: update stable to v1.0.205 [2021-09-24T23:27:36.669Z] ------------------- [2021-09-24T23:27:36.669Z] experimental info: [2021-09-24T23:27:36.669Z] ------------------- [2021-09-24T23:27:36.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-24T23:27:36.669Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-24T23:27:36.669Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-24T23:27:36.825Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-09-24T23:27:40.454Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-09-24T23:27:40.482Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-24T23:27:40.511Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-24T23:27:40.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-24T23:27:40.563Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-24T23:27:40.588Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-24T23:27:40.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-24T23:27:40.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-24T23:27:40.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-24T23:27:40.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-24T23:27:40.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-24T23:27:40.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-09-24T23:27:40.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-24T23:27:40.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-24T23:27:40.827Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-09-24T23:27:40.854Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-24T23:27:40.879Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-24T23:27:40.904Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-24T23:27:40.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-24T23:27:40.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-24T23:27:40.983Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-24T23:27:41.008Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-24T23:27:41.034Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-24T23:27:41.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-24T23:27:41.085Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-09-24T23:27:41.111Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-24T23:27:41.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-957 [Pipeline] echo [2021-09-24T23:27:41.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-957 [Pipeline] echo [2021-09-24T23:27:41.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-957 [Pipeline] echo [2021-09-24T23:27:41.209Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 621cff3b9b784168617c51082c3e5734ecc4f342 [Pipeline] echo [2021-09-24T23:27:41.233Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 621cff3 [Pipeline] echo [2021-09-24T23:27:41.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-24T23:27:41.801Z] + git log --format=format:%s -1 621cff3b9b784168617c51082c3e5734ecc4f342 [Pipeline] echo [2021-09-24T23:27:41.866Z] GIT_COMMIT: 621cff3b9b784168617c51082c3e5734ecc4f342, Commit Message: ci: Fix issue with PR template [Pipeline] echo [2021-09-24T23:27:41.883Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:27:42.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-24T23:27:42.478Z] [2021-09-24T23:27:42.478Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:27:42.820Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-24T23:27:42.820Z] latest: Pulling from edgex-devops/git-semver [2021-09-24T23:27:42.820Z] 31603596830f: Pulling fs layer [2021-09-24T23:27:42.820Z] 04fac38145f0: Pulling fs layer [2021-09-24T23:27:42.820Z] 701f6daf10bf: Pulling fs layer [2021-09-24T23:27:42.820Z] 24f72da36158: Pulling fs layer [2021-09-24T23:27:42.820Z] 24f72da36158: Waiting [2021-09-24T23:27:42.820Z] 04fac38145f0: Verifying Checksum [2021-09-24T23:27:42.820Z] 04fac38145f0: Download complete [2021-09-24T23:27:43.087Z] 31603596830f: Verifying Checksum [2021-09-24T23:27:43.087Z] 31603596830f: Download complete [2021-09-24T23:27:43.087Z] 31603596830f: Pull complete [2021-09-24T23:27:43.356Z] 04fac38145f0: Pull complete [2021-09-24T23:27:43.356Z] 24f72da36158: Verifying Checksum [2021-09-24T23:27:43.356Z] 24f72da36158: Download complete [2021-09-24T23:27:43.628Z] 701f6daf10bf: Verifying Checksum [2021-09-24T23:27:43.628Z] 701f6daf10bf: Download complete [2021-09-24T23:27:44.222Z] 701f6daf10bf: Pull complete [2021-09-24T23:27:44.222Z] 24f72da36158: Pull complete [2021-09-24T23:27:44.222Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-24T23:27:44.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-24T23:27:44.222Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-24T23:27:44.329Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2021-09-24T23:27:44.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-957 -v /w/workspace/ndry_app-functions-sdk-go_PR-957:/w/workspace/ndry_app-functions-sdk-go_PR-957:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-24T23:27:45.237Z] $ docker top 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-24T23:27:45.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-24T23:27:45.377Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-24T23:27:45.508Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-24T23:27:45.520Z] $ docker exec 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 ssh-agent [2021-09-24T23:27:45.638Z] SSH_AUTH_SOCK=/tmp/ssh-bkmgudKozmU4/agent.14 [2021-09-24T23:27:45.638Z] SSH_AGENT_PID=20 [2021-09-24T23:27:45.655Z] Running ssh-add (command line suppressed) [2021-09-24T23:27:45.764Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_4421494564538732816.key (/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_4421494564538732816.key) [2021-09-24T23:27:45.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-24T23:27:46.119Z] + git tag --points-at HEAD [Pipeline] } [2021-09-24T23:27:46.141Z] $ docker exec --env ******** --env ******** 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 ssh-agent -k [2021-09-24T23:27:46.236Z] unset SSH_AUTH_SOCK; [2021-09-24T23:27:46.236Z] unset SSH_AGENT_PID; [2021-09-24T23:27:46.237Z] echo Agent pid 20 killed; [2021-09-24T23:27:46.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-24T23:27:46.300Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-24T23:27:46.300Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-24T23:27:46.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-24T23:27:46.430Z] $ docker exec 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 ssh-agent [2021-09-24T23:27:46.544Z] SSH_AUTH_SOCK=/tmp/ssh-8ILmnzBiYERD/agent.55 [2021-09-24T23:27:46.544Z] SSH_AGENT_PID=62 [2021-09-24T23:27:46.555Z] Running ssh-add (command line suppressed) [2021-09-24T23:27:46.655Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_4920731154027989420.key (/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/private_key_4920731154027989420.key) [2021-09-24T23:27:46.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-24T23:27:47.011Z] + git semver init [2021-09-24T23:27:47.011Z] # -> Open(): unable to determine branch for HEAD [2021-09-24T23:27:47.011Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-957/.git [2021-09-24T23:27:47.011Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-957 [2021-09-24T23:27:47.011Z] # $SEMVER_REMOTE_NAME = origin [2021-09-24T23:27:47.011Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-24T23:27:47.011Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-24T23:27:47.011Z] # $SEMVER_BRANCH = PR-957 [2021-09-24T23:27:47.011Z] # $SEMVER_TEMP = /tmp/semver-624572993 [2021-09-24T23:27:47.011Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-09-24T23:27:50.359Z] # '/tmp/semver-624572993' -> '/w/workspace/ndry_app-functions-sdk-go_PR-957/.semver' [2021-09-24T23:27:50.359Z] # -> Force: false [2021-09-24T23:27:50.359Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-957/.semver [Pipeline] } [2021-09-24T23:27:50.377Z] $ docker exec --env ******** --env ******** 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 ssh-agent -k [2021-09-24T23:27:50.468Z] unset SSH_AUTH_SOCK; [2021-09-24T23:27:50.468Z] unset SSH_AGENT_PID; [2021-09-24T23:27:50.468Z] echo Agent pid 62 killed; [2021-09-24T23:27:50.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-24T23:27:50.852Z] + git semver [Pipeline] } [2021-09-24T23:27:50.876Z] $ docker stop --time=1 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 [2021-09-24T23:27:52.221Z] $ docker rm -f 57f2837d866482b080ad443d392073bd7b002bd8026af4f9c4e367f207725a28 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-24T23:27:52.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-24T23:27:53.000Z] Stashed 1 file(s) [Pipeline] echo [2021-09-24T23:27:53.004Z] [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-09-24T23:28:08.269Z] Still waiting to schedule task [2021-09-24T23:28:08.270Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-24T23:28:08.272Z] Still waiting to schedule task [2021-09-24T23:28:08.272Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-24T23:28:21.693Z] Running on prd-centos7-docker-4c-2g-1346 in /w/workspace/ndry_app-functions-sdk-go_PR-957 [Pipeline] { [Pipeline] ws [2021-09-24T23:28:21.714Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-09-24T23:28:21.839Z] The recommended git tool is: git [2021-09-24T23:28:27.846Z] using credential edgex-jenkins-ssh [2021-09-24T23:28:27.868Z] Cloning the remote Git repository [2021-09-24T23:28:27.907Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-24T23:28:27.990Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-09-24T23:28:28.035Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-24T23:28:28.035Z] > git --version # timeout=10 [2021-09-24T23:28:28.040Z] > git --version # 'git version 2.24.4' [2021-09-24T23:28:28.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-24T23:28:28.069Z] [INFO] Currently running in a labeled security context [2021-09-24T23:28:28.069Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-24T23:28:28.069Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh6345063320349381649.key [2021-09-24T23:28:28.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-24T23:28:36.037Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-24T23:28:36.050Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-24T23:28:36.063Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-24T23:28:36.080Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-24T23:28:36.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-24T23:28:36.082Z] [INFO] Currently running in a labeled security context [2021-09-24T23:28:36.082Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-24T23:28:36.082Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh294435878621792741.key [2021-09-24T23:28:36.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-24T23:28:36.650Z] Merging remotes/origin/main commit 6a6a1c5973c1070a14136fb6a022961729ef896e into PR head commit 621cff3b9b784168617c51082c3e5734ecc4f342 [2021-09-24T23:28:36.761Z] Merge succeeded, producing 621cff3b9b784168617c51082c3e5734ecc4f342 [2021-09-24T23:28:36.762Z] Checking out Revision 621cff3b9b784168617c51082c3e5734ecc4f342 (PR-957) [2021-09-24T23:28:36.667Z] > git config core.sparsecheckout # timeout=10 [2021-09-24T23:28:36.673Z] > git checkout -f 621cff3b9b784168617c51082c3e5734ecc4f342 # timeout=10 [2021-09-24T23:28:36.720Z] > git remote # timeout=10 [2021-09-24T23:28:36.729Z] > git config --get remote.origin.url # timeout=10 [2021-09-24T23:28:36.739Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-24T23:28:36.740Z] [INFO] Currently running in a labeled security context [2021-09-24T23:28:36.740Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-24T23:28:36.740Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4400955112790375539.key [2021-09-24T23:28:36.747Z] > git merge 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 [2021-09-24T23:28:36.757Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-24T23:28:36.769Z] > git config core.sparsecheckout # timeout=10 [2021-09-24T23:28:36.779Z] > git checkout -f 621cff3b9b784168617c51082c3e5734ecc4f342 # timeout=10 [2021-09-24T23:28:40.568Z] Commit message: "ci: Fix issue with PR template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-24T23:28:41.164Z] ========================================================= [2021-09-24T23:28:41.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-24T23:28:41.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-24T23:28:41.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-24T23:28:41.607Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-24T23:28:41.607Z] 540db60ca938: Pulling fs layer [2021-09-24T23:28:41.607Z] adcc1eea9eea: Pulling fs layer [2021-09-24T23:28:41.607Z] 4c4ab2625f07: Pulling fs layer [2021-09-24T23:28:41.607Z] db62176df00c: Pulling fs layer [2021-09-24T23:28:41.607Z] 3b30891b0d05: Pulling fs layer [2021-09-24T23:28:41.607Z] 06b49ca38bd5: Pulling fs layer [2021-09-24T23:28:41.607Z] c788192a36de: Pulling fs layer [2021-09-24T23:28:41.607Z] a77e37c0d609: Pulling fs layer [2021-09-24T23:28:41.607Z] c3185cebc471: Pulling fs layer [2021-09-24T23:28:41.607Z] 06b49ca38bd5: Waiting [2021-09-24T23:28:41.607Z] c788192a36de: Waiting [2021-09-24T23:28:41.607Z] a77e37c0d609: Waiting [2021-09-24T23:28:41.607Z] c3185cebc471: Waiting [2021-09-24T23:28:41.607Z] db62176df00c: Waiting [2021-09-24T23:28:41.607Z] 3b30891b0d05: Waiting [2021-09-24T23:28:41.877Z] 4c4ab2625f07: Verifying Checksum [2021-09-24T23:28:41.877Z] 4c4ab2625f07: Download complete [2021-09-24T23:28:41.877Z] adcc1eea9eea: Verifying Checksum [2021-09-24T23:28:41.877Z] adcc1eea9eea: Download complete [2021-09-24T23:28:41.877Z] 3b30891b0d05: Verifying Checksum [2021-09-24T23:28:41.877Z] 3b30891b0d05: Download complete [2021-09-24T23:28:41.877Z] 06b49ca38bd5: Verifying Checksum [2021-09-24T23:28:41.877Z] 06b49ca38bd5: Download complete [2021-09-24T23:28:41.877Z] c788192a36de: Verifying Checksum [2021-09-24T23:28:41.877Z] c788192a36de: Download complete [2021-09-24T23:28:42.148Z] 540db60ca938: Verifying Checksum [2021-09-24T23:28:42.148Z] 540db60ca938: Download complete [2021-09-24T23:28:42.148Z] 540db60ca938: Pull complete [2021-09-24T23:28:42.422Z] adcc1eea9eea: Pull complete [2021-09-24T23:28:42.422Z] 4c4ab2625f07: Pull complete [2021-09-24T23:28:42.689Z] a77e37c0d609: Verifying Checksum [2021-09-24T23:28:42.689Z] a77e37c0d609: Download complete [2021-09-24T23:28:46.965Z] c3185cebc471: Verifying Checksum [2021-09-24T23:28:46.965Z] c3185cebc471: Download complete [2021-09-24T23:28:47.565Z] db62176df00c: Verifying Checksum [2021-09-24T23:28:47.565Z] db62176df00c: Download complete [2021-09-24T23:28:50.946Z] db62176df00c: Pull complete [2021-09-24T23:28:50.946Z] 3b30891b0d05: Pull complete [2021-09-24T23:28:51.219Z] 06b49ca38bd5: Pull complete [2021-09-24T23:28:51.219Z] c788192a36de: Pull complete [2021-09-24T23:28:51.492Z] a77e37c0d609: Pull complete [2021-09-24T23:28:53.464Z] c3185cebc471: Pull complete [2021-09-24T23:28:53.464Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-24T23:28:53.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-24T23:28:53.464Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-09-24T23:28:53.823Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:28:54.155Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-24T23:28:54.155Z] . [Pipeline] withDockerContainer [2021-09-24T23:28:54.268Z] prd-centos7-docker-4c-2g-1346 does not seem to be running inside a container [2021-09-24T23:28:54.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-24T23:28:56.787Z] $ docker top b00d4cb14793f434cf8cecaf80e81c336b7525226d6368bf695a24eec79f8874 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-24T23:28:57.210Z] + go version [2021-09-24T23:28:57.210Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-24T23:28:57.233Z] $ docker stop --time=1 b00d4cb14793f434cf8cecaf80e81c336b7525226d6368bf695a24eec79f8874 [2021-09-24T23:28:58.462Z] $ docker rm -f b00d4cb14793f434cf8cecaf80e81c336b7525226d6368bf695a24eec79f8874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:28:59.104Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-24T23:28:59.104Z] . [Pipeline] withDockerContainer [2021-09-24T23:28:59.204Z] prd-centos7-docker-4c-2g-1346 does not seem to be running inside a container [2021-09-24T23:28:59.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-24T23:28:59.659Z] $ docker top 36b543cf857e25a891422c3ebe76caf9aba6cb5211e3fbf5f3b12b956b63a039 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-24T23:29:00.096Z] + make test [2021-09-24T23:29:00.096Z] make -C ./app-service-template build [2021-09-24T23:29:00.096Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:29:00.096Z] go mod tidy [2021-09-24T23:29:01.517Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-24T23:29:01.517Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-24T23:29:01.517Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-24T23:29:01.517Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-24T23:29:01.786Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-24T23:29:01.786Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-24T23:29:01.786Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-24T23:29:02.375Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-24T23:29:02.375Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-24T23:29:02.375Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-24T23:29:02.375Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-24T23:29:02.650Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-24T23:29:02.650Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-24T23:29:02.650Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-24T23:29:02.650Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-24T23:29:02.650Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-24T23:29:02.650Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-09-24T23:29:02.650Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-24T23:29:02.918Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-24T23:29:02.918Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-24T23:29:02.918Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-24T23:29:02.918Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-24T23:29:02.918Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-24T23:29:02.918Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-24T23:29:02.918Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-24T23:29:02.918Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-24T23:29:03.189Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-24T23:29:03.189Z] go: downloading golang.org/x/text v0.3.2 [2021-09-24T23:29:03.463Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-24T23:29:03.463Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-24T23:29:04.448Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-24T23:29:04.448Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-24T23:29:04.448Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-24T23:29:04.448Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-24T23:29:04.448Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-24T23:29:04.448Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-24T23:29:04.448Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-24T23:29:04.727Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-24T23:29:04.727Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-24T23:29:04.727Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-24T23:29:04.727Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-24T23:29:04.727Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-24T23:29:04.727Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-24T23:29:04.727Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-24T23:29:04.727Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-24T23:29:04.727Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-24T23:29:05.001Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-24T23:29:05.001Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-24T23:29:05.001Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-24T23:29:05.001Z] go: downloading github.com/kr/text v0.1.0 [2021-09-24T23:29:05.001Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-24T23:29:05.001Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-24T23:29:05.001Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-24T23:29:05.001Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-24T23:29:05.001Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-24T23:29:05.001Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-24T23:29:05.268Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-24T23:29:05.268Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-24T23:29:05.268Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-24T23:29:05.268Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-24T23:29:05.268Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-24T23:29:05.268Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-24T23:29:05.268Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-24T23:29:05.268Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-24T23:29:05.539Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-24T23:29:05.539Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-24T23:29:05.539Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-24T23:29:05.539Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-24T23:29:05.539Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-24T23:29:05.539Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-24T23:29:05.539Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-24T23:29:05.539Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-24T23:29:05.539Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-24T23:29:05.808Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-24T23:29:05.808Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-24T23:29:05.808Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-24T23:29:06.075Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-24T23:29:06.075Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-24T23:29:06.348Z] 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-09-24T23:29:18.963Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:29:18.963Z] make -C ./app-service-template test [2021-09-24T23:29:18.963Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:29:18.963Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-24T23:29:27.241Z] ok new-app-service 0.011s coverage: 48.1% of statements [2021-09-24T23:29:27.241Z] ? new-app-service/config [no test files] [2021-09-24T23:29:27.241Z] ok new-app-service/functions 0.008s [2021-09-24T23:29:27.241Z] CGO_ENABLED=1 go vet ./... [2021-09-24T23:29:35.489Z] gofmt -l . [2021-09-24T23:29:35.489Z] [ "`gofmt -l .`" = "" ] [2021-09-24T23:29:35.489Z] ./bin/test-attribution-txt.sh [2021-09-24T23:29:35.489Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:29:35.489Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-24T23:29:35.489Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-24T23:29:36.935Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.016s coverage: 63.9% of statements [2021-09-24T23:29:37.203Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.008s coverage: 93.7% of statements [2021-09-24T23:29:37.203Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-24T23:29:37.476Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.013s coverage: 61.8% of statements [2021-09-24T23:29:37.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-24T23:29:37.750Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.009s [2021-09-24T23:29:38.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.211s coverage: 75.7% of statements [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-24T23:29:38.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.3% of statements [2021-09-24T23:29:38.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-24T23:29:38.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements [2021-09-24T23:29:42.992Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.064s coverage: 77.0% of statements [2021-09-24T23:29:42.992Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-24T23:29:42.992Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 12.5% of statements [2021-09-24T23:29:42.992Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.010s coverage: 27.3% of statements [2021-09-24T23:29:42.992Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-24T23:29:42.992Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-24T23:29:42.992Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-09-24T23:30:06.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.035s coverage: 77.3% of statements [2021-09-24T23:30:06.074Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-09-24T23:30:06.074Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-24T23:30:07.703Z] gofmt -l . [2021-09-24T23:30:07.703Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-24T23:30:07.729Z] $ docker stop --time=1 36b543cf857e25a891422c3ebe76caf9aba6cb5211e3fbf5f3b12b956b63a039 [2021-09-24T23:30:09.066Z] $ docker rm -f 36b543cf857e25a891422c3ebe76caf9aba6cb5211e3fbf5f3b12b956b63a039 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-24T23:30:09.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-24T23:30:10.095Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:30:11.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-24T23:30:11.421Z] [2021-09-24T23:30:11.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:30:11.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-24T23:30:12.140Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-24T23:30:12.140Z] b4d181a07f80: Pulling fs layer [2021-09-24T23:30:12.140Z] a1111a8f2ec3: Pulling fs layer [2021-09-24T23:30:12.140Z] ed53099fbce6: Pulling fs layer [2021-09-24T23:30:12.140Z] dc539afda2c1: Pulling fs layer [2021-09-24T23:30:12.140Z] 77bc0d833cb6: Pulling fs layer [2021-09-24T23:30:12.140Z] 9065ff56babe: Pulling fs layer [2021-09-24T23:30:12.140Z] d287ab97295c: Pulling fs layer [2021-09-24T23:30:12.140Z] dc539afda2c1: Waiting [2021-09-24T23:30:12.140Z] 77bc0d833cb6: Waiting [2021-09-24T23:30:12.140Z] 9065ff56babe: Waiting [2021-09-24T23:30:12.140Z] d287ab97295c: Waiting [2021-09-24T23:30:12.410Z] a1111a8f2ec3: Verifying Checksum [2021-09-24T23:30:12.410Z] a1111a8f2ec3: Download complete [2021-09-24T23:30:12.410Z] dc539afda2c1: Verifying Checksum [2021-09-24T23:30:12.410Z] dc539afda2c1: Download complete [2021-09-24T23:30:12.681Z] 77bc0d833cb6: Verifying Checksum [2021-09-24T23:30:12.681Z] 77bc0d833cb6: Download complete [2021-09-24T23:30:12.681Z] 9065ff56babe: Verifying Checksum [2021-09-24T23:30:12.681Z] 9065ff56babe: Download complete [2021-09-24T23:30:13.271Z] ed53099fbce6: Verifying Checksum [2021-09-24T23:30:13.271Z] ed53099fbce6: Download complete [2021-09-24T23:30:14.237Z] b4d181a07f80: Verifying Checksum [2021-09-24T23:30:14.237Z] b4d181a07f80: Download complete [2021-09-24T23:30:15.674Z] b4d181a07f80: Pull complete [2021-09-24T23:30:15.674Z] a1111a8f2ec3: Pull complete [2021-09-24T23:30:16.270Z] ed53099fbce6: Pull complete [2021-09-24T23:30:16.270Z] dc539afda2c1: Pull complete [2021-09-24T23:30:16.539Z] 77bc0d833cb6: Pull complete [2021-09-24T23:30:16.539Z] 9065ff56babe: Pull complete [2021-09-24T23:30:18.501Z] d287ab97295c: Verifying Checksum [2021-09-24T23:30:18.501Z] d287ab97295c: Download complete [2021-09-24T23:30:23.903Z] d287ab97295c: Pull complete [2021-09-24T23:30:23.903Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-24T23:30:23.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-24T23:30:23.903Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-24T23:30:24.223Z] prd-centos7-docker-4c-2g-1346 does not seem to be running inside a container [2021-09-24T23:30:24.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-24T23:30:26.480Z] $ docker top 97c4c3a08774ba645a71feba54e585c8e766abe07a204415861b2da430b1e480 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:30:28.212Z] ---> job-cost.sh [2021-09-24T23:30:28.212Z] lf-activate-venv: SKIPPING [2021-09-24T23:30:28.212Z] INFO: No Stack... [2021-09-24T23:30:28.212Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-24T23:30:28.212Z] INFO: Archiving Costs [Pipeline] sh [2021-09-24T23:30:28.545Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-09-24T23:30:28.545Z] + cut -d, -f6 [Pipeline] lock [2021-09-24T23:30:28.603Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] [2021-09-24T23:30:28.612Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] did not exist. Created. [2021-09-24T23:30:28.612Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-24T23:30:28.757Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1347 in /w/workspace/ndry_app-functions-sdk-go_PR-957 [Pipeline] { [Pipeline] ws [2021-09-24T23:30:28.778Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-09-24T23:30:28.970Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-24T23:30:29.018Z] Stashed 1 file(s) [2021-09-24T23:30:29.018Z] The recommended git tool is: git [Pipeline] } [2021-09-24T23:30:29.032Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-24T23:30:29.069Z] $ docker stop --time=1 97c4c3a08774ba645a71feba54e585c8e766abe07a204415861b2da430b1e480 [2021-09-24T23:30:30.223Z] $ docker rm -f 97c4c3a08774ba645a71feba54e585c8e766abe07a204415861b2da430b1e480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-24T23:30:35.271Z] using credential edgex-jenkins-ssh [2021-09-24T23:30:35.300Z] Cloning the remote Git repository [2021-09-24T23:30:35.365Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-24T23:30:35.479Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-09-24T23:30:35.573Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-24T23:30:35.573Z] > git --version # timeout=10 [2021-09-24T23:30:35.605Z] > git --version # 'git version 2.17.1' [2021-09-24T23:30:35.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-24T23:30:35.684Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-24T23:30:43.763Z] Merging remotes/origin/main commit 6a6a1c5973c1070a14136fb6a022961729ef896e into PR head commit 621cff3b9b784168617c51082c3e5734ecc4f342 [2021-09-24T23:30:42.948Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-24T23:30:42.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-24T23:30:42.998Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-24T23:30:43.037Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-24T23:30:43.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-24T23:30:43.052Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/957/head:refs/remotes/origin/PR-957 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-24T23:30:43.782Z] > git config core.sparsecheckout # timeout=10 [2021-09-24T23:30:43.800Z] > git checkout -f 621cff3b9b784168617c51082c3e5734ecc4f342 # timeout=10 [2021-09-24T23:30:43.991Z] Merge succeeded, producing 621cff3b9b784168617c51082c3e5734ecc4f342 [2021-09-24T23:30:43.992Z] Checking out Revision 621cff3b9b784168617c51082c3e5734ecc4f342 (PR-957) [2021-09-24T23:30:43.905Z] > git remote # timeout=10 [2021-09-24T23:30:43.927Z] > git config --get remote.origin.url # timeout=10 [2021-09-24T23:30:43.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-24T23:30:43.949Z] > git merge 6a6a1c5973c1070a14136fb6a022961729ef896e # timeout=10 [2021-09-24T23:30:43.970Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-24T23:30:43.998Z] > git config core.sparsecheckout # timeout=10 [2021-09-24T23:30:44.013Z] > git checkout -f 621cff3b9b784168617c51082c3e5734ecc4f342 # timeout=10 [2021-09-24T23:30:48.322Z] Commit message: "ci: Fix issue with PR template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-24T23:30:49.086Z] ========================================================= [2021-09-24T23:30:49.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-24T23:30:49.086Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-24T23:30:49.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-24T23:30:51.652Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-24T23:30:51.652Z] 595b0fe564bb: Pulling fs layer [2021-09-24T23:30:51.652Z] 24495759ef45: Pulling fs layer [2021-09-24T23:30:51.652Z] d148012ef14d: Pulling fs layer [2021-09-24T23:30:51.652Z] e90a11edd702: Pulling fs layer [2021-09-24T23:30:51.652Z] d77568369979: Pulling fs layer [2021-09-24T23:30:51.652Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-24T23:30:51.652Z] 170f2ba95c9a: Pulling fs layer [2021-09-24T23:30:51.652Z] 97ac5df62f85: Pulling fs layer [2021-09-24T23:30:51.652Z] d77568369979: Waiting [2021-09-24T23:30:51.652Z] fc1c9f9a7f3b: Waiting [2021-09-24T23:30:51.652Z] 170f2ba95c9a: Waiting [2021-09-24T23:30:51.652Z] 97ac5df62f85: Waiting [2021-09-24T23:30:51.652Z] e90a11edd702: Waiting [2021-09-24T23:30:51.652Z] d148012ef14d: Download complete [2021-09-24T23:30:51.652Z] 24495759ef45: Verifying Checksum [2021-09-24T23:30:51.652Z] 24495759ef45: Download complete [2021-09-24T23:30:51.652Z] d77568369979: Download complete [2021-09-24T23:30:51.652Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-24T23:30:51.652Z] fc1c9f9a7f3b: Download complete [2021-09-24T23:30:51.652Z] 170f2ba95c9a: Verifying Checksum [2021-09-24T23:30:51.652Z] 170f2ba95c9a: Download complete [2021-09-24T23:30:51.652Z] 595b0fe564bb: Verifying Checksum [2021-09-24T23:30:51.652Z] 595b0fe564bb: Download complete [2021-09-24T23:30:52.661Z] 595b0fe564bb: Pull complete [2021-09-24T23:30:53.261Z] 24495759ef45: Pull complete [2021-09-24T23:30:53.534Z] d148012ef14d: Pull complete [2021-09-24T23:30:55.021Z] 97ac5df62f85: Verifying Checksum [2021-09-24T23:30:55.021Z] 97ac5df62f85: Download complete [2021-09-24T23:30:55.669Z] e90a11edd702: Verifying Checksum [2021-09-24T23:30:55.669Z] e90a11edd702: Download complete [2021-09-24T23:31:05.867Z] e90a11edd702: Pull complete [2021-09-24T23:31:05.867Z] d77568369979: Pull complete [2021-09-24T23:31:05.867Z] fc1c9f9a7f3b: Pull complete [2021-09-24T23:31:06.140Z] 170f2ba95c9a: Pull complete [2021-09-24T23:31:11.583Z] 97ac5df62f85: Pull complete [2021-09-24T23:31:11.583Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-24T23:31:11.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-24T23:31:11.583Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-09-24T23:31:11.992Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:31:12.334Z] + docker inspect -f . ci-base-image-arm64 [2021-09-24T23:31:12.334Z] . [Pipeline] withDockerContainer [2021-09-24T23:31:12.555Z] prd-ubuntu18.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container [2021-09-24T23:31:12.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-24T23:31:19.405Z] $ docker top f667040b0f507976c80882b5c949fda08691ad7b28a0eac3e328d9a287aa8d8c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-24T23:31:20.385Z] + go version [2021-09-24T23:31:20.386Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-24T23:31:20.410Z] $ docker stop --time=1 f667040b0f507976c80882b5c949fda08691ad7b28a0eac3e328d9a287aa8d8c [2021-09-24T23:31:22.446Z] $ docker rm -f f667040b0f507976c80882b5c949fda08691ad7b28a0eac3e328d9a287aa8d8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:31:23.190Z] + docker inspect -f . ci-base-image-arm64 [2021-09-24T23:31:23.191Z] . [Pipeline] withDockerContainer [2021-09-24T23:31:23.420Z] prd-ubuntu18.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container [2021-09-24T23:31:23.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-09-24T23:31:25.210Z] $ docker top 44422e47f6653e10ce4f879df5817e9cabe7b7b8ba96ca12ce96cde749271904 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-24T23:31:26.145Z] + make test [2021-09-24T23:31:26.145Z] make -C ./app-service-template build [2021-09-24T23:31:26.146Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:31:26.146Z] go mod tidy [2021-09-24T23:31:27.595Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-24T23:31:27.595Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-24T23:31:27.595Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-24T23:31:27.595Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-24T23:31:27.595Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-24T23:31:27.595Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-24T23:31:27.595Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-24T23:31:27.595Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-24T23:31:27.595Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-24T23:31:27.869Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-24T23:31:27.869Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-24T23:31:27.869Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-24T23:31:27.869Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-24T23:31:27.869Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-24T23:31:27.869Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-24T23:31:28.144Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-24T23:31:28.144Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-09-24T23:31:28.144Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-24T23:31:28.144Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-24T23:31:28.144Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-24T23:31:28.144Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-24T23:31:28.421Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-24T23:31:28.421Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-24T23:31:28.421Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-24T23:31:28.421Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-24T23:31:28.421Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-24T23:31:28.699Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-24T23:31:28.699Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-24T23:31:28.699Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-24T23:31:28.699Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-24T23:31:28.699Z] go: downloading golang.org/x/text v0.3.2 [2021-09-24T23:31:28.975Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-24T23:31:29.294Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-24T23:31:32.045Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-24T23:31:32.045Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-24T23:31:32.045Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-24T23:31:32.045Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-24T23:31:32.318Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-24T23:31:32.318Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-24T23:31:32.318Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-24T23:31:32.318Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-24T23:31:32.318Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-24T23:31:32.593Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-24T23:31:32.593Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-24T23:31:32.593Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-24T23:31:32.593Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-24T23:31:32.593Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-24T23:31:32.593Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-24T23:31:32.593Z] go: downloading github.com/kr/text v0.1.0 [2021-09-24T23:31:32.868Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-24T23:31:32.868Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-24T23:31:32.868Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-24T23:31:32.868Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-24T23:31:32.868Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-24T23:31:32.868Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-24T23:31:32.868Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-24T23:31:32.868Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-24T23:31:32.868Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-24T23:31:32.868Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-24T23:31:33.145Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-24T23:31:33.145Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-24T23:31:33.145Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-24T23:31:33.145Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-24T23:31:33.145Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-24T23:31:33.145Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-24T23:31:33.417Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-24T23:31:33.417Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-24T23:31:33.417Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-24T23:31:33.417Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-24T23:31:33.417Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-24T23:31:33.417Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-24T23:31:33.417Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-24T23:31:33.417Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-24T23:31:34.009Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-24T23:31:34.009Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-24T23:31:34.009Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-24T23:31:34.009Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-24T23:31:34.009Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-24T23:31:34.282Z] 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-09-24T23:32:13.491Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:32:13.491Z] make -C ./app-service-template test [2021-09-24T23:32:13.491Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:32:13.491Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-24T23:32:46.631Z] ok new-app-service 0.045s coverage: 48.1% of statements [2021-09-24T23:32:46.631Z] ? new-app-service/config [no test files] [2021-09-24T23:32:46.631Z] ok new-app-service/functions 0.041s [2021-09-24T23:32:46.631Z] CGO_ENABLED=1 go vet ./... [2021-09-24T23:33:08.862Z] gofmt -l . [2021-09-24T23:33:08.862Z] [ "`gofmt -l .`" = "" ] [2021-09-24T23:33:08.862Z] ./bin/test-attribution-txt.sh [2021-09-24T23:33:10.295Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-24T23:33:10.295Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-24T23:33:11.742Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-24T23:33:21.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.126s coverage: 63.9% of statements [2021-09-24T23:33:21.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.104s coverage: 93.7% of statements [2021-09-24T23:33:21.958Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-24T23:33:21.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.122s coverage: 61.8% of statements [2021-09-24T23:33:21.958Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-24T23:33:21.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.038s [2021-09-24T23:33:21.958Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.149s coverage: 75.7% of statements [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-24T23:33:21.959Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.025s coverage: 97.3% of statements [2021-09-24T23:33:21.959Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-24T23:33:21.959Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.074s coverage: 10.5% of statements [2021-09-24T23:33:28.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.150s coverage: 77.0% of statements [2021-09-24T23:33:28.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-24T23:33:28.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.090s coverage: 12.5% of statements [2021-09-24T23:33:28.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.090s coverage: 27.3% of statements [2021-09-24T23:33:28.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-24T23:33:28.707Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-24T23:33:28.707Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.046s coverage: 51.4% of statements [2021-09-24T23:33:56.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.119s coverage: 77.3% of statements [2021-09-24T23:33:56.539Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-09-24T23:33:56.539Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-24T23:33:58.538Z] gofmt -l . [2021-09-24T23:33:58.812Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-24T23:33:59.103Z] $ docker stop --time=1 44422e47f6653e10ce4f879df5817e9cabe7b7b8ba96ca12ce96cde749271904 [2021-09-24T23:34:01.244Z] $ docker rm -f 44422e47f6653e10ce4f879df5817e9cabe7b7b8ba96ca12ce96cde749271904 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-24T23:34:03.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-24T23:34:03.566Z] Warning: overwriting stash ‘coverage-report’ [2021-09-24T23:34:04.236Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:34:05.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-24T23:34:05.016Z] [2021-09-24T23:34:05.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:34:05.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-24T23:34:05.656Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-24T23:34:05.657Z] 448f6bf000e3: Pulling fs layer [2021-09-24T23:34:05.657Z] f757da607395: Pulling fs layer [2021-09-24T23:34:05.657Z] 05883995daec: Pulling fs layer [2021-09-24T23:34:05.657Z] 8603b9c90790: Pulling fs layer [2021-09-24T23:34:05.657Z] 1560dd03e051: Pulling fs layer [2021-09-24T23:34:05.657Z] 8603b9c90790: Waiting [2021-09-24T23:34:05.657Z] 27f5ce0e4adf: Pulling fs layer [2021-09-24T23:34:05.657Z] c2d8d7efcc4b: Pulling fs layer [2021-09-24T23:34:05.657Z] 1560dd03e051: Waiting [2021-09-24T23:34:05.657Z] 27f5ce0e4adf: Waiting [2021-09-24T23:34:05.657Z] c2d8d7efcc4b: Waiting [2021-09-24T23:34:05.931Z] f757da607395: Verifying Checksum [2021-09-24T23:34:05.931Z] f757da607395: Download complete [2021-09-24T23:34:05.931Z] 8603b9c90790: Download complete [2021-09-24T23:34:05.931Z] 1560dd03e051: Verifying Checksum [2021-09-24T23:34:05.931Z] 1560dd03e051: Download complete [2021-09-24T23:34:06.206Z] 27f5ce0e4adf: Verifying Checksum [2021-09-24T23:34:06.206Z] 27f5ce0e4adf: Download complete [2021-09-24T23:34:06.206Z] 05883995daec: Verifying Checksum [2021-09-24T23:34:06.206Z] 05883995daec: Download complete [2021-09-24T23:34:07.182Z] 448f6bf000e3: Download complete [2021-09-24T23:34:09.819Z] c2d8d7efcc4b: Verifying Checksum [2021-09-24T23:34:09.819Z] c2d8d7efcc4b: Download complete [2021-09-24T23:34:10.416Z] 448f6bf000e3: Pull complete [2021-09-24T23:34:11.033Z] f757da607395: Pull complete [2021-09-24T23:34:12.478Z] 05883995daec: Pull complete [2021-09-24T23:34:13.074Z] 8603b9c90790: Pull complete [2021-09-24T23:34:14.059Z] 1560dd03e051: Pull complete [2021-09-24T23:34:14.335Z] 27f5ce0e4adf: Pull complete [2021-09-24T23:34:29.428Z] c2d8d7efcc4b: Pull complete [2021-09-24T23:34:29.428Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-24T23:34:29.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-24T23:34:29.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-24T23:34:29.702Z] prd-ubuntu18.04-docker-arm64-4c-16g-1347 does not seem to be running inside a container [2021-09-24T23:34:29.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-09-24T23:34:35.970Z] $ docker top 096324d14cf1be010dd6492fe6f679bc503585495cbde8d63f9a261412da38ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:34:36.958Z] ---> job-cost.sh [2021-09-24T23:34:36.958Z] lf-activate-venv: SKIPPING [2021-09-24T23:34:36.958Z] INFO: No Stack... [2021-09-24T23:34:37.935Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-24T23:34:38.531Z] INFO: Archiving Costs [Pipeline] sh [2021-09-24T23:34:39.197Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-09-24T23:34:39.197Z] + cut -d, -f6 [Pipeline] lock [2021-09-24T23:34:39.273Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] [2021-09-24T23:34:39.282Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] did not exist. Created. [2021-09-24T23:34:39.282Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-24T23:34:40.049Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-05f4648c/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-05f4648c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-24T23:34:40.751Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-24T23:34:40.791Z] Warning: overwriting stash ‘stack-cost’ [2021-09-24T23:34:40.894Z] Stashed 1 file(s) [Pipeline] } [2021-09-24T23:34:40.902Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-957-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-24T23:34:40.934Z] $ docker stop --time=1 096324d14cf1be010dd6492fe6f679bc503585495cbde8d63f9a261412da38ac [2021-09-24T23:34:42.707Z] $ docker rm -f 096324d14cf1be010dd6492fe6f679bc503585495cbde8d63f9a261412da38ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-09-24T23:34:43.952Z] provisioning config files... [2021-09-24T23:34:43.972Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/config6414292235543692345tmp [Pipeline] { [Pipeline] sh [2021-09-24T23:34:44.313Z] + set +x [2021-09-24T23:34:44.313Z] + bash -s -- [2021-09-24T23:34:44.313Z] + curl -s https://codecov.io/bash [2021-09-24T23:34:44.313Z] [2021-09-24T23:34:44.313Z] _____ _ [2021-09-24T23:34:44.313Z] / ____| | | [2021-09-24T23:34:44.313Z] | | ___ __| | ___ ___ _____ __ [2021-09-24T23:34:44.313Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-24T23:34:44.313Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-24T23:34:44.313Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-24T23:34:44.313Z] Bash-1.0.6 [2021-09-24T23:34:44.313Z] [2021-09-24T23:34:44.313Z] [2021-09-24T23:34:44.313Z] ==> git version 2.24.4 found [2021-09-24T23:34:44.313Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-09-24T23:34:44.313Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-24T23:34:44.313Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-24T23:34:44.585Z] ==> Jenkins CI detected. [2021-09-24T23:34:44.585Z] current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-957 [2021-09-24T23:34:44.585Z] project root: . [2021-09-24T23:34:44.585Z] --> token set from env [2021-09-24T23:34:44.585Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-24T23:34:44.585Z] ==> Running gcov in . (disable via -X gcov) [2021-09-24T23:34:44.585Z] ==> Python coveragepy not found [2021-09-24T23:34:44.585Z] ==> Searching for coverage reports in: [2021-09-24T23:34:44.585Z] + . [2021-09-24T23:34:44.585Z] -> Found 2 reports [2021-09-24T23:34:44.585Z] ==> Detecting git/mercurial file structure [2021-09-24T23:34:44.585Z] ==> Reading reports [2021-09-24T23:34:44.585Z] + ./app-service-template/coverage.out bytes=1219 [2021-09-24T23:34:44.585Z] + ./coverage.out bytes=101685 [2021-09-24T23:34:44.585Z] ==> Appending adjustments [2021-09-24T23:34:44.585Z] https://docs.codecov.io/docs/fixing-reports [2021-09-24T23:34:44.855Z] + Found adjustments [2021-09-24T23:34:44.855Z] ==> Gzipping contents [2021-09-24T23:34:44.855Z] 20K /tmp/codecov.zih5Ey.gz [2021-09-24T23:34:44.855Z] ==> Uploading reports [2021-09-24T23:34:44.855Z] url: https://codecov.io [2021-09-24T23:34:44.855Z] query: branch=PR-957&commit=621cff3b9b784168617c51082c3e5734ecc4f342&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-957%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=957&job=&cmd_args= [2021-09-24T23:34:44.855Z] -> Pinging Codecov [2021-09-24T23:34:44.855Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-957&commit=621cff3b9b784168617c51082c3e5734ecc4f342&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-957%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=957&job=&cmd_args= [2021-09-24T23:34:45.447Z] -> Uploading to [2021-09-24T23:34:45.447Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-24/3D8B5DFFC46A037C893635FACE044666/621cff3b9b784168617c51082c3e5734ecc4f342/6db3c49d-d699-4c1a-b747-17f771c6d23b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210924%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210924T233445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a669296b31075e3cb4422bad0e2b03ec7bddb2cfc9edfa8c5c0faf87d544350 [2021-09-24T23:34:45.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-24T23:34:45.447Z] Dload Upload Total Spent Left Speed [2021-09-24T23:34:46.299Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17639 0 0 100 17639 0 20020 --:--:-- --:--:-- --:--:-- 20021 [2021-09-24T23:34:46.299Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/621cff3b9b784168617c51082c3e5734ecc4f342 [Pipeline] } [2021-09-24T23:34:46.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-09-24T23:34:48.185Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-957/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:34:48.525Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:34:49.139Z] ---> package-listing.sh [2021-09-24T23:34:49.139Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-24T23:34:49.139Z] ++ facter osfamily [2021-09-24T23:34:49.405Z] + OS_FAMILY=redhat [2021-09-24T23:34:49.405Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-957 [2021-09-24T23:34:49.405Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-24T23:34:49.405Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-24T23:34:49.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-24T23:34:49.405Z] + PACKAGES=/tmp/packages_start.txt [2021-09-24T23:34:49.405Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-957 ']' [2021-09-24T23:34:49.405Z] + PACKAGES=/tmp/packages_end.txt [2021-09-24T23:34:49.405Z] + case "${OS_FAMILY}" in [2021-09-24T23:34:49.405Z] + rpm -qa [2021-09-24T23:34:49.405Z] + sort [2021-09-24T23:34:49.994Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-24T23:34:49.994Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-24T23:34:49.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-24T23:34:49.994Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-957 ']' [2021-09-24T23:34:49.994Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-957/archives/ [2021-09-24T23:34:49.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-957/archives/ [Pipeline] echo [2021-09-24T23:34:50.013Z] 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-957/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-24T23:34:50.331Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:34:52.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-24T23:34:52.128Z] [2021-09-24T23:34:52.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-24T23:34:52.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-24T23:34:52.477Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-24T23:34:52.477Z] b4d181a07f80: Pulling fs layer [2021-09-24T23:34:52.477Z] a1111a8f2ec3: Pulling fs layer [2021-09-24T23:34:52.477Z] ed53099fbce6: Pulling fs layer [2021-09-24T23:34:52.477Z] dc539afda2c1: Pulling fs layer [2021-09-24T23:34:52.477Z] 77bc0d833cb6: Pulling fs layer [2021-09-24T23:34:52.477Z] 9065ff56babe: Pulling fs layer [2021-09-24T23:34:52.477Z] d287ab97295c: Pulling fs layer [2021-09-24T23:34:52.477Z] dc539afda2c1: Waiting [2021-09-24T23:34:52.477Z] 9065ff56babe: Waiting [2021-09-24T23:34:52.477Z] d287ab97295c: Waiting [2021-09-24T23:34:52.477Z] 77bc0d833cb6: Waiting [2021-09-24T23:34:52.748Z] a1111a8f2ec3: Verifying Checksum [2021-09-24T23:34:52.748Z] a1111a8f2ec3: Download complete [2021-09-24T23:34:52.748Z] dc539afda2c1: Verifying Checksum [2021-09-24T23:34:52.748Z] dc539afda2c1: Download complete [2021-09-24T23:34:53.018Z] 77bc0d833cb6: Download complete [2021-09-24T23:34:53.018Z] 9065ff56babe: Verifying Checksum [2021-09-24T23:34:53.018Z] 9065ff56babe: Download complete [2021-09-24T23:34:53.284Z] ed53099fbce6: Verifying Checksum [2021-09-24T23:34:53.284Z] ed53099fbce6: Download complete [2021-09-24T23:34:54.451Z] b4d181a07f80: Verifying Checksum [2021-09-24T23:34:54.451Z] b4d181a07f80: Download complete [2021-09-24T23:34:55.440Z] b4d181a07f80: Pull complete [2021-09-24T23:34:55.713Z] a1111a8f2ec3: Pull complete [2021-09-24T23:34:56.315Z] ed53099fbce6: Pull complete [2021-09-24T23:34:56.315Z] dc539afda2c1: Pull complete [2021-09-24T23:34:56.583Z] 77bc0d833cb6: Pull complete [2021-09-24T23:34:56.584Z] 9065ff56babe: Pull complete [2021-09-24T23:34:58.543Z] d287ab97295c: Verifying Checksum [2021-09-24T23:34:58.543Z] d287ab97295c: Download complete [2021-09-24T23:35:02.826Z] d287ab97295c: Pull complete [2021-09-24T23:35:02.826Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-24T23:35:02.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-24T23:35:02.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-24T23:35:02.918Z] prd-centos7-docker-4c-2g-1344 does not seem to be running inside a container [2021-09-24T23:35:03.000Z] $ 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-957/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-957 -v /w/workspace/ndry_app-functions-sdk-go_PR-957:/w/workspace/ndry_app-functions-sdk-go_PR-957:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-24T23:35:05.166Z] $ docker top 3ca89c2173309e50d7afa4b47ade453007d49cd4f27a37bb2601cb0216ef3c0e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-24T23:35:05.571Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-24T23:35:05.887Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-24T23:35:06.221Z] + ls /var/log/sa-host [2021-09-24T23:35:06.221Z] + sadf -c /var/log/sa-host/sa05 [2021-09-24T23:35:06.221Z] file_magic: OK [2021-09-24T23:35:06.221Z] HZ: Using current value: 100 [2021-09-24T23:35:06.221Z] file_header: OK [2021-09-24T23:35:06.221Z] 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-09-24T23:35:06.221Z] Statistics: [2021-09-24T23:35:06.221Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-24T23:35:06.221Z] File successfully converted to sysstat format version 12.0.3 [2021-09-24T23:35:06.221Z] + sadf -c /var/log/sa-host/sa24 [2021-09-24T23:35:06.221Z] file_magic: OK [2021-09-24T23:35:06.221Z] HZ: Using current value: 100 [2021-09-24T23:35:06.221Z] file_header: OK [2021-09-24T23:35:06.222Z] 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-09-24T23:35:06.222Z] Statistics: [2021-09-24T23:35:06.222Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-24T23:35:06.222Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-24T23:35:06.786Z] provisioning config files... [2021-09-24T23:35:06.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-957@tmp/config3134144478861260647tmp [Pipeline] { [Pipeline] echo [2021-09-24T23:35:06.832Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:35:07.167Z] ---> create-netrc.sh [Pipeline] } [2021-09-24T23:35:07.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:35:07.594Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-24T23:35:07.610Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:35:07.924Z] ---> sudo-logs.sh [2021-09-24T23:35:07.924Z] Archiving 'sudo' log.. [2021-09-24T23:35:07.924Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1344.vexxhost.local: Name or service not known [2021-09-24T23:35:07.924Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1344.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-24T23:35:07.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:35:08.279Z] ---> job-cost.sh [2021-09-24T23:35:08.279Z] lf-activate-venv: SKIPPING [2021-09-24T23:35:08.279Z] DEBUG: total: 0.10999999940395355 [2021-09-24T23:35:08.279Z] INFO: Retrieving Stack Cost... [2021-09-24T23:35:09.244Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-24T23:35:09.512Z] INFO: Archiving Costs [Pipeline] echo [2021-09-24T23:35:09.531Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-24T23:35:09.850Z] ---> logs-deploy.sh [2021-09-24T23:35:09.850Z] lf-activate-venv: SKIPPING [2021-09-24T23:35:09.850Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-957/2 [2021-09-24T23:35:09.850Z] INFO: archiving workspace using pattern(s): [2021-09-24T23:35:10.440Z] Archives upload complete. [2021-09-24T23:35:10.710Z] INFO: archiving logs to Nexus