Pull request #953 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 cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce+be777dce5b114969bf676217563e399b5449f784 (65dea706104075a7d15d7f63c2f0ebad45b5bb57) 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-ssh3322691127752391616.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-ssh7077296740730871626.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-953/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-953/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1332396615790409929.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-ssh3810325524605990276.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-953/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-953/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5905984585626660913.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-745 in /w/workspace/ndry_app-functions-sdk-go_PR-953 [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-953 # 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-953@tmp/jenkins-gitclient-ssh4054470217514102935.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/jenkins-gitclient-ssh2218599390581386750.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit be777dce5b114969bf676217563e399b5449f784 into PR head commit cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce Merge succeeded, producing cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce Checking out Revision cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce (PR-953) > git config core.sparsecheckout # timeout=10 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # 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-953@tmp/jenkins-gitclient-ssh2021186741063203784.key > git merge be777dce5b114969bf676217563e399b5449f784 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-21T23:55:21.799Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-21T23:55:21.896Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-21T23:55:21.930Z] ========================================================= [2021-09-21T23:55:21.930Z] EdgeX Global Pipelines Version Info [2021-09-21T23:55:21.930Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-21T23:55:23.210Z] ------------------- [2021-09-21T23:55:23.210Z] stable info: [2021-09-21T23:55:23.210Z] ------------------- [2021-09-21T23:55:23.210Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-21T23:55:23.210Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-21T23:55:23.210Z] Message: update stable to v1.0.205 [2021-09-21T23:55:23.797Z] ------------------- [2021-09-21T23:55:23.797Z] experimental info: [2021-09-21T23:55:23.797Z] ------------------- [2021-09-21T23:55:23.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-21T23:55:23.798Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-21T23:55:23.798Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-21T23:55:23.935Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-09-21T23:55:23.963Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-09-21T23:55:23.990Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-21T23:55:24.018Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-21T23:55:24.045Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-21T23:55:24.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-21T23:55:24.099Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-21T23:55:24.126Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-21T23:55:24.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-21T23:55:24.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-21T23:55:24.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-21T23:55:24.290Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-21T23:55:24.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-09-21T23:55:24.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-21T23:55:24.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-21T23:55:24.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-09-21T23:55:24.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-21T23:55:24.453Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-21T23:55:24.482Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-21T23:55:24.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-21T23:55:24.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-21T23:55:24.564Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-21T23:55:24.591Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-21T23:55:24.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-21T23:55:24.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-21T23:55:24.672Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-09-21T23:55:24.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-21T23:55:24.725Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-953 [Pipeline] echo [2021-09-21T23:55:24.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-953 [Pipeline] echo [2021-09-21T23:55:24.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-953 [Pipeline] echo [2021-09-21T23:55:24.807Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [Pipeline] echo [2021-09-21T23:55:24.836Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbfbd67 [Pipeline] echo [2021-09-21T23:55:24.863Z] [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-21T23:55:25.363Z] + git log --format=format:%s -1 cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [Pipeline] echo [2021-09-21T23:55:25.433Z] GIT_COMMIT: cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce, Commit Message: build: Update build image for app-template to be golang:1.16-alpine3.14 [Pipeline] echo [2021-09-21T23:55:25.450Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-21T23:55:26.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-21T23:55:26.464Z] [2021-09-21T23:55:26.464Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-21T23:55:26.803Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-21T23:55:27.071Z] latest: Pulling from edgex-devops/git-semver [2021-09-21T23:55:27.071Z] 31603596830f: Pulling fs layer [2021-09-21T23:55:27.071Z] 04fac38145f0: Pulling fs layer [2021-09-21T23:55:27.071Z] 701f6daf10bf: Pulling fs layer [2021-09-21T23:55:27.071Z] 24f72da36158: Pulling fs layer [2021-09-21T23:55:27.071Z] 24f72da36158: Waiting [2021-09-21T23:55:27.071Z] 04fac38145f0: Verifying Checksum [2021-09-21T23:55:27.071Z] 04fac38145f0: Download complete [2021-09-21T23:55:27.344Z] 31603596830f: Verifying Checksum [2021-09-21T23:55:27.344Z] 31603596830f: Download complete [2021-09-21T23:55:27.344Z] 31603596830f: Pull complete [2021-09-21T23:55:27.344Z] 24f72da36158: Verifying Checksum [2021-09-21T23:55:27.344Z] 24f72da36158: Download complete [2021-09-21T23:55:27.613Z] 04fac38145f0: Pull complete [2021-09-21T23:55:27.613Z] 701f6daf10bf: Verifying Checksum [2021-09-21T23:55:27.613Z] 701f6daf10bf: Download complete [2021-09-21T23:55:28.205Z] 701f6daf10bf: Pull complete [2021-09-21T23:55:28.205Z] 24f72da36158: Pull complete [2021-09-21T23:55:28.205Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-21T23:55:28.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-21T23:55:28.205Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-21T23:55:28.309Z] prd-centos7-docker-4c-2g-745 does not seem to be running inside a container [2021-09-21T23:55:28.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-953 -v /w/workspace/ndry_app-functions-sdk-go_PR-953:/w/workspace/ndry_app-functions-sdk-go_PR-953:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-953@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-21T23:55:29.399Z] $ docker top ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-21T23:55:29.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-21T23:55:29.544Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-21T23:55:29.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-21T23:55:29.651Z] $ docker exec ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent [2021-09-21T23:55:29.765Z] SSH_AUTH_SOCK=/tmp/ssh-j0muExZSBAfo/agent.13 [2021-09-21T23:55:29.765Z] SSH_AGENT_PID=20 [2021-09-21T23:55:29.777Z] Running ssh-add (command line suppressed) [2021-09-21T23:55:29.875Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_3301786498182720383.key (/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_3301786498182720383.key) [2021-09-21T23:55:29.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-21T23:55:30.232Z] + git tag --points-at HEAD [Pipeline] } [2021-09-21T23:55:30.249Z] $ docker exec --env ******** --env ******** ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent -k [2021-09-21T23:55:30.350Z] unset SSH_AUTH_SOCK; [2021-09-21T23:55:30.351Z] unset SSH_AGENT_PID; [2021-09-21T23:55:30.351Z] echo Agent pid 20 killed; [2021-09-21T23:55:30.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-21T23:55:30.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-21T23:55:30.416Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-21T23:55:30.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-21T23:55:30.532Z] $ docker exec ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent [2021-09-21T23:55:30.638Z] SSH_AUTH_SOCK=/tmp/ssh-uKvRQWEXcmqM/agent.54 [2021-09-21T23:55:30.638Z] SSH_AGENT_PID=61 [2021-09-21T23:55:30.648Z] Running ssh-add (command line suppressed) [2021-09-21T23:55:30.739Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_8248961507328824238.key (/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/private_key_8248961507328824238.key) [2021-09-21T23:55:30.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-21T23:55:31.079Z] + git semver init [2021-09-21T23:55:31.079Z] # -> Open(): unable to determine branch for HEAD [2021-09-21T23:55:31.079Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-953/.git [2021-09-21T23:55:31.079Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-953 [2021-09-21T23:55:31.079Z] # $SEMVER_REMOTE_NAME = origin [2021-09-21T23:55:31.079Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-21T23:55:31.079Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-21T23:55:31.079Z] # $SEMVER_BRANCH = PR-953 [2021-09-21T23:55:31.079Z] # $SEMVER_TEMP = /tmp/semver-229166119 [2021-09-21T23:55:31.079Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-09-21T23:55:49.321Z] # '/tmp/semver-229166119' -> '/w/workspace/ndry_app-functions-sdk-go_PR-953/.semver' [2021-09-21T23:55:49.321Z] # -> Force: false [2021-09-21T23:55:49.321Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-953/.semver [Pipeline] } [2021-09-21T23:55:49.332Z] $ docker exec --env ******** --env ******** ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d ssh-agent -k [2021-09-21T23:55:49.443Z] unset SSH_AUTH_SOCK; [2021-09-21T23:55:49.444Z] unset SSH_AGENT_PID; [2021-09-21T23:55:49.444Z] echo Agent pid 61 killed; [2021-09-21T23:55:49.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-21T23:55:49.823Z] + git semver [Pipeline] } [2021-09-21T23:55:49.839Z] $ docker stop --time=1 ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d [2021-09-21T23:55:51.155Z] $ docker rm -f ad90460bab4c3551a0579f32138e9488f0ee4d5db744f1c76f5106a989f09c5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-21T23:55:51.541Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-21T23:55:52.127Z] Stashed 1 file(s) [Pipeline] echo [2021-09-21T23:55:52.131Z] [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-21T23:56:07.459Z] Still waiting to schedule task [2021-09-21T23:56:07.459Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-21T23:56:07.462Z] Still waiting to schedule task [2021-09-21T23:56:07.462Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-21T23:58:30.645Z] Running on prd-centos7-docker-4c-2g-747 in /w/workspace/ndry_app-functions-sdk-go_PR-953 [Pipeline] { [Pipeline] ws [2021-09-21T23:58:30.667Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-09-21T23:58:30.800Z] The recommended git tool is: git [2021-09-21T23:58:34.696Z] using credential edgex-jenkins-ssh [2021-09-21T23:58:34.715Z] Cloning the remote Git repository [2021-09-21T23:58:34.734Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-21T23:58:35.016Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-09-21T23:58:35.049Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-21T23:58:35.049Z] > git --version # timeout=10 [2021-09-21T23:58:35.058Z] > git --version # 'git version 2.24.4' [2021-09-21T23:58:35.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-21T23:58:35.085Z] [INFO] Currently running in a labeled security context [2021-09-21T23:58:35.085Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-21T23:58:35.086Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh8011088014502834452.key [2021-09-21T23:58:35.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-21T23:59:06.850Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-21T23:59:06.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-21T23:59:06.872Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-21T23:59:06.889Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-21T23:59:06.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-21T23:59:06.892Z] [INFO] Currently running in a labeled security context [2021-09-21T23:59:06.893Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-21T23:59:06.893Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4421374548739615063.key [2021-09-21T23:59:06.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-21T23:59:07.570Z] Merging remotes/origin/main commit be777dce5b114969bf676217563e399b5449f784 into PR head commit cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [2021-09-21T23:59:07.887Z] Merge succeeded, producing cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [2021-09-21T23:59:07.888Z] Checking out Revision cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce (PR-953) [2021-09-21T23:59:07.574Z] > git config core.sparsecheckout # timeout=10 [2021-09-21T23:59:07.579Z] > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 [2021-09-21T23:59:07.629Z] > git remote # timeout=10 [2021-09-21T23:59:07.637Z] > git config --get remote.origin.url # timeout=10 [2021-09-21T23:59:07.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-21T23:59:07.644Z] [INFO] Currently running in a labeled security context [2021-09-21T23:59:07.644Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-21T23:59:07.644Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/2@tmp/jenkins-gitclient-ssh4890948244854160108.key [2021-09-21T23:59:07.655Z] > git merge be777dce5b114969bf676217563e399b5449f784 # timeout=10 [2021-09-21T23:59:07.667Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-21T23:59:07.885Z] > git config core.sparsecheckout # timeout=10 [2021-09-21T23:59:07.894Z] > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 [2021-09-21T23:59:12.467Z] Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-21T23:59:13.533Z] ========================================================= [2021-09-21T23:59:13.533Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-21T23:59:13.533Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-21T23:59:13.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-21T23:59:21.062Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-21T23:59:21.062Z] 540db60ca938: Pulling fs layer [2021-09-21T23:59:21.062Z] adcc1eea9eea: Pulling fs layer [2021-09-21T23:59:21.062Z] 4c4ab2625f07: Pulling fs layer [2021-09-21T23:59:21.062Z] db62176df00c: Pulling fs layer [2021-09-21T23:59:21.062Z] 3b30891b0d05: Pulling fs layer [2021-09-21T23:59:21.062Z] 06b49ca38bd5: Pulling fs layer [2021-09-21T23:59:21.062Z] c788192a36de: Pulling fs layer [2021-09-21T23:59:21.062Z] a77e37c0d609: Pulling fs layer [2021-09-21T23:59:21.062Z] c3185cebc471: Pulling fs layer [2021-09-21T23:59:21.062Z] db62176df00c: Waiting [2021-09-21T23:59:21.062Z] 3b30891b0d05: Waiting [2021-09-21T23:59:21.062Z] 06b49ca38bd5: Waiting [2021-09-21T23:59:21.062Z] c788192a36de: Waiting [2021-09-21T23:59:21.062Z] a77e37c0d609: Waiting [2021-09-21T23:59:21.062Z] c3185cebc471: Waiting [2021-09-21T23:59:21.062Z] 4c4ab2625f07: Verifying Checksum [2021-09-21T23:59:21.062Z] 4c4ab2625f07: Download complete [2021-09-21T23:59:21.062Z] adcc1eea9eea: Verifying Checksum [2021-09-21T23:59:21.062Z] adcc1eea9eea: Download complete [2021-09-21T23:59:21.062Z] 3b30891b0d05: Verifying Checksum [2021-09-21T23:59:21.062Z] 3b30891b0d05: Download complete [2021-09-21T23:59:21.062Z] 06b49ca38bd5: Verifying Checksum [2021-09-21T23:59:21.062Z] 06b49ca38bd5: Download complete [2021-09-21T23:59:21.062Z] c788192a36de: Verifying Checksum [2021-09-21T23:59:21.062Z] c788192a36de: Download complete [2021-09-21T23:59:21.062Z] 540db60ca938: Verifying Checksum [2021-09-21T23:59:21.062Z] 540db60ca938: Download complete [2021-09-21T23:59:21.062Z] 540db60ca938: Pull complete [2021-09-21T23:59:21.062Z] adcc1eea9eea: Pull complete [2021-09-21T23:59:21.062Z] 4c4ab2625f07: Pull complete [2021-09-21T23:59:21.062Z] a77e37c0d609: Verifying Checksum [2021-09-21T23:59:21.062Z] a77e37c0d609: Download complete [2021-09-21T23:59:25.342Z] c3185cebc471: Verifying Checksum [2021-09-21T23:59:25.342Z] c3185cebc471: Download complete [2021-09-21T23:59:26.780Z] db62176df00c: Verifying Checksum [2021-09-21T23:59:26.780Z] db62176df00c: Download complete [2021-09-21T23:59:28.832Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-746 in /w/workspace/ndry_app-functions-sdk-go_PR-953 [Pipeline] { [Pipeline] ws [2021-09-21T23:59:28.855Z] Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-09-21T23:59:29.104Z] The recommended git tool is: git [2021-09-21T23:59:29.616Z] db62176df00c: Pull complete [2021-09-21T23:59:29.616Z] 3b30891b0d05: Pull complete [2021-09-21T23:59:29.616Z] 06b49ca38bd5: Pull complete [2021-09-21T23:59:29.885Z] c788192a36de: Pull complete [2021-09-21T23:59:29.885Z] a77e37c0d609: Pull complete [2021-09-21T23:59:32.504Z] c3185cebc471: Pull complete [2021-09-21T23:59:32.504Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-21T23:59:32.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-21T23:59:32.504Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-09-21T23:59:32.892Z] + 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-21T23:59:33.233Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-21T23:59:33.233Z] . [Pipeline] withDockerContainer [2021-09-21T23:59:33.337Z] prd-centos7-docker-4c-2g-747 does not seem to be running inside a container [2021-09-21T23:59:33.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-21T23:59:34.873Z] using credential edgex-jenkins-ssh [2021-09-21T23:59:34.912Z] Cloning the remote Git repository [2021-09-21T23:59:35.018Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-21T23:59:35.153Z] > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 [2021-09-21T23:59:35.848Z] $ docker top 3fff0295679c2c3650c6d117bc48371a12b96fbec7a4c403aef6e327ed602e52 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-21T23:59:36.285Z] + go version [2021-09-21T23:59:36.285Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-21T23:59:36.304Z] $ docker stop --time=1 3fff0295679c2c3650c6d117bc48371a12b96fbec7a4c403aef6e327ed602e52 [2021-09-21T23:59:35.263Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-21T23:59:35.264Z] > git --version # timeout=10 [2021-09-21T23:59:35.303Z] > git --version # 'git version 2.17.1' [2021-09-21T23:59:35.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-21T23:59:35.402Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-21T23:59:37.524Z] $ docker rm -f 3fff0295679c2c3650c6d117bc48371a12b96fbec7a4c403aef6e327ed602e52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-21T23:59:38.200Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-21T23:59:38.200Z] . [Pipeline] withDockerContainer [2021-09-21T23:59:38.523Z] prd-centos7-docker-4c-2g-747 does not seem to be running inside a container [2021-09-21T23:59:38.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-09-21T23:59:39.236Z] $ docker top d3edb3384a38c3286a309ad5205edb16920fbbf49e0586678911424b72b961ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-21T23:59:40.128Z] + make test [2021-09-21T23:59:40.129Z] make -C ./app-service-template build [2021-09-21T23:59:40.129Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-21T23:59:40.129Z] go mod tidy [2021-09-21T23:59:44.419Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-21T23:59:44.419Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-21T23:59:44.419Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-21T23:59:44.419Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-21T23:59:44.688Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-21T23:59:44.688Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-21T23:59:44.688Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-21T23:59:44.688Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-21T23:59:44.957Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-21T23:59:44.957Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-21T23:59:44.957Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-21T23:59:44.957Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-21T23:59:44.957Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-21T23:59:45.222Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-21T23:59:45.222Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-21T23:59:45.222Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-21T23:59:45.222Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-09-21T23:59:45.222Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-21T23:59:45.222Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-21T23:59:45.222Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-21T23:59:45.490Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-21T23:59:45.758Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-21T23:59:46.031Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-21T23:59:46.031Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-21T23:59:46.031Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-21T23:59:46.031Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-21T23:59:46.031Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-21T23:59:46.031Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-21T23:59:46.031Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-21T23:59:46.306Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-21T23:59:46.306Z] go: downloading golang.org/x/text v0.3.2 [2021-09-21T23:59:46.573Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-21T23:59:46.573Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-21T23:59:47.557Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-21T23:59:47.557Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-21T23:59:47.557Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-21T23:59:47.557Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-21T23:59:47.557Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-21T23:59:47.557Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-21T23:59:47.557Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-21T23:59:47.557Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-21T23:59:48.148Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-21T23:59:48.148Z] go: downloading github.com/kr/text v0.1.0 [2021-09-21T23:59:48.148Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-21T23:59:48.148Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-21T23:59:48.148Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-21T23:59:48.148Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-21T23:59:48.148Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-21T23:59:48.149Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-21T23:59:48.417Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-21T23:59:48.417Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-21T23:59:48.417Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-21T23:59:48.417Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-21T23:59:48.417Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-21T23:59:48.417Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-21T23:59:48.417Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-21T23:59:48.694Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-21T23:59:48.694Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-21T23:59:48.694Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-21T23:59:48.694Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-21T23:59:48.694Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-21T23:59:48.694Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-21T23:59:48.694Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-21T23:59:48.694Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-21T23:59:48.694Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-21T23:59:48.694Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-21T23:59:48.694Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-21T23:59:48.962Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-21T23:59:48.962Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-21T23:59:48.962Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-21T23:59:48.962Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-21T23:59:48.962Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-21T23:59:48.962Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-21T23:59:48.962Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-21T23:59:48.962Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-21T23:59:49.231Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-21T23:59:49.231Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-21T23:59:49.231Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-21T23:59:49.708Z] 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-21T23:59:57.252Z] Merging remotes/origin/main commit be777dce5b114969bf676217563e399b5449f784 into PR head commit cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [2021-09-21T23:59:57.481Z] Merge succeeded, producing cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [2021-09-21T23:59:57.482Z] Checking out Revision cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce (PR-953) [2021-09-21T23:59:56.374Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-21T23:59:56.389Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-21T23:59:56.414Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-21T23:59:56.441Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-21T23:59:56.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-21T23:59:56.454Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/953/head:refs/remotes/origin/PR-953 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-09-21T23:59:57.265Z] > git config core.sparsecheckout # timeout=10 [2021-09-21T23:59:57.282Z] > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 [2021-09-21T23:59:57.387Z] > git remote # timeout=10 [2021-09-21T23:59:57.417Z] > git config --get remote.origin.url # timeout=10 [2021-09-21T23:59:57.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-21T23:59:57.440Z] > git merge be777dce5b114969bf676217563e399b5449f784 # timeout=10 [2021-09-21T23:59:57.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-09-21T23:59:57.483Z] > git config core.sparsecheckout # timeout=10 [2021-09-21T23:59:57.500Z] > git checkout -f cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce # timeout=10 [2021-09-22T00:00:01.824Z] Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14" [2021-09-22T00:00:02.342Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:00:02.342Z] make -C ./app-service-template test [2021-09-22T00:00:02.342Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:00:02.342Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-22T00:00:02.912Z] ========================================================= [2021-09-22T00:00:02.912Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-22T00:00:02.912Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-22T00:00:03.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-22T00:00:08.874Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-22T00:00:08.875Z] 595b0fe564bb: Pulling fs layer [2021-09-22T00:00:08.875Z] 24495759ef45: Pulling fs layer [2021-09-22T00:00:08.875Z] d148012ef14d: Pulling fs layer [2021-09-22T00:00:08.875Z] e90a11edd702: Pulling fs layer [2021-09-22T00:00:08.875Z] d77568369979: Pulling fs layer [2021-09-22T00:00:08.875Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-22T00:00:08.875Z] 170f2ba95c9a: Pulling fs layer [2021-09-22T00:00:08.875Z] 97ac5df62f85: Pulling fs layer [2021-09-22T00:00:08.875Z] e90a11edd702: Waiting [2021-09-22T00:00:08.875Z] fc1c9f9a7f3b: Waiting [2021-09-22T00:00:08.875Z] d77568369979: Waiting [2021-09-22T00:00:08.875Z] 170f2ba95c9a: Waiting [2021-09-22T00:00:08.875Z] 97ac5df62f85: Waiting [2021-09-22T00:00:08.875Z] d148012ef14d: Verifying Checksum [2021-09-22T00:00:08.875Z] d148012ef14d: Download complete [2021-09-22T00:00:08.875Z] 24495759ef45: Verifying Checksum [2021-09-22T00:00:08.875Z] 24495759ef45: Download complete [2021-09-22T00:00:08.875Z] 595b0fe564bb: Verifying Checksum [2021-09-22T00:00:08.875Z] 595b0fe564bb: Download complete [2021-09-22T00:00:08.875Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-22T00:00:08.875Z] fc1c9f9a7f3b: Download complete [2021-09-22T00:00:08.875Z] 170f2ba95c9a: Download complete [2021-09-22T00:00:08.875Z] d77568369979: Download complete [2021-09-22T00:00:09.478Z] 595b0fe564bb: Pull complete [2021-09-22T00:00:10.082Z] 24495759ef45: Pull complete [2021-09-22T00:00:10.362Z] d148012ef14d: Pull complete [2021-09-22T00:00:12.537Z] ok new-app-service 0.013s coverage: 48.1% of statements [2021-09-22T00:00:12.537Z] ? new-app-service/config [no test files] [2021-09-22T00:00:12.537Z] ok new-app-service/functions 0.009s [2021-09-22T00:00:12.537Z] CGO_ENABLED=1 go vet ./... [2021-09-22T00:00:12.996Z] 97ac5df62f85: Verifying Checksum [2021-09-22T00:00:12.996Z] 97ac5df62f85: Download complete [2021-09-22T00:00:14.573Z] e90a11edd702: Verifying Checksum [2021-09-22T00:00:14.573Z] e90a11edd702: Download complete [2021-09-22T00:00:19.264Z] gofmt -l . [2021-09-22T00:00:19.264Z] [ "`gofmt -l .`" = "" ] [2021-09-22T00:00:19.264Z] ./bin/test-attribution-txt.sh [2021-09-22T00:00:19.264Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:00:19.264Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-22T00:00:19.872Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-22T00:00:21.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.012s coverage: 63.9% of statements [2021-09-22T00:00:21.335Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 93.7% of statements [2021-09-22T00:00:21.335Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-22T00:00:21.948Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.016s coverage: 61.8% of statements [2021-09-22T00:00:21.948Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-22T00:00:21.948Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s [2021-09-22T00:00:24.756Z] e90a11edd702: Pull complete [2021-09-22T00:00:24.756Z] d77568369979: Pull complete [2021-09-22T00:00:25.365Z] fc1c9f9a7f3b: Pull complete [2021-09-22T00:00:25.653Z] 170f2ba95c9a: Pull complete [2021-09-22T00:00:33.956Z] 97ac5df62f85: Pull complete [2021-09-22T00:00:33.956Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-22T00:00:33.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-22T00:00:33.956Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-09-22T00:00:34.361Z] + 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-22T00:00:34.994Z] + docker inspect -f . ci-base-image-arm64 [2021-09-22T00:00:34.994Z] . [Pipeline] withDockerContainer [2021-09-22T00:00:35.264Z] prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2021-09-22T00:00:35.349Z] $ 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-22T00:00:48.554Z] $ docker top 2e0c943c1b476a74e10045a15c0d1461b631f79498924629583d7b706a0b7413 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-22T00:00:49.558Z] + go version [2021-09-22T00:00:49.558Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-22T00:00:49.576Z] $ docker stop --time=1 2e0c943c1b476a74e10045a15c0d1461b631f79498924629583d7b706a0b7413 [2021-09-22T00:00:51.586Z] $ docker rm -f 2e0c943c1b476a74e10045a15c0d1461b631f79498924629583d7b706a0b7413 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-22T00:00:52.472Z] + docker inspect -f . ci-base-image-arm64 [2021-09-22T00:00:52.472Z] . [Pipeline] withDockerContainer [2021-09-22T00:00:52.706Z] prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2021-09-22T00:00:52.778Z] $ 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-22T00:00:54.501Z] $ docker top 330e4c81ec3323843b625bec5f0ffc8e52ac002e520bc3aa651a352c39edb3f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-22T00:00:55.494Z] + make test [2021-09-22T00:00:55.494Z] make -C ./app-service-template build [2021-09-22T00:00:55.494Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:00:55.494Z] go mod tidy [2021-09-22T00:00:56.922Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-22T00:00:56.922Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-22T00:00:57.515Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-22T00:00:57.788Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-22T00:00:57.789Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-22T00:00:57.789Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-22T00:00:57.789Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-22T00:00:57.789Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-22T00:00:57.789Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-22T00:00:57.789Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-22T00:00:57.789Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-22T00:00:58.387Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-22T00:00:58.387Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-22T00:00:58.387Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-22T00:00:58.387Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-22T00:00:58.662Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-22T00:00:58.662Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-09-22T00:00:58.662Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-22T00:00:58.662Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-22T00:00:58.662Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-22T00:00:58.662Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-22T00:00:58.662Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-22T00:00:58.662Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-22T00:00:58.937Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-22T00:00:58.937Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-22T00:00:58.937Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-22T00:00:58.937Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-22T00:00:58.937Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-22T00:00:58.937Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-22T00:00:59.211Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-22T00:00:59.211Z] go: downloading golang.org/x/text v0.3.2 [2021-09-22T00:00:59.819Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-22T00:00:59.819Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-22T00:01:02.566Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-22T00:01:02.566Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-22T00:01:02.566Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-22T00:01:02.566Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-22T00:01:03.550Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-22T00:01:03.550Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-22T00:01:03.550Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-22T00:01:03.550Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-22T00:01:03.550Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-22T00:01:03.550Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-22T00:01:03.550Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-22T00:01:03.550Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-22T00:01:03.550Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-22T00:01:03.550Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-22T00:01:03.550Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-22T00:01:04.530Z] go: downloading github.com/kr/text v0.1.0 [2021-09-22T00:01:04.530Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-22T00:01:04.530Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-22T00:01:04.530Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-22T00:01:04.805Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-22T00:01:04.805Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-22T00:01:04.805Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-22T00:01:04.805Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-22T00:01:04.805Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-22T00:01:04.805Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-22T00:01:04.805Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-22T00:01:04.805Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-22T00:01:04.805Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-22T00:01:04.805Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-22T00:01:04.805Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-22T00:01:05.081Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-22T00:01:05.081Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-22T00:01:05.081Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-22T00:01:05.081Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-22T00:01:05.361Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-22T00:01:05.361Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-22T00:01:05.640Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-22T00:01:05.640Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-22T00:01:05.640Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-22T00:01:05.640Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-22T00:01:05.640Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-22T00:01:05.640Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-22T00:01:05.640Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-22T00:01:05.640Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-22T00:01:05.914Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-22T00:01:05.914Z] 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-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 45.174s coverage: 75.7% of statements [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.3% of statements [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.046s coverage: 77.0% of statements [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.007s coverage: 12.5% of statements [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.009s coverage: 27.3% of statements [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-22T00:01:08.879Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 51.4% of statements [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s coverage: 77.3% of statements [2021-09-22T00:01:08.879Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-09-22T00:01:08.879Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-22T00:01:09.468Z] gofmt -l . [2021-09-22T00:01:09.468Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-22T00:01:09.486Z] $ docker stop --time=1 d3edb3384a38c3286a309ad5205edb16920fbbf49e0586678911424b72b961ea [2021-09-22T00:01:10.795Z] $ docker rm -f d3edb3384a38c3286a309ad5205edb16920fbbf49e0586678911424b72b961ea [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-22T00:01:11.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-22T00:01:11.845Z] 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-22T00:01:13.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T00:01:13.201Z] [2021-09-22T00:01:13.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-22T00:01:13.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T00:01:13.874Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-22T00:01:13.874Z] b4d181a07f80: Pulling fs layer [2021-09-22T00:01:13.874Z] a1111a8f2ec3: Pulling fs layer [2021-09-22T00:01:13.874Z] ed53099fbce6: Pulling fs layer [2021-09-22T00:01:13.874Z] dc539afda2c1: Pulling fs layer [2021-09-22T00:01:13.874Z] 77bc0d833cb6: Pulling fs layer [2021-09-22T00:01:13.874Z] 9065ff56babe: Pulling fs layer [2021-09-22T00:01:13.874Z] d287ab97295c: Pulling fs layer [2021-09-22T00:01:13.874Z] dc539afda2c1: Waiting [2021-09-22T00:01:13.874Z] 77bc0d833cb6: Waiting [2021-09-22T00:01:13.874Z] 9065ff56babe: Waiting [2021-09-22T00:01:13.874Z] d287ab97295c: Waiting [2021-09-22T00:01:14.140Z] a1111a8f2ec3: Verifying Checksum [2021-09-22T00:01:14.140Z] a1111a8f2ec3: Download complete [2021-09-22T00:01:14.409Z] dc539afda2c1: Verifying Checksum [2021-09-22T00:01:14.409Z] dc539afda2c1: Download complete [2021-09-22T00:01:14.409Z] 77bc0d833cb6: Verifying Checksum [2021-09-22T00:01:14.409Z] 77bc0d833cb6: Download complete [2021-09-22T00:01:14.676Z] 9065ff56babe: Verifying Checksum [2021-09-22T00:01:14.676Z] 9065ff56babe: Download complete [2021-09-22T00:01:14.947Z] ed53099fbce6: Verifying Checksum [2021-09-22T00:01:14.947Z] ed53099fbce6: Download complete [2021-09-22T00:01:15.219Z] b4d181a07f80: Verifying Checksum [2021-09-22T00:01:15.219Z] b4d181a07f80: Download complete [2021-09-22T00:01:16.649Z] b4d181a07f80: Pull complete [2021-09-22T00:01:16.649Z] a1111a8f2ec3: Pull complete [2021-09-22T00:01:17.260Z] ed53099fbce6: Pull complete [2021-09-22T00:01:17.260Z] dc539afda2c1: Pull complete [2021-09-22T00:01:17.532Z] 77bc0d833cb6: Pull complete [2021-09-22T00:01:17.532Z] 9065ff56babe: Pull complete [2021-09-22T00:01:20.130Z] d287ab97295c: Verifying Checksum [2021-09-22T00:01:20.130Z] d287ab97295c: Download complete [2021-09-22T00:01:24.622Z] d287ab97295c: Pull complete [2021-09-22T00:01:24.622Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-22T00:01:24.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T00:01:24.622Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-22T00:01:24.732Z] prd-centos7-docker-4c-2g-747 does not seem to be running inside a container [2021-09-22T00:01:24.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-22T00:01:27.459Z] $ docker top 7d78f341c42153f8130918094df61b3bfbffd9c2f3ab4fea7f701e8019b7fcf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:01:28.029Z] ---> job-cost.sh [2021-09-22T00:01:28.029Z] lf-activate-venv: SKIPPING [2021-09-22T00:01:28.029Z] INFO: No Stack... [2021-09-22T00:01:29.991Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-22T00:01:30.257Z] INFO: Archiving Costs [Pipeline] sh [2021-09-22T00:01:30.584Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-09-22T00:01:30.584Z] + cut -d, -f6 [Pipeline] lock [2021-09-22T00:01:30.629Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [2021-09-22T00:01:30.642Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] did not exist. Created. [2021-09-22T00:01:30.642Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-22T00:01:31.003Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-22T00:01:31.067Z] Stashed 1 file(s) [Pipeline] } [2021-09-22T00:01:31.103Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-22T00:01:31.149Z] $ docker stop --time=1 7d78f341c42153f8130918094df61b3bfbffd9c2f3ab4fea7f701e8019b7fcf9 [2021-09-22T00:01:32.328Z] $ docker rm -f 7d78f341c42153f8130918094df61b3bfbffd9c2f3ab4fea7f701e8019b7fcf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-22T00:01:44.980Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:01:44.980Z] make -C ./app-service-template test [2021-09-22T00:01:44.980Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:01:44.980Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-22T00:02:17.359Z] ok new-app-service 0.045s coverage: 48.1% of statements [2021-09-22T00:02:17.359Z] ? new-app-service/config [no test files] [2021-09-22T00:02:17.359Z] ok new-app-service/functions 0.041s [2021-09-22T00:02:17.359Z] CGO_ENABLED=1 go vet ./... [2021-09-22T00:02:44.172Z] gofmt -l . [2021-09-22T00:02:44.172Z] [ "`gofmt -l .`" = "" ] [2021-09-22T00:02:44.172Z] ./bin/test-attribution-txt.sh [2021-09-22T00:02:44.172Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/2/app-service-template' [2021-09-22T00:02:44.172Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-22T00:02:44.172Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-22T00:02:52.481Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.093s coverage: 63.9% of statements [2021-09-22T00:02:52.481Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.054s coverage: 93.7% of statements [2021-09-22T00:02:52.481Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-22T00:02:52.481Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 61.8% of statements [2021-09-22T00:02:52.481Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-22T00:02:52.481Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.078s [2021-09-22T00:02:53.086Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.172s coverage: 75.7% of statements [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-22T00:02:53.086Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.015s coverage: 97.3% of statements [2021-09-22T00:02:53.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-22T00:02:53.086Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.107s coverage: 10.5% of statements [2021-09-22T00:02:59.815Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.143s coverage: 77.0% of statements [2021-09-22T00:02:59.815Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-22T00:02:59.815Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.039s coverage: 12.5% of statements [2021-09-22T00:02:59.815Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.070s coverage: 27.3% of statements [2021-09-22T00:02:59.815Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-22T00:02:59.815Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-22T00:02:59.815Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 51.4% of statements [2021-09-22T00:03:26.597Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.112s coverage: 77.3% of statements [2021-09-22T00:03:26.597Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-09-22T00:03:26.597Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-22T00:03:29.234Z] gofmt -l . [2021-09-22T00:03:29.234Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-22T00:03:29.837Z] $ docker stop --time=1 330e4c81ec3323843b625bec5f0ffc8e52ac002e520bc3aa651a352c39edb3f9 [2021-09-22T00:03:31.924Z] $ docker rm -f 330e4c81ec3323843b625bec5f0ffc8e52ac002e520bc3aa651a352c39edb3f9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-22T00:03:34.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-22T00:03:34.291Z] Warning: overwriting stash ‘coverage-report’ [2021-09-22T00:03:34.992Z] 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-22T00:03:35.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-22T00:03:35.787Z] [2021-09-22T00:03:35.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-22T00:03:36.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-22T00:03:36.691Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-22T00:03:36.691Z] 448f6bf000e3: Pulling fs layer [2021-09-22T00:03:36.691Z] f757da607395: Pulling fs layer [2021-09-22T00:03:36.691Z] 05883995daec: Pulling fs layer [2021-09-22T00:03:36.691Z] 8603b9c90790: Pulling fs layer [2021-09-22T00:03:36.691Z] 1560dd03e051: Pulling fs layer [2021-09-22T00:03:36.691Z] 27f5ce0e4adf: Pulling fs layer [2021-09-22T00:03:36.691Z] c2d8d7efcc4b: Pulling fs layer [2021-09-22T00:03:36.691Z] 8603b9c90790: Waiting [2021-09-22T00:03:36.691Z] 1560dd03e051: Waiting [2021-09-22T00:03:36.691Z] c2d8d7efcc4b: Waiting [2021-09-22T00:03:36.691Z] 27f5ce0e4adf: Waiting [2021-09-22T00:03:36.691Z] f757da607395: Verifying Checksum [2021-09-22T00:03:36.691Z] f757da607395: Download complete [2021-09-22T00:03:36.969Z] 8603b9c90790: Verifying Checksum [2021-09-22T00:03:36.969Z] 8603b9c90790: Download complete [2021-09-22T00:03:36.969Z] 1560dd03e051: Verifying Checksum [2021-09-22T00:03:36.969Z] 1560dd03e051: Download complete [2021-09-22T00:03:36.969Z] 27f5ce0e4adf: Verifying Checksum [2021-09-22T00:03:36.969Z] 27f5ce0e4adf: Download complete [2021-09-22T00:03:37.248Z] 05883995daec: Verifying Checksum [2021-09-22T00:03:37.855Z] 448f6bf000e3: Verifying Checksum [2021-09-22T00:03:37.855Z] 448f6bf000e3: Download complete [2021-09-22T00:03:40.480Z] c2d8d7efcc4b: Verifying Checksum [2021-09-22T00:03:40.480Z] c2d8d7efcc4b: Download complete [2021-09-22T00:03:41.457Z] 448f6bf000e3: Pull complete [2021-09-22T00:03:42.054Z] f757da607395: Pull complete [2021-09-22T00:03:43.486Z] 05883995daec: Pull complete [2021-09-22T00:03:43.758Z] 8603b9c90790: Pull complete [2021-09-22T00:03:44.737Z] 1560dd03e051: Pull complete [2021-09-22T00:03:45.019Z] 27f5ce0e4adf: Pull complete [2021-09-22T00:04:00.113Z] c2d8d7efcc4b: Pull complete [2021-09-22T00:04:00.113Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-22T00:04:00.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-22T00:04:00.113Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-22T00:04:00.381Z] prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2021-09-22T00:04:00.454Z] $ 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-22T00:04:16.668Z] $ docker top 3a6931b06c9fe76890979f4a684e56c93c681b5e0de5f687301b5da8d3264a85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:04:17.680Z] ---> job-cost.sh [2021-09-22T00:04:17.680Z] lf-activate-venv: SKIPPING [2021-09-22T00:04:17.680Z] INFO: No Stack... [2021-09-22T00:04:19.153Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-22T00:04:19.153Z] INFO: Archiving Costs [Pipeline] sh [2021-09-22T00:04:20.142Z] + cat /w/workspace/app-functions-sdk-go/2/archives/cost.csv [2021-09-22T00:04:20.142Z] + cut -d, -f6 [Pipeline] lock [2021-09-22T00:04:20.212Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [2021-09-22T00:04:20.224Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] did not exist. Created. [2021-09-22T00:04:20.224Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-22T00:04:20.921Z] /w/workspace/app-functions-sdk-go/2@tmp/durable-72964164/script.sh: 1: /w/workspace/app-functions-sdk-go/2@tmp/durable-72964164/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-22T00:04:21.592Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-22T00:04:21.617Z] Warning: overwriting stash ‘stack-cost’ [2021-09-22T00:04:21.680Z] Stashed 1 file(s) [Pipeline] } [2021-09-22T00:04:21.690Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-PR-953-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-22T00:04:21.715Z] $ docker stop --time=1 3a6931b06c9fe76890979f4a684e56c93c681b5e0de5f687301b5da8d3264a85 [2021-09-22T00:04:23.381Z] $ docker rm -f 3a6931b06c9fe76890979f4a684e56c93c681b5e0de5f687301b5da8d3264a85 [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-22T00:04:24.755Z] provisioning config files... [2021-09-22T00:04:24.786Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/config2957163507378092326tmp [Pipeline] { [Pipeline] sh [2021-09-22T00:04:25.156Z] + set +x [2021-09-22T00:04:25.157Z] + curl -s https://codecov.io/bash [2021-09-22T00:04:25.157Z] + bash -s -- [2021-09-22T00:04:25.425Z] [2021-09-22T00:04:25.425Z] _____ _ [2021-09-22T00:04:25.425Z] / ____| | | [2021-09-22T00:04:25.425Z] | | ___ __| | ___ ___ _____ __ [2021-09-22T00:04:25.425Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-22T00:04:25.425Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-22T00:04:25.425Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-22T00:04:25.425Z] Bash-1.0.6 [2021-09-22T00:04:25.425Z] [2021-09-22T00:04:25.425Z] [2021-09-22T00:04:25.425Z] ==> git version 2.24.4 found [2021-09-22T00:04:25.425Z] ==> 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-22T00:04:25.425Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-22T00:04:25.425Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-22T00:04:25.425Z] ==> Jenkins CI detected. [2021-09-22T00:04:25.425Z] current dir:  /w/workspace/ndry_app-functions-sdk-go_PR-953 [2021-09-22T00:04:25.425Z] project root: . [2021-09-22T00:04:25.425Z] --> token set from env [2021-09-22T00:04:25.425Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-22T00:04:25.693Z] ==> Running gcov in . (disable via -X gcov) [2021-09-22T00:04:25.693Z] ==> Python coveragepy not found [2021-09-22T00:04:25.693Z] ==> Searching for coverage reports in: [2021-09-22T00:04:25.693Z] + . [2021-09-22T00:04:25.693Z] -> Found 2 reports [2021-09-22T00:04:25.693Z] ==> Detecting git/mercurial file structure [2021-09-22T00:04:25.693Z] ==> Reading reports [2021-09-22T00:04:25.693Z] + ./app-service-template/coverage.out bytes=1219 [2021-09-22T00:04:25.693Z] + ./coverage.out bytes=101685 [2021-09-22T00:04:25.693Z] ==> Appending adjustments [2021-09-22T00:04:25.693Z] https://docs.codecov.io/docs/fixing-reports [2021-09-22T00:04:26.169Z] + Found adjustments [2021-09-22T00:04:26.169Z] ==> Gzipping contents [2021-09-22T00:04:26.169Z] 20K /tmp/codecov.ixAVw9.gz [2021-09-22T00:04:26.169Z] ==> Uploading reports [2021-09-22T00:04:26.169Z] url: https://codecov.io [2021-09-22T00:04:26.169Z] query: branch=PR-953&commit=cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-953%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= [2021-09-22T00:04:26.169Z] -> Pinging Codecov [2021-09-22T00:04:26.170Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=PR-953&commit=cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-953%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=953&job=&cmd_args= [2021-09-22T00:04:34.444Z] -> Uploading to [2021-09-22T00:04:34.444Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-22/3D8B5DFFC46A037C893635FACE044666/cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce/db42d82f-d0fb-49d9-a3d7-f59de7eac276.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210922T000433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e813041f7da612c5732e67bcd3a47b58d68c441cb68c1e42ca836de5281af961 [2021-09-22T00:04:34.444Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-22T00:04:34.444Z] Dload Upload Total Spent Left Speed [2021-09-22T00:04:34.444Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17654 0 0 100 17654 0 43193 --:--:-- --:--:-- --:--:-- 43163 [2021-09-22T00:04:34.444Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/cbfbd6728e81cc28b2304a96a35c30e21fc3c3ce [Pipeline] } [2021-09-22T00:04:34.461Z] 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-22T00:04:36.769Z] + '[' -d /w/workspace/ndry_app-functions-sdk-go_PR-953/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:04:37.344Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:04:38.262Z] ---> package-listing.sh [2021-09-22T00:04:38.262Z] ++ facter osfamily [2021-09-22T00:04:38.262Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-22T00:04:38.535Z] + OS_FAMILY=redhat [2021-09-22T00:04:38.535Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-953 [2021-09-22T00:04:38.535Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-22T00:04:38.535Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-22T00:04:38.535Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-22T00:04:38.535Z] + PACKAGES=/tmp/packages_start.txt [2021-09-22T00:04:38.535Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-953 ']' [2021-09-22T00:04:38.535Z] + PACKAGES=/tmp/packages_end.txt [2021-09-22T00:04:38.535Z] + case "${OS_FAMILY}" in [2021-09-22T00:04:38.535Z] + rpm -qa [2021-09-22T00:04:38.535Z] + sort [2021-09-22T00:04:39.125Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-22T00:04:39.125Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-22T00:04:39.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-22T00:04:39.125Z] + '[' /w/workspace/ndry_app-functions-sdk-go_PR-953 ']' [2021-09-22T00:04:39.125Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-953/archives/ [2021-09-22T00:04:39.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-953/archives/ [Pipeline] echo [2021-09-22T00:04:39.144Z] 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-953/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-09-22T00:04:39.673Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-22T00:04:40.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T00:04:40.232Z] [2021-09-22T00:04:40.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-22T00:04:40.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T00:04:40.873Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-22T00:04:40.873Z] b4d181a07f80: Pulling fs layer [2021-09-22T00:04:40.873Z] a1111a8f2ec3: Pulling fs layer [2021-09-22T00:04:40.873Z] ed53099fbce6: Pulling fs layer [2021-09-22T00:04:40.873Z] dc539afda2c1: Pulling fs layer [2021-09-22T00:04:40.873Z] 77bc0d833cb6: Pulling fs layer [2021-09-22T00:04:40.873Z] 9065ff56babe: Pulling fs layer [2021-09-22T00:04:40.873Z] d287ab97295c: Pulling fs layer [2021-09-22T00:04:40.873Z] 77bc0d833cb6: Waiting [2021-09-22T00:04:40.873Z] 9065ff56babe: Waiting [2021-09-22T00:04:40.873Z] dc539afda2c1: Waiting [2021-09-22T00:04:40.873Z] d287ab97295c: Waiting [2021-09-22T00:04:41.151Z] a1111a8f2ec3: Verifying Checksum [2021-09-22T00:04:41.151Z] a1111a8f2ec3: Download complete [2021-09-22T00:04:41.151Z] dc539afda2c1: Verifying Checksum [2021-09-22T00:04:41.151Z] dc539afda2c1: Download complete [2021-09-22T00:04:41.423Z] 77bc0d833cb6: Verifying Checksum [2021-09-22T00:04:41.423Z] 77bc0d833cb6: Download complete [2021-09-22T00:04:41.423Z] 9065ff56babe: Verifying Checksum [2021-09-22T00:04:41.423Z] 9065ff56babe: Download complete [2021-09-22T00:04:41.423Z] ed53099fbce6: Verifying Checksum [2021-09-22T00:04:41.423Z] ed53099fbce6: Download complete [2021-09-22T00:04:44.034Z] b4d181a07f80: Verifying Checksum [2021-09-22T00:04:44.034Z] b4d181a07f80: Download complete [2021-09-22T00:04:45.234Z] b4d181a07f80: Pull complete [2021-09-22T00:04:45.234Z] a1111a8f2ec3: Pull complete [2021-09-22T00:04:45.530Z] ed53099fbce6: Pull complete [2021-09-22T00:04:45.530Z] dc539afda2c1: Pull complete [2021-09-22T00:04:45.805Z] 77bc0d833cb6: Pull complete [2021-09-22T00:04:45.805Z] 9065ff56babe: Pull complete [2021-09-22T00:04:47.789Z] d287ab97295c: Verifying Checksum [2021-09-22T00:04:47.789Z] d287ab97295c: Download complete [2021-09-22T00:04:52.112Z] d287ab97295c: Pull complete [2021-09-22T00:04:52.112Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-22T00:04:52.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T00:04:52.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-22T00:04:52.503Z] prd-centos7-docker-4c-2g-745 does not seem to be running inside a container [2021-09-22T00:04:52.601Z] $ 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-953/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-953 -v /w/workspace/ndry_app-functions-sdk-go_PR-953:/w/workspace/ndry_app-functions-sdk-go_PR-953:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-953@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-953@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-22T00:04:55.093Z] $ docker top d482604025c0aceb88fba31c2a2a994f3b970033fbfba5b36cb88fecad4988e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-22T00:04:55.532Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-22T00:04:56.082Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-22T00:04:56.627Z] + ls /var/log/sa-host [2021-09-22T00:04:56.627Z] + sadf -c /var/log/sa-host/sa05 [2021-09-22T00:04:56.627Z] file_magic: OK [2021-09-22T00:04:56.627Z] HZ: Using current value: 100 [2021-09-22T00:04:56.627Z] file_header: OK [2021-09-22T00:04:56.627Z] 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-22T00:04:56.627Z] Statistics: [2021-09-22T00:04:56.627Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-22T00:04:56.627Z] File successfully converted to sysstat format version 12.0.3 [2021-09-22T00:04:56.627Z] + sadf -c /var/log/sa-host/sa21 [2021-09-22T00:04:56.627Z] file_magic: OK [2021-09-22T00:04:56.627Z] HZ: Using current value: 100 [2021-09-22T00:04:56.627Z] file_header: OK [2021-09-22T00:04:56.627Z] 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-22T00:04:56.627Z] Statistics: [2021-09-22T00:04:56.627Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-22T00:04:56.627Z] File successfully converted to sysstat format version 12.0.3 [2021-09-22T00:04:56.627Z] + sadf -c /var/log/sa-host/sa22 [2021-09-22T00:04:56.627Z] file_magic: OK [2021-09-22T00:04:56.627Z] HZ: Using current value: 100 [2021-09-22T00:04:56.627Z] file_header: OK [2021-09-22T00:04:56.627Z] 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-22T00:04:56.627Z] Statistics: [2021-09-22T00:04:56.627Z] Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-22T00:04:56.627Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-22T00:04:57.471Z] provisioning config files... [2021-09-22T00:04:57.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-953@tmp/config6567302905847119941tmp [Pipeline] { [Pipeline] echo [2021-09-22T00:04:57.522Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:04:57.859Z] ---> create-netrc.sh [Pipeline] } [2021-09-22T00:04:57.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:04:58.373Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-22T00:04:58.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:04:58.932Z] ---> sudo-logs.sh [2021-09-22T00:04:58.933Z] Archiving 'sudo' log.. [2021-09-22T00:04:59.909Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-745.vexxhost.local: Name or service not known [2021-09-22T00:04:59.910Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-745.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-22T00:04:59.951Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:05:00.268Z] ---> job-cost.sh [2021-09-22T00:05:00.268Z] lf-activate-venv: SKIPPING [2021-09-22T00:05:00.268Z] DEBUG: total: 0.10999999940395355 [2021-09-22T00:05:00.268Z] INFO: Retrieving Stack Cost... [2021-09-22T00:05:01.681Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-22T00:05:01.968Z] INFO: Archiving Costs [Pipeline] echo [2021-09-22T00:05:01.999Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T00:05:02.552Z] ---> logs-deploy.sh [2021-09-22T00:05:02.552Z] lf-activate-venv: SKIPPING [2021-09-22T00:05:02.552Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-953/2 [2021-09-22T00:05:02.552Z] INFO: archiving workspace using pattern(s): [2021-09-22T00:05:03.349Z] Archives upload complete. [2021-09-22T00:05:03.620Z] INFO: archiving logs to Nexus [2021-09-22T00:05:03.896Z] ---> uname -a: [2021-09-22T00:05:03.896Z] Linux prd-centos7-docker-4c-2g-745.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] ---> lscpu: [2021-09-22T00:05:03.896Z] Architecture: x86_64 [2021-09-22T00:05:03.896Z] CPU op-mode(s): 32-bit, 64-bit [2021-09-22T00:05:03.896Z] Byte Order: Little Endian [2021-09-22T00:05:03.896Z] Address sizes: 40 bits physical, 48 bits virtual [2021-09-22T00:05:03.896Z] CPU(s): 2 [2021-09-22T00:05:03.896Z] On-line CPU(s) list: 0,1 [2021-09-22T00:05:03.896Z] Thread(s) per core: 1 [2021-09-22T00:05:03.896Z] Core(s) per socket: 1 [2021-09-22T00:05:03.896Z] Socket(s): 2 [2021-09-22T00:05:03.896Z] NUMA node(s): 1 [2021-09-22T00:05:03.896Z] Vendor ID: AuthenticAMD [2021-09-22T00:05:03.896Z] CPU family: 23 [2021-09-22T00:05:03.896Z] Model: 49 [2021-09-22T00:05:03.896Z] Model name: AMD EPYC-Rome Processor [2021-09-22T00:05:03.896Z] Stepping: 0 [2021-09-22T00:05:03.896Z] CPU MHz: 2799.998 [2021-09-22T00:05:03.896Z] BogoMIPS: 5599.99 [2021-09-22T00:05:03.896Z] Virtualization: AMD-V [2021-09-22T00:05:03.896Z] Hypervisor vendor: KVM [2021-09-22T00:05:03.896Z] Virtualization type: full [2021-09-22T00:05:03.896Z] L1d cache: 32K [2021-09-22T00:05:03.896Z] L1i cache: 32K [2021-09-22T00:05:03.896Z] L2 cache: 512K [2021-09-22T00:05:03.896Z] L3 cache: 16384K [2021-09-22T00:05:03.896Z] NUMA node0 CPU(s): 0,1 [2021-09-22T00:05:03.896Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] ---> nproc: [2021-09-22T00:05:03.896Z] 2 [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] ---> df -h: [2021-09-22T00:05:03.896Z] Filesystem Size Used Avail Use% Mounted on [2021-09-22T00:05:03.896Z] overlay 40G 7.7G 33G 20% / [2021-09-22T00:05:03.896Z] tmpfs 64M 0 64M 0% /dev [2021-09-22T00:05:03.896Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-09-22T00:05:03.896Z] shm 64M 0 64M 0% /dev/shm [2021-09-22T00:05:03.896Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] ---> sar -b -r -n DEV: [2021-09-22T00:05:03.896Z] Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-745.vexxhost.local) 09/22/21 _x86_64_ (2 CPU) [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] 00:00:01 tps rtps wtps bread/s bwrtn/s [2021-09-22T00:05:03.896Z] 00:01:01 0.43 0.02 0.42 0.13 6.06 [2021-09-22T00:05:03.896Z] 00:02:01 0.40 0.10 0.30 1.73 5.70 [2021-09-22T00:05:03.896Z] 00:03:01 0.23 0.00 0.23 0.00 2.98 [2021-09-22T00:05:03.896Z] 00:04:01 0.23 0.00 0.23 0.00 1.78 [2021-09-22T00:05:03.896Z] Average: 0.32 0.03 0.30 0.47 4.13 [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-09-22T00:05:03.896Z] 00:01:01 5435644 0 801448 10.01 2620 1769228 1206796 13.32 587740 1586128 8 [2021-09-22T00:05:03.896Z] 00:02:01 5436532 0 800432 9.99 2620 1769356 1204840 13.30 586892 1586188 8 [2021-09-22T00:05:03.896Z] 00:03:01 5434972 0 801988 10.01 2620 1769360 1204756 13.30 588468 1586188 8 [2021-09-22T00:05:03.896Z] 00:04:01 5432464 0 804492 10.04 2620 1769364 1204756 13.30 590876 1586188 20 [2021-09-22T00:05:03.896Z] Average: 5434903 0 802090 10.01 2620 1769327 1205287 13.31 588494 1586173 11 [2021-09-22T00:05:03.896Z] [2021-09-22T00:05:03.896Z] 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-09-22T00:05:03.896Z] 00:01:01 eth0 0.22 0.18 0.08 0.07 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:02:01 eth0 0.23 0.23 0.09 0.02 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:03:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:04:01 eth0 0.42 0.08 0.03 0.01 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] 00:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] Average: eth0 0.24 0.15 0.05 0.03 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-09-22T00:05:03.897Z] [2021-09-22T00:05:03.897Z] [2021-09-22T00:05:03.897Z] ---> sar -P ALL: [2021-09-22T00:05:03.897Z] Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-745.vexxhost.local) 09/22/21 _x86_64_ (2 CPU) [2021-09-22T00:05:03.897Z] [2021-09-22T00:05:03.897Z] 00:00:01 CPU %user %nice %system %iowait %steal %idle [2021-09-22T00:05:03.897Z] 00:01:01 all 0.19 0.00 0.04 0.00 0.01 99.76 [2021-09-22T00:05:03.897Z] 00:01:01 0 0.03 0.00 0.05 0.00 0.00 99.92 [2021-09-22T00:05:03.897Z] 00:01:01 1 0.35 0.00 0.03 0.00 0.02 99.60 [2021-09-22T00:05:03.897Z] 00:02:01 all 0.24 0.00 0.04 0.00 0.02 99.70 [2021-09-22T00:05:03.897Z] 00:02:01 0 0.10 0.00 0.05 0.00 0.02 99.83 [2021-09-22T00:05:03.897Z] 00:02:01 1 0.38 0.00 0.03 0.00 0.02 99.57 [2021-09-22T00:05:03.897Z] 00:03:01 all 0.20 0.00 0.06 0.00 0.02 99.72 [2021-09-22T00:05:03.897Z] 00:03:01 0 0.05 0.00 0.07 0.00 0.02 99.87 [2021-09-22T00:05:03.897Z] 00:03:01 1 0.35 0.00 0.05 0.00 0.02 99.58 [2021-09-22T00:05:03.897Z] 00:04:01 all 0.16 0.00 0.06 0.00 0.02 99.77 [2021-09-22T00:05:03.897Z] 00:04:01 0 0.05 0.00 0.07 0.00 0.03 99.85 [2021-09-22T00:05:03.897Z] 00:04:01 1 0.27 0.00 0.05 0.00 0.00 99.68 [2021-09-22T00:05:03.897Z] Average: all 0.20 0.00 0.05 0.00 0.01 99.74 [2021-09-22T00:05:03.897Z] Average: 0 0.06 0.00 0.06 0.00 0.02 99.87 [2021-09-22T00:05:03.897Z] Average: 1 0.34 0.00 0.04 0.00 0.01 99.61 [2021-09-22T00:05:03.897Z] [2021-09-22T00:05:03.897Z] [2021-09-22T00:05:03.897Z]