Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d6967253c42c2a443b56733e0120e3dc957a25e 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-ssh7988480997980557896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3401016447804559040.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/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-ssh5930061560525881891.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1494838066725312423.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/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-ssh574514441975899940.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-649 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-ssh419437078142241446.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 4d6967253c42c2a443b56733e0120e3dc957a25e (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 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 Commit message: "docs: Add related docs PR and cleaned up template (#937)" > git rev-list --no-walk 73c7655a421d1b4782a44a8ee07953c50ab87982 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-23T22:27:55.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-23T22:27:55.565Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-23T22:27:55.596Z] ========================================================= [2021-08-23T22:27:55.596Z] EdgeX Global Pipelines Version Info [2021-08-23T22:27:55.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:27:56.544Z] ------------------- [2021-08-23T22:27:56.544Z] stable info: [2021-08-23T22:27:56.544Z] ------------------- [2021-08-23T22:27:56.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-23T22:27:56.544Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-23T22:27:56.544Z] Message: update stable to v1.0.205 [2021-08-23T22:27:57.508Z] ------------------- [2021-08-23T22:27:57.508Z] experimental info: [2021-08-23T22:27:57.508Z] ------------------- [2021-08-23T22:27:57.508Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-23T22:27:57.508Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-23T22:27:57.508Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-23T22:27:57.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-08-23T22:27:57.664Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-08-23T22:27:57.697Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-23T22:27:57.723Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-23T22:27:57.749Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-23T22:27:57.775Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-23T22:27:57.801Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-23T22:27:57.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-23T22:27:57.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-08-23T22:27:57.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-23T22:27:57.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-23T22:27:57.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-23T22:27:57.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-08-23T22:27:57.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-23T22:27:58.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-23T22:27:58.031Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-08-23T22:27:58.057Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-23T22:27:58.083Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-23T22:27:58.109Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-23T22:27:58.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-23T22:27:58.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-23T22:27:58.184Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-23T22:27:58.209Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-23T22:27:58.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-23T22:27:58.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-23T22:27:58.284Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-08-23T22:27:58.310Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-23T22:27:58.336Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-23T22:27:58.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-23T22:27:58.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-23T22:27:58.412Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d6967253c42c2a443b56733e0120e3dc957a25e [Pipeline] echo [2021-08-23T22:27:58.437Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d69672 [Pipeline] echo [2021-08-23T22:27:58.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-23T22:27:58.938Z] + git log --format=format:%s -1 4d6967253c42c2a443b56733e0120e3dc957a25e [Pipeline] echo [2021-08-23T22:27:58.993Z] GIT_COMMIT: 4d6967253c42c2a443b56733e0120e3dc957a25e, Commit Message: docs: Add related docs PR and cleaned up template (#937) [Pipeline] echo [2021-08-23T22:27:59.008Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:27:59.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-23T22:27:59.641Z] [2021-08-23T22:27:59.641Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:27:59.976Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-23T22:27:59.977Z] latest: Pulling from edgex-devops/git-semver [2021-08-23T22:27:59.977Z] 31603596830f: Pulling fs layer [2021-08-23T22:27:59.977Z] 04fac38145f0: Pulling fs layer [2021-08-23T22:27:59.977Z] 701f6daf10bf: Pulling fs layer [2021-08-23T22:27:59.977Z] 24f72da36158: Pulling fs layer [2021-08-23T22:27:59.977Z] 24f72da36158: Waiting [2021-08-23T22:27:59.977Z] 04fac38145f0: Verifying Checksum [2021-08-23T22:27:59.977Z] 04fac38145f0: Download complete [2021-08-23T22:28:00.244Z] 31603596830f: Verifying Checksum [2021-08-23T22:28:00.244Z] 31603596830f: Download complete [2021-08-23T22:28:00.514Z] 24f72da36158: Verifying Checksum [2021-08-23T22:28:00.514Z] 24f72da36158: Download complete [2021-08-23T22:28:00.514Z] 701f6daf10bf: Verifying Checksum [2021-08-23T22:28:00.514Z] 701f6daf10bf: Download complete [2021-08-23T22:28:00.514Z] 31603596830f: Pull complete [2021-08-23T22:28:00.514Z] 04fac38145f0: Pull complete [2021-08-23T22:28:01.101Z] 701f6daf10bf: Pull complete [2021-08-23T22:28:01.378Z] 24f72da36158: Pull complete [2021-08-23T22:28:01.378Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-08-23T22:28:01.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-23T22:28:01.378Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-23T22:28:01.493Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:28:01.553Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-23T22:28:02.385Z] $ docker top f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-23T22:28:02.525Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-23T22:28:02.525Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-23T22:28:02.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-23T22:28:02.645Z] $ docker exec f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 ssh-agent [2021-08-23T22:28:02.761Z] SSH_AUTH_SOCK=/tmp/ssh-y1Ghwv1waGmV/agent.15 [2021-08-23T22:28:02.761Z] SSH_AGENT_PID=21 [2021-08-23T22:28:02.773Z] Running ssh-add (command line suppressed) [2021-08-23T22:28:02.873Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4818686404231550206.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_4818686404231550206.key) [2021-08-23T22:28:02.898Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-23T22:28:03.224Z] + git tag --points-at HEAD [Pipeline] } [2021-08-23T22:28:03.251Z] $ docker exec --env ******** --env ******** f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 ssh-agent -k [2021-08-23T22:28:03.344Z] unset SSH_AUTH_SOCK; [2021-08-23T22:28:03.345Z] unset SSH_AGENT_PID; [2021-08-23T22:28:03.345Z] echo Agent pid 21 killed; [2021-08-23T22:28:03.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-23T22:28:03.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-23T22:28:03.405Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-23T22:28:03.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-23T22:28:03.527Z] $ docker exec f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 ssh-agent [2021-08-23T22:28:03.641Z] SSH_AUTH_SOCK=/tmp/ssh-cLH31eObRLbO/agent.56 [2021-08-23T22:28:03.641Z] SSH_AGENT_PID=62 [2021-08-23T22:28:03.649Z] Running ssh-add (command line suppressed) [2021-08-23T22:28:03.741Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2134006098076849175.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_2134006098076849175.key) [2021-08-23T22:28:03.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-23T22:28:04.112Z] + git semver init [2021-08-23T22:28:04.112Z] # -> Open(): unable to determine branch for HEAD [2021-08-23T22:28:04.112Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-23T22:28:04.112Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-23T22:28:04.112Z] # $SEMVER_REMOTE_NAME = origin [2021-08-23T22:28:04.112Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-23T22:28:04.112Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-23T22:28:04.112Z] # $SEMVER_BRANCH = main [2021-08-23T22:28:04.112Z] # $SEMVER_TEMP = /tmp/semver-178851246 [2021-08-23T22:28:04.112Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-08-23T22:28:06.061Z] # '/tmp/semver-178851246' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-08-23T22:28:06.061Z] # -> Force: false [2021-08-23T22:28:06.061Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-08-23T22:28:06.076Z] $ docker exec --env ******** --env ******** f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 ssh-agent -k [2021-08-23T22:28:06.174Z] unset SSH_AUTH_SOCK; [2021-08-23T22:28:06.175Z] unset SSH_AGENT_PID; [2021-08-23T22:28:06.175Z] echo Agent pid 62 killed; [2021-08-23T22:28:06.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-23T22:28:06.535Z] + git semver [Pipeline] } [2021-08-23T22:28:06.555Z] $ docker stop --time=1 f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 [2021-08-23T22:28:07.871Z] $ docker rm -f f33f646cccbeae9a5d985d8d9627a0f815a31e534b123a19f4c6acaa4ba0c9a8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-23T22:28:08.264Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-23T22:28:08.592Z] Stashed 1 file(s) [Pipeline] echo [2021-08-23T22:28:08.595Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-08-23T22:28:23.845Z] Still waiting to schedule task [2021-08-23T22:28:23.845Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-08-23T22:28:23.848Z] Still waiting to schedule task [2021-08-23T22:28:23.849Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-23T22:31:07.857Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-652 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-23T22:31:07.876Z] Running in /w/workspace/app-functions-sdk-go/18 [Pipeline] { [Pipeline] checkout [2021-08-23T22:31:08.127Z] The recommended git tool is: git [2021-08-23T22:31:14.256Z] using credential edgex-jenkins-ssh [2021-08-23T22:31:14.276Z] Cloning the remote Git repository [2021-08-23T22:31:14.367Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-23T22:31:14.549Z] > git init /w/workspace/app-functions-sdk-go/18 # timeout=10 [2021-08-23T22:31:14.642Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-23T22:31:14.643Z] > git --version # timeout=10 [2021-08-23T22:31:14.676Z] > git --version # 'git version 2.17.1' [2021-08-23T22:31:14.678Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-23T22:31:14.772Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-23T22:31:18.113Z] Avoid second fetch [2021-08-23T22:31:18.114Z] Checking out Revision 4d6967253c42c2a443b56733e0120e3dc957a25e (main) [2021-08-23T22:31:18.069Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-23T22:31:18.096Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-23T22:31:18.134Z] > git config core.sparsecheckout # timeout=10 [2021-08-23T22:31:18.151Z] > git checkout -f 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 [2021-08-23T22:31:22.716Z] Commit message: "docs: Add related docs PR and cleaned up template (#937)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-23T22:31:23.504Z] ========================================================= [2021-08-23T22:31:23.504Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-23T22:31:23.504Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-23T22:31:24.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-23T22:31:25.069Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-23T22:31:25.069Z] 595b0fe564bb: Pulling fs layer [2021-08-23T22:31:25.069Z] 24495759ef45: Pulling fs layer [2021-08-23T22:31:25.069Z] d148012ef14d: Pulling fs layer [2021-08-23T22:31:25.069Z] e90a11edd702: Pulling fs layer [2021-08-23T22:31:25.069Z] d77568369979: Pulling fs layer [2021-08-23T22:31:25.069Z] e90a11edd702: Waiting [2021-08-23T22:31:25.069Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-23T22:31:25.069Z] 170f2ba95c9a: Pulling fs layer [2021-08-23T22:31:25.069Z] 97ac5df62f85: Pulling fs layer [2021-08-23T22:31:25.069Z] 170f2ba95c9a: Waiting [2021-08-23T22:31:25.069Z] fc1c9f9a7f3b: Waiting [2021-08-23T22:31:25.069Z] d77568369979: Waiting [2021-08-23T22:31:25.347Z] d148012ef14d: Verifying Checksum [2021-08-23T22:31:25.347Z] d148012ef14d: Download complete [2021-08-23T22:31:25.347Z] 24495759ef45: Verifying Checksum [2021-08-23T22:31:25.347Z] 24495759ef45: Download complete [2021-08-23T22:31:25.347Z] d77568369979: Verifying Checksum [2021-08-23T22:31:25.347Z] d77568369979: Download complete [2021-08-23T22:31:25.347Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-23T22:31:25.347Z] fc1c9f9a7f3b: Download complete [2021-08-23T22:31:25.347Z] 595b0fe564bb: Verifying Checksum [2021-08-23T22:31:25.347Z] 595b0fe564bb: Download complete [2021-08-23T22:31:25.347Z] 170f2ba95c9a: Download complete [2021-08-23T22:31:25.954Z] 595b0fe564bb: Pull complete [2021-08-23T22:31:26.958Z] 24495759ef45: Pull complete [2021-08-23T22:31:27.234Z] d148012ef14d: Pull complete [2021-08-23T22:31:29.237Z] 97ac5df62f85: Verifying Checksum [2021-08-23T22:31:29.237Z] 97ac5df62f85: Download complete [2021-08-23T22:31:29.522Z] e90a11edd702: Verifying Checksum [2021-08-23T22:31:29.522Z] e90a11edd702: Download complete [2021-08-23T22:31:42.025Z] e90a11edd702: Pull complete [2021-08-23T22:31:42.025Z] d77568369979: Pull complete [2021-08-23T22:31:42.025Z] fc1c9f9a7f3b: Pull complete [2021-08-23T22:31:42.025Z] 170f2ba95c9a: Pull complete [2021-08-23T22:31:47.461Z] 97ac5df62f85: Pull complete [2021-08-23T22:31:47.461Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-23T22:31:47.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-23T22:31:47.461Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-08-23T22:31:47.899Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:31:48.254Z] + docker inspect -f . ci-base-image-arm64 [2021-08-23T22:31:48.254Z] . [Pipeline] withDockerContainer [2021-08-23T22:31:48.553Z] prd-ubuntu18.04-docker-arm64-4c-16g-652 does not seem to be running inside a container [2021-08-23T22:31:48.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/18 -v /w/workspace/app-functions-sdk-go/18:/w/workspace/app-functions-sdk-go/18:rw,z -v /w/workspace/app-functions-sdk-go/18@tmp:/w/workspace/app-functions-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-23T22:31:54.366Z] $ docker top 74aeeb97ae65dc01bfe909809141088eb7a7268e1e01f6069560ac94d4d4d0c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-23T22:31:55.408Z] + go version [2021-08-23T22:31:55.408Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-23T22:31:55.438Z] $ docker stop --time=1 74aeeb97ae65dc01bfe909809141088eb7a7268e1e01f6069560ac94d4d4d0c5 [2021-08-23T22:31:57.597Z] $ docker rm -f 74aeeb97ae65dc01bfe909809141088eb7a7268e1e01f6069560ac94d4d4d0c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:31:58.514Z] + docker inspect -f . ci-base-image-arm64 [2021-08-23T22:31:58.514Z] . [Pipeline] withDockerContainer [2021-08-23T22:31:58.829Z] prd-ubuntu18.04-docker-arm64-4c-16g-652 does not seem to be running inside a container [2021-08-23T22:31:58.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/18 -v /w/workspace/app-functions-sdk-go/18:/w/workspace/app-functions-sdk-go/18:rw,z -v /w/workspace/app-functions-sdk-go/18@tmp:/w/workspace/app-functions-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-23T22:32:00.696Z] $ docker top 8ef8868edfebecb45b4ec59df39dafcc72d0e37227e33caf403cd7c86af71955 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-23T22:32:01.680Z] + make test [2021-08-23T22:32:01.680Z] make -C ./app-service-template build [2021-08-23T22:32:01.680Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:32:01.680Z] go mod tidy [2021-08-23T22:32:02.673Z] Running on prd-centos7-docker-4c-2g-653 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-23T22:32:02.693Z] Running in /w/workspace/app-functions-sdk-go/18 [Pipeline] { [Pipeline] checkout [2021-08-23T22:32:02.819Z] The recommended git tool is: git [2021-08-23T22:32:03.128Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-23T22:32:03.128Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-23T22:32:03.128Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-23T22:32:03.420Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-23T22:32:03.420Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-23T22:32:03.420Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-23T22:32:03.420Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-23T22:32:03.420Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-23T22:32:03.703Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-23T22:32:03.703Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-23T22:32:03.703Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-23T22:32:03.703Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-23T22:32:03.703Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-23T22:32:03.703Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-23T22:32:03.703Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-23T22:32:03.980Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-23T22:32:03.980Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-23T22:32:03.980Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-23T22:32:03.980Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-23T22:32:03.980Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-23T22:32:04.272Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-08-23T22:32:04.272Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-23T22:32:04.272Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-23T22:32:04.272Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-23T22:32:04.272Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-23T22:32:04.272Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-23T22:32:04.272Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-23T22:32:04.551Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-23T22:32:04.551Z] go: downloading golang.org/x/text v0.3.2 [2021-08-23T22:32:04.829Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-23T22:32:04.829Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-23T22:32:06.014Z] using credential edgex-jenkins-ssh [2021-08-23T22:32:06.033Z] Cloning the remote Git repository [2021-08-23T22:32:05.976Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-23T22:32:06.046Z] > git init /w/workspace/app-functions-sdk-go/18 # timeout=10 [2021-08-23T22:32:06.082Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-08-23T22:32:06.083Z] > git --version # timeout=10 [2021-08-23T22:32:06.090Z] > git --version # 'git version 2.24.4' [2021-08-23T22:32:06.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-23T22:32:06.118Z] [INFO] Currently running in a labeled security context [2021-08-23T22:32:06.118Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-23T22:32:06.118Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/18@tmp/jenkins-gitclient-ssh3043859651947852175.key [2021-08-23T22:32:06.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-23T22:32:07.462Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-23T22:32:07.739Z] Avoid second fetch [2021-08-23T22:32:07.740Z] Checking out Revision 4d6967253c42c2a443b56733e0120e3dc957a25e (main) [2021-08-23T22:32:07.740Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-23T22:32:07.740Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-23T22:32:07.740Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-23T22:32:07.740Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-23T22:32:07.740Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-23T22:32:07.740Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-23T22:32:07.740Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-23T22:32:07.740Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-23T22:32:07.740Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-23T22:32:08.016Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-23T22:32:08.016Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-23T22:32:08.016Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-23T22:32:08.016Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-23T22:32:08.016Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-23T22:32:08.016Z] go: downloading github.com/kr/text v0.1.0 [2021-08-23T22:32:08.016Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-23T22:32:08.292Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-23T22:32:08.292Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-23T22:32:08.292Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-23T22:32:08.292Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-23T22:32:08.292Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-23T22:32:08.292Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-23T22:32:08.292Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-23T22:32:08.293Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-23T22:32:07.717Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-08-23T22:32:07.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-23T22:32:07.752Z] > git config core.sparsecheckout # timeout=10 [2021-08-23T22:32:07.760Z] > git checkout -f 4d6967253c42c2a443b56733e0120e3dc957a25e # timeout=10 [2021-08-23T22:32:08.568Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-23T22:32:08.568Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-23T22:32:08.568Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-23T22:32:08.568Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-23T22:32:08.568Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-23T22:32:08.568Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-23T22:32:08.845Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-23T22:32:08.845Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-23T22:32:08.845Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-23T22:32:08.845Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-23T22:32:08.845Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-23T22:32:08.845Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-23T22:32:08.845Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-23T22:32:08.845Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-23T22:32:09.120Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-23T22:32:09.120Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-23T22:32:09.120Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-23T22:32:09.120Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-23T22:32:09.120Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-23T22:32:09.120Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-23T22:32:09.581Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-23T22:32:09.581Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-23T22:32:09.581Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-08-23T22:32:11.556Z] Commit message: "docs: Add related docs PR and cleaned up template (#937)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-08-23T22:32:12.164Z] ========================================================= [2021-08-23T22:32:12.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-23T22:32:12.164Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-08-23T22:32:13.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-23T22:32:18.402Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-23T22:32:18.402Z] 540db60ca938: Pulling fs layer [2021-08-23T22:32:18.402Z] adcc1eea9eea: Pulling fs layer [2021-08-23T22:32:18.402Z] 4c4ab2625f07: Pulling fs layer [2021-08-23T22:32:18.402Z] db62176df00c: Pulling fs layer [2021-08-23T22:32:18.402Z] 3b30891b0d05: Pulling fs layer [2021-08-23T22:32:18.402Z] 06b49ca38bd5: Pulling fs layer [2021-08-23T22:32:18.402Z] c788192a36de: Pulling fs layer [2021-08-23T22:32:18.402Z] a77e37c0d609: Pulling fs layer [2021-08-23T22:32:18.402Z] c3185cebc471: Pulling fs layer [2021-08-23T22:32:18.402Z] db62176df00c: Waiting [2021-08-23T22:32:18.402Z] 3b30891b0d05: Waiting [2021-08-23T22:32:18.402Z] 06b49ca38bd5: Waiting [2021-08-23T22:32:18.402Z] c788192a36de: Waiting [2021-08-23T22:32:18.402Z] a77e37c0d609: Waiting [2021-08-23T22:32:18.402Z] c3185cebc471: Waiting [2021-08-23T22:32:18.402Z] 4c4ab2625f07: Verifying Checksum [2021-08-23T22:32:18.402Z] 4c4ab2625f07: Download complete [2021-08-23T22:32:18.402Z] adcc1eea9eea: Verifying Checksum [2021-08-23T22:32:18.402Z] adcc1eea9eea: Download complete [2021-08-23T22:32:18.402Z] 3b30891b0d05: Verifying Checksum [2021-08-23T22:32:18.402Z] 3b30891b0d05: Download complete [2021-08-23T22:32:18.402Z] 06b49ca38bd5: Verifying Checksum [2021-08-23T22:32:18.402Z] 06b49ca38bd5: Download complete [2021-08-23T22:32:18.402Z] 540db60ca938: Verifying Checksum [2021-08-23T22:32:18.402Z] 540db60ca938: Download complete [2021-08-23T22:32:18.402Z] c788192a36de: Verifying Checksum [2021-08-23T22:32:18.402Z] c788192a36de: Download complete [2021-08-23T22:32:18.677Z] 540db60ca938: Pull complete [2021-08-23T22:32:18.677Z] adcc1eea9eea: Pull complete [2021-08-23T22:32:18.948Z] 4c4ab2625f07: Pull complete [2021-08-23T22:32:19.216Z] a77e37c0d609: Verifying Checksum [2021-08-23T22:32:19.216Z] a77e37c0d609: Download complete [2021-08-23T22:32:23.506Z] c3185cebc471: Verifying Checksum [2021-08-23T22:32:23.506Z] c3185cebc471: Download complete [2021-08-23T22:32:23.776Z] db62176df00c: Verifying Checksum [2021-08-23T22:32:23.776Z] db62176df00c: Download complete [2021-08-23T22:32:27.154Z] db62176df00c: Pull complete [2021-08-23T22:32:27.430Z] 3b30891b0d05: Pull complete [2021-08-23T22:32:27.430Z] 06b49ca38bd5: Pull complete [2021-08-23T22:32:27.430Z] c788192a36de: Pull complete [2021-08-23T22:32:27.705Z] a77e37c0d609: Pull complete [2021-08-23T22:32:30.320Z] c3185cebc471: Pull complete [2021-08-23T22:32:30.320Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-23T22:32:30.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-23T22:32:30.320Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-08-23T22:32:30.687Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:32:31.025Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-23T22:32:31.025Z] . [Pipeline] withDockerContainer [2021-08-23T22:32:31.129Z] prd-centos7-docker-4c-2g-653 does not seem to be running inside a container [2021-08-23T22:32:31.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/18 -v /w/workspace/app-functions-sdk-go/18:/w/workspace/app-functions-sdk-go/18:rw,z -v /w/workspace/app-functions-sdk-go/18@tmp:/w/workspace/app-functions-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-23T22:32:33.498Z] $ docker top fc2f7d31f5041716f84d6cb5520d37c120a2ef84d544c91714d5f9319152fcf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-23T22:32:33.906Z] + go version [2021-08-23T22:32:33.906Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-23T22:32:33.922Z] $ docker stop --time=1 fc2f7d31f5041716f84d6cb5520d37c120a2ef84d544c91714d5f9319152fcf1 [2021-08-23T22:32:35.120Z] $ docker rm -f fc2f7d31f5041716f84d6cb5520d37c120a2ef84d544c91714d5f9319152fcf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:32:35.718Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-23T22:32:35.718Z] . [Pipeline] withDockerContainer [2021-08-23T22:32:35.808Z] prd-centos7-docker-4c-2g-653 does not seem to be running inside a container [2021-08-23T22:32:35.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/18 -v /w/workspace/app-functions-sdk-go/18:/w/workspace/app-functions-sdk-go/18:rw,z -v /w/workspace/app-functions-sdk-go/18@tmp:/w/workspace/app-functions-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-23T22:32:36.290Z] $ docker top 85c2100ca0abee245f3fa188c5cc4f5d43fdeff57be2f54f720378fdd3488c93 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-23T22:32:36.912Z] + make test [2021-08-23T22:32:36.912Z] make -C ./app-service-template build [2021-08-23T22:32:36.912Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:32:36.912Z] go mod tidy [2021-08-23T22:32:37.183Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-08-23T22:32:37.183Z] go: downloading github.com/google/uuid v1.3.0 [2021-08-23T22:32:37.183Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-08-23T22:32:37.183Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-08-23T22:32:37.676Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-08-23T22:32:37.676Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-08-23T22:32:37.676Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-08-23T22:32:37.676Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-08-23T22:32:37.676Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-08-23T22:32:37.676Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-08-23T22:32:37.676Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-08-23T22:32:37.676Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-08-23T22:32:37.676Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-08-23T22:32:37.676Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-08-23T22:32:37.676Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-08-23T22:32:37.947Z] go: downloading golang.org/x/text v0.3.2 [2021-08-23T22:32:37.947Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-08-23T22:32:38.216Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-08-23T22:32:39.190Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-08-23T22:32:39.190Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-08-23T22:32:39.190Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-08-23T22:32:39.190Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-08-23T22:32:39.190Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-08-23T22:32:39.190Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-08-23T22:32:39.190Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-08-23T22:32:39.473Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-08-23T22:32:39.473Z] go: downloading github.com/kr/pretty v0.2.0 [2021-08-23T22:32:39.473Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-08-23T22:32:39.745Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-08-23T22:32:39.745Z] go: downloading github.com/x448/float16 v0.8.4 [2021-08-23T22:32:39.745Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-08-23T22:32:39.745Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-08-23T22:32:39.745Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-08-23T22:32:39.745Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-08-23T22:32:39.745Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-08-23T22:32:39.745Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-08-23T22:32:39.745Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-08-23T22:32:39.745Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-08-23T22:32:40.015Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-08-23T22:32:40.015Z] go: downloading github.com/kr/text v0.1.0 [2021-08-23T22:32:40.015Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-08-23T22:32:40.015Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-08-23T22:32:40.015Z] go: downloading github.com/fatih/color v1.9.0 [2021-08-23T22:32:40.015Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-08-23T22:32:40.015Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-08-23T22:32:40.015Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-08-23T22:32:40.015Z] go: downloading github.com/pkg/errors v0.8.1 [2021-08-23T22:32:40.015Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-08-23T22:32:40.015Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-08-23T22:32:40.015Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-08-23T22:32:40.015Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-08-23T22:32:40.015Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-08-23T22:32:40.015Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-08-23T22:32:40.015Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-08-23T22:32:40.015Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-08-23T22:32:40.290Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-08-23T22:32:40.290Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-08-23T22:32:40.290Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-08-23T22:32:40.290Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-08-23T22:32:40.290Z] go: downloading github.com/miekg/dns v1.1.26 [2021-08-23T22:32:40.290Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-08-23T22:32:40.290Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-08-23T22:32:40.290Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-08-23T22:32:40.290Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-08-23T22:32:40.290Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-08-23T22:32:40.290Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-08-23T22:32:40.290Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-08-23T22:32:40.290Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-08-23T22:32:40.290Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-08-23T22:32:40.290Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-08-23T22:32:40.561Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-08-23T22:32:40.561Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-08-23T22:32:48.734Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:32:48.734Z] make -C ./app-service-template test [2021-08-23T22:32:48.734Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:32:48.734Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-23T22:32:52.934Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:32:52.934Z] make -C ./app-service-template test [2021-08-23T22:32:52.934Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:32:52.934Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-08-23T22:33:01.242Z] ok new-app-service 0.009s coverage: 47.8% of statements [2021-08-23T22:33:01.242Z] ? new-app-service/config [no test files] [2021-08-23T22:33:01.242Z] ok new-app-service/functions 0.008s [2021-08-23T22:33:01.242Z] CGO_ENABLED=1 go vet ./... [2021-08-23T22:33:08.197Z] gofmt -l . [2021-08-23T22:33:08.197Z] [ "`gofmt -l .`" = "" ] [2021-08-23T22:33:08.197Z] ./bin/test-attribution-txt.sh [2021-08-23T22:33:08.197Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:33:08.197Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-23T22:33:08.197Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-23T22:33:09.647Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.011s coverage: 63.6% of statements [2021-08-23T22:33:09.918Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.006s coverage: 96.5% of statements [2021-08-23T22:33:09.918Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-23T22:33:10.190Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.032s coverage: 61.8% of statements [2021-08-23T22:33:10.190Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-23T22:33:10.467Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.006s [2021-08-23T22:33:11.108Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.038s coverage: 74.5% of statements [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-23T22:33:11.108Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.003s coverage: 97.1% of statements [2021-08-23T22:33:11.108Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-23T22:33:11.713Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.012s coverage: 10.5% of statements [2021-08-23T22:33:15.092Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.741s coverage: 76.1% of statements [2021-08-23T22:33:15.092Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-23T22:33:15.092Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-08-23T22:33:15.092Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-08-23T22:33:15.092Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-23T22:33:15.092Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-23T22:33:15.092Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.007s coverage: 51.4% of statements [2021-08-23T22:33:21.196Z] ok new-app-service 0.047s coverage: 47.8% of statements [2021-08-23T22:33:21.196Z] ? new-app-service/config [no test files] [2021-08-23T22:33:21.196Z] ok new-app-service/functions 0.048s [2021-08-23T22:33:21.196Z] CGO_ENABLED=1 go vet ./... [2021-08-23T22:33:41.795Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.046s coverage: 78.1% of statements [2021-08-23T22:33:41.795Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.007s coverage: 94.4% of statements [2021-08-23T22:33:41.795Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-23T22:33:41.795Z] gofmt -l . [2021-08-23T22:33:41.795Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-23T22:33:41.813Z] $ docker stop --time=1 85c2100ca0abee245f3fa188c5cc4f5d43fdeff57be2f54f720378fdd3488c93 [2021-08-23T22:33:43.111Z] $ docker rm -f 85c2100ca0abee245f3fa188c5cc4f5d43fdeff57be2f54f720378fdd3488c93 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-23T22:33:43.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-23T22:33:44.046Z] 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-08-23T22:33:44.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-23T22:33:44.971Z] [2021-08-23T22:33:44.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:33:45.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-23T22:33:45.323Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-23T22:33:45.323Z] b4d181a07f80: Pulling fs layer [2021-08-23T22:33:45.323Z] a1111a8f2ec3: Pulling fs layer [2021-08-23T22:33:45.323Z] ed53099fbce6: Pulling fs layer [2021-08-23T22:33:45.323Z] dc539afda2c1: Pulling fs layer [2021-08-23T22:33:45.323Z] 77bc0d833cb6: Pulling fs layer [2021-08-23T22:33:45.323Z] 9065ff56babe: Pulling fs layer [2021-08-23T22:33:45.323Z] d287ab97295c: Pulling fs layer [2021-08-23T22:33:45.323Z] 77bc0d833cb6: Waiting [2021-08-23T22:33:45.323Z] 9065ff56babe: Waiting [2021-08-23T22:33:45.323Z] d287ab97295c: Waiting [2021-08-23T22:33:45.323Z] dc539afda2c1: Waiting [2021-08-23T22:33:45.592Z] a1111a8f2ec3: Verifying Checksum [2021-08-23T22:33:45.592Z] a1111a8f2ec3: Download complete [2021-08-23T22:33:45.592Z] dc539afda2c1: Verifying Checksum [2021-08-23T22:33:45.592Z] dc539afda2c1: Download complete [2021-08-23T22:33:45.860Z] 77bc0d833cb6: Verifying Checksum [2021-08-23T22:33:45.860Z] 77bc0d833cb6: Download complete [2021-08-23T22:33:45.860Z] 9065ff56babe: Verifying Checksum [2021-08-23T22:33:45.860Z] 9065ff56babe: Download complete [2021-08-23T22:33:45.860Z] ed53099fbce6: Verifying Checksum [2021-08-23T22:33:45.860Z] ed53099fbce6: Download complete [2021-08-23T22:33:46.819Z] b4d181a07f80: Verifying Checksum [2021-08-23T22:33:46.819Z] b4d181a07f80: Download complete [2021-08-23T22:33:47.806Z] b4d181a07f80: Pull complete [2021-08-23T22:33:48.039Z] gofmt -l . [2021-08-23T22:33:48.039Z] [ "`gofmt -l .`" = "" ] [2021-08-23T22:33:48.039Z] ./bin/test-attribution-txt.sh [2021-08-23T22:33:48.282Z] a1111a8f2ec3: Pull complete [2021-08-23T22:33:48.314Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/18/app-service-template' [2021-08-23T22:33:48.314Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-08-23T22:33:48.559Z] ed53099fbce6: Pull complete [2021-08-23T22:33:48.559Z] dc539afda2c1: Pull complete [2021-08-23T22:33:48.828Z] 77bc0d833cb6: Pull complete [2021-08-23T22:33:48.828Z] 9065ff56babe: Pull complete [2021-08-23T22:33:49.766Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-08-23T22:33:51.417Z] d287ab97295c: Download complete [2021-08-23T22:33:55.747Z] d287ab97295c: Pull complete [2021-08-23T22:33:55.747Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-23T22:33:55.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-23T22:33:55.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-23T22:33:55.855Z] prd-centos7-docker-4c-2g-653 does not seem to be running inside a container [2021-08-23T22:33:55.927Z] $ 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/18 -v /w/workspace/app-functions-sdk-go/18:/w/workspace/app-functions-sdk-go/18:rw,z -v /w/workspace/app-functions-sdk-go/18@tmp:/w/workspace/app-functions-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-23T22:33:58.093Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.083s coverage: 63.6% of statements [2021-08-23T22:33:58.093Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 96.5% of statements [2021-08-23T22:33:58.093Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-08-23T22:33:58.093Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.095s coverage: 61.8% of statements [2021-08-23T22:33:58.093Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-08-23T22:33:58.093Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.075s [2021-08-23T22:33:58.321Z] $ docker top e73055e938d2644d88ae19160ba12f0a95dbc30489cf05f6173a435b25a262a5 -eo pid,comm [2021-08-23T22:33:58.367Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.146s coverage: 74.5% of statements [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-08-23T22:33:58.367Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.1% of statements [2021-08-23T22:33:58.367Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-08-23T22:33:58.367Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.097s coverage: 10.5% of statements [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:33:58.822Z] ---> job-cost.sh [2021-08-23T22:33:58.822Z] lf-activate-venv: SKIPPING [2021-08-23T22:33:58.822Z] INFO: No Stack... [2021-08-23T22:33:59.784Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-23T22:34:00.049Z] INFO: Archiving Costs [Pipeline] sh [2021-08-23T22:34:00.385Z] + cat /w/workspace/app-functions-sdk-go/18/archives/cost.csv [2021-08-23T22:34:00.385Z] + cut -d, -f6 [Pipeline] lock [2021-08-23T22:34:00.428Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] [2021-08-23T22:34:00.441Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] did not exist. Created. [2021-08-23T22:34:00.441Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-23T22:34:00.787Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-23T22:34:00.844Z] Stashed 1 file(s) [Pipeline] } [2021-08-23T22:34:00.854Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-23T22:34:00.885Z] $ docker stop --time=1 e73055e938d2644d88ae19160ba12f0a95dbc30489cf05f6173a435b25a262a5 [2021-08-23T22:34:02.051Z] $ docker rm -f e73055e938d2644d88ae19160ba12f0a95dbc30489cf05f6173a435b25a262a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-23T22:34:05.106Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.891s coverage: 76.1% of statements [2021-08-23T22:34:05.107Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-08-23T22:34:05.107Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.057s coverage: 12.5% of statements [2021-08-23T22:34:05.107Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.052s coverage: 27.3% of statements [2021-08-23T22:34:05.107Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-08-23T22:34:05.107Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-08-23T22:34:05.107Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.058s coverage: 51.4% of statements [2021-08-23T22:34:31.899Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.123s coverage: 78.1% of statements [2021-08-23T22:34:31.899Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.031s coverage: 94.4% of statements [2021-08-23T22:34:31.899Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-08-23T22:34:33.885Z] gofmt -l . [2021-08-23T22:34:34.490Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-08-23T22:34:34.784Z] $ docker stop --time=1 8ef8868edfebecb45b4ec59df39dafcc72d0e37227e33caf403cd7c86af71955 [2021-08-23T22:34:36.719Z] $ docker rm -f 8ef8868edfebecb45b4ec59df39dafcc72d0e37227e33caf403cd7c86af71955 [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-23T22:34:38.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-23T22:34:38.891Z] Warning: overwriting stash ‘coverage-report’ [2021-08-23T22:34:39.454Z] 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-08-23T22:34:40.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-23T22:34:40.148Z] [2021-08-23T22:34:40.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:34:40.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-23T22:34:40.793Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-23T22:34:40.793Z] 448f6bf000e3: Pulling fs layer [2021-08-23T22:34:40.793Z] f757da607395: Pulling fs layer [2021-08-23T22:34:40.793Z] 05883995daec: Pulling fs layer [2021-08-23T22:34:40.793Z] 8603b9c90790: Pulling fs layer [2021-08-23T22:34:40.793Z] 1560dd03e051: Pulling fs layer [2021-08-23T22:34:40.793Z] 27f5ce0e4adf: Pulling fs layer [2021-08-23T22:34:40.793Z] c2d8d7efcc4b: Pulling fs layer [2021-08-23T22:34:40.793Z] 1560dd03e051: Waiting [2021-08-23T22:34:40.793Z] 27f5ce0e4adf: Waiting [2021-08-23T22:34:40.793Z] 8603b9c90790: Waiting [2021-08-23T22:34:40.793Z] f757da607395: Verifying Checksum [2021-08-23T22:34:40.793Z] f757da607395: Download complete [2021-08-23T22:34:40.793Z] 8603b9c90790: Download complete [2021-08-23T22:34:41.393Z] 1560dd03e051: Verifying Checksum [2021-08-23T22:34:41.393Z] 1560dd03e051: Download complete [2021-08-23T22:34:41.393Z] 05883995daec: Verifying Checksum [2021-08-23T22:34:41.393Z] 05883995daec: Download complete [2021-08-23T22:34:41.393Z] 27f5ce0e4adf: Verifying Checksum [2021-08-23T22:34:41.393Z] 27f5ce0e4adf: Download complete [2021-08-23T22:34:41.990Z] 448f6bf000e3: Verifying Checksum [2021-08-23T22:34:41.990Z] 448f6bf000e3: Download complete [2021-08-23T22:34:45.415Z] c2d8d7efcc4b: Verifying Checksum [2021-08-23T22:34:45.415Z] c2d8d7efcc4b: Download complete [2021-08-23T22:34:45.415Z] 448f6bf000e3: Pull complete [2021-08-23T22:34:46.398Z] f757da607395: Pull complete [2021-08-23T22:34:47.842Z] 05883995daec: Pull complete [2021-08-23T22:34:48.116Z] 8603b9c90790: Pull complete [2021-08-23T22:34:49.106Z] 1560dd03e051: Pull complete [2021-08-23T22:34:49.381Z] 27f5ce0e4adf: Pull complete [2021-08-23T22:35:04.503Z] c2d8d7efcc4b: Pull complete [2021-08-23T22:35:04.503Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-23T22:35:04.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-23T22:35:04.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-23T22:35:04.772Z] prd-ubuntu18.04-docker-arm64-4c-16g-652 does not seem to be running inside a container [2021-08-23T22:35:04.852Z] $ 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/18 -v /w/workspace/app-functions-sdk-go/18:/w/workspace/app-functions-sdk-go/18:rw,z -v /w/workspace/app-functions-sdk-go/18@tmp:/w/workspace/app-functions-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-23T22:35:09.019Z] $ docker top 23cf3544993032235baf76e37e7691ffac4e23bcfc4e99b8622f4001f4cacb63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:35:10.035Z] ---> job-cost.sh [2021-08-23T22:35:10.035Z] lf-activate-venv: SKIPPING [2021-08-23T22:35:10.035Z] INFO: No Stack... [2021-08-23T22:35:11.013Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-08-23T22:35:11.285Z] INFO: Archiving Costs [Pipeline] sh [2021-08-23T22:35:11.952Z] + cat /w/workspace/app-functions-sdk-go/18/archives/cost.csv [2021-08-23T22:35:11.952Z] + cut -d, -f6 [Pipeline] lock [2021-08-23T22:35:12.013Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] [2021-08-23T22:35:12.031Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] did not exist. Created. [2021-08-23T22:35:12.031Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-23T22:35:12.722Z] /w/workspace/app-functions-sdk-go/18@tmp/durable-0ba47b5d/script.sh: 1: /w/workspace/app-functions-sdk-go/18@tmp/durable-0ba47b5d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-23T22:35:13.382Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-08-23T22:35:13.414Z] Warning: overwriting stash ‘stack-cost’ [2021-08-23T22:35:13.474Z] Stashed 1 file(s) [Pipeline] } [2021-08-23T22:35:13.486Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-23T22:35:13.511Z] $ docker stop --time=1 23cf3544993032235baf76e37e7691ffac4e23bcfc4e99b8622f4001f4cacb63 [2021-08-23T22:35:15.205Z] $ docker rm -f 23cf3544993032235baf76e37e7691ffac4e23bcfc4e99b8622f4001f4cacb63 [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-08-23T22:35:16.036Z] provisioning config files... [2021-08-23T22:35:16.051Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1453454588669513531tmp [Pipeline] { [Pipeline] sh [2021-08-23T22:35:16.380Z] + set +x [2021-08-23T22:35:16.381Z] + bash -s -- [2021-08-23T22:35:16.381Z] + curl -s https://codecov.io/bash [2021-08-23T22:35:16.381Z] [2021-08-23T22:35:16.381Z] _____ _ [2021-08-23T22:35:16.381Z] / ____| | | [2021-08-23T22:35:16.381Z] | | ___ __| | ___ ___ _____ __ [2021-08-23T22:35:16.381Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-23T22:35:16.381Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-23T22:35:16.381Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-23T22:35:16.381Z] Bash-1.0.6 [2021-08-23T22:35:16.381Z] [2021-08-23T22:35:16.381Z] [2021-08-23T22:35:16.381Z] ==> git version 2.24.4 found [2021-08-23T22:35:16.381Z] ==> 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-08-23T22:35:16.381Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-23T22:35:16.381Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-23T22:35:16.381Z] ==> Jenkins CI detected. [2021-08-23T22:35:16.381Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-08-23T22:35:16.381Z] project root: . [2021-08-23T22:35:16.381Z] --> token set from env [2021-08-23T22:35:16.381Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-23T22:35:16.381Z] ==> Running gcov in . (disable via -X gcov) [2021-08-23T22:35:16.381Z] ==> Python coveragepy not found [2021-08-23T22:35:16.381Z] ==> Searching for coverage reports in: [2021-08-23T22:35:16.381Z] + . [2021-08-23T22:35:16.381Z] -> Found 2 reports [2021-08-23T22:35:16.381Z] ==> Detecting git/mercurial file structure [2021-08-23T22:35:16.381Z] ==> Reading reports [2021-08-23T22:35:16.650Z] + ./app-service-template/coverage.out bytes=1055 [2021-08-23T22:35:16.650Z] + ./coverage.out bytes=95183 [2021-08-23T22:35:16.650Z] ==> Appending adjustments [2021-08-23T22:35:16.650Z] https://docs.codecov.io/docs/fixing-reports [2021-08-23T22:35:16.917Z] + Found adjustments [2021-08-23T22:35:16.917Z] ==> Gzipping contents [2021-08-23T22:35:16.917Z] 20K /tmp/codecov.vlDFBI.gz [2021-08-23T22:35:16.917Z] ==> Uploading reports [2021-08-23T22:35:16.917Z] url: https://codecov.io [2021-08-23T22:35:16.917Z] query: branch=main&commit=4d6967253c42c2a443b56733e0120e3dc957a25e&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-23T22:35:16.917Z] -> Pinging Codecov [2021-08-23T22:35:16.917Z] 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=4d6967253c42c2a443b56733e0120e3dc957a25e&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-23T22:35:17.182Z] -> Uploading to [2021-08-23T22:35:17.182Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-23/3D8B5DFFC46A037C893635FACE044666/4d6967253c42c2a443b56733e0120e3dc957a25e/d89cfd8d-5c3a-4490-8e40-e26f75cb8891.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210823T223517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=db96447234b61ffe8d3f8f46c46287f8d26a5f4458ff1e68e4fd680ffa0e94b4 [2021-08-23T22:35:17.182Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-23T22:35:17.182Z] Dload Upload Total Spent Left Speed [2021-08-23T22:35:17.449Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16452 0 0 100 16452 0 47090 --:--:-- --:--:-- --:--:-- 47140 [2021-08-23T22:35:17.449Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4d6967253c42c2a443b56733e0120e3dc957a25e [Pipeline] } [2021-08-23T22:35:17.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-23T22:35:17.762Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-23T22:35:17.795Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:35:18.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-23T22:35:18.116Z] [2021-08-23T22:35:18.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:35:18.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-23T22:35:18.460Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-23T22:35:18.460Z] 188c0c94c7c5: Pulling fs layer [2021-08-23T22:35:18.460Z] 0ef7d3d256c8: Pulling fs layer [2021-08-23T22:35:18.460Z] de9db76c5a1d: Pulling fs layer [2021-08-23T22:35:18.460Z] 0eba1c9be4d2: Pulling fs layer [2021-08-23T22:35:18.460Z] 0d57e429df01: Pulling fs layer [2021-08-23T22:35:18.460Z] 4e4be7b47b0d: Pulling fs layer [2021-08-23T22:35:18.460Z] e1f770b5df2f: Pulling fs layer [2021-08-23T22:35:18.460Z] 85a0685a4137: Pulling fs layer [2021-08-23T22:35:18.460Z] 0eba1c9be4d2: Waiting [2021-08-23T22:35:18.460Z] 0d57e429df01: Waiting [2021-08-23T22:35:18.460Z] 4e4be7b47b0d: Waiting [2021-08-23T22:35:18.460Z] e1f770b5df2f: Waiting [2021-08-23T22:35:18.460Z] 85a0685a4137: Waiting [2021-08-23T22:35:18.460Z] de9db76c5a1d: Verifying Checksum [2021-08-23T22:35:18.460Z] de9db76c5a1d: Download complete [2021-08-23T22:35:18.460Z] 0ef7d3d256c8: Verifying Checksum [2021-08-23T22:35:18.460Z] 0ef7d3d256c8: Download complete [2021-08-23T22:35:18.460Z] 0d57e429df01: Verifying Checksum [2021-08-23T22:35:18.460Z] 0d57e429df01: Download complete [2021-08-23T22:35:18.728Z] 188c0c94c7c5: Verifying Checksum [2021-08-23T22:35:18.728Z] 188c0c94c7c5: Download complete [2021-08-23T22:35:18.728Z] 188c0c94c7c5: Pull complete [2021-08-23T22:35:18.994Z] 4e4be7b47b0d: Verifying Checksum [2021-08-23T22:35:18.994Z] 4e4be7b47b0d: Download complete [2021-08-23T22:35:18.994Z] 0ef7d3d256c8: Pull complete [2021-08-23T22:35:18.994Z] de9db76c5a1d: Pull complete [2021-08-23T22:35:20.396Z] e1f770b5df2f: Verifying Checksum [2021-08-23T22:35:20.396Z] e1f770b5df2f: Download complete [2021-08-23T22:35:23.733Z] 0eba1c9be4d2: Verifying Checksum [2021-08-23T22:35:23.733Z] 0eba1c9be4d2: Download complete [2021-08-23T22:35:23.733Z] 85a0685a4137: Verifying Checksum [2021-08-23T22:35:23.733Z] 85a0685a4137: Download complete [2021-08-23T22:35:26.340Z] 0eba1c9be4d2: Pull complete [2021-08-23T22:35:26.340Z] 0d57e429df01: Pull complete [2021-08-23T22:35:26.340Z] 4e4be7b47b0d: Pull complete [2021-08-23T22:35:26.930Z] e1f770b5df2f: Pull complete [2021-08-23T22:35:32.298Z] 85a0685a4137: Pull complete [2021-08-23T22:35:32.298Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-23T22:35:32.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-23T22:35:32.298Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-23T22:35:32.389Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:35:32.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-08-23T22:35:33.212Z] $ docker top 46e5e06ecae04daa3b9e6d0d4ea081e4e8b4e6b2875f9409439aed3bf2847c04 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-23T22:35:33.315Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-23T22:35:33.636Z] + set -o pipefail [2021-08-23T22:35:33.637Z] + snyk monitor '--org=edgex-jenkins' [2021-08-23T22:35:38.991Z] [2021-08-23T22:35:38.991Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-08-23T22:35:38.991Z] [2021-08-23T22:35:38.991Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/b0131176-965d-4873-97a0-4c77a716d386 [2021-08-23T22:35:38.991Z] [2021-08-23T22:35:38.991Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-08-23T22:35:38.991Z] [2021-08-23T22:35:38.991Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-23T22:35:38.991Z] [2021-08-23T22:35:38.991Z] [Pipeline] } [2021-08-23T22:35:39.009Z] $ docker stop --time=1 46e5e06ecae04daa3b9e6d0d4ea081e4e8b4e6b2875f9409439aed3bf2847c04 [2021-08-23T22:35:41.112Z] $ docker rm -f 46e5e06ecae04daa3b9e6d0d4ea081e4e8b4e6b2875f9409439aed3bf2847c04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-08-23T22:35:41.786Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-23T22:35:41.807Z] provisioning config files... [2021-08-23T22:35:41.819Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8640214617845952369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:35:42.177Z] --> edgex-publish-swagger.sh [2021-08-23T22:35:42.178Z] === Publish openapi/v2 API === [2021-08-23T22:35:42.178Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-08-23T22:35:42.178Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-08-23T22:35:42.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-23T22:35:42.178Z] Dload Upload Total Spent Left Speed [2021-08-23T22:35:43.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 10799 0:00:01 0:00:01 --:--:-- 10806 100 13054 0 0 100 13054 0 9476 0:00:01 0:00:01 --:--:-- 9480 [2021-08-23T22:35:43.583Z] [2021-08-23T22:35:43.583Z] [Pipeline] } [2021-08-23T22:35:43.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-23T22:35:44.173Z] + git log --format=format:%s -1 4d6967253c42c2a443b56733e0120e3dc957a25e [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:35:44.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-23T22:35:44.495Z] . [Pipeline] withDockerContainer [2021-08-23T22:35:44.582Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:35:44.638Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-23T22:35:44.998Z] $ docker top 0985228c8b9b3c282d0ce8bd17ee55687c99c4ef9bc58e7d5662dba260ff9d96 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-23T22:35:45.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-23T22:35:45.136Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-23T22:35:45.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-23T22:35:45.255Z] $ docker exec 0985228c8b9b3c282d0ce8bd17ee55687c99c4ef9bc58e7d5662dba260ff9d96 ssh-agent [2021-08-23T22:35:45.364Z] SSH_AUTH_SOCK=/tmp/ssh-XEAUBfQaSTXM/agent.15 [2021-08-23T22:35:45.364Z] SSH_AGENT_PID=21 [2021-08-23T22:35:45.372Z] Running ssh-add (command line suppressed) [2021-08-23T22:35:45.471Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3922644282111805257.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3922644282111805257.key) [2021-08-23T22:35:45.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-23T22:35:45.803Z] + git semver tag [2021-08-23T22:35:45.803Z] # -> Open(): unable to determine branch for HEAD [2021-08-23T22:35:45.803Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-23T22:35:45.803Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-23T22:35:45.803Z] # $SEMVER_REMOTE_NAME = origin [2021-08-23T22:35:45.803Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-23T22:35:45.803Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-23T22:35:45.803Z] # $SEMVER_BRANCH = main [2021-08-23T22:35:45.803Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-08-23T22:35:45.803Z] # 4d6967253c42c2a443b56733e0120e3dc957a25e HEAD [2021-08-23T22:35:45.803Z] # -> Force: false [2021-08-23T22:35:45.803Z] # a705b1c6c78cba17fe366c03fce27afb57cbc26d refs/tags/v2.0.2-dev.6 [Pipeline] } [2021-08-23T22:35:45.816Z] $ docker exec --env ******** --env ******** 0985228c8b9b3c282d0ce8bd17ee55687c99c4ef9bc58e7d5662dba260ff9d96 ssh-agent -k [2021-08-23T22:35:45.913Z] unset SSH_AUTH_SOCK; [2021-08-23T22:35:45.913Z] unset SSH_AGENT_PID; [2021-08-23T22:35:45.913Z] echo Agent pid 21 killed; [2021-08-23T22:35:45.927Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-23T22:35:46.282Z] + git semver [Pipeline] } [2021-08-23T22:35:46.303Z] $ docker stop --time=1 0985228c8b9b3c282d0ce8bd17ee55687c99c4ef9bc58e7d5662dba260ff9d96 [2021-08-23T22:35:47.519Z] $ docker rm -f 0985228c8b9b3c282d0ce8bd17ee55687c99c4ef9bc58e7d5662dba260ff9d96 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:35:47.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-23T22:35:47.969Z] [2021-08-23T22:35:47.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:35:48.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-23T22:35:48.301Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-23T22:35:48.301Z] ab5ef0e58194: Pulling fs layer [2021-08-23T22:35:48.301Z] 9712f1f96733: Pulling fs layer [2021-08-23T22:35:48.301Z] 63f879dbbcfc: Pulling fs layer [2021-08-23T22:35:48.301Z] 0d9ebad4ef96: Pulling fs layer [2021-08-23T22:35:48.301Z] e9a5061849ea: Pulling fs layer [2021-08-23T22:35:48.301Z] d747dcd14b5f: Pulling fs layer [2021-08-23T22:35:48.301Z] 2de7ff778b66: Pulling fs layer [2021-08-23T22:35:48.301Z] e9a5061849ea: Waiting [2021-08-23T22:35:48.301Z] d747dcd14b5f: Waiting [2021-08-23T22:35:48.301Z] 2de7ff778b66: Waiting [2021-08-23T22:35:48.301Z] 0d9ebad4ef96: Waiting [2021-08-23T22:35:48.301Z] 9712f1f96733: Verifying Checksum [2021-08-23T22:35:48.301Z] 9712f1f96733: Download complete [2021-08-23T22:35:50.875Z] 63f879dbbcfc: Verifying Checksum [2021-08-23T22:35:50.875Z] 63f879dbbcfc: Download complete [2021-08-23T22:35:50.875Z] e9a5061849ea: Verifying Checksum [2021-08-23T22:35:50.875Z] e9a5061849ea: Download complete [2021-08-23T22:35:50.875Z] d747dcd14b5f: Verifying Checksum [2021-08-23T22:35:50.875Z] d747dcd14b5f: Download complete [2021-08-23T22:35:51.832Z] 2de7ff778b66: Verifying Checksum [2021-08-23T22:35:51.832Z] 2de7ff778b66: Download complete [2021-08-23T22:35:52.096Z] 0d9ebad4ef96: Verifying Checksum [2021-08-23T22:35:52.096Z] 0d9ebad4ef96: Download complete [2021-08-23T22:35:52.678Z] ab5ef0e58194: Verifying Checksum [2021-08-23T22:35:52.678Z] ab5ef0e58194: Download complete [2021-08-23T22:35:55.281Z] ab5ef0e58194: Pull complete [2021-08-23T22:35:55.551Z] 9712f1f96733: Pull complete [2021-08-23T22:35:56.149Z] 63f879dbbcfc: Pull complete [2021-08-23T22:36:00.411Z] 0d9ebad4ef96: Pull complete [2021-08-23T22:36:00.411Z] e9a5061849ea: Pull complete [2021-08-23T22:36:00.411Z] d747dcd14b5f: Pull complete [2021-08-23T22:36:01.382Z] 2de7ff778b66: Pull complete [2021-08-23T22:36:01.382Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-23T22:36:01.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-23T22:36:01.382Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-23T22:36:01.481Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:36:01.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-08-23T22:36:04.581Z] $ docker top 524d8ff652d8d28a29bd189ac5c3227c065baa49b86f20433e5adbd7812f3f84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-23T22:36:04.732Z] provisioning config files... [2021-08-23T22:36:04.747Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6547094667210697466tmp [2021-08-23T22:36:04.768Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8006270570575374939tmp [2021-08-23T22:36:04.788Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6452053495371315195tmp [Pipeline] { [Pipeline] echo [2021-08-23T22:36:04.816Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:05.134Z] ---> sigul-configuration.sh [2021-08-23T22:36:05.134Z] gpg: directory `/root/.gnupg' created [2021-08-23T22:36:05.134Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-23T22:36:05.134Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-23T22:36:05.134Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-23T22:36:05.134Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-23T22:36:05.134Z] gpg: CAST5 encrypted data [2021-08-23T22:36:05.134Z] gpg: encrypted with 1 passphrase [2021-08-23T22:36:05.135Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-23T22:36:05.452Z] + mkdir /home/jenkins [2021-08-23T22:36:05.452Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-23T22:36:05.768Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-08-23T22:36:05.782Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:06.091Z] ---> sigul-install.sh [2021-08-23T22:36:06.091Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-23T22:36:06.407Z] + git tag --list [2021-08-23T22:36:06.407Z] v0.1.0 [2021-08-23T22:36:06.407Z] v0.1.1 [2021-08-23T22:36:06.407Z] v1.0.0 [2021-08-23T22:36:06.407Z] v1.1.0 [2021-08-23T22:36:06.407Z] v1.2.0 [2021-08-23T22:36:06.407Z] v1.3.0 [2021-08-23T22:36:06.407Z] v1.3.1 [2021-08-23T22:36:06.407Z] v2.0.0 [2021-08-23T22:36:06.407Z] v2.0.1 [2021-08-23T22:36:06.407Z] v2.0.1-dev.1 [2021-08-23T22:36:06.407Z] v2.0.1-dev.2 [2021-08-23T22:36:06.407Z] v2.0.1-dev.3 [2021-08-23T22:36:06.407Z] v2.0.1-dev.4 [2021-08-23T22:36:06.407Z] v2.0.1-dev.5 [2021-08-23T22:36:06.407Z] v2.0.1-dev.6 [2021-08-23T22:36:06.407Z] v2.0.1-dev.7 [2021-08-23T22:36:06.407Z] v2.0.2-dev.1 [2021-08-23T22:36:06.407Z] v2.0.2-dev.2 [2021-08-23T22:36:06.407Z] v2.0.2-dev.3 [2021-08-23T22:36:06.407Z] v2.0.2-dev.4 [2021-08-23T22:36:06.407Z] v2.0.2-dev.5 [2021-08-23T22:36:06.407Z] v2.0.2-dev.6 [Pipeline] sh [2021-08-23T22:36:06.730Z] + lftools sign git-tag v2.0.2-dev.6 [2021-08-23T22:36:07.312Z] Signing Git tag with Sigul... [2021-08-23T22:36:07.312Z] Signing v2.0.2-dev.6 [Pipeline] echo [2021-08-23T22:36:08.280Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:08.588Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-23T22:36:08.600Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-23T22:36:08.634Z] $ docker stop --time=1 524d8ff652d8d28a29bd189ac5c3227c065baa49b86f20433e5adbd7812f3f84 [2021-08-23T22:36:09.853Z] $ docker rm -f 524d8ff652d8d28a29bd189ac5c3227c065baa49b86f20433e5adbd7812f3f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:36:10.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-23T22:36:10.451Z] . [Pipeline] withDockerContainer [2021-08-23T22:36:10.534Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:36:10.581Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-23T22:36:10.938Z] $ docker top 91c4bb71a309d49d9485b1e1d56ebcfae44108a8f24ec81ff699847e6109398b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-23T22:36:11.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-23T22:36:11.068Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-23T22:36:11.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-23T22:36:11.190Z] $ docker exec 91c4bb71a309d49d9485b1e1d56ebcfae44108a8f24ec81ff699847e6109398b ssh-agent [2021-08-23T22:36:11.307Z] SSH_AUTH_SOCK=/tmp/ssh-3OpcKy6JsZUo/agent.14 [2021-08-23T22:36:11.307Z] SSH_AGENT_PID=21 [2021-08-23T22:36:11.315Z] Running ssh-add (command line suppressed) [2021-08-23T22:36:11.415Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7932040633074659046.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_7932040633074659046.key) [2021-08-23T22:36:11.436Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-23T22:36:11.754Z] + git semver bump pre [2021-08-23T22:36:11.754Z] # -> Open(): unable to determine branch for HEAD [2021-08-23T22:36:11.754Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-23T22:36:11.754Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-23T22:36:11.754Z] # $SEMVER_REMOTE_NAME = origin [2021-08-23T22:36:11.754Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-23T22:36:11.754Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-23T22:36:11.754Z] # $SEMVER_BRANCH = main [2021-08-23T22:36:11.754Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-08-23T22:36:11.754Z] 2.0.2-dev.7 [Pipeline] } [2021-08-23T22:36:11.769Z] $ docker exec --env ******** --env ******** 91c4bb71a309d49d9485b1e1d56ebcfae44108a8f24ec81ff699847e6109398b ssh-agent -k [2021-08-23T22:36:11.876Z] unset SSH_AUTH_SOCK; [2021-08-23T22:36:11.876Z] unset SSH_AGENT_PID; [2021-08-23T22:36:11.876Z] echo Agent pid 21 killed; [2021-08-23T22:36:11.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-23T22:36:12.261Z] + git semver [Pipeline] } [2021-08-23T22:36:12.279Z] $ docker stop --time=1 91c4bb71a309d49d9485b1e1d56ebcfae44108a8f24ec81ff699847e6109398b [2021-08-23T22:36:13.472Z] $ docker rm -f 91c4bb71a309d49d9485b1e1d56ebcfae44108a8f24ec81ff699847e6109398b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:36:13.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-23T22:36:13.867Z] . [Pipeline] withDockerContainer [2021-08-23T22:36:13.959Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:36:14.011Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-23T22:36:14.391Z] $ docker top f0170519bdfbeb62aa3f441ea09bcc97b24265cc2e4da660af4939a8fa32c793 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-23T22:36:14.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-23T22:36:14.533Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-23T22:36:14.657Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-23T22:36:14.660Z] $ docker exec f0170519bdfbeb62aa3f441ea09bcc97b24265cc2e4da660af4939a8fa32c793 ssh-agent [2021-08-23T22:36:14.780Z] SSH_AUTH_SOCK=/tmp/ssh-i8SicHS5mP2C/agent.14 [2021-08-23T22:36:14.780Z] SSH_AGENT_PID=20 [2021-08-23T22:36:14.789Z] Running ssh-add (command line suppressed) [2021-08-23T22:36:14.887Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8350791677242833211.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8350791677242833211.key) [2021-08-23T22:36:14.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-23T22:36:15.483Z] + git semver push [2021-08-23T22:36:15.483Z] # -> Open(): unable to determine branch for HEAD [2021-08-23T22:36:15.483Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-08-23T22:36:15.483Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-08-23T22:36:15.483Z] # $SEMVER_REMOTE_NAME = origin [2021-08-23T22:36:15.483Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-23T22:36:15.483Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-23T22:36:15.483Z] # $SEMVER_BRANCH = main [2021-08-23T22:36:15.483Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-08-23T22:36:17.048Z] $ docker exec --env ******** --env ******** f0170519bdfbeb62aa3f441ea09bcc97b24265cc2e4da660af4939a8fa32c793 ssh-agent -k [2021-08-23T22:36:17.148Z] unset SSH_AUTH_SOCK; [2021-08-23T22:36:17.148Z] unset SSH_AGENT_PID; [2021-08-23T22:36:17.148Z] echo Agent pid 20 killed; [2021-08-23T22:36:17.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-23T22:36:17.515Z] + git semver [Pipeline] } [2021-08-23T22:36:17.534Z] $ docker stop --time=1 f0170519bdfbeb62aa3f441ea09bcc97b24265cc2e4da660af4939a8fa32c793 [2021-08-23T22:36:18.714Z] $ docker rm -f f0170519bdfbeb62aa3f441ea09bcc97b24265cc2e4da660af4939a8fa32c793 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-23T22:36:19.606Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:19.938Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:20.520Z] ---> package-listing.sh [2021-08-23T22:36:20.520Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-23T22:36:20.520Z] ++ facter osfamily [2021-08-23T22:36:20.788Z] + OS_FAMILY=redhat [2021-08-23T22:36:20.788Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-08-23T22:36:20.788Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-23T22:36:20.788Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-23T22:36:20.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-23T22:36:20.788Z] + PACKAGES=/tmp/packages_start.txt [2021-08-23T22:36:20.788Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-08-23T22:36:20.788Z] + PACKAGES=/tmp/packages_end.txt [2021-08-23T22:36:20.788Z] + case "${OS_FAMILY}" in [2021-08-23T22:36:20.788Z] + sort [2021-08-23T22:36:20.788Z] + rpm -qa [2021-08-23T22:36:21.370Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-23T22:36:21.370Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-23T22:36:21.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-23T22:36:21.370Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-08-23T22:36:21.370Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-08-23T22:36:21.636Z] + 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-08-23T22:36:21.651Z] 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-08-23T22:36:21.949Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:36:22.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-23T22:36:22.535Z] [2021-08-23T22:36:22.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-23T22:36:22.863Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-23T22:36:22.863Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-23T22:36:22.863Z] b4d181a07f80: Pulling fs layer [2021-08-23T22:36:22.863Z] a1111a8f2ec3: Pulling fs layer [2021-08-23T22:36:22.863Z] ed53099fbce6: Pulling fs layer [2021-08-23T22:36:22.863Z] dc539afda2c1: Pulling fs layer [2021-08-23T22:36:22.863Z] 77bc0d833cb6: Pulling fs layer [2021-08-23T22:36:22.863Z] 9065ff56babe: Pulling fs layer [2021-08-23T22:36:22.863Z] d287ab97295c: Pulling fs layer [2021-08-23T22:36:22.863Z] dc539afda2c1: Waiting [2021-08-23T22:36:22.863Z] 77bc0d833cb6: Waiting [2021-08-23T22:36:22.863Z] 9065ff56babe: Waiting [2021-08-23T22:36:22.863Z] d287ab97295c: Waiting [2021-08-23T22:36:23.128Z] a1111a8f2ec3: Verifying Checksum [2021-08-23T22:36:23.128Z] a1111a8f2ec3: Download complete [2021-08-23T22:36:23.128Z] dc539afda2c1: Verifying Checksum [2021-08-23T22:36:23.128Z] dc539afda2c1: Download complete [2021-08-23T22:36:23.398Z] ed53099fbce6: Verifying Checksum [2021-08-23T22:36:23.398Z] ed53099fbce6: Download complete [2021-08-23T22:36:23.398Z] 77bc0d833cb6: Verifying Checksum [2021-08-23T22:36:23.398Z] 77bc0d833cb6: Download complete [2021-08-23T22:36:23.398Z] 9065ff56babe: Verifying Checksum [2021-08-23T22:36:23.398Z] 9065ff56babe: Download complete [2021-08-23T22:36:24.353Z] b4d181a07f80: Verifying Checksum [2021-08-23T22:36:24.353Z] b4d181a07f80: Download complete [2021-08-23T22:36:25.762Z] b4d181a07f80: Pull complete [2021-08-23T22:36:25.762Z] a1111a8f2ec3: Pull complete [2021-08-23T22:36:26.347Z] ed53099fbce6: Pull complete [2021-08-23T22:36:26.347Z] dc539afda2c1: Pull complete [2021-08-23T22:36:26.612Z] 77bc0d833cb6: Pull complete [2021-08-23T22:36:26.612Z] 9065ff56babe: Pull complete [2021-08-23T22:36:27.570Z] d287ab97295c: Verifying Checksum [2021-08-23T22:36:27.570Z] d287ab97295c: Download complete [2021-08-23T22:36:31.833Z] d287ab97295c: Pull complete [2021-08-23T22:36:31.833Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-23T22:36:31.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-23T22:36:31.833Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-23T22:36:31.918Z] prd-centos7-docker-4c-2g-649 does not seem to be running inside a container [2021-08-23T22:36:31.973Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-23T22:36:34.715Z] $ docker top d497d1a74b74db1b3494847c2eb77f8b214431058154b2dab54c96a6cfe5a1c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-23T22:36:35.109Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-23T22:36:35.423Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-23T22:36:35.737Z] + ls /var/log/sa-host [2021-08-23T22:36:35.737Z] + sadf -c /var/log/sa-host/sa05 [2021-08-23T22:36:35.737Z] file_magic: OK [2021-08-23T22:36:35.737Z] HZ: Using current value: 100 [2021-08-23T22:36:35.737Z] file_header: OK [2021-08-23T22:36:35.737Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-23T22:36:35.737Z] Statistics: [2021-08-23T22:36:35.737Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-23T22:36:35.737Z] File successfully converted to sysstat format version 12.0.3 [2021-08-23T22:36:35.737Z] + sadf -c /var/log/sa-host/sa23 [2021-08-23T22:36:35.737Z] file_magic: OK [2021-08-23T22:36:35.737Z] HZ: Using current value: 100 [2021-08-23T22:36:35.737Z] file_header: OK [2021-08-23T22:36:35.737Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-08-23T22:36:35.737Z] Statistics: [2021-08-23T22:36:35.737Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-23T22:36:35.737Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-23T22:36:37.353Z] provisioning config files... [2021-08-23T22:36:37.375Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3387695625177299255tmp [Pipeline] { [Pipeline] echo [2021-08-23T22:36:37.413Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:37.719Z] ---> create-netrc.sh [Pipeline] } [2021-08-23T22:36:37.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:38.115Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-23T22:36:38.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:38.433Z] ---> sudo-logs.sh [2021-08-23T22:36:38.433Z] Archiving 'sudo' log.. [2021-08-23T22:36:38.433Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-649.vexxhost.local: Name or service not known [2021-08-23T22:36:38.433Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-649.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-23T22:36:38.470Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:38.771Z] ---> job-cost.sh [2021-08-23T22:36:38.771Z] lf-activate-venv: SKIPPING [2021-08-23T22:36:38.771Z] DEBUG: total: 0.10999999940395355 [2021-08-23T22:36:38.771Z] INFO: Retrieving Stack Cost... [2021-08-23T22:36:39.729Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-23T22:36:39.995Z] INFO: Archiving Costs [Pipeline] echo [2021-08-23T22:36:40.012Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-23T22:36:40.318Z] ---> logs-deploy.sh [2021-08-23T22:36:40.318Z] lf-activate-venv: SKIPPING [2021-08-23T22:36:40.318Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/18 [2021-08-23T22:36:40.318Z] INFO: archiving workspace using pattern(s): [2021-08-23T22:36:40.899Z] Archives upload complete. [2021-08-23T22:36:41.165Z] INFO: archiving logs to Nexus