Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18ff6e1b21abe9b172b032eb3d702546a95b1a7c 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-ssh6206229061158741631.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-ssh1662185081222169856.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-ssh4803865837412741726.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-ssh660176275843965582.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8061833723792748714.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-functions-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2011’ Running on prd-centos7-docker-4c-2g-2013 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-ssh1909086908458564788.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 18ff6e1b21abe9b172b032eb3d702546a95b1a7c (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 18ff6e1b21abe9b172b032eb3d702546a95b1a7c # timeout=10 Commit message: "feat(sdk): Custom Trigger Multi-Pipeline Support (#941)" > git rev-list --no-walk a082b2dad36e6c0ca2a100859279ca83a0af4f9e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-09-10T20:26:44.659Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-09-10T20:26:44.756Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-09-10T20:26:47.079Z] ========================================================= [2021-09-10T20:26:47.079Z] EdgeX Global Pipelines Version Info [2021-09-10T20:26:47.079Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:26:48.345Z] ------------------- [2021-09-10T20:26:48.345Z] stable info: [2021-09-10T20:26:48.345Z] ------------------- [2021-09-10T20:26:48.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-09-10T20:26:48.345Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-10T20:26:48.345Z] Message: update stable to v1.0.205 [2021-09-10T20:26:48.936Z] ------------------- [2021-09-10T20:26:48.936Z] experimental info: [2021-09-10T20:26:48.936Z] ------------------- [2021-09-10T20:26:48.936Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-09-10T20:26:48.936Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-09-10T20:26:48.936Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-09-10T20:26:51.165Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-09-10T20:26:51.190Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-09-10T20:26:51.216Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-09-10T20:26:51.241Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-09-10T20:26:51.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-09-10T20:26:51.294Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-09-10T20:26:51.320Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-09-10T20:26:51.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-09-10T20:26:51.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-09-10T20:26:51.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-09-10T20:26:53.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-09-10T20:26:53.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-09-10T20:26:53.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-functions-sdk [Pipeline] echo [2021-09-10T20:26:53.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-09-10T20:26:53.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-09-10T20:26:53.520Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T20:26:53.545Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T20:26:53.569Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T20:26:53.593Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-09-10T20:26:53.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-09-10T20:26:53.642Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-09-10T20:26:55.682Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-09-10T20:26:55.708Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-09-10T20:26:55.734Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-09-10T20:26:55.758Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-09-10T20:26:55.783Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-09-10T20:26:55.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-09-10T20:26:55.837Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-09-10T20:26:55.862Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-09-10T20:26:55.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-09-10T20:26:55.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18ff6e1b21abe9b172b032eb3d702546a95b1a7c [Pipeline] echo [2021-09-10T20:26:55.933Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18ff6e1 [Pipeline] echo [2021-09-10T20:26:57.796Z] [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-10T20:26:58.376Z] + git log --format=format:%s -1 18ff6e1b21abe9b172b032eb3d702546a95b1a7c [Pipeline] echo [2021-09-10T20:26:58.612Z] GIT_COMMIT: 18ff6e1b21abe9b172b032eb3d702546a95b1a7c, Commit Message: feat(sdk): Custom Trigger Multi-Pipeline Support (#941) [Pipeline] echo [2021-09-10T20:26:58.626Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:27:02.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T20:27:02.675Z] [2021-09-10T20:27:02.675Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:27:03.021Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T20:27:03.022Z] latest: Pulling from edgex-devops/git-semver [2021-09-10T20:27:03.022Z] 31603596830f: Pulling fs layer [2021-09-10T20:27:03.022Z] 04fac38145f0: Pulling fs layer [2021-09-10T20:27:03.022Z] 701f6daf10bf: Pulling fs layer [2021-09-10T20:27:03.022Z] 24f72da36158: Pulling fs layer [2021-09-10T20:27:03.022Z] 24f72da36158: Waiting [2021-09-10T20:27:03.022Z] 04fac38145f0: Verifying Checksum [2021-09-10T20:27:03.022Z] 04fac38145f0: Download complete [2021-09-10T20:27:03.289Z] 31603596830f: Verifying Checksum [2021-09-10T20:27:03.289Z] 31603596830f: Download complete [2021-09-10T20:27:03.560Z] 24f72da36158: Verifying Checksum [2021-09-10T20:27:03.560Z] 24f72da36158: Download complete [2021-09-10T20:27:03.560Z] 31603596830f: Pull complete [2021-09-10T20:27:03.560Z] 04fac38145f0: Pull complete [2021-09-10T20:27:03.560Z] 701f6daf10bf: Verifying Checksum [2021-09-10T20:27:03.560Z] 701f6daf10bf: Download complete [2021-09-10T20:27:04.144Z] 701f6daf10bf: Pull complete [2021-09-10T20:27:04.412Z] 24f72da36158: Pull complete [2021-09-10T20:27:04.412Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-09-10T20:27:04.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T20:27:04.412Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-09-10T20:27:04.510Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:27:04.575Z] $ 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-10T20:27:06.451Z] $ docker top 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T20:27:06.584Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T20:27:06.584Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T20:27:06.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T20:27:06.706Z] $ docker exec 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 ssh-agent [2021-09-10T20:27:06.832Z] SSH_AUTH_SOCK=/tmp/ssh-vcKxC7dTnCQj/agent.14 [2021-09-10T20:27:06.832Z] SSH_AGENT_PID=21 [2021-09-10T20:27:06.846Z] Running ssh-add (command line suppressed) [2021-09-10T20:27:06.957Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8566030259536594306.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_8566030259536594306.key) [2021-09-10T20:27:06.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T20:27:07.311Z] + git tag --points-at HEAD [Pipeline] } [2021-09-10T20:27:07.328Z] $ docker exec --env ******** --env ******** 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 ssh-agent -k [2021-09-10T20:27:07.431Z] unset SSH_AUTH_SOCK; [2021-09-10T20:27:07.431Z] unset SSH_AGENT_PID; [2021-09-10T20:27:07.431Z] echo Agent pid 21 killed; [2021-09-10T20:27:07.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-09-10T20:27:07.495Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T20:27:07.496Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T20:27:07.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T20:27:07.622Z] $ docker exec 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 ssh-agent [2021-09-10T20:27:07.726Z] SSH_AUTH_SOCK=/tmp/ssh-xCEnhtzfizrx/agent.56 [2021-09-10T20:27:07.726Z] SSH_AGENT_PID=62 [2021-09-10T20:27:07.737Z] Running ssh-add (command line suppressed) [2021-09-10T20:27:07.837Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1113614640969167547.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1113614640969167547.key) [2021-09-10T20:27:09.632Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T20:27:09.960Z] + git semver init [2021-09-10T20:27:09.960Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T20:27:09.960Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T20:27:09.960Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T20:27:09.960Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T20:27:09.960Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T20:27:09.960Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T20:27:09.960Z] # $SEMVER_BRANCH = main [2021-09-10T20:27:09.960Z] # $SEMVER_TEMP = /tmp/semver-418862786 [2021-09-10T20:27:09.960Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-09-10T20:27:12.546Z] # '/tmp/semver-418862786' -> '/w/workspace/oundry_app-functions-sdk-go_main/.semver' [2021-09-10T20:27:12.546Z] # -> Force: false [2021-09-10T20:27:12.546Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-09-10T20:27:12.557Z] $ docker exec --env ******** --env ******** 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 ssh-agent -k [2021-09-10T20:27:12.659Z] unset SSH_AUTH_SOCK; [2021-09-10T20:27:12.659Z] unset SSH_AGENT_PID; [2021-09-10T20:27:12.659Z] echo Agent pid 62 killed; [2021-09-10T20:27:12.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T20:27:14.781Z] + git semver [Pipeline] } [2021-09-10T20:27:14.800Z] $ docker stop --time=1 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 [2021-09-10T20:27:16.161Z] $ docker rm -f 611187aacf0f694d980af63c8f5344cb943487b2f70e3d39c95acbaae2a4faa9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T20:27:16.562Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-09-10T20:27:18.708Z] Stashed 1 file(s) [Pipeline] echo [2021-09-10T20:27:18.712Z] [edgeXSemver]: initialized semver on version 2.0.2-dev.9 [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-10T20:27:33.969Z] Still waiting to schedule task [2021-09-10T20:27:33.969Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-09-10T20:27:33.973Z] Still waiting to schedule task [2021-09-10T20:27:33.973Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2012’ [2021-09-10T20:31:03.534Z] Running on prd-centos7-docker-4c-2g-2015 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-09-10T20:31:03.559Z] Running in /w/workspace/app-functions-sdk-go/21 [Pipeline] { [Pipeline] checkout [2021-09-10T20:31:03.886Z] The recommended git tool is: git [2021-09-10T20:31:20.442Z] using credential edgex-jenkins-ssh [2021-09-10T20:31:20.454Z] Cloning the remote Git repository [2021-09-10T20:31:20.481Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T20:31:20.552Z] > git init /w/workspace/app-functions-sdk-go/21 # timeout=10 [2021-09-10T20:31:20.587Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T20:31:20.588Z] > git --version # timeout=10 [2021-09-10T20:31:20.599Z] > git --version # 'git version 2.24.4' [2021-09-10T20:31:20.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T20:31:20.638Z] [INFO] Currently running in a labeled security context [2021-09-10T20:31:20.638Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-09-10T20:31:20.639Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-functions-sdk-go/21@tmp/jenkins-gitclient-ssh2368273974341243343.key [2021-09-10T20:31:20.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T20:31:22.105Z] Avoid second fetch [2021-09-10T20:31:22.106Z] Checking out Revision 18ff6e1b21abe9b172b032eb3d702546a95b1a7c (main) [2021-09-10T20:31:22.086Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T20:31:22.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T20:31:22.112Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T20:31:22.118Z] > git checkout -f 18ff6e1b21abe9b172b032eb3d702546a95b1a7c # timeout=10 [2021-09-10T20:31:32.134Z] Commit message: "feat(sdk): Custom Trigger Multi-Pipeline Support (#941)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-10T20:31:35.600Z] ========================================================= [2021-09-10T20:31:35.601Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-09-10T20:31:35.601Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-10T20:31:37.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-10T20:31:37.738Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-09-10T20:31:37.738Z] 540db60ca938: Pulling fs layer [2021-09-10T20:31:37.738Z] adcc1eea9eea: Pulling fs layer [2021-09-10T20:31:37.738Z] 4c4ab2625f07: Pulling fs layer [2021-09-10T20:31:37.738Z] db62176df00c: Pulling fs layer [2021-09-10T20:31:37.738Z] 3b30891b0d05: Pulling fs layer [2021-09-10T20:31:37.738Z] 06b49ca38bd5: Pulling fs layer [2021-09-10T20:31:37.738Z] c788192a36de: Pulling fs layer [2021-09-10T20:31:37.738Z] a77e37c0d609: Pulling fs layer [2021-09-10T20:31:37.738Z] c3185cebc471: Pulling fs layer [2021-09-10T20:31:37.738Z] db62176df00c: Waiting [2021-09-10T20:31:37.738Z] 3b30891b0d05: Waiting [2021-09-10T20:31:37.738Z] 06b49ca38bd5: Waiting [2021-09-10T20:31:37.738Z] c788192a36de: Waiting [2021-09-10T20:31:37.738Z] a77e37c0d609: Waiting [2021-09-10T20:31:37.738Z] c3185cebc471: Waiting [2021-09-10T20:31:38.004Z] 4c4ab2625f07: Verifying Checksum [2021-09-10T20:31:38.004Z] 4c4ab2625f07: Download complete [2021-09-10T20:31:38.004Z] adcc1eea9eea: Verifying Checksum [2021-09-10T20:31:38.004Z] adcc1eea9eea: Download complete [2021-09-10T20:31:38.004Z] 3b30891b0d05: Verifying Checksum [2021-09-10T20:31:38.004Z] 3b30891b0d05: Download complete [2021-09-10T20:31:38.004Z] 06b49ca38bd5: Verifying Checksum [2021-09-10T20:31:38.004Z] 06b49ca38bd5: Download complete [2021-09-10T20:31:38.004Z] c788192a36de: Verifying Checksum [2021-09-10T20:31:38.004Z] c788192a36de: Download complete [2021-09-10T20:31:38.004Z] 540db60ca938: Verifying Checksum [2021-09-10T20:31:38.004Z] 540db60ca938: Download complete [2021-09-10T20:31:38.276Z] 540db60ca938: Pull complete [2021-09-10T20:31:38.276Z] adcc1eea9eea: Pull complete [2021-09-10T20:31:38.541Z] 4c4ab2625f07: Pull complete [2021-09-10T20:31:38.541Z] a77e37c0d609: Verifying Checksum [2021-09-10T20:31:38.541Z] a77e37c0d609: Download complete [2021-09-10T20:31:42.849Z] c3185cebc471: Verifying Checksum [2021-09-10T20:31:42.849Z] c3185cebc471: Download complete [2021-09-10T20:31:42.849Z] db62176df00c: Verifying Checksum [2021-09-10T20:31:42.849Z] db62176df00c: Download complete [2021-09-10T20:31:46.218Z] db62176df00c: Pull complete [2021-09-10T20:31:46.218Z] 3b30891b0d05: Pull complete [2021-09-10T20:31:46.218Z] 06b49ca38bd5: Pull complete [2021-09-10T20:31:46.218Z] c788192a36de: Pull complete [2021-09-10T20:31:46.218Z] a77e37c0d609: Pull complete [2021-09-10T20:31:49.258Z] c3185cebc471: Pull complete [2021-09-10T20:31:49.258Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-09-10T20:31:49.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-09-10T20:31:49.258Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2021-09-10T20:31:51.218Z] + 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-10T20:31:53.147Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-10T20:31:53.147Z] . [Pipeline] withDockerContainer [2021-09-10T20:31:53.241Z] prd-centos7-docker-4c-2g-2015 does not seem to be running inside a container [2021-09-10T20:31:53.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/21 -v /w/workspace/app-functions-sdk-go/21:/w/workspace/app-functions-sdk-go/21:rw,z -v /w/workspace/app-functions-sdk-go/21@tmp:/w/workspace/app-functions-sdk-go/21@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-10T20:31:55.334Z] $ docker top bfb624ffa56f2e80deb8da7ec6e8b2a93b319e014e0fdc43e511dd68c59eb454 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T20:31:55.758Z] + go version [2021-09-10T20:31:55.758Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-09-10T20:31:55.772Z] $ docker stop --time=1 bfb624ffa56f2e80deb8da7ec6e8b2a93b319e014e0fdc43e511dd68c59eb454 [2021-09-10T20:31:57.614Z] $ docker rm -f bfb624ffa56f2e80deb8da7ec6e8b2a93b319e014e0fdc43e511dd68c59eb454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:32:01.696Z] + docker inspect -f . ci-base-image-x86_64 [2021-09-10T20:32:01.696Z] . [Pipeline] withDockerContainer [2021-09-10T20:32:01.794Z] prd-centos7-docker-4c-2g-2015 does not seem to be running inside a container [2021-09-10T20:32:01.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/21 -v /w/workspace/app-functions-sdk-go/21:/w/workspace/app-functions-sdk-go/21:rw,z -v /w/workspace/app-functions-sdk-go/21@tmp:/w/workspace/app-functions-sdk-go/21@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-10T20:32:03.853Z] $ docker top dfdb71ffc3daec68cc04d9d5e800b9922f35ede233232e43d5e72e8965a072ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-10T20:32:07.930Z] + make test [2021-09-10T20:32:07.930Z] make -C ./app-service-template build [2021-09-10T20:32:07.930Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:32:07.930Z] go mod tidy [2021-09-10T20:32:07.930Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-10T20:32:07.930Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-10T20:32:07.930Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-10T20:32:07.930Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-10T20:32:07.930Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-10T20:32:07.930Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-10T20:32:07.930Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-10T20:32:07.930Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-10T20:32:07.930Z] go: downloading golang.org/x/text v0.3.2 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-10T20:32:07.930Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-10T20:32:07.930Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-10T20:32:07.930Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-10T20:32:07.930Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-10T20:32:07.930Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-10T20:32:07.930Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/kr/text v0.1.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-10T20:32:07.930Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-10T20:32:07.930Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-10T20:32:07.930Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-10T20:32:07.930Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-10T20:32:07.930Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-10T20:32:07.930Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-10T20:32:07.930Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-10T20:32:07.930Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-10T20:32:07.930Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-10T20:32:07.930Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-10T20:32:07.930Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-10T20:32:07.930Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-10T20:32:07.930Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-10T20:32:07.930Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-10T20:32:07.930Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-10T20:32:07.930Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-10T20:32:07.930Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-10T20:32:07.930Z] 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-10T20:32:09.897Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2016 in /w/workspace/oundry_app-functions-sdk-go_main [Pipeline] { [Pipeline] ws [2021-09-10T20:32:09.917Z] Running in /w/workspace/app-functions-sdk-go/21 [Pipeline] { [Pipeline] checkout [2021-09-10T20:32:10.113Z] The recommended git tool is: git [2021-09-10T20:32:19.304Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:32:19.304Z] make -C ./app-service-template test [2021-09-10T20:32:19.304Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:32:19.304Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-10T20:32:27.375Z] ok new-app-service 0.017s coverage: 48.1% of statements [2021-09-10T20:32:27.375Z] ? new-app-service/config [no test files] [2021-09-10T20:32:27.375Z] ok new-app-service/functions 0.007s [2021-09-10T20:32:27.375Z] CGO_ENABLED=1 go vet ./... [2021-09-10T20:32:33.524Z] gofmt -l . [2021-09-10T20:32:33.524Z] [ "`gofmt -l .`" = "" ] [2021-09-10T20:32:33.524Z] ./bin/test-attribution-txt.sh [2021-09-10T20:32:33.524Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:32:33.524Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-10T20:32:35.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-10T20:32:35.444Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 62.8% of statements [2021-09-10T20:32:35.444Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 93.2% of statements [2021-09-10T20:32:35.444Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-10T20:32:35.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.019s coverage: 61.8% of statements [2021-09-10T20:32:35.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-10T20:32:35.722Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.007s [2021-09-10T20:32:37.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.066s coverage: 75.2% of statements [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-10T20:32:37.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.3% of statements [2021-09-10T20:32:37.552Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-10T20:32:37.552Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.008s coverage: 10.5% of statements [2021-09-10T20:32:43.618Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.050s coverage: 77.0% of statements [2021-09-10T20:32:43.618Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-10T20:32:43.618Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 12.5% of statements [2021-09-10T20:32:43.618Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.007s coverage: 27.3% of statements [2021-09-10T20:32:43.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-10T20:32:43.619Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-10T20:32:43.619Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 51.4% of statements [2021-09-10T20:32:43.784Z] using credential edgex-jenkins-ssh [2021-09-10T20:32:43.805Z] Cloning the remote Git repository [2021-09-10T20:32:45.572Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T20:32:47.437Z] > git init /w/workspace/app-functions-sdk-go/21 # timeout=10 [2021-09-10T20:32:47.560Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-09-10T20:32:47.561Z] > git --version # timeout=10 [2021-09-10T20:32:47.587Z] > git --version # 'git version 2.17.1' [2021-09-10T20:32:47.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-09-10T20:32:47.683Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T20:32:51.711Z] Avoid second fetch [2021-09-10T20:32:51.712Z] Checking out Revision 18ff6e1b21abe9b172b032eb3d702546a95b1a7c (main) [2021-09-10T20:32:51.339Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-09-10T20:32:51.363Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-09-10T20:32:51.732Z] > git config core.sparsecheckout # timeout=10 [2021-09-10T20:32:51.749Z] > git checkout -f 18ff6e1b21abe9b172b032eb3d702546a95b1a7c # timeout=10 [2021-09-10T20:33:01.921Z] Commit message: "feat(sdk): Custom Trigger Multi-Pipeline Support (#941)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2021-09-10T20:33:04.451Z] ========================================================= [2021-09-10T20:33:04.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-09-10T20:33:04.451Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2021-09-10T20:33:06.271Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.035s coverage: 77.3% of statements [2021-09-10T20:33:06.272Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-09-10T20:33:06.272Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-10T20:33:06.272Z] gofmt -l . [2021-09-10T20:33:06.272Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-10T20:33:06.422Z] $ docker stop --time=1 dfdb71ffc3daec68cc04d9d5e800b9922f35ede233232e43d5e72e8965a072ed [2021-09-10T20:33:06.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T20:33:09.014Z] $ docker rm -f dfdb71ffc3daec68cc04d9d5e800b9922f35ede233232e43d5e72e8965a072ed [2021-09-10T20:33:09.020Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-09-10T20:33:09.020Z] 595b0fe564bb: Pulling fs layer [2021-09-10T20:33:09.020Z] 24495759ef45: Pulling fs layer [2021-09-10T20:33:09.020Z] d148012ef14d: Pulling fs layer [2021-09-10T20:33:09.020Z] e90a11edd702: Pulling fs layer [2021-09-10T20:33:09.020Z] d77568369979: Pulling fs layer [2021-09-10T20:33:09.020Z] fc1c9f9a7f3b: Pulling fs layer [2021-09-10T20:33:09.020Z] 170f2ba95c9a: Pulling fs layer [2021-09-10T20:33:09.020Z] 97ac5df62f85: Pulling fs layer [2021-09-10T20:33:09.020Z] d77568369979: Waiting [2021-09-10T20:33:09.020Z] fc1c9f9a7f3b: Waiting [2021-09-10T20:33:09.020Z] 170f2ba95c9a: Waiting [2021-09-10T20:33:09.020Z] 97ac5df62f85: Waiting [2021-09-10T20:33:09.020Z] e90a11edd702: Waiting [2021-09-10T20:33:09.020Z] d148012ef14d: Verifying Checksum [2021-09-10T20:33:09.020Z] d148012ef14d: Download complete [2021-09-10T20:33:09.020Z] 24495759ef45: Verifying Checksum [2021-09-10T20:33:09.020Z] 24495759ef45: Download complete [2021-09-10T20:33:09.020Z] d77568369979: Verifying Checksum [2021-09-10T20:33:09.020Z] d77568369979: Download complete [2021-09-10T20:33:09.020Z] fc1c9f9a7f3b: Verifying Checksum [2021-09-10T20:33:09.020Z] fc1c9f9a7f3b: Download complete [2021-09-10T20:33:09.020Z] 170f2ba95c9a: Download complete [2021-09-10T20:33:09.020Z] 595b0fe564bb: Verifying Checksum [2021-09-10T20:33:09.020Z] 595b0fe564bb: Download complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T20:33:09.647Z] 595b0fe564bb: Pull complete [2021-09-10T20:33:09.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-10T20:33:09.987Z] 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-10T20:33:12.354Z] 24495759ef45: Pull complete [2021-09-10T20:33:12.354Z] d148012ef14d: Pull complete [2021-09-10T20:33:12.354Z] 97ac5df62f85: Verifying Checksum [2021-09-10T20:33:12.354Z] 97ac5df62f85: Download complete [2021-09-10T20:33:12.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T20:33:12.524Z] [2021-09-10T20:33:12.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:33:12.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T20:33:12.851Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-10T20:33:12.851Z] b4d181a07f80: Pulling fs layer [2021-09-10T20:33:12.851Z] a1111a8f2ec3: Pulling fs layer [2021-09-10T20:33:12.851Z] ed53099fbce6: Pulling fs layer [2021-09-10T20:33:12.851Z] dc539afda2c1: Pulling fs layer [2021-09-10T20:33:12.851Z] 77bc0d833cb6: Pulling fs layer [2021-09-10T20:33:12.851Z] 9065ff56babe: Pulling fs layer [2021-09-10T20:33:12.851Z] d287ab97295c: Pulling fs layer [2021-09-10T20:33:12.851Z] dc539afda2c1: Waiting [2021-09-10T20:33:12.851Z] 77bc0d833cb6: Waiting [2021-09-10T20:33:12.851Z] 9065ff56babe: Waiting [2021-09-10T20:33:12.851Z] d287ab97295c: Waiting [2021-09-10T20:33:12.954Z] e90a11edd702: Verifying Checksum [2021-09-10T20:33:12.955Z] e90a11edd702: Download complete [2021-09-10T20:33:13.433Z] a1111a8f2ec3: Verifying Checksum [2021-09-10T20:33:13.433Z] a1111a8f2ec3: Download complete [2021-09-10T20:33:13.433Z] dc539afda2c1: Verifying Checksum [2021-09-10T20:33:13.433Z] dc539afda2c1: Download complete [2021-09-10T20:33:13.433Z] 77bc0d833cb6: Verifying Checksum [2021-09-10T20:33:13.433Z] 77bc0d833cb6: Download complete [2021-09-10T20:33:13.698Z] 9065ff56babe: Verifying Checksum [2021-09-10T20:33:13.698Z] 9065ff56babe: Download complete [2021-09-10T20:33:13.698Z] ed53099fbce6: Verifying Checksum [2021-09-10T20:33:13.698Z] ed53099fbce6: Download complete [2021-09-10T20:33:14.652Z] b4d181a07f80: Verifying Checksum [2021-09-10T20:33:14.652Z] b4d181a07f80: Download complete [2021-09-10T20:33:15.621Z] b4d181a07f80: Pull complete [2021-09-10T20:33:15.621Z] a1111a8f2ec3: Pull complete [2021-09-10T20:33:16.207Z] ed53099fbce6: Pull complete [2021-09-10T20:33:16.207Z] dc539afda2c1: Pull complete [2021-09-10T20:33:16.475Z] 77bc0d833cb6: Pull complete [2021-09-10T20:33:16.741Z] 9065ff56babe: Pull complete [2021-09-10T20:33:19.110Z] d287ab97295c: Verifying Checksum [2021-09-10T20:33:19.110Z] d287ab97295c: Download complete [2021-09-10T20:33:22.543Z] d287ab97295c: Pull complete [2021-09-10T20:33:22.543Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-10T20:33:22.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T20:33:22.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-10T20:33:22.625Z] prd-centos7-docker-4c-2g-2015 does not seem to be running inside a container [2021-09-10T20:33:22.682Z] $ 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/21 -v /w/workspace/app-functions-sdk-go/21:/w/workspace/app-functions-sdk-go/21:rw,z -v /w/workspace/app-functions-sdk-go/21@tmp:/w/workspace/app-functions-sdk-go/21@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-10T20:33:23.840Z] e90a11edd702: Pull complete [2021-09-10T20:33:23.841Z] d77568369979: Pull complete [2021-09-10T20:33:24.117Z] fc1c9f9a7f3b: Pull complete [2021-09-10T20:33:24.733Z] 170f2ba95c9a: Pull complete [2021-09-10T20:33:24.847Z] $ docker top 077c4165f589e8c515fc47f2349e25ed7b90ab2a5edde7901464f2bb2f8a3710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:33:28.959Z] ---> job-cost.sh [2021-09-10T20:33:28.959Z] lf-activate-venv: SKIPPING [2021-09-10T20:33:28.959Z] INFO: No Stack... [2021-09-10T20:33:29.915Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-10T20:33:30.181Z] INFO: Archiving Costs [Pipeline] sh [2021-09-10T20:33:30.503Z] + cat /w/workspace/app-functions-sdk-go/21/archives/cost.csv [2021-09-10T20:33:30.503Z] + cut -d, -f6 [Pipeline] lock [2021-09-10T20:33:30.544Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] [2021-09-10T20:33:30.562Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] did not exist. Created. [2021-09-10T20:33:30.562Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [2021-09-10T20:33:32.279Z] 97ac5df62f85: Pull complete [2021-09-10T20:33:32.279Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-09-10T20:33:32.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-09-10T20:33:32.279Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [Pipeline] sh [2021-09-10T20:33:32.590Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-09-10T20:33:32.626Z] Stashed 1 file(s) [Pipeline] } [2021-09-10T20:33:32.637Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-10T20:33:32.664Z] $ docker stop --time=1 077c4165f589e8c515fc47f2349e25ed7b90ab2a5edde7901464f2bb2f8a3710 [2021-09-10T20:33:32.692Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [2021-09-10T20:33:34.728Z] $ docker rm -f 077c4165f589e8c515fc47f2349e25ed7b90ab2a5edde7901464f2bb2f8a3710 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-09-10T20:33:36.880Z] + docker inspect -f . ci-base-image-arm64 [2021-09-10T20:33:36.881Z] . [Pipeline] withDockerContainer [2021-09-10T20:33:37.150Z] prd-ubuntu18.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container [2021-09-10T20:33:37.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/21 -v /w/workspace/app-functions-sdk-go/21:/w/workspace/app-functions-sdk-go/21:rw,z -v /w/workspace/app-functions-sdk-go/21@tmp:/w/workspace/app-functions-sdk-go/21@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-10T20:33:44.042Z] $ docker top 07ece542a0f902798b00de1cfd883162af9c20fdf81458fdb0dcb7fac2687083 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T20:33:45.071Z] + go version [2021-09-10T20:33:45.071Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-09-10T20:33:45.090Z] $ docker stop --time=1 07ece542a0f902798b00de1cfd883162af9c20fdf81458fdb0dcb7fac2687083 [2021-09-10T20:33:47.137Z] $ docker rm -f 07ece542a0f902798b00de1cfd883162af9c20fdf81458fdb0dcb7fac2687083 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:33:49.631Z] + docker inspect -f . ci-base-image-arm64 [2021-09-10T20:33:49.632Z] . [Pipeline] withDockerContainer [2021-09-10T20:33:49.986Z] prd-ubuntu18.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container [2021-09-10T20:33:50.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/21 -v /w/workspace/app-functions-sdk-go/21:/w/workspace/app-functions-sdk-go/21:rw,z -v /w/workspace/app-functions-sdk-go/21@tmp:/w/workspace/app-functions-sdk-go/21@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-10T20:33:51.866Z] $ docker top 6200894b9978f68c4f1d8c74eaee29add79449be67a279912817bc03090bf1ef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-09-10T20:33:52.838Z] + make test [2021-09-10T20:33:52.838Z] make -C ./app-service-template build [2021-09-10T20:33:52.838Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:33:52.838Z] go mod tidy [2021-09-10T20:33:54.278Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0 [2021-09-10T20:33:54.279Z] go: downloading github.com/google/uuid v1.3.0 [2021-09-10T20:33:54.279Z] go: downloading github.com/stretchr/testify v1.7.0 [2021-09-10T20:33:54.552Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0 [2021-09-10T20:33:54.552Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.0.1 [2021-09-10T20:33:54.552Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.0.0 [2021-09-10T20:33:54.552Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2021-09-10T20:33:54.552Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2021-09-10T20:33:54.552Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2021-09-10T20:33:54.825Z] go: downloading github.com/go-playground/validator/v10 v10.6.1 [2021-09-10T20:33:54.825Z] go: downloading github.com/go-kit/kit v0.9.0 [2021-09-10T20:33:54.825Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2021-09-10T20:33:54.825Z] go: downloading github.com/diegoholiveira/jsonlogic v1.0.1-0.20200220175622-ab7989be08b9 [2021-09-10T20:33:55.098Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2021-09-10T20:33:55.098Z] go: downloading github.com/stretchr/objx v0.1.0 [2021-09-10T20:33:55.098Z] go: downloading github.com/gorilla/mux v1.8.0 [2021-09-10T20:33:55.098Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2021-09-10T20:33:55.372Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.0.0 [2021-09-10T20:33:55.372Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0 [2021-09-10T20:33:55.372Z] go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 [2021-09-10T20:33:55.372Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2021-09-10T20:33:55.646Z] go: downloading github.com/hashicorp/consul/api v1.8.1 [2021-09-10T20:33:55.646Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2021-09-10T20:33:55.646Z] go: downloading github.com/pelletier/go-toml v1.9.2 [2021-09-10T20:33:55.646Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2021-09-10T20:33:55.646Z] go: downloading github.com/leodido/go-urn v1.2.0 [2021-09-10T20:33:55.646Z] go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 [2021-09-10T20:33:55.646Z] go: downloading golang.org/x/text v0.3.2 [2021-09-10T20:33:55.646Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2021-09-10T20:33:55.919Z] go: downloading github.com/go-playground/locales v0.13.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/gorilla/websocket v1.4.2 [2021-09-10T20:33:59.322Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2021-09-10T20:33:59.322Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/go-stack/stack v1.8.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/kr/pretty v0.2.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/x448/float16 v0.8.4 [2021-09-10T20:33:59.322Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2021-09-10T20:33:59.322Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2021-09-10T20:33:59.322Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2021-09-10T20:33:59.322Z] go: downloading github.com/hashicorp/serf v0.9.5 [2021-09-10T20:33:59.322Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2021-09-10T20:33:59.607Z] go: downloading github.com/hashicorp/consul/sdk v0.7.0 [2021-09-10T20:33:59.607Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2021-09-10T20:33:59.607Z] go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd [2021-09-10T20:33:59.883Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2021-09-10T20:33:59.883Z] go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2021-09-10T20:33:59.883Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2021-09-10T20:33:59.883Z] go: downloading github.com/kr/text v0.1.0 [2021-09-10T20:33:59.883Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2021-09-10T20:33:59.883Z] go: downloading github.com/fatih/color v1.9.0 [2021-09-10T20:33:59.883Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2021-09-10T20:34:00.160Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2021-09-10T20:34:00.160Z] go: downloading github.com/pkg/errors v0.8.1 [2021-09-10T20:34:00.160Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2021-09-10T20:34:00.160Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2021-09-10T20:34:00.160Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2021-09-10T20:34:00.160Z] go: downloading github.com/gomodule/redigo v2.0.0+incompatible [2021-09-10T20:34:00.160Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2021-09-10T20:34:00.160Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2021-09-10T20:34:00.438Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2021-09-10T20:34:00.438Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2021-09-10T20:34:00.438Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2021-09-10T20:34:00.438Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2021-09-10T20:34:00.438Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2021-09-10T20:34:00.438Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2021-09-10T20:34:00.438Z] go: downloading github.com/miekg/dns v1.1.26 [2021-09-10T20:34:00.438Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2021-09-10T20:34:00.717Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2021-09-10T20:34:00.717Z] go: downloading github.com/onsi/gomega v1.7.0 [2021-09-10T20:34:00.717Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2021-09-10T20:34:00.717Z] go: downloading golang.org/x/sync v0.0.0-20190423024810-112230192c58 [2021-09-10T20:34:00.993Z] go: downloading github.com/hpcloud/tail v1.0.0 [2021-09-10T20:34:00.993Z] go: downloading github.com/golang/protobuf v1.3.2 [2021-09-10T20:34:02.870Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2021-09-10T20:34:02.870Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2021-09-10T20:34:02.870Z] go: downloading github.com/fsnotify/fsnotify v1.4.7 [2021-09-10T20:34:02.871Z] 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-10T20:34:42.840Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:34:42.840Z] make -C ./app-service-template test [2021-09-10T20:34:42.840Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:34:42.840Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-09-10T20:35:15.615Z] ok new-app-service 0.045s coverage: 48.1% of statements [2021-09-10T20:35:15.615Z] ? new-app-service/config [no test files] [2021-09-10T20:35:15.615Z] ok new-app-service/functions 0.043s [2021-09-10T20:35:15.615Z] CGO_ENABLED=1 go vet ./... [2021-09-10T20:35:42.430Z] gofmt -l . [2021-09-10T20:35:42.430Z] [ "`gofmt -l .`" = "" ] [2021-09-10T20:35:42.430Z] ./bin/test-attribution-txt.sh [2021-09-10T20:35:44.406Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/21/app-service-template' [2021-09-10T20:35:44.407Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-09-10T20:35:45.850Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-09-10T20:35:56.039Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.092s coverage: 62.8% of statements [2021-09-10T20:35:56.039Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.064s coverage: 93.2% of statements [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-09-10T20:35:56.039Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.114s coverage: 61.8% of statements [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-09-10T20:35:56.039Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.062s [2021-09-10T20:35:56.039Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.193s coverage: 75.2% of statements [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-09-10T20:35:56.039Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-09-10T20:35:56.040Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-09-10T20:35:56.040Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.3% of statements [2021-09-10T20:35:56.040Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-09-10T20:35:56.040Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 10.5% of statements [2021-09-10T20:36:02.780Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.238s coverage: 77.0% of statements [2021-09-10T20:36:02.780Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-09-10T20:36:02.780Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.037s coverage: 12.5% of statements [2021-09-10T20:36:02.780Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.051s coverage: 27.3% of statements [2021-09-10T20:36:02.780Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-09-10T20:36:02.780Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-09-10T20:36:02.780Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.045s coverage: 51.4% of statements [2021-09-10T20:36:26.465Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.124s coverage: 77.3% of statements [2021-09-10T20:36:26.465Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.038s coverage: 94.4% of statements [2021-09-10T20:36:26.465Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-09-10T20:36:33.206Z] gofmt -l . [2021-09-10T20:36:33.206Z] [ "`gofmt -l .`" = "" ] [Pipeline] } [2021-09-10T20:36:33.220Z] $ docker stop --time=1 6200894b9978f68c4f1d8c74eaee29add79449be67a279912817bc03090bf1ef [2021-09-10T20:36:35.419Z] $ docker rm -f 6200894b9978f68c4f1d8c74eaee29add79449be67a279912817bc03090bf1ef [Pipeline] // withDockerContainer [Pipeline] sh [2021-09-10T20:36:37.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-09-10T20:36:38.015Z] Warning: overwriting stash ‘coverage-report’ [2021-09-10T20:36:38.850Z] 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-10T20:36:41.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T20:36:41.570Z] [2021-09-10T20:36:41.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:36:41.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T20:36:42.261Z] arm64: Pulling from edgex-lftools-log-publisher [2021-09-10T20:36:42.261Z] 448f6bf000e3: Pulling fs layer [2021-09-10T20:36:42.261Z] f757da607395: Pulling fs layer [2021-09-10T20:36:42.261Z] 05883995daec: Pulling fs layer [2021-09-10T20:36:42.261Z] 8603b9c90790: Pulling fs layer [2021-09-10T20:36:42.261Z] 1560dd03e051: Pulling fs layer [2021-09-10T20:36:42.261Z] 27f5ce0e4adf: Pulling fs layer [2021-09-10T20:36:42.261Z] c2d8d7efcc4b: Pulling fs layer [2021-09-10T20:36:42.261Z] 1560dd03e051: Waiting [2021-09-10T20:36:42.261Z] 27f5ce0e4adf: Waiting [2021-09-10T20:36:42.261Z] c2d8d7efcc4b: Waiting [2021-09-10T20:36:42.261Z] 8603b9c90790: Waiting [2021-09-10T20:36:44.161Z] f757da607395: Verifying Checksum [2021-09-10T20:36:44.161Z] f757da607395: Download complete [2021-09-10T20:36:44.161Z] 8603b9c90790: Verifying Checksum [2021-09-10T20:36:44.161Z] 8603b9c90790: Download complete [2021-09-10T20:36:44.161Z] 05883995daec: Verifying Checksum [2021-09-10T20:36:44.161Z] 05883995daec: Download complete [2021-09-10T20:36:44.161Z] 27f5ce0e4adf: Verifying Checksum [2021-09-10T20:36:44.161Z] 27f5ce0e4adf: Download complete [2021-09-10T20:36:44.161Z] 1560dd03e051: Download complete [2021-09-10T20:36:44.162Z] 448f6bf000e3: Download complete [2021-09-10T20:36:47.553Z] c2d8d7efcc4b: Verifying Checksum [2021-09-10T20:36:47.553Z] c2d8d7efcc4b: Download complete [2021-09-10T20:36:47.553Z] 448f6bf000e3: Pull complete [2021-09-10T20:36:47.826Z] f757da607395: Pull complete [2021-09-10T20:36:49.809Z] 05883995daec: Pull complete [2021-09-10T20:36:49.809Z] 8603b9c90790: Pull complete [2021-09-10T20:36:51.248Z] 1560dd03e051: Pull complete [2021-09-10T20:36:51.248Z] 27f5ce0e4adf: Pull complete [2021-09-10T20:37:07.016Z] c2d8d7efcc4b: Pull complete [2021-09-10T20:37:07.016Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-09-10T20:37:07.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-09-10T20:37:07.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-09-10T20:37:07.247Z] prd-ubuntu18.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container [2021-09-10T20:37:07.328Z] $ 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/21 -v /w/workspace/app-functions-sdk-go/21:/w/workspace/app-functions-sdk-go/21:rw,z -v /w/workspace/app-functions-sdk-go/21@tmp:/w/workspace/app-functions-sdk-go/21@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-10T20:37:11.961Z] $ docker top 844d92809049e60375f157e26fe3f615a86f4045330f5d8aa7e2dbb54be542b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:37:12.971Z] ---> job-cost.sh [2021-09-10T20:37:12.971Z] lf-activate-venv: SKIPPING [2021-09-10T20:37:12.971Z] INFO: No Stack... [2021-09-10T20:37:13.947Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-09-10T20:37:14.219Z] INFO: Archiving Costs [Pipeline] sh [2021-09-10T20:37:14.907Z] + cat /w/workspace/app-functions-sdk-go/21/archives/cost.csv [2021-09-10T20:37:14.907Z] + cut -d, -f6 [Pipeline] lock [2021-09-10T20:37:15.019Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] [2021-09-10T20:37:15.027Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] did not exist. Created. [2021-09-10T20:37:15.027Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-09-10T20:37:15.739Z] /w/workspace/app-functions-sdk-go/21@tmp/durable-7febafc7/script.sh: 1: /w/workspace/app-functions-sdk-go/21@tmp/durable-7febafc7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-09-10T20:37:16.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-09-10T20:37:16.441Z] Warning: overwriting stash ‘stack-cost’ [2021-09-10T20:37:16.511Z] Stashed 1 file(s) [Pipeline] } [2021-09-10T20:37:16.529Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-09-10T20:37:16.550Z] $ docker stop --time=1 844d92809049e60375f157e26fe3f615a86f4045330f5d8aa7e2dbb54be542b0 [2021-09-10T20:37:18.422Z] $ docker rm -f 844d92809049e60375f157e26fe3f615a86f4045330f5d8aa7e2dbb54be542b0 [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-10T20:37:21.303Z] provisioning config files... [2021-09-10T20:37:21.322Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config9218813102973128575tmp [Pipeline] { [Pipeline] sh [2021-09-10T20:37:21.666Z] + set +x [2021-09-10T20:37:21.666Z] + curl -s https://codecov.io/bash [2021-09-10T20:37:21.666Z] + bash -s -- [2021-09-10T20:37:21.666Z] [2021-09-10T20:37:21.666Z] _____ _ [2021-09-10T20:37:21.666Z] / ____| | | [2021-09-10T20:37:21.666Z] | | ___ __| | ___ ___ _____ __ [2021-09-10T20:37:21.666Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-09-10T20:37:21.666Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-09-10T20:37:21.666Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-09-10T20:37:21.666Z] Bash-1.0.6 [2021-09-10T20:37:21.666Z] [2021-09-10T20:37:21.666Z] [2021-09-10T20:37:21.666Z] ==> git version 2.24.4 found [2021-09-10T20:37:21.666Z] ==> 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-10T20:37:21.666Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-09-10T20:37:21.666Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-09-10T20:37:21.666Z] ==> Jenkins CI detected. [2021-09-10T20:37:21.933Z] current dir:  /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T20:37:21.933Z] project root: . [2021-09-10T20:37:21.933Z] --> token set from env [2021-09-10T20:37:21.933Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-09-10T20:37:21.933Z] ==> Running gcov in . (disable via -X gcov) [2021-09-10T20:37:21.933Z] ==> Python coveragepy not found [2021-09-10T20:37:21.933Z] ==> Searching for coverage reports in: [2021-09-10T20:37:21.933Z] + . [2021-09-10T20:37:21.933Z] -> Found 2 reports [2021-09-10T20:37:21.933Z] ==> Detecting git/mercurial file structure [2021-09-10T20:37:21.933Z] ==> Reading reports [2021-09-10T20:37:21.933Z] + ./app-service-template/coverage.out bytes=1219 [2021-09-10T20:37:21.933Z] + ./coverage.out bytes=101877 [2021-09-10T20:37:21.933Z] ==> Appending adjustments [2021-09-10T20:37:21.933Z] https://docs.codecov.io/docs/fixing-reports [2021-09-10T20:37:22.202Z] + Found adjustments [2021-09-10T20:37:22.202Z] ==> Gzipping contents [2021-09-10T20:37:22.202Z] 20K /tmp/codecov.ZZ6Lwh.gz [2021-09-10T20:37:22.202Z] ==> Uploading reports [2021-09-10T20:37:22.202Z] url: https://codecov.io [2021-09-10T20:37:22.202Z] query: branch=main&commit=18ff6e1b21abe9b172b032eb3d702546a95b1a7c&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-10T20:37:22.202Z] -> Pinging Codecov [2021-09-10T20:37:22.202Z] 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=18ff6e1b21abe9b172b032eb3d702546a95b1a7c&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-09-10T20:37:22.783Z] -> Uploading to [2021-09-10T20:37:22.783Z] https://storage.googleapis.com/codecov/v4/raw/2021-09-10/3D8B5DFFC46A037C893635FACE044666/18ff6e1b21abe9b172b032eb3d702546a95b1a7c/9da4d2d7-d8f7-40cb-a402-dc652384ac04.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210910%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210910T203722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d84476dbe64453bccadeeb82a3bfefafe99810708a62befeffe5c05af3278dbb [2021-09-10T20:37:22.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-10T20:37:22.783Z] Dload Upload Total Spent Left Speed [2021-09-10T20:37:23.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17626 0 0 100 17626 0 48203 --:--:-- --:--:-- --:--:-- 48290 [2021-09-10T20:37:23.048Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/18ff6e1b21abe9b172b032eb3d702546a95b1a7c [Pipeline] } [2021-09-10T20:37:23.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-09-10T20:37:27.046Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-09-10T20:37:27.062Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:37:27.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-10T20:37:27.390Z] [2021-09-10T20:37:27.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:37:27.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-10T20:37:27.726Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-09-10T20:37:27.726Z] 188c0c94c7c5: Pulling fs layer [2021-09-10T20:37:27.726Z] 0ef7d3d256c8: Pulling fs layer [2021-09-10T20:37:27.726Z] de9db76c5a1d: Pulling fs layer [2021-09-10T20:37:27.726Z] 0eba1c9be4d2: Pulling fs layer [2021-09-10T20:37:27.726Z] 0d57e429df01: Pulling fs layer [2021-09-10T20:37:27.726Z] 4e4be7b47b0d: Pulling fs layer [2021-09-10T20:37:27.726Z] e1f770b5df2f: Pulling fs layer [2021-09-10T20:37:27.726Z] 85a0685a4137: Pulling fs layer [2021-09-10T20:37:27.726Z] 0d57e429df01: Waiting [2021-09-10T20:37:27.726Z] 4e4be7b47b0d: Waiting [2021-09-10T20:37:27.726Z] e1f770b5df2f: Waiting [2021-09-10T20:37:27.726Z] 85a0685a4137: Waiting [2021-09-10T20:37:27.726Z] 0eba1c9be4d2: Waiting [2021-09-10T20:37:27.726Z] de9db76c5a1d: Verifying Checksum [2021-09-10T20:37:27.726Z] de9db76c5a1d: Download complete [2021-09-10T20:37:27.726Z] 0ef7d3d256c8: Verifying Checksum [2021-09-10T20:37:27.726Z] 0ef7d3d256c8: Download complete [2021-09-10T20:37:27.726Z] 0d57e429df01: Verifying Checksum [2021-09-10T20:37:27.726Z] 0d57e429df01: Download complete [2021-09-10T20:37:27.726Z] 4e4be7b47b0d: Verifying Checksum [2021-09-10T20:37:27.726Z] 4e4be7b47b0d: Download complete [2021-09-10T20:37:27.991Z] 188c0c94c7c5: Verifying Checksum [2021-09-10T20:37:27.991Z] 188c0c94c7c5: Download complete [2021-09-10T20:37:28.256Z] 188c0c94c7c5: Pull complete [2021-09-10T20:37:28.257Z] 0ef7d3d256c8: Pull complete [2021-09-10T20:37:28.257Z] de9db76c5a1d: Pull complete [2021-09-10T20:37:31.001Z] e1f770b5df2f: Verifying Checksum [2021-09-10T20:37:31.002Z] e1f770b5df2f: Download complete [2021-09-10T20:37:32.941Z] 0eba1c9be4d2: Verifying Checksum [2021-09-10T20:37:32.941Z] 0eba1c9be4d2: Download complete [2021-09-10T20:37:33.898Z] 85a0685a4137: Verifying Checksum [2021-09-10T20:37:33.898Z] 85a0685a4137: Download complete [2021-09-10T20:37:35.857Z] 0eba1c9be4d2: Pull complete [2021-09-10T20:37:35.857Z] 0d57e429df01: Pull complete [2021-09-10T20:37:35.857Z] 4e4be7b47b0d: Pull complete [2021-09-10T20:37:36.438Z] e1f770b5df2f: Pull complete [2021-09-10T20:37:39.799Z] 85a0685a4137: Pull complete [2021-09-10T20:37:39.799Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-09-10T20:37:39.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-09-10T20:37:39.799Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-09-10T20:37:39.901Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:37:40.030Z] $ 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-10T20:37:42.564Z] $ docker top 053babedfad589e78abffeec6b737349a39f80002a00447e9eafa45f9ac78835 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-09-10T20:37:44.366Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-09-10T20:37:44.673Z] + set -o pipefail [2021-09-10T20:37:44.673Z] + snyk monitor '--org=edgex-jenkins' [2021-09-10T20:37:48.938Z] [2021-09-10T20:37:48.938Z] Monitoring /w/workspace/oundry_app-functions-sdk-go_main (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-09-10T20:37:48.938Z] [2021-09-10T20:37:48.938Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/04b4e21c-5481-4e95-a0cd-b6129f75fd37 [2021-09-10T20:37:48.938Z] [2021-09-10T20:37:48.938Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-09-10T20:37:48.938Z] [2021-09-10T20:37:48.938Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-09-10T20:37:48.938Z] [2021-09-10T20:37:48.938Z] [Pipeline] } [2021-09-10T20:37:48.953Z] $ docker stop --time=1 053babedfad589e78abffeec6b737349a39f80002a00447e9eafa45f9ac78835 [2021-09-10T20:37:50.810Z] $ docker rm -f 053babedfad589e78abffeec6b737349a39f80002a00447e9eafa45f9ac78835 [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-10T20:37:51.522Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-10T20:37:51.545Z] provisioning config files... [2021-09-10T20:37:51.561Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config3532159950042182008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:37:51.897Z] --> edgex-publish-swagger.sh [2021-09-10T20:37:51.897Z] === Publish openapi/v2 API === [2021-09-10T20:37:51.897Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-09-10T20:37:51.897Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/oundry_app-functions-sdk-go_main/openapi/v2/app-functions-sdk.yaml] [2021-09-10T20:37:51.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-09-10T20:37:51.897Z] Dload Upload Total Spent Left Speed [2021-09-10T20:37:53.129Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13054 0 0 100 13054 0 10731 0:00:01 0:00:01 --:--:-- 10744 100 13054 0 0 100 13054 0 9980 0:00:01 0:00:01 --:--:-- 9987 [2021-09-10T20:37:53.129Z] [2021-09-10T20:37:53.129Z] [Pipeline] } [2021-09-10T20:37:53.356Z] 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-10T20:37:55.617Z] + git log --format=format:%s -1 18ff6e1b21abe9b172b032eb3d702546a95b1a7c [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:37:55.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T20:37:55.956Z] . [Pipeline] withDockerContainer [2021-09-10T20:37:56.050Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:37:56.149Z] $ 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-10T20:37:56.501Z] $ docker top f0450c921ef635dd892ea9275869f17b135d6c99abebb03194fce6f8b55f0446 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T20:37:56.651Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T20:37:56.651Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T20:37:56.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T20:37:56.763Z] $ docker exec f0450c921ef635dd892ea9275869f17b135d6c99abebb03194fce6f8b55f0446 ssh-agent [2021-09-10T20:37:56.873Z] SSH_AUTH_SOCK=/tmp/ssh-g1II2LwB6mtK/agent.14 [2021-09-10T20:37:56.873Z] SSH_AGENT_PID=21 [2021-09-10T20:37:56.886Z] Running ssh-add (command line suppressed) [2021-09-10T20:37:56.977Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1591816611670097850.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_1591816611670097850.key) [2021-09-10T20:37:57.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T20:37:57.320Z] + git semver tag [2021-09-10T20:37:57.320Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T20:37:57.320Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T20:37:57.320Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T20:37:57.320Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T20:37:57.320Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T20:37:57.320Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T20:37:57.320Z] # $SEMVER_BRANCH = main [2021-09-10T20:37:57.320Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-09-10T20:37:57.320Z] # 18ff6e1b21abe9b172b032eb3d702546a95b1a7c HEAD [2021-09-10T20:37:57.320Z] # -> Force: false [2021-09-10T20:37:57.320Z] # 7858abd5892ad8f274c3fdc5199100100248087a refs/tags/v2.0.2-dev.9 [Pipeline] } [2021-09-10T20:37:57.332Z] $ docker exec --env ******** --env ******** f0450c921ef635dd892ea9275869f17b135d6c99abebb03194fce6f8b55f0446 ssh-agent -k [2021-09-10T20:37:57.433Z] unset SSH_AUTH_SOCK; [2021-09-10T20:37:57.433Z] unset SSH_AGENT_PID; [2021-09-10T20:37:57.433Z] echo Agent pid 21 killed; [2021-09-10T20:37:57.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T20:37:57.815Z] + git semver [Pipeline] } [2021-09-10T20:37:57.836Z] $ docker stop --time=1 f0450c921ef635dd892ea9275869f17b135d6c99abebb03194fce6f8b55f0446 [2021-09-10T20:37:59.046Z] $ docker rm -f f0450c921ef635dd892ea9275869f17b135d6c99abebb03194fce6f8b55f0446 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:37:59.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-10T20:37:59.557Z] [2021-09-10T20:37:59.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:37:59.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-10T20:37:59.897Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-09-10T20:37:59.897Z] ab5ef0e58194: Pulling fs layer [2021-09-10T20:37:59.897Z] 9712f1f96733: Pulling fs layer [2021-09-10T20:37:59.897Z] 63f879dbbcfc: Pulling fs layer [2021-09-10T20:37:59.897Z] 0d9ebad4ef96: Pulling fs layer [2021-09-10T20:37:59.897Z] e9a5061849ea: Pulling fs layer [2021-09-10T20:37:59.897Z] d747dcd14b5f: Pulling fs layer [2021-09-10T20:37:59.897Z] 2de7ff778b66: Pulling fs layer [2021-09-10T20:37:59.897Z] 0d9ebad4ef96: Waiting [2021-09-10T20:37:59.897Z] d747dcd14b5f: Waiting [2021-09-10T20:37:59.897Z] 2de7ff778b66: Waiting [2021-09-10T20:37:59.897Z] e9a5061849ea: Waiting [2021-09-10T20:37:59.897Z] 9712f1f96733: Verifying Checksum [2021-09-10T20:37:59.897Z] 9712f1f96733: Download complete [2021-09-10T20:38:01.852Z] 63f879dbbcfc: Verifying Checksum [2021-09-10T20:38:01.852Z] 63f879dbbcfc: Download complete [2021-09-10T20:38:02.117Z] e9a5061849ea: Verifying Checksum [2021-09-10T20:38:02.117Z] e9a5061849ea: Download complete [2021-09-10T20:38:02.117Z] d747dcd14b5f: Verifying Checksum [2021-09-10T20:38:02.117Z] d747dcd14b5f: Download complete [2021-09-10T20:38:03.077Z] 2de7ff778b66: Verifying Checksum [2021-09-10T20:38:03.077Z] 2de7ff778b66: Download complete [2021-09-10T20:38:03.077Z] 0d9ebad4ef96: Verifying Checksum [2021-09-10T20:38:03.077Z] 0d9ebad4ef96: Download complete [2021-09-10T20:38:04.030Z] ab5ef0e58194: Verifying Checksum [2021-09-10T20:38:04.030Z] ab5ef0e58194: Download complete [2021-09-10T20:38:06.624Z] ab5ef0e58194: Pull complete [2021-09-10T20:38:06.624Z] 9712f1f96733: Pull complete [2021-09-10T20:38:08.968Z] 63f879dbbcfc: Pull complete [2021-09-10T20:38:10.419Z] 0d9ebad4ef96: Pull complete [2021-09-10T20:38:10.697Z] e9a5061849ea: Pull complete [2021-09-10T20:38:10.697Z] d747dcd14b5f: Pull complete [2021-09-10T20:38:11.659Z] 2de7ff778b66: Pull complete [2021-09-10T20:38:11.659Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-09-10T20:38:11.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-09-10T20:38:11.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-09-10T20:38:11.764Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:38:11.827Z] $ 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-10T20:38:14.942Z] $ docker top 8fc0c4b2233869981ac917e0f42096ca9664d114d2fbbffad661e5152590f0ab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-09-10T20:38:15.052Z] provisioning config files... [2021-09-10T20:38:15.066Z] copy managed file [sigul-config] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7123176883330703387tmp [2021-09-10T20:38:15.085Z] copy managed file [sigul-password] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config7814280199807429109tmp [2021-09-10T20:38:15.104Z] copy managed file [sigul-pki] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config2120422103800517000tmp [Pipeline] { [Pipeline] echo [2021-09-10T20:38:15.129Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:15.453Z] ---> sigul-configuration.sh [2021-09-10T20:38:15.453Z] gpg: directory `/root/.gnupg' created [2021-09-10T20:38:15.453Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-09-10T20:38:15.453Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-09-10T20:38:15.453Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-09-10T20:38:15.453Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-09-10T20:38:15.453Z] gpg: CAST5 encrypted data [2021-09-10T20:38:15.453Z] gpg: encrypted with 1 passphrase [2021-09-10T20:38:15.453Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-09-10T20:38:15.767Z] + mkdir /home/jenkins [2021-09-10T20:38:15.767Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-09-10T20:38:16.075Z] + 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-10T20:38:16.091Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:16.401Z] ---> sigul-install.sh [2021-09-10T20:38:16.401Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-09-10T20:38:16.717Z] + git tag --list [2021-09-10T20:38:16.717Z] v0.1.0 [2021-09-10T20:38:16.717Z] v0.1.1 [2021-09-10T20:38:16.717Z] v1.0.0 [2021-09-10T20:38:16.717Z] v1.1.0 [2021-09-10T20:38:16.717Z] v1.2.0 [2021-09-10T20:38:16.717Z] v1.3.0 [2021-09-10T20:38:16.717Z] v1.3.1 [2021-09-10T20:38:16.717Z] v2.0.0 [2021-09-10T20:38:16.717Z] v2.0.1 [2021-09-10T20:38:16.717Z] v2.0.1-dev.1 [2021-09-10T20:38:16.717Z] v2.0.1-dev.2 [2021-09-10T20:38:16.717Z] v2.0.1-dev.3 [2021-09-10T20:38:16.717Z] v2.0.1-dev.4 [2021-09-10T20:38:16.717Z] v2.0.1-dev.5 [2021-09-10T20:38:16.717Z] v2.0.1-dev.6 [2021-09-10T20:38:16.717Z] v2.0.1-dev.7 [2021-09-10T20:38:16.717Z] v2.0.2-dev.1 [2021-09-10T20:38:16.717Z] v2.0.2-dev.2 [2021-09-10T20:38:16.717Z] v2.0.2-dev.3 [2021-09-10T20:38:16.717Z] v2.0.2-dev.4 [2021-09-10T20:38:16.717Z] v2.0.2-dev.5 [2021-09-10T20:38:16.717Z] v2.0.2-dev.6 [2021-09-10T20:38:16.717Z] v2.0.2-dev.7 [2021-09-10T20:38:16.717Z] v2.0.2-dev.8 [2021-09-10T20:38:16.717Z] v2.0.2-dev.9 [Pipeline] sh [2021-09-10T20:38:17.040Z] + lftools sign git-tag v2.0.2-dev.9 [2021-09-10T20:38:17.629Z] Signing Git tag with Sigul... [2021-09-10T20:38:17.629Z] Signing v2.0.2-dev.9 [Pipeline] echo [2021-09-10T20:38:18.227Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:18.539Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-09-10T20:38:18.551Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-09-10T20:38:18.581Z] $ docker stop --time=1 8fc0c4b2233869981ac917e0f42096ca9664d114d2fbbffad661e5152590f0ab [2021-09-10T20:38:19.787Z] $ docker rm -f 8fc0c4b2233869981ac917e0f42096ca9664d114d2fbbffad661e5152590f0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:38:22.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T20:38:22.193Z] . [Pipeline] withDockerContainer [2021-09-10T20:38:22.276Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:38:22.336Z] $ 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-10T20:38:22.735Z] $ docker top dfaeaf5e38ffd6bacbc202ef70af50de890c7c75883818e946a83aaaa3b2ac77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T20:38:22.869Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T20:38:22.869Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T20:38:22.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T20:38:22.996Z] $ docker exec dfaeaf5e38ffd6bacbc202ef70af50de890c7c75883818e946a83aaaa3b2ac77 ssh-agent [2021-09-10T20:38:23.118Z] SSH_AUTH_SOCK=/tmp/ssh-AYirBx8E2dvl/agent.13 [2021-09-10T20:38:23.118Z] SSH_AGENT_PID=19 [2021-09-10T20:38:23.128Z] Running ssh-add (command line suppressed) [2021-09-10T20:38:23.229Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5257483407745683440.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_5257483407745683440.key) [2021-09-10T20:38:23.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T20:38:23.586Z] + git semver bump pre [2021-09-10T20:38:23.586Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T20:38:23.586Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T20:38:23.586Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T20:38:23.586Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T20:38:23.586Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T20:38:23.586Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T20:38:23.586Z] # $SEMVER_BRANCH = main [2021-09-10T20:38:23.586Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [2021-09-10T20:38:23.586Z] 2.0.2-dev.10 [Pipeline] } [2021-09-10T20:38:23.607Z] $ docker exec --env ******** --env ******** dfaeaf5e38ffd6bacbc202ef70af50de890c7c75883818e946a83aaaa3b2ac77 ssh-agent -k [2021-09-10T20:38:23.717Z] unset SSH_AUTH_SOCK; [2021-09-10T20:38:23.717Z] unset SSH_AGENT_PID; [2021-09-10T20:38:23.717Z] echo Agent pid 19 killed; [2021-09-10T20:38:23.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T20:38:24.107Z] + git semver [Pipeline] } [2021-09-10T20:38:24.129Z] $ docker stop --time=1 dfaeaf5e38ffd6bacbc202ef70af50de890c7c75883818e946a83aaaa3b2ac77 [2021-09-10T20:38:25.330Z] $ docker rm -f dfaeaf5e38ffd6bacbc202ef70af50de890c7c75883818e946a83aaaa3b2ac77 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:38:25.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-09-10T20:38:25.734Z] . [Pipeline] withDockerContainer [2021-09-10T20:38:25.820Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:38:25.901Z] $ 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-10T20:38:26.296Z] $ docker top 67e6b332019ae71e63947445cd9da4859fc5317f9de9d609e405728192b4a409 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-09-10T20:38:28.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-09-10T20:38:28.104Z] [ssh-agent] Looking for ssh-agent implementation... [2021-09-10T20:38:28.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-09-10T20:38:28.241Z] $ docker exec 67e6b332019ae71e63947445cd9da4859fc5317f9de9d609e405728192b4a409 ssh-agent [2021-09-10T20:38:28.463Z] SSH_AUTH_SOCK=/tmp/ssh-8VhXlREx2o0Q/agent.14 [2021-09-10T20:38:28.463Z] SSH_AGENT_PID=20 [2021-09-10T20:38:28.508Z] Running ssh-add (command line suppressed) [2021-09-10T20:38:28.598Z] Identity added: /w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3287413219098004998.key (/w/workspace/oundry_app-functions-sdk-go_main@tmp/private_key_3287413219098004998.key) [2021-09-10T20:38:28.631Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-09-10T20:38:28.945Z] + git semver push [2021-09-10T20:38:28.945Z] # -> Open(): unable to determine branch for HEAD [2021-09-10T20:38:28.945Z] # $GIT_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.git [2021-09-10T20:38:28.945Z] # $GIT_WORK_TREE = /w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T20:38:28.945Z] # $SEMVER_REMOTE_NAME = origin [2021-09-10T20:38:28.945Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-09-10T20:38:28.945Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-09-10T20:38:28.945Z] # $SEMVER_BRANCH = main [2021-09-10T20:38:28.945Z] # $SEMVER_DIR = /w/workspace/oundry_app-functions-sdk-go_main/.semver [Pipeline] } [2021-09-10T20:38:30.898Z] $ docker exec --env ******** --env ******** 67e6b332019ae71e63947445cd9da4859fc5317f9de9d609e405728192b4a409 ssh-agent -k [2021-09-10T20:38:31.014Z] unset SSH_AUTH_SOCK; [2021-09-10T20:38:31.014Z] unset SSH_AGENT_PID; [2021-09-10T20:38:31.014Z] echo Agent pid 20 killed; [2021-09-10T20:38:31.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-09-10T20:38:31.388Z] + git semver [Pipeline] } [2021-09-10T20:38:31.408Z] $ docker stop --time=1 67e6b332019ae71e63947445cd9da4859fc5317f9de9d609e405728192b4a409 [2021-09-10T20:38:32.600Z] $ docker rm -f 67e6b332019ae71e63947445cd9da4859fc5317f9de9d609e405728192b4a409 [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-10T20:38:33.642Z] + '[' -d /w/workspace/oundry_app-functions-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:33.975Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:36.439Z] ---> package-listing.sh [2021-09-10T20:38:36.439Z] ++ facter osfamily [2021-09-10T20:38:36.439Z] ++ tr '[:upper:]' '[:lower:]' [2021-09-10T20:38:36.705Z] + OS_FAMILY=redhat [2021-09-10T20:38:36.705Z] + workspace=/w/workspace/oundry_app-functions-sdk-go_main [2021-09-10T20:38:36.705Z] + START_PACKAGES=/tmp/packages_start.txt [2021-09-10T20:38:36.705Z] + END_PACKAGES=/tmp/packages_end.txt [2021-09-10T20:38:36.705Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-09-10T20:38:36.705Z] + PACKAGES=/tmp/packages_start.txt [2021-09-10T20:38:36.705Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-09-10T20:38:36.705Z] + PACKAGES=/tmp/packages_end.txt [2021-09-10T20:38:36.705Z] + case "${OS_FAMILY}" in [2021-09-10T20:38:36.705Z] + rpm -qa [2021-09-10T20:38:36.705Z] + sort [2021-09-10T20:38:37.290Z] + '[' -f /tmp/packages_start.txt ']' [2021-09-10T20:38:37.290Z] + '[' -f /tmp/packages_end.txt ']' [2021-09-10T20:38:37.290Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-09-10T20:38:37.290Z] + '[' /w/workspace/oundry_app-functions-sdk-go_main ']' [2021-09-10T20:38:37.290Z] + mkdir -p /w/workspace/oundry_app-functions-sdk-go_main/archives/ [2021-09-10T20:38:37.290Z] + 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-10T20:38:37.307Z] 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-10T20:38:37.608Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:38:38.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T20:38:38.210Z] [2021-09-10T20:38:38.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-09-10T20:38:38.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T20:38:38.541Z] latest: Pulling from edgex-lftools-log-publisher [2021-09-10T20:38:38.541Z] b4d181a07f80: Pulling fs layer [2021-09-10T20:38:38.541Z] a1111a8f2ec3: Pulling fs layer [2021-09-10T20:38:38.541Z] ed53099fbce6: Pulling fs layer [2021-09-10T20:38:38.541Z] dc539afda2c1: Pulling fs layer [2021-09-10T20:38:38.541Z] 77bc0d833cb6: Pulling fs layer [2021-09-10T20:38:38.541Z] 9065ff56babe: Pulling fs layer [2021-09-10T20:38:38.541Z] d287ab97295c: Pulling fs layer [2021-09-10T20:38:38.541Z] dc539afda2c1: Waiting [2021-09-10T20:38:38.541Z] 77bc0d833cb6: Waiting [2021-09-10T20:38:38.541Z] 9065ff56babe: Waiting [2021-09-10T20:38:38.541Z] d287ab97295c: Waiting [2021-09-10T20:38:38.809Z] a1111a8f2ec3: Verifying Checksum [2021-09-10T20:38:38.809Z] a1111a8f2ec3: Download complete [2021-09-10T20:38:38.809Z] dc539afda2c1: Verifying Checksum [2021-09-10T20:38:38.809Z] dc539afda2c1: Download complete [2021-09-10T20:38:39.077Z] 77bc0d833cb6: Verifying Checksum [2021-09-10T20:38:39.077Z] 77bc0d833cb6: Download complete [2021-09-10T20:38:39.077Z] 9065ff56babe: Verifying Checksum [2021-09-10T20:38:39.077Z] 9065ff56babe: Download complete [2021-09-10T20:38:39.077Z] ed53099fbce6: Verifying Checksum [2021-09-10T20:38:39.077Z] ed53099fbce6: Download complete [2021-09-10T20:38:40.123Z] b4d181a07f80: Verifying Checksum [2021-09-10T20:38:40.123Z] b4d181a07f80: Download complete [2021-09-10T20:38:41.092Z] b4d181a07f80: Pull complete [2021-09-10T20:38:41.092Z] a1111a8f2ec3: Pull complete [2021-09-10T20:38:41.684Z] ed53099fbce6: Pull complete [2021-09-10T20:38:41.684Z] dc539afda2c1: Pull complete [2021-09-10T20:38:41.956Z] 77bc0d833cb6: Pull complete [2021-09-10T20:38:41.956Z] 9065ff56babe: Pull complete [2021-09-10T20:38:44.541Z] d287ab97295c: Verifying Checksum [2021-09-10T20:38:44.541Z] d287ab97295c: Download complete [2021-09-10T20:38:47.923Z] d287ab97295c: Pull complete [2021-09-10T20:38:47.923Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-09-10T20:38:47.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-09-10T20:38:47.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-09-10T20:38:48.010Z] prd-centos7-docker-4c-2g-2013 does not seem to be running inside a container [2021-09-10T20:38:48.068Z] $ 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-10T20:38:50.398Z] $ docker top a639ad47ec0f323476e4c50794338d2cea5db3873d2da52d2c12f670d28b8cb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-09-10T20:38:50.801Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-09-10T20:38:51.116Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-09-10T20:38:51.430Z] + ls /var/log/sa-host [2021-09-10T20:38:51.430Z] + sadf -c /var/log/sa-host/sa05 [2021-09-10T20:38:51.430Z] file_magic: OK [2021-09-10T20:38:51.430Z] HZ: Using current value: 100 [2021-09-10T20:38:51.430Z] file_header: OK [2021-09-10T20:38:51.430Z] 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-10T20:38:51.430Z] Statistics: [2021-09-10T20:38:51.430Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-10T20:38:51.430Z] File successfully converted to sysstat format version 12.0.3 [2021-09-10T20:38:51.430Z] + sadf -c /var/log/sa-host/sa10 [2021-09-10T20:38:51.430Z] file_magic: OK [2021-09-10T20:38:51.430Z] HZ: Using current value: 100 [2021-09-10T20:38:51.430Z] file_header: OK [2021-09-10T20:38:51.430Z] 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-10T20:38:51.430Z] Statistics: [2021-09-10T20:38:51.430Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-09-10T20:38:51.430Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-09-10T20:38:53.313Z] provisioning config files... [2021-09-10T20:38:53.345Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_app-functions-sdk-go_main@tmp/config8269570093258124440tmp [Pipeline] { [Pipeline] echo [2021-09-10T20:38:53.368Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:53.705Z] ---> create-netrc.sh [Pipeline] } [2021-09-10T20:38:53.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:54.153Z] ---> python-tools-install.sh [Pipeline] echo [2021-09-10T20:38:54.188Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:54.513Z] ---> sudo-logs.sh [2021-09-10T20:38:54.513Z] Archiving 'sudo' log.. [2021-09-10T20:38:54.513Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2013.vexxhost.local: Name or service not known [2021-09-10T20:38:54.513Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2013.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-09-10T20:38:54.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:54.922Z] ---> job-cost.sh [2021-09-10T20:38:54.922Z] lf-activate-venv: SKIPPING [2021-09-10T20:38:54.922Z] DEBUG: total: 0.10999999940395355 [2021-09-10T20:38:54.922Z] INFO: Retrieving Stack Cost... [2021-09-10T20:38:55.506Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-09-10T20:38:56.092Z] INFO: Archiving Costs [Pipeline] echo [2021-09-10T20:38:56.115Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-09-10T20:38:56.445Z] ---> logs-deploy.sh [2021-09-10T20:38:56.445Z] lf-activate-venv: SKIPPING [2021-09-10T20:38:56.445Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/main/21 [2021-09-10T20:38:56.445Z] INFO: archiving workspace using pattern(s): [2021-09-10T20:38:57.403Z] Archives upload complete. [2021-09-10T20:38:57.403Z] INFO: archiving logs to Nexus