Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7f897940f8c59120c0cce4f60807b817186f7e19 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-ssh623238670939200442.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-ssh1538201146450735245.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-ssh1336939445152574899.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-ssh4486534881931023006.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3817192400981523138.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-839 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-ssh1049295188542108232.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 7f897940f8c59120c0cce4f60807b817186f7e19 (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 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14 (#953)" > git rev-list --no-walk be777dce5b114969bf676217563e399b5449f784 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-22T16:33:09.408Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-22T16:33:09.493Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-22T16:33:09.522Z] ========================================================= [2021-09-22T16:33:09.523Z] EdgeX Global Pipelines Version Info [2021-09-22T16:33:09.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:33:10.773Z] ------------------- [2021-09-22T16:33:10.773Z] stable info: [2021-09-22T16:33:10.774Z] ------------------- [2021-09-22T16:33:10.774Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-22T16:33:10.774Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-22T16:33:10.774Z] Message: update stable to v1.0.205 [2021-09-22T16:33:11.358Z] ------------------- [2021-09-22T16:33:11.358Z] experimental info: [2021-09-22T16:33:11.358Z] ------------------- [2021-09-22T16:33:11.358Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-22T16:33:11.358Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-22T16:33:11.358Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-22T16:33:11.490Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-09-22T16:33:11.515Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-09-22T16:33:11.541Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-22T16:33:11.567Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-22T16:33:11.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-22T16:33:11.619Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-22T16:33:11.645Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-22T16:33:11.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-22T16:33:11.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-22T16:33:11.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-22T16:33:11.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-22T16:33:11.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-22T16:33:11.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-09-22T16:33:11.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-22T16:33:11.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-22T16:33:11.865Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-09-22T16:33:11.889Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-22T16:33:11.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-22T16:33:11.938Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-22T16:33:11.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-22T16:33:11.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-22T16:33:12.011Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-22T16:33:12.035Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-22T16:33:12.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-22T16:33:12.083Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-22T16:33:12.109Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-09-22T16:33:12.136Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-22T16:33:12.162Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-09-22T16:33:12.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-09-22T16:33:12.214Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-09-22T16:33:12.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] echo [2021-09-22T16:33:12.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f89794 [Pipeline] echo [2021-09-22T16:33:12.293Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-09-22T16:33:12.817Z] + git log --format=format:%s -1 7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] echo [2021-09-22T16:33:12.879Z] GIT_COMMIT: 7f897940f8c59120c0cce4f60807b817186f7e19, Commit Message: build: Update build image for app-template to be golang:1.16-alpine3.14 (#953) [Pipeline] echo [2021-09-22T16:33:12.893Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:33:13.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-22T16:33:13.460Z] [2021-09-22T16:33:13.460Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:33:13.814Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-22T16:33:13.814Z] latest: Pulling from edgex-devops/git-semver [2021-09-22T16:33:13.814Z] 31603596830f: Pulling fs layer [2021-09-22T16:33:13.814Z] 04fac38145f0: Pulling fs layer [2021-09-22T16:33:13.814Z] 701f6daf10bf: Pulling fs layer [2021-09-22T16:33:13.814Z] 24f72da36158: Pulling fs layer [2021-09-22T16:33:13.814Z] 24f72da36158: Waiting [2021-09-22T16:33:13.814Z] 04fac38145f0: Verifying Checksum [2021-09-22T16:33:13.814Z] 04fac38145f0: Download complete [2021-09-22T16:33:14.080Z] 31603596830f: Verifying Checksum [2021-09-22T16:33:14.080Z] 31603596830f: Download complete [2021-09-22T16:33:14.080Z] 31603596830f: Pull complete [2021-09-22T16:33:14.360Z] 04fac38145f0: Pull complete [2021-09-22T16:33:14.360Z] 701f6daf10bf: Verifying Checksum [2021-09-22T16:33:14.360Z] 701f6daf10bf: Download complete [2021-09-22T16:33:14.360Z] 24f72da36158: Verifying Checksum [2021-09-22T16:33:14.360Z] 24f72da36158: Download complete [2021-09-22T16:33:14.955Z] 701f6daf10bf: Pull complete [2021-09-22T16:33:15.220Z] 24f72da36158: Pull complete [2021-09-22T16:33:15.220Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-22T16:33:15.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-22T16:33:15.220Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-22T16:33:15.311Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:33:15.372Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-22T16:33:16.091Z] $ docker top c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-22T16:33:16.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-22T16:33:16.237Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-22T16:33:16.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-22T16:33:16.363Z] $ docker exec c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent [2021-09-22T16:33:16.487Z] SSH_AUTH_SOCK=/tmp/ssh-I7lLENJ39or0/agent.13 [2021-09-22T16:33:16.487Z] SSH_AGENT_PID=20 [2021-09-22T16:33:16.498Z] Running ssh-add (command line suppressed) [2021-09-22T16:33:16.615Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5306224931718381326.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5306224931718381326.key) [2021-09-22T16:33:16.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-22T16:33:16.959Z] + git tag --points-at HEAD [Pipeline] } [2021-09-22T16:33:16.980Z] $ docker exec --env ******** --env ******** c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent -k [2021-09-22T16:33:17.083Z] unset SSH_AUTH_SOCK; [2021-09-22T16:33:17.083Z] unset SSH_AGENT_PID; [2021-09-22T16:33:17.084Z] echo Agent pid 20 killed; [2021-09-22T16:33:17.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-22T16:33:17.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-22T16:33:17.143Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-22T16:33:17.263Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-22T16:33:17.266Z] $ docker exec c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent [2021-09-22T16:33:17.385Z] SSH_AUTH_SOCK=/tmp/ssh-qtps8qjKGZ8W/agent.54 [2021-09-22T16:33:17.385Z] SSH_AGENT_PID=61 [2021-09-22T16:33:17.393Z] Running ssh-add (command line suppressed) [2021-09-22T16:33:17.495Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8106745581063116057.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8106745581063116057.key) [2021-09-22T16:33:17.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-22T16:33:17.831Z] + git semver init [2021-09-22T16:33:17.831Z] # -> Open(): unable to determine branch for HEAD [2021-09-22T16:33:17.831Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-22T16:33:17.831Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-22T16:33:17.831Z] # $SEMVER_REMOTE_NAME = origin [2021-09-22T16:33:17.831Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-22T16:33:17.831Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-22T16:33:17.831Z] # $SEMVER_BRANCH = main [2021-09-22T16:33:17.831Z] # $SEMVER_TEMP = /tmp/semver-277822378 [2021-09-22T16:33:17.831Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-09-22T16:33:21.182Z] # '/tmp/semver-277822378' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-09-22T16:33:21.182Z] # -> Force: false [2021-09-22T16:33:21.182Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-09-22T16:33:21.203Z] $ docker exec --env ******** --env ******** c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 ssh-agent -k [2021-09-22T16:33:21.300Z] unset SSH_AUTH_SOCK; [2021-09-22T16:33:21.301Z] unset SSH_AGENT_PID; [2021-09-22T16:33:21.302Z] echo Agent pid 61 killed; [2021-09-22T16:33:21.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-22T16:33:21.659Z] + git semver [Pipeline] } [2021-09-22T16:33:21.681Z] $ docker stop --time=1 c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 [2021-09-22T16:33:23.001Z] $ docker rm -f c353809de0c02ae57f1eaa1b1694e7859fa3884b646bcc1b14987a3f06ca1936 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-22T16:33:23.390Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-22T16:33:23.719Z] Stashed 1 file(s) [Pipeline] echo [2021-09-22T16:33:23.723Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.17 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-09-22T16:33:38.979Z] Still waiting to schedule task [2021-09-22T16:33:38.979Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-22T16:33:38.987Z] Still waiting to schedule task [2021-09-22T16:33:38.988Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-09-22T16:35:29.523Z] Running on prd-centos7-docker-4c-2g-842 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-09-22T16:35:29.542Z] Running in /w/workspace/app-functions-sdk-go/29 [Pipeline] { [Pipeline] checkout [2021-09-22T16:35:29.658Z] The recommended git tool is: git [2021-09-22T16:35:32.450Z] using credential edgex-jenkins-ssh [2021-09-22T16:35:32.465Z] Cloning the remote Git repository [2021-09-22T16:35:32.493Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-22T16:35:32.563Z] > git init /w/workspace/app-functions-sdk-go/29 # timeout=10 [2021-09-22T16:35:32.593Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-22T16:35:32.593Z] > git --version # timeout=10 [2021-09-22T16:35:32.603Z] > git --version # 'git version 2.24.4' [2021-09-22T16:35:32.604Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-22T16:35:32.630Z] [INFO] Currently running in a labeled security context [2021-09-22T16:35:32.630Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-22T16:35:32.630Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/29@tmp/jenkins-gitclient-ssh4169454710574234891.key [2021-09-22T16:35:32.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-22T16:35:37.726Z] Avoid second fetch [2021-09-22T16:35:37.727Z] Checking out Revision 7f897940f8c59120c0cce4f60807b817186f7e19 (main) [2021-09-22T16:35:37.704Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-22T16:35:37.716Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-22T16:35:37.737Z] > git config core.sparsecheckout # timeout=10 [2021-09-22T16:35:37.743Z] > git checkout -f 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 [2021-09-22T16:35:41.512Z] Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14 (#953)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-22T16:35:42.139Z] ========================================================= [2021-09-22T16:35:42.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-22T16:35:42.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-22T16:35:42.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-22T16:35:42.572Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-22T16:35:42.572Z] 540db60ca938: Pulling fs layer [2021-09-22T16:35:42.572Z] adcc1eea9eea: Pulling fs layer [2021-09-22T16:35:42.572Z] 4c4ab2625f07: Pulling fs layer [2021-09-22T16:35:42.572Z] db62176df00c: Pulling fs layer [2021-09-22T16:35:42.572Z] 3b30891b0d05: Pulling fs layer [2021-09-22T16:35:42.572Z] 06b49ca38bd5: Pulling fs layer [2021-09-22T16:35:42.572Z] c788192a36de: Pulling fs layer [2021-09-22T16:35:42.572Z] a77e37c0d609: Pulling fs layer [2021-09-22T16:35:42.572Z] c3185cebc471: Pulling fs layer [2021-09-22T16:35:42.572Z] db62176df00c: Waiting [2021-09-22T16:35:42.572Z] 3b30891b0d05: Waiting [2021-09-22T16:35:42.572Z] 06b49ca38bd5: Waiting [2021-09-22T16:35:42.572Z] c788192a36de: Waiting [2021-09-22T16:35:42.572Z] a77e37c0d609: Waiting [2021-09-22T16:35:42.572Z] c3185cebc471: Waiting [2021-09-22T16:35:42.572Z] 4c4ab2625f07: Verifying Checksum [2021-09-22T16:35:42.572Z] 4c4ab2625f07: Download complete [2021-09-22T16:35:42.572Z] adcc1eea9eea: Verifying Checksum [2021-09-22T16:35:42.572Z] adcc1eea9eea: Download complete [2021-09-22T16:35:42.841Z] 3b30891b0d05: Verifying Checksum [2021-09-22T16:35:42.841Z] 3b30891b0d05: Download complete [2021-09-22T16:35:42.841Z] 06b49ca38bd5: Verifying Checksum [2021-09-22T16:35:42.841Z] 06b49ca38bd5: Download complete [2021-09-22T16:35:42.841Z] 540db60ca938: Verifying Checksum [2021-09-22T16:35:42.841Z] 540db60ca938: Download complete [2021-09-22T16:35:42.841Z] c788192a36de: Verifying Checksum [2021-09-22T16:35:42.841Z] c788192a36de: Download complete [2021-09-22T16:35:43.111Z] 540db60ca938: Pull complete [2021-09-22T16:35:43.111Z] adcc1eea9eea: Pull complete [2021-09-22T16:35:43.111Z] 4c4ab2625f07: Pull complete [2021-09-22T16:35:43.704Z] a77e37c0d609: Verifying Checksum [2021-09-22T16:35:43.704Z] a77e37c0d609: Download complete [2021-09-22T16:35:47.966Z] c3185cebc471: Verifying Checksum [2021-09-22T16:35:47.966Z] c3185cebc471: Download complete [2021-09-22T16:35:47.966Z] db62176df00c: Verifying Checksum [2021-09-22T16:35:47.966Z] db62176df00c: Download complete [2021-09-22T16:35:51.367Z] db62176df00c: Pull complete [2021-09-22T16:35:51.367Z] 3b30891b0d05: Pull complete [2021-09-22T16:35:51.632Z] 06b49ca38bd5: Pull complete [2021-09-22T16:35:51.632Z] c788192a36de: Pull complete [2021-09-22T16:35:51.904Z] a77e37c0d609: Pull complete [2021-09-22T16:35:53.860Z] c3185cebc471: Pull complete [2021-09-22T16:35:53.860Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-22T16:35:53.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-22T16:35:53.860Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-09-22T16:35:54.217Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:35:54.540Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-22T16:35:54.540Z] . [Pipeline] withDockerContainer [2021-09-22T16:35:54.644Z] prd-centos7-docker-4c-2g-842 does not seem to be running inside a container [2021-09-22T16:35:54.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@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-09-22T16:35:56.591Z] $ docker top 85ccac5a2c96e14235499eb78ccd278578ac66ebaed34c5196be76b5910eff73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-22T16:35:57.006Z] + go version [2021-09-22T16:35:57.006Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-22T16:35:57.023Z] $ docker stop --time=1 85ccac5a2c96e14235499eb78ccd278578ac66ebaed34c5196be76b5910eff73 [2021-09-22T16:35:58.211Z] $ docker rm -f 85ccac5a2c96e14235499eb78ccd278578ac66ebaed34c5196be76b5910eff73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:35:58.865Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-22T16:35:58.866Z] . [Pipeline] withDockerContainer [2021-09-22T16:35:58.956Z] prd-centos7-docker-4c-2g-842 does not seem to be running inside a container [2021-09-22T16:35:59.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@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-09-22T16:35:59.374Z] $ docker top 30ae45f84890e036531b6c3a3e8a29fddd34eaf662d210f8e860a8e92b8963a3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-22T16:35:59.785Z] + make test [2021-09-22T16:35:59.785Z] make -C ./app-service-template build [2021-09-22T16:35:59.785Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:35:59.785Z] go mod tidy [2021-09-22T16:36:00.371Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-22T16:36:00.371Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-22T16:36:00.371Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-22T16:36:00.371Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-22T16:36:00.371Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-22T16:36:00.371Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-22T16:36:00.371Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-22T16:36:00.371Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-22T16:36:00.371Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-22T16:36:00.641Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-22T16:36:00.641Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-22T16:36:00.641Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-22T16:36:00.641Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-22T16:36:00.641Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-22T16:36:00.641Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-22T16:36:00.641Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-22T16:36:00.641Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-09-22T16:36:00.641Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-22T16:36:00.641Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-22T16:36:00.910Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-22T16:36:00.910Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-22T16:36:00.910Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-22T16:36:00.910Z] go: downloading golang.org/x/text v0.3.2 [2021-09-22T16:36:01.188Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-22T16:36:01.188Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-22T16:36:02.223Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-22T16:36:02.223Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-22T16:36:02.223Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-22T16:36:02.223Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-22T16:36:02.223Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-22T16:36:02.223Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-22T16:36:02.223Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-22T16:36:02.223Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-22T16:36:02.223Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-22T16:36:02.223Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-22T16:36:02.499Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-22T16:36:02.499Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-22T16:36:02.499Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-22T16:36:02.499Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-22T16:36:02.499Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-22T16:36:02.499Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-22T16:36:02.768Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-22T16:36:02.769Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-22T16:36:02.769Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-22T16:36:02.769Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-22T16:36:02.769Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-22T16:36:02.769Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-22T16:36:02.769Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-22T16:36:02.769Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-22T16:36:02.769Z] go: downloading github.com/kr/text v0.1.0 [2021-09-22T16:36:02.769Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-22T16:36:02.769Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-22T16:36:02.769Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-22T16:36:02.769Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-22T16:36:02.769Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-22T16:36:02.769Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-22T16:36:02.769Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-22T16:36:03.051Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-22T16:36:03.051Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-22T16:36:03.051Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-22T16:36:03.051Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-22T16:36:03.051Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-22T16:36:03.051Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-22T16:36:03.051Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-22T16:36:03.051Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-22T16:36:03.051Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-22T16:36:03.051Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-22T16:36:03.051Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-22T16:36:03.051Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-22T16:36:03.051Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-22T16:36:03.051Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-22T16:36:03.329Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-22T16:36:03.329Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-22T16:36:03.329Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-22T16:36:03.329Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-22T16:36:03.329Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-22T16:36:03.329Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-22T16:36:03.329Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-22T16:36:03.329Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-09-22T16:36:15.732Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:36:15.732Z] make -C ./app-service-template test [2021-09-22T16:36:15.732Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:36:15.732Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-22T16:36:23.986Z] ok new-app-service 0.012s coverage: 48.1% of statements [2021-09-22T16:36:23.986Z] ? new-app-service/config [no test files] [2021-09-22T16:36:23.986Z] ok new-app-service/functions 0.010s [2021-09-22T16:36:23.986Z] CGO_ENABLED=1 go vet ./... [2021-09-22T16:36:30.676Z] gofmt -l . [2021-09-22T16:36:30.676Z] [ "`gofmt -l .`" = "" ] [2021-09-22T16:36:30.676Z] ./bin/test-attribution-txt.sh [2021-09-22T16:36:31.267Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:36:31.267Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-22T16:36:31.534Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-22T16:36:32.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.020s coverage: 63.9% of statements [2021-09-22T16:36:32.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.007s coverage: 93.7% of statements [2021-09-22T16:36:32.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-22T16:36:33.546Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.014s coverage: 61.8% of statements [2021-09-22T16:36:33.546Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-22T16:36:33.546Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s [2021-09-22T16:36:34.163Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.140s coverage: 75.7% of statements [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-22T16:36:34.163Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.3% of statements [2021-09-22T16:36:34.163Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-22T16:36:34.770Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.007s coverage: 10.5% of statements [2021-09-22T16:36:39.059Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.040s coverage: 77.0% of statements [2021-09-22T16:36:39.059Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-22T16:36:39.059Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.014s coverage: 12.5% of statements [2021-09-22T16:36:39.059Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.008s coverage: 27.3% of statements [2021-09-22T16:36:39.059Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-22T16:36:39.059Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-22T16:36:39.059Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 51.4% of statements [2021-09-22T16:37:05.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.035s coverage: 77.3% of statements [2021-09-22T16:37:05.741Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-09-22T16:37:05.741Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-22T16:37:05.741Z] gofmt -l . [2021-09-22T16:37:05.741Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-22T16:37:05.759Z] $ docker stop --time=1 30ae45f84890e036531b6c3a3e8a29fddd34eaf662d210f8e860a8e92b8963a3 [2021-09-22T16:37:07.060Z] $ docker rm -f 30ae45f84890e036531b6c3a3e8a29fddd34eaf662d210f8e860a8e92b8963a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-22T16:37:07.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-22T16:37:08.023Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:37:08.871Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T16:37:08.872Z] [2021-09-22T16:37:08.872Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:37:09.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T16:37:09.247Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-22T16:37:09.247Z] b4d181a07f80: Pulling fs layer [2021-09-22T16:37:09.247Z] a1111a8f2ec3: Pulling fs layer [2021-09-22T16:37:09.247Z] ed53099fbce6: Pulling fs layer [2021-09-22T16:37:09.247Z] dc539afda2c1: Pulling fs layer [2021-09-22T16:37:09.247Z] 77bc0d833cb6: Pulling fs layer [2021-09-22T16:37:09.247Z] 9065ff56babe: Pulling fs layer [2021-09-22T16:37:09.247Z] d287ab97295c: Pulling fs layer [2021-09-22T16:37:09.247Z] 77bc0d833cb6: Waiting [2021-09-22T16:37:09.247Z] 9065ff56babe: Waiting [2021-09-22T16:37:09.247Z] d287ab97295c: Waiting [2021-09-22T16:37:09.247Z] dc539afda2c1: Waiting [2021-09-22T16:37:09.513Z] a1111a8f2ec3: Verifying Checksum [2021-09-22T16:37:09.513Z] a1111a8f2ec3: Download complete [2021-09-22T16:37:09.513Z] dc539afda2c1: Verifying Checksum [2021-09-22T16:37:09.513Z] dc539afda2c1: Download complete [2021-09-22T16:37:09.513Z] 77bc0d833cb6: Verifying Checksum [2021-09-22T16:37:09.513Z] 77bc0d833cb6: Download complete [2021-09-22T16:37:09.513Z] 9065ff56babe: Verifying Checksum [2021-09-22T16:37:09.513Z] 9065ff56babe: Download complete [2021-09-22T16:37:10.096Z] ed53099fbce6: Verifying Checksum [2021-09-22T16:37:10.096Z] ed53099fbce6: Download complete [2021-09-22T16:37:11.059Z] b4d181a07f80: Verifying Checksum [2021-09-22T16:37:11.059Z] b4d181a07f80: Download complete [2021-09-22T16:37:12.029Z] b4d181a07f80: Pull complete [2021-09-22T16:37:12.029Z] a1111a8f2ec3: Pull complete [2021-09-22T16:37:12.630Z] ed53099fbce6: Pull complete [2021-09-22T16:37:12.630Z] dc539afda2c1: Pull complete [2021-09-22T16:37:12.903Z] 77bc0d833cb6: Pull complete [2021-09-22T16:37:12.903Z] 9065ff56babe: Pull complete [2021-09-22T16:37:15.305Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-843 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-09-22T16:37:15.324Z] Running in /w/workspace/app-functions-sdk-go/29 [Pipeline] { [Pipeline] checkout [2021-09-22T16:37:15.492Z] d287ab97295c: Verifying Checksum [2021-09-22T16:37:15.492Z] d287ab97295c: Download complete [2021-09-22T16:37:15.559Z] The recommended git tool is: git [2021-09-22T16:37:19.761Z] d287ab97295c: Pull complete [2021-09-22T16:37:19.761Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-22T16:37:19.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T16:37:19.761Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-22T16:37:19.855Z] prd-centos7-docker-4c-2g-842 does not seem to be running inside a container [2021-09-22T16:37:19.935Z] $ 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/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@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-09-22T16:37:21.203Z] using credential edgex-jenkins-ssh [2021-09-22T16:37:21.221Z] Cloning the remote Git repository [2021-09-22T16:37:21.273Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-22T16:37:21.428Z] > git init /w/workspace/app-functions-sdk-go/29 # timeout=10 [2021-09-22T16:37:21.564Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-22T16:37:21.566Z] > git --version # timeout=10 [2021-09-22T16:37:21.607Z] > git --version # 'git version 2.17.1' [2021-09-22T16:37:21.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-22T16:37:21.716Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-22T16:37:22.582Z] $ docker top 0f5f79659c84de6ebad8c195ef227b34ba296df643097dba0d08f642b6a115c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:37:23.171Z] ---> job-cost.sh [2021-09-22T16:37:23.171Z] lf-activate-venv: SKIPPING [2021-09-22T16:37:23.171Z] INFO: No Stack... [2021-09-22T16:37:24.141Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-22T16:37:24.726Z] INFO: Archiving Costs [Pipeline] sh [2021-09-22T16:37:25.049Z] + cut -d, -f6 [2021-09-22T16:37:25.049Z] + cat /w/workspace/app-functions-sdk-go/29/archives/cost.csv [Pipeline] lock [2021-09-22T16:37:25.089Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [2021-09-22T16:37:25.099Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] did not exist. Created. [2021-09-22T16:37:25.099Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-22T16:37:25.439Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-22T16:37:25.474Z] Avoid second fetch [2021-09-22T16:37:25.475Z] Checking out Revision 7f897940f8c59120c0cce4f60807b817186f7e19 (main) [2021-09-22T16:37:25.499Z] Stashed 1 file(s) [Pipeline] } [2021-09-22T16:37:25.513Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-22T16:37:25.543Z] $ docker stop --time=1 0f5f79659c84de6ebad8c195ef227b34ba296df643097dba0d08f642b6a115c2 [2021-09-22T16:37:25.416Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-22T16:37:25.449Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-22T16:37:25.494Z] > git config core.sparsecheckout # timeout=10 [2021-09-22T16:37:25.509Z] > git checkout -f 7f897940f8c59120c0cce4f60807b817186f7e19 # timeout=10 [2021-09-22T16:37:26.695Z] $ docker rm -f 0f5f79659c84de6ebad8c195ef227b34ba296df643097dba0d08f642b6a115c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-22T16:37:29.892Z] Commit message: "build: Update build image for app-template to be golang:1.16-alpine3.14 (#953)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-22T16:37:31.104Z] ========================================================= [2021-09-22T16:37:31.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-22T16:37:31.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-22T16:37:31.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-22T16:37:34.321Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-22T16:37:34.321Z] 595b0fe564bb: Pulling fs layer [2021-09-22T16:37:34.321Z] 24495759ef45: Pulling fs layer [2021-09-22T16:37:34.321Z] d148012ef14d: Pulling fs layer [2021-09-22T16:37:34.321Z] e90a11edd702: Pulling fs layer [2021-09-22T16:37:34.321Z] d77568369979: Pulling fs layer [2021-09-22T16:37:34.321Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-22T16:37:34.321Z] 170f2ba95c9a: Pulling fs layer [2021-09-22T16:37:34.321Z] 97ac5df62f85: Pulling fs layer [2021-09-22T16:37:34.321Z] e90a11edd702: Waiting [2021-09-22T16:37:34.321Z] d77568369979: Waiting [2021-09-22T16:37:34.321Z] fc1c9f9a7f3b: Waiting [2021-09-22T16:37:34.321Z] 97ac5df62f85: Waiting [2021-09-22T16:37:34.321Z] 170f2ba95c9a: Waiting [2021-09-22T16:37:34.321Z] d148012ef14d: Download complete [2021-09-22T16:37:34.321Z] 24495759ef45: Verifying Checksum [2021-09-22T16:37:34.321Z] 24495759ef45: Download complete [2021-09-22T16:37:34.321Z] d77568369979: Download complete [2021-09-22T16:37:34.321Z] fc1c9f9a7f3b: Download complete [2021-09-22T16:37:34.321Z] 595b0fe564bb: Verifying Checksum [2021-09-22T16:37:34.321Z] 595b0fe564bb: Download complete [2021-09-22T16:37:34.321Z] 170f2ba95c9a: Verifying Checksum [2021-09-22T16:37:34.321Z] 170f2ba95c9a: Download complete [2021-09-22T16:37:34.927Z] 595b0fe564bb: Pull complete [2021-09-22T16:37:35.531Z] 24495759ef45: Pull complete [2021-09-22T16:37:35.808Z] d148012ef14d: Pull complete [2021-09-22T16:37:37.267Z] 97ac5df62f85: Verifying Checksum [2021-09-22T16:37:37.267Z] 97ac5df62f85: Download complete [2021-09-22T16:37:37.875Z] e90a11edd702: Verifying Checksum [2021-09-22T16:37:37.875Z] e90a11edd702: Download complete [2021-09-22T16:37:48.163Z] e90a11edd702: Pull complete [2021-09-22T16:37:48.438Z] d77568369979: Pull complete [2021-09-22T16:37:48.713Z] fc1c9f9a7f3b: Pull complete [2021-09-22T16:37:49.314Z] 170f2ba95c9a: Pull complete [2021-09-22T16:37:54.732Z] 97ac5df62f85: Pull complete [2021-09-22T16:37:54.732Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-22T16:37:54.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-22T16:37:54.732Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2021-09-22T16:37:55.156Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:37:55.788Z] + docker inspect -f . ci-base-image-arm64 [2021-09-22T16:37:55.788Z] . [Pipeline] withDockerContainer [2021-09-22T16:37:56.083Z] prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2021-09-22T16:37:56.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@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-09-22T16:38:02.392Z] $ docker top 073861f53a1711a3e0894a61fb240f00f109bc7437e0b2bd5205ba552968af10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-22T16:38:03.413Z] + go version [2021-09-22T16:38:03.413Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-22T16:38:03.432Z] $ docker stop --time=1 073861f53a1711a3e0894a61fb240f00f109bc7437e0b2bd5205ba552968af10 [2021-09-22T16:38:05.534Z] $ docker rm -f 073861f53a1711a3e0894a61fb240f00f109bc7437e0b2bd5205ba552968af10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:38:06.387Z] + docker inspect -f . ci-base-image-arm64 [2021-09-22T16:38:06.387Z] . [Pipeline] withDockerContainer [2021-09-22T16:38:06.657Z] prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2021-09-22T16:38:06.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@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-09-22T16:38:08.500Z] $ docker top a0a2e284532b8c68be92d5cdcaa87c5fce879c0c82870adc3ed22290a81a72ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-22T16:38:09.519Z] + make test [2021-09-22T16:38:09.519Z] make -C ./app-service-template build [2021-09-22T16:38:09.519Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:38:09.519Z] go mod tidy [2021-09-22T16:38:10.961Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-22T16:38:10.961Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-22T16:38:10.961Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-22T16:38:11.242Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-22T16:38:11.242Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-22T16:38:11.242Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-22T16:38:11.242Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-22T16:38:11.242Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-22T16:38:11.242Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-22T16:38:11.520Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-22T16:38:11.520Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-22T16:38:11.520Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-22T16:38:11.520Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-22T16:38:11.520Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-22T16:38:11.520Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-22T16:38:11.796Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-22T16:38:11.797Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2021-09-22T16:38:11.797Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-22T16:38:11.797Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-22T16:38:11.797Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-22T16:38:11.797Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-22T16:38:12.072Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-22T16:38:12.072Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-22T16:38:12.072Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-22T16:38:12.072Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-22T16:38:12.072Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-22T16:38:12.072Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-22T16:38:12.360Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-22T16:38:12.360Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-22T16:38:12.360Z] go: downloading golang.org/x/text v0.3.2 [2021-09-22T16:38:12.636Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-22T16:38:12.914Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-22T16:38:15.553Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-22T16:38:15.830Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-22T16:38:15.830Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-22T16:38:15.830Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-22T16:38:15.830Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-22T16:38:15.830Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-22T16:38:15.830Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-22T16:38:16.104Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-22T16:38:16.104Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-22T16:38:16.104Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-22T16:38:16.104Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-22T16:38:16.104Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-22T16:38:16.104Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-22T16:38:16.104Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-22T16:38:16.104Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-22T16:38:16.104Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-22T16:38:16.104Z] go: downloading github.com/kr/text v0.1.0 [2021-09-22T16:38:16.384Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-22T16:38:16.384Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-22T16:38:16.384Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-22T16:38:16.384Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-22T16:38:16.384Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-22T16:38:16.384Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-22T16:38:16.384Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-22T16:38:16.659Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-22T16:38:16.659Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-22T16:38:16.659Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-22T16:38:16.659Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-22T16:38:16.659Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-22T16:38:16.659Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-22T16:38:16.659Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-22T16:38:16.659Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-22T16:38:16.659Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-22T16:38:16.934Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-22T16:38:16.934Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-22T16:38:16.934Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-22T16:38:16.934Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-22T16:38:16.934Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-22T16:38:16.934Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-22T16:38:17.208Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-22T16:38:17.208Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-22T16:38:17.208Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-22T16:38:17.208Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-22T16:38:17.487Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-22T16:38:17.487Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-22T16:38:17.487Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-22T16:38:17.764Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.1 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-09-22T16:38:56.913Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:38:56.913Z] make -C ./app-service-template test [2021-09-22T16:38:56.913Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:38:56.913Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-22T16:39:29.314Z] ok new-app-service 0.043s coverage: 48.1% of statements [2021-09-22T16:39:29.314Z] ? new-app-service/config [no test files] [2021-09-22T16:39:29.314Z] ok new-app-service/functions 0.046s [2021-09-22T16:39:29.314Z] CGO_ENABLED=1 go vet ./... [2021-09-22T16:39:56.116Z] gofmt -l . [2021-09-22T16:39:56.116Z] [ "`gofmt -l .`" = "" ] [2021-09-22T16:39:56.116Z] ./bin/test-attribution-txt.sh [2021-09-22T16:39:56.116Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/29/app-service-template' [2021-09-22T16:39:56.116Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-22T16:39:57.098Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-22T16:40:05.434Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.136s coverage: 63.9% of statements [2021-09-22T16:40:05.434Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.044s coverage: 93.7% of statements [2021-09-22T16:40:05.434Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-22T16:40:05.434Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.121s coverage: 61.8% of statements [2021-09-22T16:40:05.434Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-22T16:40:05.434Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.062s [2021-09-22T16:40:06.036Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.166s coverage: 75.7% of statements [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-22T16:40:06.036Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.029s coverage: 97.3% of statements [2021-09-22T16:40:06.036Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-22T16:40:06.036Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.045s coverage: 10.5% of statements [2021-09-22T16:40:12.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.174s coverage: 77.0% of statements [2021-09-22T16:40:12.777Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-22T16:40:12.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 12.5% of statements [2021-09-22T16:40:12.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.070s coverage: 27.3% of statements [2021-09-22T16:40:12.777Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-22T16:40:12.777Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-22T16:40:12.777Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.052s coverage: 51.4% of statements [2021-09-22T16:40:39.544Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.112s coverage: 77.3% of statements [2021-09-22T16:40:39.544Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.040s coverage: 94.4% of statements [2021-09-22T16:40:39.544Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-22T16:40:42.186Z] gofmt -l . [2021-09-22T16:40:42.461Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-22T16:40:43.078Z] $ docker stop --time=1 a0a2e284532b8c68be92d5cdcaa87c5fce879c0c82870adc3ed22290a81a72ae [2021-09-22T16:40:45.156Z] $ docker rm -f a0a2e284532b8c68be92d5cdcaa87c5fce879c0c82870adc3ed22290a81a72ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-22T16:40:47.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-22T16:40:47.569Z] Warning: overwriting stash ‘coverage-report’ [2021-09-22T16:40:48.256Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:40:49.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-22T16:40:49.061Z] [2021-09-22T16:40:49.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:40:49.423Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-22T16:40:49.697Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-22T16:40:49.697Z] 448f6bf000e3: Pulling fs layer [2021-09-22T16:40:49.697Z] f757da607395: Pulling fs layer [2021-09-22T16:40:49.697Z] 05883995daec: Pulling fs layer [2021-09-22T16:40:49.697Z] 8603b9c90790: Pulling fs layer [2021-09-22T16:40:49.697Z] 1560dd03e051: Pulling fs layer [2021-09-22T16:40:49.697Z] 27f5ce0e4adf: Pulling fs layer [2021-09-22T16:40:49.697Z] c2d8d7efcc4b: Pulling fs layer [2021-09-22T16:40:49.697Z] 8603b9c90790: Waiting [2021-09-22T16:40:49.697Z] 1560dd03e051: Waiting [2021-09-22T16:40:49.697Z] 27f5ce0e4adf: Waiting [2021-09-22T16:40:49.697Z] c2d8d7efcc4b: Waiting [2021-09-22T16:40:49.971Z] f757da607395: Verifying Checksum [2021-09-22T16:40:49.971Z] f757da607395: Download complete [2021-09-22T16:40:49.971Z] 8603b9c90790: Download complete [2021-09-22T16:40:50.240Z] 1560dd03e051: Verifying Checksum [2021-09-22T16:40:50.240Z] 1560dd03e051: Download complete [2021-09-22T16:40:50.240Z] 27f5ce0e4adf: Verifying Checksum [2021-09-22T16:40:50.240Z] 27f5ce0e4adf: Download complete [2021-09-22T16:40:51.216Z] 05883995daec: Verifying Checksum [2021-09-22T16:40:51.216Z] 05883995daec: Download complete [2021-09-22T16:40:53.834Z] 448f6bf000e3: Verifying Checksum [2021-09-22T16:40:53.834Z] 448f6bf000e3: Download complete [2021-09-22T16:40:57.246Z] 448f6bf000e3: Pull complete [2021-09-22T16:40:57.847Z] f757da607395: Pull complete [2021-09-22T16:40:59.293Z] 05883995daec: Pull complete [2021-09-22T16:40:59.892Z] 8603b9c90790: Pull complete [2021-09-22T16:41:00.903Z] 1560dd03e051: Pull complete [2021-09-22T16:41:01.177Z] 27f5ce0e4adf: Pull complete [2021-09-22T16:41:02.610Z] c2d8d7efcc4b: Verifying Checksum [2021-09-22T16:41:02.610Z] c2d8d7efcc4b: Download complete [2021-09-22T16:41:17.699Z] c2d8d7efcc4b: Pull complete [2021-09-22T16:41:17.699Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-22T16:41:17.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-22T16:41:17.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-22T16:41:17.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-843 does not seem to be running inside a container [2021-09-22T16:41:18.091Z] $ 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/29 -v /w/workspace/app-functions-sdk-go/29:/w/workspace/app-functions-sdk-go/29:rw,z -v /w/workspace/app-functions-sdk-go/29@tmp:/w/workspace/app-functions-sdk-go/29@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-09-22T16:41:22.671Z] $ docker top c51631ffb8dabda2dfaa515447e254e9a7314a6bdc6f2152fb0301c8c8241310 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:41:23.660Z] ---> job-cost.sh [2021-09-22T16:41:23.660Z] lf-activate-venv: SKIPPING [2021-09-22T16:41:23.660Z] INFO: No Stack... [2021-09-22T16:41:24.642Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-22T16:41:24.916Z] INFO: Archiving Costs [Pipeline] sh [2021-09-22T16:41:25.596Z] + cat /w/workspace/app-functions-sdk-go/29/archives/cost.csv [2021-09-22T16:41:25.596Z] + cut -d, -f6 [Pipeline] lock [2021-09-22T16:41:25.667Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [2021-09-22T16:41:25.688Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] did not exist. Created. [2021-09-22T16:41:25.689Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-22T16:41:26.386Z] /w/workspace/app-functions-sdk-go/29@tmp/durable-c0c695c8/script.sh: 1: /w/workspace/app-functions-sdk-go/29@tmp/durable-c0c695c8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-22T16:41:27.093Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-22T16:41:27.131Z] Warning: overwriting stash ‘stack-cost’ [2021-09-22T16:41:27.231Z] Stashed 1 file(s) [Pipeline] } [2021-09-22T16:41:27.251Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-22T16:41:27.277Z] $ docker stop --time=1 c51631ffb8dabda2dfaa515447e254e9a7314a6bdc6f2152fb0301c8c8241310 [2021-09-22T16:41:28.966Z] $ docker rm -f c51631ffb8dabda2dfaa515447e254e9a7314a6bdc6f2152fb0301c8c8241310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-09-22T16:41:29.802Z] provisioning config files... [2021-09-22T16:41:29.817Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config6080139026012666587tmp [Pipeline] { [Pipeline] sh [2021-09-22T16:41:30.151Z] + set +x [2021-09-22T16:41:30.151Z] + curl -s https://codecov.io/bash [2021-09-22T16:41:30.151Z] + bash -s -- [2021-09-22T16:41:30.151Z] [2021-09-22T16:41:30.151Z] _____ _ [2021-09-22T16:41:30.151Z] / ____| | | [2021-09-22T16:41:30.151Z] | | ___ __| | ___ ___ _____ __ [2021-09-22T16:41:30.151Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-22T16:41:30.151Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-22T16:41:30.151Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-22T16:41:30.151Z] Bash-1.0.6 [2021-09-22T16:41:30.151Z] [2021-09-22T16:41:30.151Z] [2021-09-22T16:41:30.151Z] ==> git version 2.24.4 found [2021-09-22T16:41:30.151Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-09-22T16:41:30.151Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-22T16:41:30.151Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-22T16:41:30.151Z] ==> Jenkins CI detected. [2021-09-22T16:41:30.151Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-09-22T16:41:30.151Z] project root: . [2021-09-22T16:41:30.151Z] --> token set from env [2021-09-22T16:41:30.417Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-22T16:41:30.417Z] ==> Running gcov in . (disable via -X gcov) [2021-09-22T16:41:30.417Z] ==> Python coveragepy not found [2021-09-22T16:41:30.417Z] ==> Searching for coverage reports in: [2021-09-22T16:41:30.417Z] + . [2021-09-22T16:41:30.417Z] -> Found 2 reports [2021-09-22T16:41:30.417Z] ==> Detecting git/mercurial file structure [2021-09-22T16:41:30.417Z] ==> Reading reports [2021-09-22T16:41:30.417Z] + ./app-service-template/coverage.out bytes=1219 [2021-09-22T16:41:30.417Z] + ./coverage.out bytes=101685 [2021-09-22T16:41:30.417Z] ==> Appending adjustments [2021-09-22T16:41:30.417Z] https://docs.codecov.io/docs/fixing-reports [2021-09-22T16:41:30.687Z] + Found adjustments [2021-09-22T16:41:30.687Z] ==> Gzipping contents [2021-09-22T16:41:30.687Z] 20K /tmp/codecov.hqPVev.gz [2021-09-22T16:41:30.687Z] ==> Uploading reports [2021-09-22T16:41:30.687Z] url: https://codecov.io [2021-09-22T16:41:30.687Z] query: branch=main&commit=7f897940f8c59120c0cce4f60807b817186f7e19&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-22T16:41:30.687Z] -> Pinging Codecov [2021-09-22T16:41:30.687Z] 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=7f897940f8c59120c0cce4f60807b817186f7e19&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-22T16:41:31.270Z] -> Uploading to [2021-09-22T16:41:31.270Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-22/3D8B5DFFC46A037C893635FACE044666/7f897940f8c59120c0cce4f60807b817186f7e19/8e6ce471-a3d8-4589-9f97-c27265f3d59e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210922T164130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9711df08a436e6c95e93d0b89320cbabd5eaf26d0d6c684765cf39bbf2054516 [2021-09-22T16:41:31.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-22T16:41:31.270Z] Dload Upload Total Spent Left Speed [2021-09-22T16:41:32.115Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17661 0 0 100 17661 0 20464 --:--:-- --:--:-- --:--:-- 20464 [2021-09-22T16:41:32.115Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] } [2021-09-22T16:41:32.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-09-22T16:41:32.428Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-09-22T16:41:32.452Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:41:32.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-22T16:41:32.776Z] [2021-09-22T16:41:32.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:41:33.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-22T16:41:33.103Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-09-22T16:41:33.103Z] 188c0c94c7c5: Pulling fs layer [2021-09-22T16:41:33.103Z] 0ef7d3d256c8: Pulling fs layer [2021-09-22T16:41:33.103Z] de9db76c5a1d: Pulling fs layer [2021-09-22T16:41:33.103Z] 0eba1c9be4d2: Pulling fs layer [2021-09-22T16:41:33.103Z] 0d57e429df01: Pulling fs layer [2021-09-22T16:41:33.103Z] 4e4be7b47b0d: Pulling fs layer [2021-09-22T16:41:33.103Z] e1f770b5df2f: Pulling fs layer [2021-09-22T16:41:33.103Z] 85a0685a4137: Pulling fs layer [2021-09-22T16:41:33.103Z] 4e4be7b47b0d: Waiting [2021-09-22T16:41:33.103Z] e1f770b5df2f: Waiting [2021-09-22T16:41:33.103Z] 85a0685a4137: Waiting [2021-09-22T16:41:33.103Z] 0eba1c9be4d2: Waiting [2021-09-22T16:41:33.103Z] 0d57e429df01: Waiting [2021-09-22T16:41:33.103Z] de9db76c5a1d: Verifying Checksum [2021-09-22T16:41:33.103Z] de9db76c5a1d: Download complete [2021-09-22T16:41:33.103Z] 0ef7d3d256c8: Verifying Checksum [2021-09-22T16:41:33.103Z] 0ef7d3d256c8: Download complete [2021-09-22T16:41:33.103Z] 0d57e429df01: Verifying Checksum [2021-09-22T16:41:33.103Z] 0d57e429df01: Download complete [2021-09-22T16:41:33.103Z] 4e4be7b47b0d: Verifying Checksum [2021-09-22T16:41:33.103Z] 4e4be7b47b0d: Download complete [2021-09-22T16:41:34.070Z] 188c0c94c7c5: Verifying Checksum [2021-09-22T16:41:34.070Z] 188c0c94c7c5: Pull complete [2021-09-22T16:41:34.070Z] 0ef7d3d256c8: Pull complete [2021-09-22T16:41:34.337Z] de9db76c5a1d: Pull complete [2021-09-22T16:41:35.758Z] e1f770b5df2f: Verifying Checksum [2021-09-22T16:41:35.758Z] e1f770b5df2f: Download complete [2021-09-22T16:41:40.014Z] 0eba1c9be4d2: Verifying Checksum [2021-09-22T16:41:40.014Z] 0eba1c9be4d2: Download complete [2021-09-22T16:41:40.286Z] 85a0685a4137: Verifying Checksum [2021-09-22T16:41:40.286Z] 85a0685a4137: Download complete [2021-09-22T16:41:42.878Z] 0eba1c9be4d2: Pull complete [2021-09-22T16:41:42.878Z] 0d57e429df01: Pull complete [2021-09-22T16:41:42.878Z] 4e4be7b47b0d: Pull complete [2021-09-22T16:41:43.463Z] e1f770b5df2f: Pull complete [2021-09-22T16:41:46.836Z] 85a0685a4137: Pull complete [2021-09-22T16:41:46.836Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-09-22T16:41:46.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-22T16:41:46.836Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-09-22T16:41:46.934Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:41:46.990Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-09-22T16:41:48.805Z] $ docker top e54de921bb5b752a398124c5dc5e5b840f310081a5c669552cc6605eed7f16e9 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-09-22T16:41:48.905Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-09-22T16:41:49.220Z] + set -o pipefail [2021-09-22T16:41:49.220Z] + snyk monitor '--org=edgex-jenkins' [2021-09-22T16:41:57.691Z] [2021-09-22T16:41:57.691Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-09-22T16:41:57.691Z] [2021-09-22T16:41:57.691Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/38bd6083-2b9c-41c8-a74d-3843427391e7 [2021-09-22T16:41:57.691Z] [2021-09-22T16:41:57.691Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-09-22T16:41:57.691Z] [2021-09-22T16:41:57.691Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-09-22T16:41:57.691Z] [2021-09-22T16:41:57.691Z] [Pipeline] } [2021-09-22T16:41:57.709Z] $ docker stop --time=1 e54de921bb5b752a398124c5dc5e5b840f310081a5c669552cc6605eed7f16e9 [2021-09-22T16:41:59.499Z] $ docker rm -f e54de921bb5b752a398124c5dc5e5b840f310081a5c669552cc6605eed7f16e9 [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-09-22T16:42:00.218Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-22T16:42:00.242Z] provisioning config files... [2021-09-22T16:42:00.257Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config1137957195254983442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:42:00.589Z] --> edgex-publish-swagger.sh [2021-09-22T16:42:00.589Z] === Publish openapi/v2 API === [2021-09-22T16:42:00.589Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-09-22T16:42:00.590Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-09-22T16:42:00.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-22T16:42:00.590Z] Dload Upload Total Spent Left Speed [2021-09-22T16:42:01.552Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 11541 0:00:01 0:00:01 --:--:-- 11541 100 13054 0 0 100 13054 0 11539 0:00:01 0:00:01 --:--:-- 11541 [2021-09-22T16:42:01.552Z] [2021-09-22T16:42:01.552Z] [Pipeline] } [2021-09-22T16:42:01.565Z] 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-09-22T16:42:02.183Z] + git log --format=format:%s -1 7f897940f8c59120c0cce4f60807b817186f7e19 [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:02.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-22T16:42:02.505Z] . [Pipeline] withDockerContainer [2021-09-22T16:42:02.597Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:42:02.658Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-22T16:42:03.019Z] $ docker top 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-22T16:42:03.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-22T16:42:03.157Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-22T16:42:03.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-22T16:42:03.285Z] $ docker exec 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e ssh-agent [2021-09-22T16:42:03.412Z] SSH_AUTH_SOCK=/tmp/ssh-xgE5APVUbT9p/agent.15 [2021-09-22T16:42:03.412Z] SSH_AGENT_PID=22 [2021-09-22T16:42:03.421Z] Running ssh-add (command line suppressed) [2021-09-22T16:42:03.515Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6629687561725710214.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_6629687561725710214.key) [2021-09-22T16:42:03.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-22T16:42:03.852Z] + git semver tag [2021-09-22T16:42:03.852Z] # -> Open(): unable to determine branch for HEAD [2021-09-22T16:42:03.852Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-22T16:42:03.852Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-22T16:42:03.852Z] # $SEMVER_REMOTE_NAME = origin [2021-09-22T16:42:03.852Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-22T16:42:03.852Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-22T16:42:03.852Z] # $SEMVER_BRANCH = main [2021-09-22T16:42:03.852Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-09-22T16:42:03.852Z] # 7f897940f8c59120c0cce4f60807b817186f7e19 HEAD [2021-09-22T16:42:03.852Z] # -> Force: false [2021-09-22T16:42:03.852Z] # 4da9d11b6794553621d683615e6099ad36f7555b refs/tags/v2.0.2-dev.17 [Pipeline] } [2021-09-22T16:42:03.864Z] $ docker exec --env ******** --env ******** 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e ssh-agent -k [2021-09-22T16:42:03.962Z] unset SSH_AUTH_SOCK; [2021-09-22T16:42:03.963Z] unset SSH_AGENT_PID; [2021-09-22T16:42:03.963Z] echo Agent pid 22 killed; [2021-09-22T16:42:03.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-22T16:42:04.336Z] + git semver [Pipeline] } [2021-09-22T16:42:04.354Z] $ docker stop --time=1 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e [2021-09-22T16:42:05.540Z] $ docker rm -f 76d85ef3aea2b1197aa3c2b3f902b4a2340b73757d4d0ce55ac0234a955a270e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:06.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-22T16:42:06.012Z] [2021-09-22T16:42:06.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:06.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-22T16:42:06.609Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-09-22T16:42:06.609Z] ab5ef0e58194: Pulling fs layer [2021-09-22T16:42:06.609Z] 9712f1f96733: Pulling fs layer [2021-09-22T16:42:06.609Z] 63f879dbbcfc: Pulling fs layer [2021-09-22T16:42:06.609Z] 0d9ebad4ef96: Pulling fs layer [2021-09-22T16:42:06.609Z] e9a5061849ea: Pulling fs layer [2021-09-22T16:42:06.609Z] d747dcd14b5f: Pulling fs layer [2021-09-22T16:42:06.609Z] 2de7ff778b66: Pulling fs layer [2021-09-22T16:42:06.609Z] e9a5061849ea: Waiting [2021-09-22T16:42:06.609Z] d747dcd14b5f: Waiting [2021-09-22T16:42:06.609Z] 2de7ff778b66: Waiting [2021-09-22T16:42:06.609Z] 0d9ebad4ef96: Waiting [2021-09-22T16:42:06.609Z] 9712f1f96733: Download complete [2021-09-22T16:42:10.855Z] 63f879dbbcfc: Verifying Checksum [2021-09-22T16:42:10.855Z] 63f879dbbcfc: Download complete [2021-09-22T16:42:11.808Z] e9a5061849ea: Verifying Checksum [2021-09-22T16:42:11.808Z] e9a5061849ea: Download complete [2021-09-22T16:42:11.808Z] d747dcd14b5f: Verifying Checksum [2021-09-22T16:42:11.808Z] d747dcd14b5f: Download complete [2021-09-22T16:42:15.154Z] 2de7ff778b66: Verifying Checksum [2021-09-22T16:42:15.154Z] 2de7ff778b66: Download complete [2021-09-22T16:42:16.111Z] 0d9ebad4ef96: Verifying Checksum [2021-09-22T16:42:16.111Z] 0d9ebad4ef96: Download complete [2021-09-22T16:42:17.071Z] ab5ef0e58194: Verifying Checksum [2021-09-22T16:42:17.071Z] ab5ef0e58194: Download complete [2021-09-22T16:42:19.685Z] ab5ef0e58194: Pull complete [2021-09-22T16:42:19.685Z] 9712f1f96733: Pull complete [2021-09-22T16:42:20.266Z] 63f879dbbcfc: Pull complete [2021-09-22T16:42:23.640Z] 0d9ebad4ef96: Pull complete [2021-09-22T16:42:23.908Z] e9a5061849ea: Pull complete [2021-09-22T16:42:23.908Z] d747dcd14b5f: Pull complete [2021-09-22T16:42:24.884Z] 2de7ff778b66: Pull complete [2021-09-22T16:42:24.884Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-09-22T16:42:24.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-22T16:42:24.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-09-22T16:42:24.970Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:42:25.024Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-09-22T16:42:28.015Z] $ docker top 4b909021f1fd212f173bf827b933f5cd8b76437509e84c1d480f0267bbdca174 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-09-22T16:42:28.116Z] provisioning config files... [2021-09-22T16:42:28.127Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config933516056070618282tmp [2021-09-22T16:42:28.146Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2097281238752585465tmp [2021-09-22T16:42:28.166Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8791787351454591542tmp [Pipeline] { [Pipeline] echo [2021-09-22T16:42:28.191Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:42:28.498Z] ---> sigul-configuration.sh [2021-09-22T16:42:28.498Z] gpg: directory `/root/.gnupg' created [2021-09-22T16:42:28.498Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-09-22T16:42:28.498Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-09-22T16:42:28.498Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-09-22T16:42:28.498Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-09-22T16:42:28.498Z] gpg: CAST5 encrypted data [2021-09-22T16:42:28.498Z] gpg: encrypted with 1 passphrase [2021-09-22T16:42:28.498Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-09-22T16:42:28.811Z] + mkdir /home/jenkins [2021-09-22T16:42:28.812Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-09-22T16:42:29.122Z] + 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-09-22T16:42:29.136Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:42:29.442Z] ---> sigul-install.sh [2021-09-22T16:42:29.443Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-09-22T16:42:29.754Z] + git tag --list [2021-09-22T16:42:29.754Z] v0.1.0 [2021-09-22T16:42:29.754Z] v0.1.1 [2021-09-22T16:42:29.754Z] v1.0.0 [2021-09-22T16:42:29.754Z] v1.1.0 [2021-09-22T16:42:29.754Z] v1.2.0 [2021-09-22T16:42:29.754Z] v1.3.0 [2021-09-22T16:42:29.754Z] v1.3.1 [2021-09-22T16:42:29.754Z] v2.0.0 [2021-09-22T16:42:29.754Z] v2.0.1 [2021-09-22T16:42:29.754Z] v2.0.1-dev.1 [2021-09-22T16:42:29.754Z] v2.0.1-dev.2 [2021-09-22T16:42:29.754Z] v2.0.1-dev.3 [2021-09-22T16:42:29.754Z] v2.0.1-dev.4 [2021-09-22T16:42:29.754Z] v2.0.1-dev.5 [2021-09-22T16:42:29.754Z] v2.0.1-dev.6 [2021-09-22T16:42:29.754Z] v2.0.1-dev.7 [2021-09-22T16:42:29.754Z] v2.0.2-dev.1 [2021-09-22T16:42:29.754Z] v2.0.2-dev.10 [2021-09-22T16:42:29.754Z] v2.0.2-dev.11 [2021-09-22T16:42:29.754Z] v2.0.2-dev.12 [2021-09-22T16:42:29.754Z] v2.0.2-dev.13 [2021-09-22T16:42:29.754Z] v2.0.2-dev.14 [2021-09-22T16:42:29.754Z] v2.0.2-dev.15 [2021-09-22T16:42:29.754Z] v2.0.2-dev.16 [2021-09-22T16:42:29.754Z] v2.0.2-dev.17 [2021-09-22T16:42:29.754Z] v2.0.2-dev.2 [2021-09-22T16:42:29.754Z] v2.0.2-dev.3 [2021-09-22T16:42:29.754Z] v2.0.2-dev.4 [2021-09-22T16:42:29.754Z] v2.0.2-dev.5 [2021-09-22T16:42:29.754Z] v2.0.2-dev.6 [2021-09-22T16:42:29.754Z] v2.0.2-dev.7 [2021-09-22T16:42:29.754Z] v2.0.2-dev.8 [2021-09-22T16:42:29.754Z] v2.0.2-dev.9 [Pipeline] sh [2021-09-22T16:42:30.070Z] + lftools sign git-tag v2.0.2-dev.17 [2021-09-22T16:42:30.652Z] Signing Git tag with Sigul... [2021-09-22T16:42:30.652Z] Signing v2.0.2-dev.17 [Pipeline] echo [2021-09-22T16:42:31.622Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:42:32.121Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-09-22T16:42:32.134Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-09-22T16:42:32.164Z] $ docker stop --time=1 4b909021f1fd212f173bf827b933f5cd8b76437509e84c1d480f0267bbdca174 [2021-09-22T16:42:33.380Z] $ docker rm -f 4b909021f1fd212f173bf827b933f5cd8b76437509e84c1d480f0267bbdca174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:34.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-22T16:42:34.044Z] . [Pipeline] withDockerContainer [2021-09-22T16:42:34.134Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:42:34.187Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-22T16:42:34.669Z] $ docker top 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-22T16:42:34.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-22T16:42:34.829Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-22T16:42:34.974Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-22T16:42:34.976Z] $ docker exec 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e ssh-agent [2021-09-22T16:42:35.113Z] SSH_AUTH_SOCK=/tmp/ssh-wRDTndFaDuml/agent.14 [2021-09-22T16:42:35.113Z] SSH_AGENT_PID=21 [2021-09-22T16:42:35.122Z] Running ssh-add (command line suppressed) [2021-09-22T16:42:35.235Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3586612501663763926.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3586612501663763926.key) [2021-09-22T16:42:35.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-22T16:42:35.593Z] + git semver bump pre [2021-09-22T16:42:35.593Z] # -> Open(): unable to determine branch for HEAD [2021-09-22T16:42:35.593Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-22T16:42:35.593Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-22T16:42:35.593Z] # $SEMVER_REMOTE_NAME = origin [2021-09-22T16:42:35.593Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-22T16:42:35.593Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-22T16:42:35.593Z] # $SEMVER_BRANCH = main [2021-09-22T16:42:35.593Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-09-22T16:42:35.593Z] 2.0.2-dev.18 [Pipeline] } [2021-09-22T16:42:35.606Z] $ docker exec --env ******** --env ******** 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e ssh-agent -k [2021-09-22T16:42:35.719Z] unset SSH_AUTH_SOCK; [2021-09-22T16:42:35.719Z] unset SSH_AGENT_PID; [2021-09-22T16:42:35.719Z] echo Agent pid 21 killed; [2021-09-22T16:42:35.741Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-22T16:42:36.094Z] + git semver [Pipeline] } [2021-09-22T16:42:36.110Z] $ docker stop --time=1 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e [2021-09-22T16:42:37.321Z] $ docker rm -f 334053ebd1ef4249b85ea690b5d35347b8949c8d878057c52ce9a9e6bec6f25e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:37.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-22T16:42:37.723Z] . [Pipeline] withDockerContainer [2021-09-22T16:42:37.813Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:42:37.861Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-09-22T16:42:38.244Z] $ docker top 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-22T16:42:38.393Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-22T16:42:38.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-22T16:42:38.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-22T16:42:38.518Z] $ docker exec 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee ssh-agent [2021-09-22T16:42:38.635Z] SSH_AUTH_SOCK=/tmp/ssh-EAFJG0jYNjdg/agent.13 [2021-09-22T16:42:38.635Z] SSH_AGENT_PID=20 [2021-09-22T16:42:38.644Z] Running ssh-add (command line suppressed) [2021-09-22T16:42:38.754Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_850959481083793671.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_850959481083793671.key) [2021-09-22T16:42:38.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-22T16:42:39.102Z] + git semver push [2021-09-22T16:42:39.102Z] # -> Open(): unable to determine branch for HEAD [2021-09-22T16:42:39.102Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-22T16:42:39.102Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-22T16:42:39.102Z] # $SEMVER_REMOTE_NAME = origin [2021-09-22T16:42:39.102Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-22T16:42:39.102Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-22T16:42:39.102Z] # $SEMVER_BRANCH = main [2021-09-22T16:42:39.102Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-09-22T16:42:41.056Z] $ docker exec --env ******** --env ******** 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee ssh-agent -k [2021-09-22T16:42:41.160Z] unset SSH_AUTH_SOCK; [2021-09-22T16:42:41.160Z] unset SSH_AGENT_PID; [2021-09-22T16:42:41.161Z] echo Agent pid 20 killed; [2021-09-22T16:42:41.179Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-22T16:42:41.536Z] + git semver [Pipeline] } [2021-09-22T16:42:41.559Z] $ docker stop --time=1 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee [2021-09-22T16:42:42.760Z] $ docker rm -f 9ffa81389217c24c57e9bf8033212c8b2e8af7e4d33564eb3af57af2f51801ee [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-09-22T16:42:43.679Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:42:43.999Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:42:44.594Z] ---> package-listing.sh [2021-09-22T16:42:44.594Z] ++ facter osfamily [2021-09-22T16:42:44.594Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-22T16:42:44.863Z] + OS_FAMILY=redhat [2021-09-22T16:42:44.863Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-09-22T16:42:44.863Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-22T16:42:44.863Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-22T16:42:44.863Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-22T16:42:44.863Z] + PACKAGES=/tmp/packages_start.txt [2021-09-22T16:42:44.863Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-09-22T16:42:44.863Z] + PACKAGES=/tmp/packages_end.txt [2021-09-22T16:42:44.863Z] + case "${OS_FAMILY}" in [2021-09-22T16:42:44.863Z] + rpm -qa [2021-09-22T16:42:44.863Z] + sort [2021-09-22T16:42:45.819Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-22T16:42:45.819Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-22T16:42:45.819Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-22T16:42:45.819Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-09-22T16:42:45.819Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-09-22T16:42:45.819Z] + 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-09-22T16:42:45.835Z] 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-09-22T16:42:46.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:46.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T16:42:46.717Z] [2021-09-22T16:42:46.717Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-22T16:42:47.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T16:42:47.044Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-22T16:42:47.044Z] b4d181a07f80: Pulling fs layer [2021-09-22T16:42:47.044Z] a1111a8f2ec3: Pulling fs layer [2021-09-22T16:42:47.044Z] ed53099fbce6: Pulling fs layer [2021-09-22T16:42:47.044Z] dc539afda2c1: Pulling fs layer [2021-09-22T16:42:47.044Z] 77bc0d833cb6: Pulling fs layer [2021-09-22T16:42:47.044Z] 9065ff56babe: Pulling fs layer [2021-09-22T16:42:47.044Z] d287ab97295c: Pulling fs layer [2021-09-22T16:42:47.044Z] 77bc0d833cb6: Waiting [2021-09-22T16:42:47.044Z] 9065ff56babe: Waiting [2021-09-22T16:42:47.044Z] d287ab97295c: Waiting [2021-09-22T16:42:47.044Z] dc539afda2c1: Waiting [2021-09-22T16:42:47.309Z] a1111a8f2ec3: Verifying Checksum [2021-09-22T16:42:47.309Z] a1111a8f2ec3: Download complete [2021-09-22T16:42:47.309Z] dc539afda2c1: Verifying Checksum [2021-09-22T16:42:47.309Z] dc539afda2c1: Download complete [2021-09-22T16:42:47.892Z] 77bc0d833cb6: Verifying Checksum [2021-09-22T16:42:47.892Z] 77bc0d833cb6: Download complete [2021-09-22T16:42:47.892Z] ed53099fbce6: Verifying Checksum [2021-09-22T16:42:47.892Z] ed53099fbce6: Download complete [2021-09-22T16:42:47.892Z] 9065ff56babe: Verifying Checksum [2021-09-22T16:42:47.892Z] 9065ff56babe: Download complete [2021-09-22T16:42:48.477Z] b4d181a07f80: Verifying Checksum [2021-09-22T16:42:48.477Z] b4d181a07f80: Download complete [2021-09-22T16:42:49.901Z] b4d181a07f80: Pull complete [2021-09-22T16:42:49.901Z] a1111a8f2ec3: Pull complete [2021-09-22T16:42:50.484Z] ed53099fbce6: Pull complete [2021-09-22T16:42:50.484Z] dc539afda2c1: Pull complete [2021-09-22T16:42:50.751Z] 77bc0d833cb6: Pull complete [2021-09-22T16:42:50.751Z] 9065ff56babe: Pull complete [2021-09-22T16:42:52.703Z] d287ab97295c: Verifying Checksum [2021-09-22T16:42:52.703Z] d287ab97295c: Download complete [2021-09-22T16:42:58.079Z] d287ab97295c: Pull complete [2021-09-22T16:42:58.079Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-22T16:42:58.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-22T16:42:58.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-22T16:42:58.304Z] prd-centos7-docker-4c-2g-839 does not seem to be running inside a container [2021-09-22T16:42:58.397Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-09-22T16:43:00.684Z] $ docker top 019de950d6bd507f4332913774b6ba2e6ab14aa15bd0adde060eaa959cfd2efd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-22T16:43:01.092Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-22T16:43:01.401Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-22T16:43:01.715Z] + ls /var/log/sa-host [2021-09-22T16:43:01.716Z] + sadf -c /var/log/sa-host/sa05 [2021-09-22T16:43:01.716Z] file_magic: OK [2021-09-22T16:43:01.716Z] HZ: Using current value: 100 [2021-09-22T16:43:01.716Z] file_header: OK [2021-09-22T16:43:01.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-09-22T16:43:01.716Z] Statistics: [2021-09-22T16:43:01.716Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-22T16:43:01.716Z] File successfully converted to sysstat format version 12.0.3 [2021-09-22T16:43:01.716Z] + sadf -c /var/log/sa-host/sa22 [2021-09-22T16:43:01.716Z] file_magic: OK [2021-09-22T16:43:01.716Z] HZ: Using current value: 100 [2021-09-22T16:43:01.716Z] file_header: OK [2021-09-22T16:43:01.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-09-22T16:43:01.716Z] Statistics: [2021-09-22T16:43:01.716Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-22T16:43:01.716Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-22T16:43:01.880Z] provisioning config files... [2021-09-22T16:43:01.893Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2309342580497099168tmp [Pipeline] { [Pipeline] echo [2021-09-22T16:43:01.917Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:43:02.222Z] ---> create-netrc.sh [Pipeline] } [2021-09-22T16:43:02.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:43:02.611Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-22T16:43:02.626Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:43:02.933Z] ---> sudo-logs.sh [2021-09-22T16:43:02.933Z] Archiving 'sudo' log.. [2021-09-22T16:43:03.199Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-839.vexxhost.local: Name or service not known [2021-09-22T16:43:03.199Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-839.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-22T16:43:03.240Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:43:03.546Z] ---> job-cost.sh [2021-09-22T16:43:03.546Z] lf-activate-venv: SKIPPING [2021-09-22T16:43:03.546Z] DEBUG: total: 0.10999999940395355 [2021-09-22T16:43:03.546Z] INFO: Retrieving Stack Cost... [2021-09-22T16:43:04.503Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-22T16:43:05.086Z] INFO: Archiving Costs [Pipeline] echo [2021-09-22T16:43:05.106Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-22T16:43:05.419Z] ---> logs-deploy.sh [2021-09-22T16:43:05.420Z] lf-activate-venv: SKIPPING [2021-09-22T16:43:05.420Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/29 [2021-09-22T16:43:05.420Z] INFO: archiving workspace using pattern(s): [2021-09-22T16:43:06.002Z] Archives upload complete. [2021-09-22T16:43:06.274Z] INFO: archiving logs to Nexus