Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1d599202cd64a06a276f3b3191668ff2dfc96df6 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-ssh5751033077462973153.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh3131303216233947376.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4917787994098665900.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh1834492614514543933.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6114960508321787692.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 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-284 in /w/workspace/oundry_app-functions-sdk-go_main [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/oundry_app-functions-sdk-go_main # 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/oundry_app-functions-sdk-go_main@tmp/jenkins-gitclient-ssh257567499916935150.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1d599202cd64a06a276f3b3191668ff2dfc96df6 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 Commit message: "Merge pull request #964 from ernestojeda/vendor-lts-update" > git rev-list --no-walk aa508a3e66e4a281fa0c2e3029608a5edd05d007 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-06T21:12:10.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-06T21:12:10.363Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-06T21:12:10.390Z] ========================================================= [2021-10-06T21:12:10.390Z] EdgeX Global Pipelines Version Info [2021-10-06T21:12:10.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:12:11.718Z] ------------------- [2021-10-06T21:12:11.718Z] stable info: [2021-10-06T21:12:11.718Z] ------------------- [2021-10-06T21:12:11.718Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-06T21:12:11.718Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-06T21:12:11.718Z] Message: update stable to v1.0.207 [2021-10-06T21:12:12.313Z] ------------------- [2021-10-06T21:12:12.313Z] experimental info: [2021-10-06T21:12:12.313Z] ------------------- [2021-10-06T21:12:12.313Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-06T21:12:12.313Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-06T21:12:12.313Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-06T21:12:12.670Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-10-06T21:12:12.701Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-10-06T21:12:12.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-06T21:12:12.749Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-06T21:12:12.773Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-06T21:12:12.800Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-06T21:12:12.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-06T21:12:12.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-06T21:12:12.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-06T21:12:12.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-06T21:12:12.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-06T21:12:12.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-10-06T21:12:13.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-06T21:12:13.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-06T21:12:13.063Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T21:12:13.086Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T21:12:13.109Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T21:12:13.131Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-06T21:12:13.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-06T21:12:13.175Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-06T21:12:13.197Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-06T21:12:13.218Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-06T21:12:13.239Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-06T21:12:13.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-06T21:12:13.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-10-06T21:12:13.305Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-06T21:12:13.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-06T21:12:13.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-06T21:12:13.376Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-06T21:12:13.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d599202cd64a06a276f3b3191668ff2dfc96df6 [Pipeline] echo [2021-10-06T21:12:13.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d59920 [Pipeline] echo [2021-10-06T21:12:13.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-06T21:12:13.944Z] + git log --format=format:%s -1 1d599202cd64a06a276f3b3191668ff2dfc96df6 [Pipeline] echo [2021-10-06T21:12:14.021Z] GIT_COMMIT: 1d599202cd64a06a276f3b3191668ff2dfc96df6, Commit Message: Merge pull request #964 from ernestojeda/vendor-lts-update [Pipeline] echo [2021-10-06T21:12:14.033Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:12:14.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T21:12:14.948Z] [2021-10-06T21:12:14.948Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:12:15.330Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T21:12:15.601Z] latest: Pulling from edgex-devops/git-semver [2021-10-06T21:12:15.601Z] 31603596830f: Pulling fs layer [2021-10-06T21:12:15.601Z] 04fac38145f0: Pulling fs layer [2021-10-06T21:12:15.601Z] 701f6daf10bf: Pulling fs layer [2021-10-06T21:12:15.601Z] 24f72da36158: Pulling fs layer [2021-10-06T21:12:15.601Z] 24f72da36158: Waiting [2021-10-06T21:12:20.978Z] 04fac38145f0: Verifying Checksum [2021-10-06T21:12:20.978Z] 04fac38145f0: Download complete [2021-10-06T21:12:20.978Z] 31603596830f: Verifying Checksum [2021-10-06T21:12:20.978Z] 31603596830f: Download complete [2021-10-06T21:12:20.978Z] 24f72da36158: Verifying Checksum [2021-10-06T21:12:20.978Z] 24f72da36158: Download complete [2021-10-06T21:12:20.978Z] 31603596830f: Pull complete [2021-10-06T21:12:20.978Z] 04fac38145f0: Pull complete [2021-10-06T21:12:20.978Z] 701f6daf10bf: Verifying Checksum [2021-10-06T21:12:20.978Z] 701f6daf10bf: Download complete [2021-10-06T21:12:21.573Z] 701f6daf10bf: Pull complete [2021-10-06T21:12:21.573Z] 24f72da36158: Pull complete [2021-10-06T21:12:21.573Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-06T21:12:21.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-06T21:12:21.844Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-06T21:12:21.948Z] prd-centos7-docker-4c-2g-284 does not seem to be running inside a container [2021-10-06T21:12:22.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-06T21:12:22.856Z] $ docker top 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-06T21:12:22.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T21:12:22.986Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T21:12:23.114Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T21:12:23.118Z] $ docker exec 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 ssh-agent [2021-10-06T21:12:23.229Z] SSH_AUTH_SOCK=/tmp/ssh-Gc0wwLoyMhF7/agent.14 [2021-10-06T21:12:23.229Z] SSH_AGENT_PID=21 [2021-10-06T21:12:23.242Z] Running ssh-add (command line suppressed) [2021-10-06T21:12:23.338Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_894894016797650082.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_894894016797650082.key) [2021-10-06T21:12:23.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T21:12:23.689Z] + git tag --points-at HEAD [Pipeline] } [2021-10-06T21:12:23.712Z] $ docker exec --env ******** --env ******** 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 ssh-agent -k [2021-10-06T21:12:23.804Z] unset SSH_AUTH_SOCK; [2021-10-06T21:12:23.806Z] unset SSH_AGENT_PID; [2021-10-06T21:12:23.806Z] echo Agent pid 21 killed; [2021-10-06T21:12:23.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-06T21:12:23.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-06T21:12:23.871Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-06T21:12:23.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-06T21:12:23.997Z] $ docker exec 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 ssh-agent [2021-10-06T21:12:24.121Z] SSH_AUTH_SOCK=/tmp/ssh-q1MIBIr1AT8U/agent.53 [2021-10-06T21:12:24.121Z] SSH_AGENT_PID=59 [2021-10-06T21:12:24.247Z] Running ssh-add (command line suppressed) [2021-10-06T21:12:24.353Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9163164764712387489.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_9163164764712387489.key) [2021-10-06T21:12:24.457Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-06T21:12:24.776Z] + git semver init [2021-10-06T21:12:24.776Z] # -> Open(): unable to determine branch for HEAD [2021-10-06T21:12:24.776Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-10-06T21:12:24.776Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-10-06T21:12:24.776Z] # $SEMVER_REMOTE_NAME = origin [2021-10-06T21:12:24.776Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-06T21:12:24.776Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-06T21:12:24.776Z] # $SEMVER_BRANCH = main [2021-10-06T21:12:24.776Z] # $SEMVER_TEMP = /tmp/semver-780590914 [2021-10-06T21:12:24.776Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-10-06T21:12:27.390Z] # '/tmp/semver-780590914' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-10-06T21:12:27.390Z] # -> Force: false [2021-10-06T21:12:27.390Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-10-06T21:12:27.407Z] $ docker exec --env ******** --env ******** 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 ssh-agent -k [2021-10-06T21:12:27.499Z] unset SSH_AUTH_SOCK; [2021-10-06T21:12:27.501Z] unset SSH_AGENT_PID; [2021-10-06T21:12:27.501Z] echo Agent pid 59 killed; [2021-10-06T21:12:27.522Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-06T21:12:27.874Z] + git semver [Pipeline] } [2021-10-06T21:12:27.896Z] $ docker stop --time=1 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 [2021-10-06T21:12:29.262Z] $ docker rm -f 0a292ca1a3283fa0fd775eb9cfb7288d0f42088ddb539be1d8b5531876f70f36 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T21:12:29.669Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-06T21:12:30.097Z] Stashed 1 file(s) [Pipeline] echo [2021-10-06T21:12:30.101Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.22 [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-10-06T21:12:45.405Z] Still waiting to schedule task [2021-10-06T21:12:45.405Z] ‘prd-centos7-builder-2c-1g-282’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T21:12:45.406Z] ‘prd-centos7-docker-4c-2g-279’ is offline [2021-10-06T21:12:45.406Z] ‘prd-centos7-docker-4c-2g-283’ is offline [2021-10-06T21:12:45.406Z] ‘prd-centos7-docker-4c-2g-285’ is offline [2021-10-06T21:12:45.406Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-281’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-06T21:12:45.408Z] Still waiting to schedule task [2021-10-06T21:12:45.409Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-281’ is offline [2021-10-06T21:15:35.963Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-286 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-06T21:15:35.985Z] Running in /w/workspace/app-functions-sdk-go/34 [Pipeline] { [Pipeline] checkout [2021-10-06T21:15:36.251Z] The recommended git tool is: git [2021-10-06T21:15:43.819Z] using credential edgex-jenkins-ssh [2021-10-06T21:15:43.839Z] Cloning the remote Git repository [2021-10-06T21:15:43.880Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T21:15:44.014Z] > git init /w/workspace/app-functions-sdk-go/34 # timeout=10 [2021-10-06T21:15:44.096Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T21:15:44.097Z] > git --version # timeout=10 [2021-10-06T21:15:44.114Z] > git --version # 'git version 2.17.1' [2021-10-06T21:15:44.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T21:15:44.226Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T21:15:49.392Z] Avoid second fetch [2021-10-06T21:15:49.393Z] Checking out Revision 1d599202cd64a06a276f3b3191668ff2dfc96df6 (main) [2021-10-06T21:15:49.336Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-06T21:15:49.357Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T21:15:49.404Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T21:15:49.421Z] > git checkout -f 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 [2021-10-06T21:15:54.250Z] Commit message: "Merge pull request #964 from ernestojeda/vendor-lts-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-06T21:15:55.173Z] ========================================================= [2021-10-06T21:15:55.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-06T21:15:55.173Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-06T21:15:55.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-06T21:15:57.893Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-06T21:15:57.894Z] bbf911997326: Pulling fs layer [2021-10-06T21:15:57.894Z] 58ec367f63d7: Pulling fs layer [2021-10-06T21:15:57.894Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-06T21:15:57.894Z] fc5181fea5dc: Pulling fs layer [2021-10-06T21:15:57.894Z] 9c418107303f: Pulling fs layer [2021-10-06T21:15:57.894Z] 284eca6f2348: Pulling fs layer [2021-10-06T21:15:57.894Z] 842844d905b1: Pulling fs layer [2021-10-06T21:15:57.894Z] fc5181fea5dc: Waiting [2021-10-06T21:15:57.894Z] 9c418107303f: Waiting [2021-10-06T21:15:57.894Z] 284eca6f2348: Waiting [2021-10-06T21:15:57.894Z] 901a3a57568e: Pulling fs layer [2021-10-06T21:15:57.894Z] 842844d905b1: Waiting [2021-10-06T21:15:57.894Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-06T21:15:57.894Z] 1b4a6ffa7d45: Download complete [2021-10-06T21:15:58.182Z] 58ec367f63d7: Verifying Checksum [2021-10-06T21:15:58.182Z] 58ec367f63d7: Download complete [2021-10-06T21:15:58.182Z] 9c418107303f: Verifying Checksum [2021-10-06T21:15:58.182Z] 9c418107303f: Download complete [2021-10-06T21:15:58.182Z] 284eca6f2348: Verifying Checksum [2021-10-06T21:15:58.182Z] 284eca6f2348: Download complete [2021-10-06T21:15:58.182Z] bbf911997326: Verifying Checksum [2021-10-06T21:15:58.182Z] bbf911997326: Download complete [2021-10-06T21:15:58.182Z] 842844d905b1: Download complete [2021-10-06T21:15:58.838Z] bbf911997326: Pull complete [2021-10-06T21:15:59.469Z] 58ec367f63d7: Pull complete [2021-10-06T21:15:59.752Z] 1b4a6ffa7d45: Pull complete [2021-10-06T21:16:01.811Z] fc5181fea5dc: Verifying Checksum [2021-10-06T21:16:01.811Z] fc5181fea5dc: Download complete [2021-10-06T21:16:02.454Z] 901a3a57568e: Verifying Checksum [2021-10-06T21:16:02.454Z] 901a3a57568e: Download complete [2021-10-06T21:16:12.781Z] fc5181fea5dc: Pull complete [2021-10-06T21:16:12.781Z] 9c418107303f: Pull complete [2021-10-06T21:16:12.781Z] 284eca6f2348: Pull complete [2021-10-06T21:16:13.063Z] 842844d905b1: Pull complete [2021-10-06T21:16:18.580Z] 901a3a57568e: Pull complete [2021-10-06T21:16:18.580Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-06T21:16:18.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-06T21:16:18.580Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-10-06T21:16:19.051Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:16:19.439Z] + docker inspect -f . ci-base-image-arm64 [2021-10-06T21:16:19.439Z] . [Pipeline] withDockerContainer [2021-10-06T21:16:19.942Z] prd-ubuntu18.04-docker-arm64-4c-16g-286 does not seem to be running inside a container [2021-10-06T21:16:20.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/34 -v /w/workspace/app-functions-sdk-go/34:/w/workspace/app-functions-sdk-go/34:rw,z -v /w/workspace/app-functions-sdk-go/34@tmp:/w/workspace/app-functions-sdk-go/34@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 ******** ci-base-image-arm64 cat [2021-10-06T21:16:27.902Z] $ docker top a207fe3896c3969c6e177290d184cc60c0a7efe4376586faf35d3d3350b8f601 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T21:16:28.978Z] + go version [2021-10-06T21:16:28.978Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-06T21:16:29.003Z] $ docker stop --time=1 a207fe3896c3969c6e177290d184cc60c0a7efe4376586faf35d3d3350b8f601 [2021-10-06T21:16:30.885Z] $ docker rm -f a207fe3896c3969c6e177290d184cc60c0a7efe4376586faf35d3d3350b8f601 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:16:31.777Z] + docker inspect -f . ci-base-image-arm64 [2021-10-06T21:16:31.777Z] . [Pipeline] withDockerContainer [2021-10-06T21:16:32.110Z] prd-ubuntu18.04-docker-arm64-4c-16g-286 does not seem to be running inside a container [2021-10-06T21:16:32.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/34 -v /w/workspace/app-functions-sdk-go/34:/w/workspace/app-functions-sdk-go/34:rw,z -v /w/workspace/app-functions-sdk-go/34@tmp:/w/workspace/app-functions-sdk-go/34@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 ******** ci-base-image-arm64 cat [2021-10-06T21:16:33.883Z] $ docker top 2395c661e6ccb6fee6e38c638bc779b5f8697860a283911a5640018f74e4d3aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-06T21:16:35.267Z] + make test [2021-10-06T21:16:35.267Z] make -C ./app-service-template build [2021-10-06T21:16:35.267Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:16:35.267Z] 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-10-06T21:16:36.287Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-06T21:16:36.287Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-06T21:16:36.572Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-06T21:16:36.572Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-06T21:16:36.572Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-06T21:16:36.572Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-06T21:16:36.572Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-06T21:16:36.572Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-06T21:16:36.856Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-06T21:16:36.857Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-06T21:16:36.857Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-06T21:16:36.857Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-06T21:16:36.857Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-06T21:16:36.857Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-06T21:16:37.141Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-06T21:16:37.141Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-06T21:16:37.141Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-06T21:16:37.141Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-06T21:16:37.141Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-06T21:16:37.424Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-06T21:16:37.424Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-06T21:16:37.424Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-06T21:16:37.424Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-06T21:16:37.424Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-06T21:16:37.424Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-06T21:16:37.715Z] go: downloading golang.org/x/text v0.3.2 [2021-10-06T21:16:37.715Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-06T21:16:38.349Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-06T21:16:38.349Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-06T21:16:38.349Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-06T21:16:38.349Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-06T21:16:38.656Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-06T21:16:38.656Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-06T21:16:38.656Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-06T21:16:38.656Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-06T21:16:38.656Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-06T21:16:38.656Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-06T21:16:38.656Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-06T21:16:38.957Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-06T21:16:38.957Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-06T21:16:38.957Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-06T21:16:38.957Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-06T21:16:39.251Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-06T21:16:39.251Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-06T21:16:39.251Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-06T21:16:39.251Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-06T21:17:19.080Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:17:19.080Z] make -C ./app-service-template test [2021-10-06T21:17:19.080Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:17:19.080Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-06T21:17:19.080Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-06T21:17:19.080Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-06T21:17:19.080Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-06T21:17:19.080Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-06T21:17:19.080Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-06T21:17:51.719Z] ok new-app-service 0.042s coverage: 48.1% of statements [2021-10-06T21:17:51.719Z] ? new-app-service/config [no test files] [2021-10-06T21:17:51.719Z] ok new-app-service/functions 0.041s [2021-10-06T21:17:51.719Z] CGO_ENABLED=1 go vet ./... [2021-10-06T21:18:13.845Z] Running on prd-centos7-docker-4c-2g-289 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-06T21:18:13.867Z] Running in /w/workspace/app-functions-sdk-go/34 [Pipeline] { [Pipeline] checkout [2021-10-06T21:18:13.998Z] The recommended git tool is: git [2021-10-06T21:18:15.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-06T21:18:15.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-06T21:18:15.067Z] ./bin/test-attribution-txt.sh [2021-10-06T21:18:15.067Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-06T21:18:15.067Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-06T21:18:15.718Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:18:15.718Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-06T21:18:17.143Z] using credential edgex-jenkins-ssh [2021-10-06T21:18:17.159Z] Cloning the remote Git repository [2021-10-06T21:18:17.256Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-06T21:18:16.530Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T21:18:16.613Z] > git init /w/workspace/app-functions-sdk-go/34 # timeout=10 [2021-10-06T21:18:16.645Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-10-06T21:18:16.645Z] > git --version # timeout=10 [2021-10-06T21:18:16.655Z] > git --version # 'git version 2.24.4' [2021-10-06T21:18:16.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-06T21:18:16.679Z] [INFO] Currently running in a labeled security context [2021-10-06T21:18:16.679Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-06T21:18:16.679Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/34@tmp/jenkins-gitclient-ssh3543895265332214411.key [2021-10-06T21:18:16.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T21:18:19.028Z] Avoid second fetch [2021-10-06T21:18:19.028Z] Checking out Revision 1d599202cd64a06a276f3b3191668ff2dfc96df6 (main) [2021-10-06T21:18:18.353Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-10-06T21:18:18.360Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-06T21:18:18.381Z] > git config core.sparsecheckout # timeout=10 [2021-10-06T21:18:18.392Z] > git checkout -f 1d599202cd64a06a276f3b3191668ff2dfc96df6 # timeout=10 [2021-10-06T21:18:22.984Z] Commit message: "Merge pull request #964 from ernestojeda/vendor-lts-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-10-06T21:18:23.833Z] ========================================================= [2021-10-06T21:18:23.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-06T21:18:23.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-10-06T21:18:24.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-06T21:18:24.573Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-06T21:18:24.573Z] 4e9f2cdf4387: Pulling fs layer [2021-10-06T21:18:24.573Z] 57d31006c564: Pulling fs layer [2021-10-06T21:18:24.573Z] bd5ccded8296: Pulling fs layer [2021-10-06T21:18:24.573Z] 304dd3a0f381: Pulling fs layer [2021-10-06T21:18:24.573Z] d37cda54a23b: Pulling fs layer [2021-10-06T21:18:24.573Z] bae75c0f2455: Pulling fs layer [2021-10-06T21:18:24.573Z] 806579b3d29a: Pulling fs layer [2021-10-06T21:18:24.573Z] c77eb801bf70: Pulling fs layer [2021-10-06T21:18:24.573Z] 6d0567d44e1a: Pulling fs layer [2021-10-06T21:18:24.573Z] 304dd3a0f381: Waiting [2021-10-06T21:18:24.573Z] d37cda54a23b: Waiting [2021-10-06T21:18:24.573Z] bae75c0f2455: Waiting [2021-10-06T21:18:24.573Z] 806579b3d29a: Waiting [2021-10-06T21:18:24.573Z] c77eb801bf70: Waiting [2021-10-06T21:18:24.573Z] 6d0567d44e1a: Waiting [2021-10-06T21:18:24.573Z] bd5ccded8296: Verifying Checksum [2021-10-06T21:18:24.573Z] bd5ccded8296: Download complete [2021-10-06T21:18:24.573Z] 57d31006c564: Verifying Checksum [2021-10-06T21:18:24.573Z] 57d31006c564: Download complete [2021-10-06T21:18:24.573Z] d37cda54a23b: Verifying Checksum [2021-10-06T21:18:24.573Z] d37cda54a23b: Download complete [2021-10-06T21:18:24.573Z] bae75c0f2455: Verifying Checksum [2021-10-06T21:18:24.573Z] bae75c0f2455: Download complete [2021-10-06T21:18:24.573Z] 4e9f2cdf4387: Verifying Checksum [2021-10-06T21:18:24.573Z] 4e9f2cdf4387: Download complete [2021-10-06T21:18:24.844Z] 806579b3d29a: Verifying Checksum [2021-10-06T21:18:24.844Z] 806579b3d29a: Download complete [2021-10-06T21:18:24.844Z] 4e9f2cdf4387: Pull complete [2021-10-06T21:18:24.844Z] 57d31006c564: Pull complete [2021-10-06T21:18:25.111Z] bd5ccded8296: Pull complete [2021-10-06T21:18:25.378Z] c77eb801bf70: Verifying Checksum [2021-10-06T21:18:25.378Z] c77eb801bf70: Download complete [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.105s coverage: 67.5% of statements [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.048s coverage: 93.7% of statements [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.109s coverage: 61.8% of statements [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.105s [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.215s coverage: 75.7% of statements [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.030s coverage: 97.3% of statements [2021-10-06T21:18:27.590Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-06T21:18:27.590Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.075s coverage: 10.5% of statements [2021-10-06T21:18:30.753Z] 304dd3a0f381: Verifying Checksum [2021-10-06T21:18:30.753Z] 304dd3a0f381: Download complete [2021-10-06T21:18:30.753Z] 6d0567d44e1a: Verifying Checksum [2021-10-06T21:18:30.753Z] 6d0567d44e1a: Download complete [2021-10-06T21:18:34.519Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.182s coverage: 77.0% of statements [2021-10-06T21:18:34.520Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-06T21:18:34.520Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.074s coverage: 12.5% of statements [2021-10-06T21:18:34.520Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.045s coverage: 27.3% of statements [2021-10-06T21:18:34.520Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-06T21:18:34.520Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-06T21:18:34.520Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.053s coverage: 51.4% of statements [2021-10-06T21:18:35.062Z] 304dd3a0f381: Pull complete [2021-10-06T21:18:35.062Z] d37cda54a23b: Pull complete [2021-10-06T21:18:35.062Z] bae75c0f2455: Pull complete [2021-10-06T21:18:35.062Z] 806579b3d29a: Pull complete [2021-10-06T21:18:35.062Z] c77eb801bf70: Pull complete [2021-10-06T21:18:37.671Z] 6d0567d44e1a: Pull complete [2021-10-06T21:18:37.671Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-06T21:18:37.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-06T21:18:37.671Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-10-06T21:18:38.041Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:18:38.379Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-06T21:18:38.379Z] . [Pipeline] withDockerContainer [2021-10-06T21:18:38.492Z] prd-centos7-docker-4c-2g-289 does not seem to be running inside a container [2021-10-06T21:18:37.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/34 -v /w/workspace/app-functions-sdk-go/34:/w/workspace/app-functions-sdk-go/34:rw,z -v /w/workspace/app-functions-sdk-go/34@tmp:/w/workspace/app-functions-sdk-go/34@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 ******** ci-base-image-x86_64 cat [2021-10-06T21:18:40.627Z] $ docker top 6377b9dbf4b8fdf2811756af18fe7913690cc26c3ac3c9826e9310da87063bea -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T21:18:41.717Z] + go version [2021-10-06T21:18:41.717Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-06T21:18:41.080Z] $ docker stop --time=1 6377b9dbf4b8fdf2811756af18fe7913690cc26c3ac3c9826e9310da87063bea [2021-10-06T21:18:42.281Z] $ docker rm -f 6377b9dbf4b8fdf2811756af18fe7913690cc26c3ac3c9826e9310da87063bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:18:43.545Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-06T21:18:43.545Z] . [Pipeline] withDockerContainer [2021-10-06T21:18:43.635Z] prd-centos7-docker-4c-2g-289 does not seem to be running inside a container [2021-10-06T21:18:43.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/34 -v /w/workspace/app-functions-sdk-go/34:/w/workspace/app-functions-sdk-go/34:rw,z -v /w/workspace/app-functions-sdk-go/34@tmp:/w/workspace/app-functions-sdk-go/34@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 ******** ci-base-image-x86_64 cat [2021-10-06T21:18:43.474Z] $ docker top ea902fef7f9ba191765778a4a67a3bb690c5257d68ce7958cc280d0d044b60c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-06T21:18:44.494Z] + make test [2021-10-06T21:18:44.494Z] make -C ./app-service-template build [2021-10-06T21:18:44.494Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:18:44.494Z] 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-10-06T21:18:44.764Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-10-06T21:18:44.764Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-10-06T21:18:44.764Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-10-06T21:18:44.764Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-10-06T21:18:44.764Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-10-06T21:18:44.764Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-10-06T21:18:45.042Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/google/uuid v1.3.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-10-06T21:18:45.042Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-10-06T21:18:45.042Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-10-06T21:18:45.042Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-10-06T21:18:45.042Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-10-06T21:18:45.042Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-10-06T21:18:45.325Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-10-06T21:18:45.325Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-10-06T21:18:45.325Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-10-06T21:18:45.325Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-10-06T21:18:45.325Z] go: downloading github.com/x448/float16 v0.8.4 [2021-10-06T21:18:45.325Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-10-06T21:18:45.325Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-10-06T21:18:45.325Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-10-06T21:18:45.325Z] go: downloading golang.org/x/text v0.3.2 [2021-10-06T21:18:45.597Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-10-06T21:18:45.597Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-10-06T21:18:45.597Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-10-06T21:18:45.597Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-10-06T21:18:45.597Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-10-06T21:18:45.868Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-10-06T21:18:45.868Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-10-06T21:18:45.868Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-10-06T21:18:46.142Z] go: downloading github.com/fatih/color v1.9.0 [2021-10-06T21:18:46.142Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-10-06T21:18:46.142Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-10-06T21:18:46.142Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-10-06T21:18:46.142Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-10-06T21:18:46.414Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-10-06T21:18:46.414Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-10-06T21:18:46.414Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-10-06T21:18:46.415Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-10-06T21:18:46.415Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-10-06T21:18:46.684Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-10-06T21:18:59.082Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:18:59.082Z] make -C ./app-service-template test [2021-10-06T21:18:59.082Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:18:59.082Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-10-06T21:18:59.082Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-10-06T21:18:59.082Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-10-06T21:18:59.082Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-10-06T21:18:59.082Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-10-06T21:18:59.082Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-10-06T21:19:01.915Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.110s coverage: 77.3% of statements [2021-10-06T21:19:01.915Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-10-06T21:19:01.915Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-06T21:19:02.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-06T21:19:03.232Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-06T21:19:03.543Z] $ docker stop --time=1 2395c661e6ccb6fee6e38c638bc779b5f8697860a283911a5640018f74e4d3aa [2021-10-06T21:19:05.488Z] $ docker rm -f 2395c661e6ccb6fee6e38c638bc779b5f8697860a283911a5640018f74e4d3aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T21:19:07.360Z] ok new-app-service 0.015s coverage: 48.1% of statements [2021-10-06T21:19:07.360Z] ? new-app-service/config [no test files] [2021-10-06T21:19:07.360Z] ok new-app-service/functions 0.007s [2021-10-06T21:19:07.360Z] CGO_ENABLED=1 go vet ./... [2021-10-06T21:19:07.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-06T21:19:08.754Z] 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-10-06T21:19:09.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T21:19:09.614Z] [2021-10-06T21:19:09.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:19:10.031Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T21:19:10.329Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-06T21:19:10.329Z] 448f6bf000e3: Pulling fs layer [2021-10-06T21:19:10.329Z] f757da607395: Pulling fs layer [2021-10-06T21:19:10.329Z] 05883995daec: Pulling fs layer [2021-10-06T21:19:10.329Z] 8603b9c90790: Pulling fs layer [2021-10-06T21:19:10.329Z] 1560dd03e051: Pulling fs layer [2021-10-06T21:19:10.329Z] 27f5ce0e4adf: Pulling fs layer [2021-10-06T21:19:10.329Z] c2d8d7efcc4b: Pulling fs layer [2021-10-06T21:19:10.329Z] 1560dd03e051: Waiting [2021-10-06T21:19:10.329Z] 27f5ce0e4adf: Waiting [2021-10-06T21:19:10.329Z] c2d8d7efcc4b: Waiting [2021-10-06T21:19:10.329Z] 8603b9c90790: Waiting [2021-10-06T21:19:10.621Z] f757da607395: Verifying Checksum [2021-10-06T21:19:10.621Z] f757da607395: Download complete [2021-10-06T21:19:10.621Z] 8603b9c90790: Verifying Checksum [2021-10-06T21:19:10.621Z] 8603b9c90790: Download complete [2021-10-06T21:19:10.908Z] 1560dd03e051: Verifying Checksum [2021-10-06T21:19:10.908Z] 1560dd03e051: Download complete [2021-10-06T21:19:10.908Z] 05883995daec: Verifying Checksum [2021-10-06T21:19:10.908Z] 05883995daec: Download complete [2021-10-06T21:19:10.908Z] 27f5ce0e4adf: Verifying Checksum [2021-10-06T21:19:10.908Z] 27f5ce0e4adf: Download complete [2021-10-06T21:19:11.529Z] 448f6bf000e3: Verifying Checksum [2021-10-06T21:19:11.529Z] 448f6bf000e3: Download complete [2021-10-06T21:19:14.098Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-06T21:19:14.098Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-06T21:19:14.098Z] ./bin/test-attribution-txt.sh [2021-10-06T21:19:14.098Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-10-06T21:19:14.098Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-10-06T21:19:14.098Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/34/app-service-template' [2021-10-06T21:19:14.098Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-10-06T21:19:14.222Z] c2d8d7efcc4b: Verifying Checksum [2021-10-06T21:19:14.222Z] c2d8d7efcc4b: Download complete [2021-10-06T21:19:14.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-10-06T21:19:15.257Z] 448f6bf000e3: Pull complete [2021-10-06T21:19:15.870Z] f757da607395: Pull complete [2021-10-06T21:19:16.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.015s coverage: 67.5% of statements [2021-10-06T21:19:16.199Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app/mocks [no test files] [2021-10-06T21:19:16.478Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.012s coverage: 93.7% of statements [2021-10-06T21:19:16.478Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-10-06T21:19:16.879Z] 05883995daec: Pull complete [2021-10-06T21:19:17.100Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.017s coverage: 61.8% of statements [2021-10-06T21:19:17.100Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-10-06T21:19:17.101Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.008s [2021-10-06T21:19:17.162Z] 8603b9c90790: Pull complete [2021-10-06T21:19:17.734Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.039s coverage: 75.7% of statements [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-10-06T21:19:17.734Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.3% of statements [2021-10-06T21:19:17.734Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-10-06T21:19:18.025Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.009s coverage: 10.5% of statements [2021-10-06T21:19:18.179Z] 1560dd03e051: Pull complete [2021-10-06T21:19:18.463Z] 27f5ce0e4adf: Pull complete [2021-10-06T21:19:22.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.038s coverage: 77.0% of statements [2021-10-06T21:19:22.399Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-10-06T21:19:22.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.006s coverage: 12.5% of statements [2021-10-06T21:19:22.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements [2021-10-06T21:19:22.399Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-10-06T21:19:22.399Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-10-06T21:19:22.399Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.006s coverage: 51.4% of statements [2021-10-06T21:19:31.013Z] c2d8d7efcc4b: Pull complete [2021-10-06T21:19:31.013Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-06T21:19:31.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-06T21:19:31.013Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-06T21:19:31.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-286 does not seem to be running inside a container [2021-10-06T21:19:31.379Z] $ 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/34 -v /w/workspace/app-functions-sdk-go/34:/w/workspace/app-functions-sdk-go/34:rw,z -v /w/workspace/app-functions-sdk-go/34@tmp:/w/workspace/app-functions-sdk-go/34@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-06T21:19:36.503Z] $ docker top fe00575e2e5b9f28d67aabfee25f239d9f233ad8a7468e0a451e991751fb34d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:19:37.765Z] ---> job-cost.sh [2021-10-06T21:19:37.765Z] lf-activate-venv: SKIPPING [2021-10-06T21:19:37.765Z] INFO: No Stack... [2021-10-06T21:19:38.061Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-06T21:19:38.683Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T21:19:39.422Z] + cat /w/workspace/app-functions-sdk-go/34/archives/cost.csv [2021-10-06T21:19:39.422Z] + cut -d, -f6 [Pipeline] lock [2021-10-06T21:19:39.500Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] [2021-10-06T21:19:39.512Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] did not exist. Created. [2021-10-06T21:19:39.512Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T21:19:40.260Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-06T21:19:40.371Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T21:19:40.387Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T21:19:40.371Z] $ docker stop --time=1 fe00575e2e5b9f28d67aabfee25f239d9f233ad8a7468e0a451e991751fb34d1 [2021-10-06T21:19:42.230Z] $ docker rm -f fe00575e2e5b9f28d67aabfee25f239d9f233ad8a7468e0a451e991751fb34d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-06T21:19:49.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.041s coverage: 77.3% of statements [2021-10-06T21:19:49.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-10-06T21:19:49.448Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-06T21:19:49.448Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-06T21:19:49.448Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] } [2021-10-06T21:19:49.486Z] $ docker stop --time=1 ea902fef7f9ba191765778a4a67a3bb690c5257d68ce7958cc280d0d044b60c4 [2021-10-06T21:19:50.768Z] $ docker rm -f ea902fef7f9ba191765778a4a67a3bb690c5257d68ce7958cc280d0d044b60c4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-06T21:19:51.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-06T21:19:51.483Z] Warning: overwriting stash ‘coverage-report’ [2021-10-06T21:19:51.737Z] 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-10-06T21:19:52.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T21:19:52.567Z] [2021-10-06T21:19:52.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:19:52.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T21:19:52.922Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T21:19:52.922Z] b4d181a07f80: Pulling fs layer [2021-10-06T21:19:52.922Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T21:19:52.922Z] ed53099fbce6: Pulling fs layer [2021-10-06T21:19:52.922Z] dc539afda2c1: Pulling fs layer [2021-10-06T21:19:52.922Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T21:19:52.922Z] 9065ff56babe: Pulling fs layer [2021-10-06T21:19:52.922Z] d287ab97295c: Pulling fs layer [2021-10-06T21:19:52.922Z] 77bc0d833cb6: Waiting [2021-10-06T21:19:52.922Z] 9065ff56babe: Waiting [2021-10-06T21:19:52.922Z] d287ab97295c: Waiting [2021-10-06T21:19:52.922Z] dc539afda2c1: Waiting [2021-10-06T21:19:53.191Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T21:19:53.191Z] a1111a8f2ec3: Download complete [2021-10-06T21:19:53.191Z] dc539afda2c1: Verifying Checksum [2021-10-06T21:19:53.191Z] dc539afda2c1: Download complete [2021-10-06T21:19:53.191Z] ed53099fbce6: Verifying Checksum [2021-10-06T21:19:53.191Z] ed53099fbce6: Download complete [2021-10-06T21:19:53.191Z] 9065ff56babe: Verifying Checksum [2021-10-06T21:19:53.191Z] 9065ff56babe: Download complete [2021-10-06T21:19:53.479Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T21:19:53.479Z] 77bc0d833cb6: Download complete [2021-10-06T21:19:53.480Z] b4d181a07f80: Verifying Checksum [2021-10-06T21:19:53.480Z] b4d181a07f80: Download complete [2021-10-06T21:19:54.930Z] b4d181a07f80: Pull complete [2021-10-06T21:19:55.223Z] a1111a8f2ec3: Pull complete [2021-10-06T21:19:55.223Z] d287ab97295c: Verifying Checksum [2021-10-06T21:19:55.223Z] d287ab97295c: Download complete [2021-10-06T21:19:55.821Z] ed53099fbce6: Pull complete [2021-10-06T21:19:55.821Z] dc539afda2c1: Pull complete [2021-10-06T21:19:56.097Z] 77bc0d833cb6: Pull complete [2021-10-06T21:19:56.097Z] 9065ff56babe: Pull complete [2021-10-06T21:20:01.736Z] d287ab97295c: Pull complete [2021-10-06T21:20:01.736Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T21:20:01.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T21:20:01.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T21:20:01.873Z] prd-centos7-docker-4c-2g-289 does not seem to be running inside a container [2021-10-06T21:20:01.965Z] $ 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/34 -v /w/workspace/app-functions-sdk-go/34:/w/workspace/app-functions-sdk-go/34:rw,z -v /w/workspace/app-functions-sdk-go/34@tmp:/w/workspace/app-functions-sdk-go/34@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T21:20:04.576Z] $ docker top b1581d75952d9893a2aaad3803c4e05a040c6db39db5c7578780366bcb259705 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:04.990Z] ---> job-cost.sh [2021-10-06T21:20:04.990Z] lf-activate-venv: SKIPPING [2021-10-06T21:20:04.990Z] INFO: No Stack... [2021-10-06T21:20:05.259Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T21:20:05.845Z] INFO: Archiving Costs [Pipeline] sh [2021-10-06T21:20:06.163Z] + cut -d, -f6 [2021-10-06T21:20:06.163Z] + cat /w/workspace/app-functions-sdk-go/34/archives/cost.csv [Pipeline] lock [2021-10-06T21:20:06.218Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] [2021-10-06T21:20:06.234Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] did not exist. Created. [2021-10-06T21:20:06.234Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-06T21:20:06.591Z] /w/workspace/app-functions-sdk-go/34@tmp/durable-1320b33d/script.sh: 1: /w/workspace/app-functions-sdk-go/34@tmp/durable-1320b33d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-06T21:20:06.915Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-06T21:20:06.945Z] Warning: overwriting stash ‘stack-cost’ [2021-10-06T21:20:06.971Z] Stashed 1 file(s) [Pipeline] } [2021-10-06T21:20:06.984Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-06T21:20:07.012Z] $ docker stop --time=1 b1581d75952d9893a2aaad3803c4e05a040c6db39db5c7578780366bcb259705 [2021-10-06T21:20:08.171Z] $ docker rm -f b1581d75952d9893a2aaad3803c4e05a040c6db39db5c7578780366bcb259705 [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-10-06T21:20:09.074Z] provisioning config files... [2021-10-06T21:20:09.301Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8169688366337574438tmp [Pipeline] { [Pipeline] sh [2021-10-06T21:20:09.640Z] + set +x [2021-10-06T21:20:09.640Z] + curl -s https://codecov.io/bash [2021-10-06T21:20:09.640Z] + bash -s -- [2021-10-06T21:20:09.640Z] [2021-10-06T21:20:09.640Z] _____ _ [2021-10-06T21:20:09.640Z] / ____| | | [2021-10-06T21:20:09.640Z] | | ___ __| | ___ ___ _____ __ [2021-10-06T21:20:09.640Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-06T21:20:09.640Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-06T21:20:09.640Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-06T21:20:09.640Z] Bash-1.0.6 [2021-10-06T21:20:09.640Z] [2021-10-06T21:20:09.640Z] [2021-10-06T21:20:09.640Z] ==> git version 2.24.4 found [2021-10-06T21:20:09.640Z] ==> 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-10-06T21:20:09.640Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-06T21:20:09.640Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-06T21:20:09.640Z] ==> Jenkins CI detected. [2021-10-06T21:20:09.640Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-10-06T21:20:09.640Z] project root: . [2021-10-06T21:20:09.640Z] --> token set from env [2021-10-06T21:20:09.640Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-06T21:20:09.909Z] ==> Running gcov in . (disable via -X gcov) [2021-10-06T21:20:09.909Z] ==> Python coveragepy not found [2021-10-06T21:20:09.909Z] ==> Searching for coverage reports in: [2021-10-06T21:20:09.909Z] + . [2021-10-06T21:20:09.909Z] -> Found 2 reports [2021-10-06T21:20:09.909Z] ==> Detecting git/mercurial file structure [2021-10-06T21:20:09.909Z] ==> Reading reports [2021-10-06T21:20:09.909Z] + ./app-service-template/coverage.out bytes=1219 [2021-10-06T21:20:09.909Z] + ./coverage.out bytes=101380 [2021-10-06T21:20:09.909Z] ==> Appending adjustments [2021-10-06T21:20:09.909Z] https://docs.codecov.io/docs/fixing-reports [2021-10-06T21:20:10.177Z] + Found adjustments [2021-10-06T21:20:10.177Z] ==> Gzipping contents [2021-10-06T21:20:10.177Z] 20K /tmp/codecov.ZO6ZP9.gz [2021-10-06T21:20:10.177Z] ==> Uploading reports [2021-10-06T21:20:10.177Z] url: https://codecov.io [2021-10-06T21:20:10.177Z] query: branch=main&commit=1d599202cd64a06a276f3b3191668ff2dfc96df6&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-06T21:20:10.177Z] -> Pinging Codecov [2021-10-06T21:20:10.177Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=17ebf437-e483-4174-b11b-49c3772ebb45&branch=main&commit=1d599202cd64a06a276f3b3191668ff2dfc96df6&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-06T21:20:10.774Z] -> Uploading to [2021-10-06T21:20:10.774Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-06/3D8B5DFFC46A037C893635FACE044666/1d599202cd64a06a276f3b3191668ff2dfc96df6/09c4e71f-c9e1-490d-a5eb-5012ca4de836.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211006T212010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca60c4110e3e28b483fc05e7ac069a7a64081cb92083e3020b8d23bff4f55208 [2021-10-06T21:20:10.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-06T21:20:10.774Z] Dload Upload Total Spent Left Speed [2021-10-06T21:20:11.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17747 0 0 100 17747 0 43632 --:--:-- --:--:-- --:--:-- 43604 [2021-10-06T21:20:11.040Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/1d599202cd64a06a276f3b3191668ff2dfc96df6 [Pipeline] } [2021-10-06T21:20:11.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-06T21:20:11.761Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-06T21:20:11.783Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:20:12.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-06T21:20:12.326Z] [2021-10-06T21:20:12.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:20:12.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-06T21:20:23.192Z] Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": net/http: TLS handshake timeout [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-06T21:20:24.849Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:25.188Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:25.801Z] ---> package-listing.sh [2021-10-06T21:20:25.801Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-06T21:20:25.802Z] ++ facter osfamily [2021-10-06T21:20:26.074Z] + OS_FAMILY=redhat [2021-10-06T21:20:26.074Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-10-06T21:20:26.074Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-06T21:20:26.074Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-06T21:20:26.074Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-06T21:20:26.074Z] + PACKAGES=/tmp/packages_start.txt [2021-10-06T21:20:26.074Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-10-06T21:20:26.074Z] + PACKAGES=/tmp/packages_end.txt [2021-10-06T21:20:26.074Z] + case "${OS_FAMILY}" in [2021-10-06T21:20:26.074Z] + rpm -qa [2021-10-06T21:20:26.074Z] + sort [2021-10-06T21:20:26.665Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-06T21:20:26.665Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-06T21:20:26.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-06T21:20:26.665Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-10-06T21:20:26.665Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-10-06T21:20:26.665Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_app-functions-sdk-go_main/archives/ [Pipeline] echo [2021-10-06T21:20:26.684Z] 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-06T21:20:27.009Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:20:27.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T21:20:27.612Z] [2021-10-06T21:20:27.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-06T21:20:27.969Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T21:20:27.969Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-06T21:20:27.969Z] b4d181a07f80: Pulling fs layer [2021-10-06T21:20:27.969Z] a1111a8f2ec3: Pulling fs layer [2021-10-06T21:20:27.969Z] ed53099fbce6: Pulling fs layer [2021-10-06T21:20:27.969Z] dc539afda2c1: Pulling fs layer [2021-10-06T21:20:27.969Z] 77bc0d833cb6: Pulling fs layer [2021-10-06T21:20:27.969Z] 9065ff56babe: Pulling fs layer [2021-10-06T21:20:27.969Z] d287ab97295c: Pulling fs layer [2021-10-06T21:20:27.969Z] dc539afda2c1: Waiting [2021-10-06T21:20:27.969Z] 77bc0d833cb6: Waiting [2021-10-06T21:20:27.969Z] 9065ff56babe: Waiting [2021-10-06T21:20:27.969Z] d287ab97295c: Waiting [2021-10-06T21:20:28.238Z] a1111a8f2ec3: Verifying Checksum [2021-10-06T21:20:28.238Z] a1111a8f2ec3: Download complete [2021-10-06T21:20:28.238Z] dc539afda2c1: Verifying Checksum [2021-10-06T21:20:28.238Z] dc539afda2c1: Download complete [2021-10-06T21:20:28.238Z] ed53099fbce6: Verifying Checksum [2021-10-06T21:20:28.238Z] ed53099fbce6: Download complete [2021-10-06T21:20:28.238Z] 9065ff56babe: Verifying Checksum [2021-10-06T21:20:28.238Z] 9065ff56babe: Download complete [2021-10-06T21:20:28.525Z] 77bc0d833cb6: Verifying Checksum [2021-10-06T21:20:28.525Z] 77bc0d833cb6: Download complete [2021-10-06T21:20:28.525Z] b4d181a07f80: Verifying Checksum [2021-10-06T21:20:28.525Z] b4d181a07f80: Download complete [2021-10-06T21:20:29.985Z] b4d181a07f80: Pull complete [2021-10-06T21:20:29.985Z] a1111a8f2ec3: Pull complete [2021-10-06T21:20:30.584Z] d287ab97295c: Verifying Checksum [2021-10-06T21:20:30.584Z] d287ab97295c: Download complete [2021-10-06T21:20:30.863Z] ed53099fbce6: Pull complete [2021-10-06T21:20:30.863Z] dc539afda2c1: Pull complete [2021-10-06T21:20:31.138Z] 77bc0d833cb6: Pull complete [2021-10-06T21:20:31.408Z] 9065ff56babe: Pull complete [2021-10-06T21:20:36.811Z] d287ab97295c: Pull complete [2021-10-06T21:20:36.811Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-06T21:20:36.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-06T21:20:36.811Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-06T21:20:36.918Z] prd-centos7-docker-4c-2g-284 does not seem to be running inside a container [2021-10-06T21:20:36.982Z] $ 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/oundry_app-functions-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_app-functions-sdk-go_main -v /w/workspace/oundry_app-functions-sdk-go_main:/w/workspace/oundry_app-functions-sdk-go_main:rw,z -v /w/workspace/oundry_app-functions-sdk-go_main@tmp:/w/workspace/oundry_app-functions-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-06T21:20:39.266Z] $ docker top 319568250cc19a31699f207ad95a9513e038c7f88dda25871468cb3af3afe657 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-06T21:20:39.663Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-06T21:20:39.984Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-06T21:20:40.381Z] + ls /var/log/sa-host [2021-10-06T21:20:40.381Z] + sadf -c /var/log/sa-host/sa06 [2021-10-06T21:20:40.381Z] file_magic: OK [2021-10-06T21:20:40.381Z] HZ: Using current value: 100 [2021-10-06T21:20:40.381Z] file_header: OK [2021-10-06T21:20:40.381Z] 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-10-06T21:20:40.381Z] Statistics: [2021-10-06T21:20:40.381Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T21:20:40.381Z] File successfully converted to sysstat format version 12.0.3 [2021-10-06T21:20:40.381Z] + sadf -c /var/log/sa-host/sa30 [2021-10-06T21:20:40.381Z] file_magic: OK [2021-10-06T21:20:40.381Z] HZ: Using current value: 100 [2021-10-06T21:20:40.381Z] file_header: OK [2021-10-06T21:20:40.381Z] 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-10-06T21:20:40.381Z] Statistics: [2021-10-06T21:20:40.381Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-06T21:20:40.381Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-06T21:20:40.949Z] provisioning config files... [2021-10-06T21:20:40.966Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7248330758568993405tmp [Pipeline] { [Pipeline] echo [2021-10-06T21:20:40.990Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:41.311Z] ---> create-netrc.sh [Pipeline] } [2021-10-06T21:20:41.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:41.737Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-06T21:20:41.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:42.075Z] ---> sudo-logs.sh [2021-10-06T21:20:42.075Z] Archiving 'sudo' log.. [2021-10-06T21:20:42.075Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-284.novalocal: Name or service not known [2021-10-06T21:20:42.075Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-284.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-06T21:20:42.114Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:42.433Z] ---> job-cost.sh [2021-10-06T21:20:42.433Z] lf-activate-venv: SKIPPING [2021-10-06T21:20:42.433Z] DEBUG: total: 0.05999999865889549 [2021-10-06T21:20:42.433Z] INFO: Retrieving Stack Cost... [2021-10-06T21:20:43.020Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-06T21:20:43.294Z] INFO: Archiving Costs [Pipeline] echo [2021-10-06T21:20:43.313Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-06T21:20:43.629Z] ---> logs-deploy.sh [2021-10-06T21:20:43.629Z] lf-activate-venv: SKIPPING [2021-10-06T21:20:43.629Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/34 [2021-10-06T21:20:43.629Z] INFO: archiving workspace using pattern(s): [2021-10-06T21:20:44.592Z] Archives upload complete. [2021-10-06T21:20:44.592Z] INFO: archiving logs to Nexus