Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7ab1d82b7e244905f9818398051c1e157ceda5e1 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3597 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # 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.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 7ab1d82b7e244905f9818398051c1e157ceda5e1 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 Commit message: "ci: Update files for Go 1.16 (#824)" > git rev-list --no-walk 89c75ca7b5b0c19e0f3e3cf194244c2f0c0a435c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T18:27:02.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T18:27:02.553Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T18:27:02.582Z] ========================================================= [2021-05-07T18:27:02.582Z] EdgeX Global Pipelines Version Info [2021-05-07T18:27:02.582Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:27:04.601Z] ------------------- [2021-05-07T18:27:04.601Z] stable info: [2021-05-07T18:27:04.601Z] ------------------- [2021-05-07T18:27:04.601Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T18:27:04.601Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T18:27:04.601Z] Message: update stable to v1.0.191 [2021-05-07T18:27:05.179Z] ------------------- [2021-05-07T18:27:05.179Z] experimental info: [2021-05-07T18:27:05.179Z] ------------------- [2021-05-07T18:27:05.179Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T18:27:05.179Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T18:27:05.179Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T18:27:05.313Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-05-07T18:27:05.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-05-07T18:27:05.364Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T18:27:05.388Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T18:27:05.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T18:27:05.436Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T18:27:05.459Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T18:27:05.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T18:27:05.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-07T18:27:05.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T18:27:05.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T18:27:05.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-05-07T18:27:05.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T18:27:05.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T18:27:05.660Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:27:05.684Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:27:05.706Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:27:05.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T18:27:05.752Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T18:27:05.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T18:27:05.799Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T18:27:05.848Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-05-07T18:27:05.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T18:27:05.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T18:27:05.922Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-05-07T18:27:05.946Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T18:27:05.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-05-07T18:27:05.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-05-07T18:27:06.017Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-05-07T18:27:06.041Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ab1d82b7e244905f9818398051c1e157ceda5e1 [Pipeline] echo [2021-05-07T18:27:06.063Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ab1d82 [Pipeline] echo [2021-05-07T18:27:06.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:27:06.515Z] + git log --format=format:%s -1 7ab1d82b7e244905f9818398051c1e157ceda5e1 [Pipeline] echo [2021-05-07T18:27:06.592Z] GIT_COMMIT: 7ab1d82b7e244905f9818398051c1e157ceda5e1, Commit Message: ci: Update files for Go 1.16 (#824) [Pipeline] echo [2021-05-07T18:27:06.617Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:27:07.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:27:07.436Z] [2021-05-07T18:27:07.437Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:27:07.770Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:27:07.770Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T18:27:07.770Z] 31603596830f: Pulling fs layer [2021-05-07T18:27:07.770Z] 54011a49482f: Pulling fs layer [2021-05-07T18:27:07.770Z] a6820b24f6d8: Pulling fs layer [2021-05-07T18:27:07.770Z] f581987b2513: Pulling fs layer [2021-05-07T18:27:07.770Z] f581987b2513: Waiting [2021-05-07T18:27:07.770Z] 54011a49482f: Verifying Checksum [2021-05-07T18:27:07.770Z] 54011a49482f: Download complete [2021-05-07T18:27:08.033Z] 31603596830f: Verifying Checksum [2021-05-07T18:27:08.033Z] 31603596830f: Download complete [2021-05-07T18:27:08.033Z] f581987b2513: Verifying Checksum [2021-05-07T18:27:08.033Z] f581987b2513: Download complete [2021-05-07T18:27:08.033Z] a6820b24f6d8: Verifying Checksum [2021-05-07T18:27:08.033Z] a6820b24f6d8: Download complete [2021-05-07T18:27:08.341Z] 31603596830f: Pull complete [2021-05-07T18:27:08.341Z] 54011a49482f: Pull complete [2021-05-07T18:27:09.300Z] a6820b24f6d8: Pull complete [2021-05-07T18:27:09.561Z] f581987b2513: Pull complete [2021-05-07T18:27:09.561Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T18:27:09.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:27:09.561Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T18:27:09.669Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:27:09.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T18:27:11.669Z] $ docker top a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T18:27:11.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:27:11.885Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:27:12.103Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:27:12.109Z] $ docker exec a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 ssh-agent [2021-05-07T18:27:12.277Z] SSH_AUTH_SOCK=/tmp/ssh-nT7XE82cYe8v/agent.11 [2021-05-07T18:27:12.277Z] SSH_AGENT_PID=16 [2021-05-07T18:27:12.288Z] Running ssh-add (command line suppressed) [2021-05-07T18:27:12.410Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6619686318265415941.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6619686318265415941.key) [2021-05-07T18:27:12.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:27:12.764Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T18:27:12.788Z] $ docker exec --env ******** --env ******** a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 ssh-agent -k [2021-05-07T18:27:12.904Z] unset SSH_AUTH_SOCK; [2021-05-07T18:27:12.905Z] unset SSH_AGENT_PID; [2021-05-07T18:27:12.905Z] echo Agent pid 16 killed; [2021-05-07T18:27:12.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T18:27:13.002Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:27:13.002Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:27:13.203Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:27:13.209Z] $ docker exec a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 ssh-agent [2021-05-07T18:27:13.387Z] SSH_AUTH_SOCK=/tmp/ssh-brcHGvOVl82L/agent.46 [2021-05-07T18:27:13.387Z] SSH_AGENT_PID=52 [2021-05-07T18:27:13.395Z] Running ssh-add (command line suppressed) [2021-05-07T18:27:13.536Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1278590646799402710.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1278590646799402710.key) [2021-05-07T18:27:13.593Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:27:13.899Z] + git semver init [2021-05-07T18:27:13.899Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T18:27:13.899Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T18:27:13.899Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T18:27:13.899Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T18:27:13.899Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T18:27:13.899Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T18:27:13.899Z] # $SEMVER_BRANCH = master [2021-05-07T18:27:13.899Z] # $SEMVER_TEMP = /tmp/semver-187222875 [2021-05-07T18:27:13.899Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-05-07T18:27:16.469Z] # '/tmp/semver-187222875' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-05-07T18:27:16.738Z] # -> Force: false [2021-05-07T18:27:16.738Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-05-07T18:27:16.757Z] $ docker exec --env ******** --env ******** a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 ssh-agent -k [2021-05-07T18:27:16.919Z] unset SSH_AUTH_SOCK; [2021-05-07T18:27:16.920Z] unset SSH_AGENT_PID; [2021-05-07T18:27:16.920Z] echo Agent pid 52 killed; [2021-05-07T18:27:16.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T18:27:17.314Z] + git semver [Pipeline] } [2021-05-07T18:27:17.342Z] $ docker stop --time=1 a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 [2021-05-07T18:27:18.882Z] $ docker rm -f a4e313f5df464ac9f0510419e476fc1ddc17f164d1504c8a9213905c79d544c6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:27:19.345Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T18:27:19.733Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T18:27:19.736Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.53 [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-05-07T18:27:34.931Z] Still waiting to schedule task [2021-05-07T18:27:34.931Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-07T18:27:34.935Z] Still waiting to schedule task [2021-05-07T18:27:34.935Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T18:29:12.613Z] Running on prd-centos7-docker-4c-2g-3607 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-05-07T18:29:12.632Z] Running in /w/workspace/app-functions-sdk-go/225 [Pipeline] { [Pipeline] checkout [2021-05-07T18:29:15.314Z] using credential edgex-jenkins-ssh [2021-05-07T18:29:15.329Z] Cloning the remote Git repository [2021-05-07T18:29:15.357Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:29:15.466Z] > git init /w/workspace/app-functions-sdk-go/225 # timeout=10 [2021-05-07T18:29:15.529Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:29:15.530Z] > git --version # timeout=10 [2021-05-07T18:29:15.537Z] > git --version # 'git version 2.24.3' [2021-05-07T18:29:15.538Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:29:15.566Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:29:17.119Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:29:17.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:29:17.148Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:29:17.160Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:29:17.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:29:17.168Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T18:29:17.567Z] Checking out Revision 7ab1d82b7e244905f9818398051c1e157ceda5e1 (master) [2021-05-07T18:29:17.575Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:29:17.582Z] > git checkout -f 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 [2021-05-07T18:29:20.139Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3604 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-05-07T18:29:20.160Z] Running in /w/workspace/app-functions-sdk-go/225 [Pipeline] { [Pipeline] checkout [2021-05-07T18:29:21.308Z] Commit message: "ci: Update files for Go 1.16 (#824)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:29:22.385Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:29:22.716Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:29:23.027Z] + sudo service docker restart [2021-05-07T18:29:23.027Z] + true [2021-05-07T18:29:23.027Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-05-07T18:29:24.567Z] ========================================================= [2021-05-07T18:29:24.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T18:29:24.567Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:29:24.891Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T18:29:25.468Z] Sending build context to Docker daemon 19.53MB [2021-05-07T18:29:25.468Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T18:29:25.468Z] Step 2/8 : FROM ${BASE} [2021-05-07T18:29:25.468Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T18:29:25.468Z] 540db60ca938: Pulling fs layer [2021-05-07T18:29:25.468Z] adcc1eea9eea: Pulling fs layer [2021-05-07T18:29:25.468Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T18:29:25.468Z] 0510c868ecb4: Pulling fs layer [2021-05-07T18:29:25.468Z] afea3b2eda06: Pulling fs layer [2021-05-07T18:29:25.468Z] 7809a108b3ef: Pulling fs layer [2021-05-07T18:29:25.468Z] f706445af74f: Pulling fs layer [2021-05-07T18:29:25.468Z] afea3b2eda06: Waiting [2021-05-07T18:29:25.468Z] 7809a108b3ef: Waiting [2021-05-07T18:29:25.468Z] f706445af74f: Waiting [2021-05-07T18:29:25.468Z] 0510c868ecb4: Waiting [2021-05-07T18:29:25.468Z] 4c4ab2625f07: Download complete [2021-05-07T18:29:25.468Z] adcc1eea9eea: Verifying Checksum [2021-05-07T18:29:25.468Z] adcc1eea9eea: Download complete [2021-05-07T18:29:25.468Z] afea3b2eda06: Verifying Checksum [2021-05-07T18:29:25.468Z] afea3b2eda06: Download complete [2021-05-07T18:29:25.617Z] using credential edgex-jenkins-ssh [2021-05-07T18:29:25.640Z] Cloning the remote Git repository [2021-05-07T18:29:25.738Z] 7809a108b3ef: Verifying Checksum [2021-05-07T18:29:25.738Z] 7809a108b3ef: Download complete [2021-05-07T18:29:25.738Z] 540db60ca938: Verifying Checksum [2021-05-07T18:29:25.738Z] 540db60ca938: Download complete [2021-05-07T18:29:26.009Z] 540db60ca938: Pull complete [2021-05-07T18:29:26.273Z] adcc1eea9eea: Pull complete [2021-05-07T18:29:26.273Z] 4c4ab2625f07: Pull complete [2021-05-07T18:29:25.706Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:29:25.843Z] > git init /w/workspace/app-functions-sdk-go/225 # timeout=10 [2021-05-07T18:29:25.927Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:29:25.928Z] > git --version # timeout=10 [2021-05-07T18:29:25.962Z] > git --version # 'git version 2.17.1' [2021-05-07T18:29:25.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:29:26.049Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:29:27.224Z] f706445af74f: Verifying Checksum [2021-05-07T18:29:27.224Z] f706445af74f: Download complete [2021-05-07T18:29:28.173Z] 0510c868ecb4: Verifying Checksum [2021-05-07T18:29:28.173Z] 0510c868ecb4: Download complete [2021-05-07T18:29:30.213Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:29:30.234Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T18:29:30.260Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-05-07T18:29:30.289Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-05-07T18:29:30.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T18:29:30.301Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T18:29:30.813Z] Checking out Revision 7ab1d82b7e244905f9818398051c1e157ceda5e1 (master) [2021-05-07T18:29:30.831Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T18:29:30.849Z] > git checkout -f 7ab1d82b7e244905f9818398051c1e157ceda5e1 # timeout=10 [2021-05-07T18:29:34.826Z] 0510c868ecb4: Pull complete [2021-05-07T18:29:34.826Z] afea3b2eda06: Pull complete [2021-05-07T18:29:34.826Z] 7809a108b3ef: Pull complete [2021-05-07T18:29:34.998Z] Commit message: "ci: Update files for Go 1.16 (#824)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T18:29:36.549Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:29:36.947Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T18:29:37.288Z] + true [2021-05-07T18:29:37.288Z] + sudo service docker restart [2021-05-07T18:29:39.095Z] f706445af74f: Pull complete [2021-05-07T18:29:39.095Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T18:29:39.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T18:29:39.095Z] ---> b068be0155e3 [2021-05-07T18:29:39.095Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-07T18:29:39.095Z] 20.10.0: Pulling from library/docker [2021-05-07T18:29:39.095Z] 05e7bc50f07f: Pulling fs layer [2021-05-07T18:29:39.095Z] 6db28d0fdbf6: Pulling fs layer [2021-05-07T18:29:39.095Z] 292df0bc6bf3: Pulling fs layer [2021-05-07T18:29:39.095Z] 2e060f4bd70b: Pulling fs layer [2021-05-07T18:29:39.095Z] 80e8d568a223: Pulling fs layer [2021-05-07T18:29:39.095Z] 8dc6ef1a942a: Pulling fs layer [2021-05-07T18:29:39.095Z] 2312dd95470a: Pulling fs layer [2021-05-07T18:29:39.095Z] 2e060f4bd70b: Waiting [2021-05-07T18:29:39.095Z] 80e8d568a223: Waiting [2021-05-07T18:29:39.095Z] 8dc6ef1a942a: Waiting [2021-05-07T18:29:39.095Z] 2312dd95470a: Waiting [2021-05-07T18:29:39.095Z] 292df0bc6bf3: Verifying Checksum [2021-05-07T18:29:39.095Z] 292df0bc6bf3: Download complete [2021-05-07T18:29:39.095Z] 6db28d0fdbf6: Download complete [2021-05-07T18:29:39.095Z] 05e7bc50f07f: Verifying Checksum [2021-05-07T18:29:39.095Z] 05e7bc50f07f: Download complete [2021-05-07T18:29:39.095Z] 80e8d568a223: Verifying Checksum [2021-05-07T18:29:39.095Z] 80e8d568a223: Download complete [2021-05-07T18:29:39.095Z] 8dc6ef1a942a: Download complete [2021-05-07T18:29:39.095Z] 2312dd95470a: Verifying Checksum [2021-05-07T18:29:39.095Z] 2312dd95470a: Download complete [Pipeline] unstash [Pipeline] echo [2021-05-07T18:29:39.542Z] ========================================================= [2021-05-07T18:29:39.542Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T18:29:39.542Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:29:39.885Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T18:29:40.065Z] 2e060f4bd70b: Verifying Checksum [2021-05-07T18:29:40.065Z] 05e7bc50f07f: Pull complete [2021-05-07T18:29:40.328Z] 6db28d0fdbf6: Pull complete [2021-05-07T18:29:40.593Z] 292df0bc6bf3: Pull complete [2021-05-07T18:29:40.874Z] Sending build context to Docker daemon 19.53MB [2021-05-07T18:29:40.874Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-07T18:29:40.874Z] Step 2/8 : FROM ${BASE} [2021-05-07T18:29:41.472Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T18:29:41.472Z] 595b0fe564bb: Pulling fs layer [2021-05-07T18:29:41.472Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T18:29:41.472Z] 316046926c0a: Pulling fs layer [2021-05-07T18:29:41.472Z] 4ebd0625c992: Pulling fs layer [2021-05-07T18:29:41.472Z] 207e8628e3a3: Pulling fs layer [2021-05-07T18:29:41.472Z] c791037a9be2: Pulling fs layer [2021-05-07T18:29:41.472Z] ffd874e62e21: Pulling fs layer [2021-05-07T18:29:41.472Z] 4ebd0625c992: Waiting [2021-05-07T18:29:41.472Z] c791037a9be2: Waiting [2021-05-07T18:29:41.472Z] ffd874e62e21: Waiting [2021-05-07T18:29:41.472Z] 207e8628e3a3: Waiting [2021-05-07T18:29:41.472Z] 316046926c0a: Download complete [2021-05-07T18:29:41.472Z] 7186ed65a4f7: Download complete [2021-05-07T18:29:41.472Z] 207e8628e3a3: Verifying Checksum [2021-05-07T18:29:41.472Z] 207e8628e3a3: Download complete [2021-05-07T18:29:41.472Z] c791037a9be2: Verifying Checksum [2021-05-07T18:29:41.472Z] c791037a9be2: Download complete [2021-05-07T18:29:41.472Z] 595b0fe564bb: Verifying Checksum [2021-05-07T18:29:41.472Z] 595b0fe564bb: Download complete [2021-05-07T18:29:42.084Z] 595b0fe564bb: Pull complete [2021-05-07T18:29:42.738Z] 7186ed65a4f7: Pull complete [2021-05-07T18:29:43.015Z] 316046926c0a: Pull complete [2021-05-07T18:29:43.165Z] 2e060f4bd70b: Pull complete [2021-05-07T18:29:43.165Z] 80e8d568a223: Pull complete [2021-05-07T18:29:43.289Z] ffd874e62e21: Verifying Checksum [2021-05-07T18:29:43.289Z] ffd874e62e21: Download complete [2021-05-07T18:29:43.429Z] 8dc6ef1a942a: Pull complete [2021-05-07T18:29:43.429Z] 2312dd95470a: Pull complete [2021-05-07T18:29:43.429Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-07T18:29:43.429Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-07T18:29:44.275Z] 4ebd0625c992: Verifying Checksum [2021-05-07T18:29:44.275Z] 4ebd0625c992: Download complete [2021-05-07T18:29:45.404Z] ---> 8971e62342cd [2021-05-07T18:29:45.404Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T18:29:45.404Z] ---> Running in bd27565e58be [2021-05-07T18:29:45.404Z] Removing intermediate container bd27565e58be [2021-05-07T18:29:45.404Z] ---> 6558927597b7 [2021-05-07T18:29:45.404Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-07T18:29:45.404Z] ---> Running in 2a8c77a8e3bb [2021-05-07T18:29:46.357Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T18:29:47.765Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T18:29:48.032Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-07T18:29:48.032Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-07T18:29:48.295Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-07T18:29:48.295Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-07T18:29:48.559Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-07T18:29:48.559Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T18:29:48.559Z] OK: 150 MiB in 45 packages [2021-05-07T18:29:49.527Z] Removing intermediate container 2a8c77a8e3bb [2021-05-07T18:29:49.527Z] ---> b3ebcbc215bf [2021-05-07T18:29:49.527Z] Step 6/8 : WORKDIR /build [2021-05-07T18:29:49.527Z] ---> Running in 341c32704d42 [2021-05-07T18:29:49.527Z] Removing intermediate container 341c32704d42 [2021-05-07T18:29:49.527Z] ---> d718fd04e874 [2021-05-07T18:29:49.527Z] Step 7/8 : COPY go.mod . [2021-05-07T18:29:49.795Z] ---> cdb0b7eb0a29 [2021-05-07T18:29:49.795Z] Step 8/8 : RUN go mod download [2021-05-07T18:29:49.795Z] ---> Running in e0f6e21966ef [2021-05-07T18:29:54.477Z] 4ebd0625c992: Pull complete [2021-05-07T18:29:54.753Z] 207e8628e3a3: Pull complete [2021-05-07T18:29:55.028Z] c791037a9be2: Pull complete [2021-05-07T18:29:58.435Z] ffd874e62e21: Pull complete [2021-05-07T18:29:58.435Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T18:29:58.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T18:29:58.731Z] ---> cfc18b08335c [2021-05-07T18:29:58.731Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-05-07T18:29:58.731Z] 20.10.0: Pulling from library/docker [2021-05-07T18:29:58.731Z] a3cc7d3b244e: Pulling fs layer [2021-05-07T18:29:58.731Z] 02a3295e0d61: Pulling fs layer [2021-05-07T18:29:58.731Z] 0f4f2e6d8100: Pulling fs layer [2021-05-07T18:29:58.731Z] 330b718f631f: Pulling fs layer [2021-05-07T18:29:58.731Z] a93816041522: Pulling fs layer [2021-05-07T18:29:58.731Z] bdb6da89ff94: Pulling fs layer [2021-05-07T18:29:58.731Z] 2a70c0c122f4: Pulling fs layer [2021-05-07T18:29:58.731Z] a93816041522: Waiting [2021-05-07T18:29:58.731Z] bdb6da89ff94: Waiting [2021-05-07T18:29:58.731Z] 2a70c0c122f4: Waiting [2021-05-07T18:29:58.731Z] 330b718f631f: Waiting [2021-05-07T18:29:58.731Z] 0f4f2e6d8100: Verifying Checksum [2021-05-07T18:29:58.731Z] 0f4f2e6d8100: Download complete [2021-05-07T18:29:58.731Z] 02a3295e0d61: Verifying Checksum [2021-05-07T18:29:58.731Z] 02a3295e0d61: Download complete [2021-05-07T18:29:58.731Z] a3cc7d3b244e: Verifying Checksum [2021-05-07T18:29:58.731Z] a3cc7d3b244e: Download complete [2021-05-07T18:29:58.731Z] a93816041522: Verifying Checksum [2021-05-07T18:29:58.731Z] a93816041522: Download complete [2021-05-07T18:29:58.731Z] bdb6da89ff94: Verifying Checksum [2021-05-07T18:29:58.731Z] bdb6da89ff94: Download complete [2021-05-07T18:29:58.731Z] 2a70c0c122f4: Verifying Checksum [2021-05-07T18:29:58.731Z] 2a70c0c122f4: Download complete [2021-05-07T18:29:59.747Z] a3cc7d3b244e: Pull complete [2021-05-07T18:30:00.351Z] 02a3295e0d61: Pull complete [2021-05-07T18:30:00.631Z] 330b718f631f: Verifying Checksum [2021-05-07T18:30:00.631Z] 0f4f2e6d8100: Pull complete [2021-05-07T18:30:04.988Z] 330b718f631f: Pull complete [2021-05-07T18:30:04.988Z] a93816041522: Pull complete [2021-05-07T18:30:04.988Z] bdb6da89ff94: Pull complete [2021-05-07T18:30:05.270Z] 2a70c0c122f4: Pull complete [2021-05-07T18:30:05.270Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-05-07T18:30:05.270Z] Status: Downloaded newer image for docker:20.10.0 [2021-05-07T18:30:12.016Z] ---> da4f535664c2 [2021-05-07T18:30:12.016Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-07T18:30:12.016Z] ---> Running in 449941ead2d7 [2021-05-07T18:30:12.016Z] Removing intermediate container 449941ead2d7 [2021-05-07T18:30:12.016Z] ---> e19cfac1816a [2021-05-07T18:30:12.016Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-05-07T18:30:12.016Z] ---> Running in 4879d6dc0d8f [2021-05-07T18:30:12.995Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T18:30:14.433Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T18:30:15.038Z] (1/5) Installing libsodium (1.0.18-r0) [2021-05-07T18:30:15.038Z] (2/5) Installing libzmq (4.3.3-r1) [2021-05-07T18:30:15.322Z] (3/5) Installing pkgconf (1.7.3-r0) [2021-05-07T18:30:15.322Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-05-07T18:30:15.605Z] (5/5) Installing zeromq-dev (4.3.3-r1) [2021-05-07T18:30:15.605Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T18:30:15.605Z] OK: 139 MiB in 45 packages [2021-05-07T18:30:16.514Z] Removing intermediate container e0f6e21966ef [2021-05-07T18:30:16.514Z] ---> 7a61c72a9e04 [2021-05-07T18:30:16.514Z] Successfully built 7a61c72a9e04 [2021-05-07T18:30:16.514Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:30:16.843Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T18:30:16.844Z] . [Pipeline] withDockerContainer [2021-05-07T18:30:17.000Z] prd-centos7-docker-4c-2g-3607 does not seem to be running inside a container [2021-05-07T18:30:17.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/225 -v /w/workspace/app-functions-sdk-go/225:/w/workspace/app-functions-sdk-go/225:rw,z -v /w/workspace/app-functions-sdk-go/225@tmp:/w/workspace/app-functions-sdk-go/225@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 ******** ci-base-image-x86_64 cat [2021-05-07T18:30:17.070Z] Removing intermediate container 4879d6dc0d8f [2021-05-07T18:30:17.070Z] ---> ebca5fb4ce8b [2021-05-07T18:30:17.070Z] Step 6/8 : WORKDIR /build [2021-05-07T18:30:17.070Z] ---> Running in 893884a37e27 [2021-05-07T18:30:17.348Z] Removing intermediate container 893884a37e27 [2021-05-07T18:30:17.348Z] ---> a5fd523008c7 [2021-05-07T18:30:17.348Z] Step 7/8 : COPY go.mod . [2021-05-07T18:30:17.951Z] ---> 12a79d4f504a [2021-05-07T18:30:17.951Z] Step 8/8 : RUN go mod download [2021-05-07T18:30:18.097Z] $ docker top 26367e6ce454510619d6d6fdef3a542695579093469e75b930866629f102aad0 -eo pid,comm [2021-05-07T18:30:18.228Z] ---> Running in a8b71b44786c [Pipeline] { [Pipeline] sh [2021-05-07T18:30:18.572Z] + go version [2021-05-07T18:30:18.573Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T18:30:18.592Z] $ docker stop --time=1 26367e6ce454510619d6d6fdef3a542695579093469e75b930866629f102aad0 [2021-05-07T18:30:19.960Z] $ docker rm -f 26367e6ce454510619d6d6fdef3a542695579093469e75b930866629f102aad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:30:20.503Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T18:30:20.503Z] . [Pipeline] withDockerContainer [2021-05-07T18:30:20.608Z] prd-centos7-docker-4c-2g-3607 does not seem to be running inside a container [2021-05-07T18:30:20.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/225 -v /w/workspace/app-functions-sdk-go/225:/w/workspace/app-functions-sdk-go/225:rw,z -v /w/workspace/app-functions-sdk-go/225@tmp:/w/workspace/app-functions-sdk-go/225@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 ******** ci-base-image-x86_64 cat [2021-05-07T18:30:21.258Z] $ docker top 442c0b84b98bcb3cf102b8d2c162b3abeee6d6ef944e6c1452b46819a60f835f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:30:21.696Z] + go mod tidy [Pipeline] sh [2021-05-07T18:30:22.969Z] + make test [2021-05-07T18:30:22.969Z] make -C ./app-service-template build [2021-05-07T18:30:22.969Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:30:22.969Z] go mod tidy [2021-05-07T18:30:23.232Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-07T18:30:38.323Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:30:38.323Z] make -C ./app-service-template test [2021-05-07T18:30:38.323Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:30:38.323Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-07T18:30:45.050Z] Removing intermediate container a8b71b44786c [2021-05-07T18:30:45.050Z] ---> f65ee4600e79 [2021-05-07T18:30:45.050Z] Successfully built f65ee4600e79 [2021-05-07T18:30:45.050Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:30:45.394Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T18:30:45.394Z] . [Pipeline] withDockerContainer [2021-05-07T18:30:45.675Z] prd-ubuntu18.04-docker-arm64-4c-16g-3604 does not seem to be running inside a container [2021-05-07T18:30:45.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/225 -v /w/workspace/app-functions-sdk-go/225:/w/workspace/app-functions-sdk-go/225:rw,z -v /w/workspace/app-functions-sdk-go/225@tmp:/w/workspace/app-functions-sdk-go/225@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 ******** ci-base-image-arm64 cat [2021-05-07T18:30:47.251Z] $ docker top 8c2f1b9a9f45179248fd42ebbc4ae2532fafa704b8267dbe9fdddee5d0d5e70d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:30:48.211Z] + go version [2021-05-07T18:30:48.211Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T18:30:48.240Z] $ docker stop --time=1 8c2f1b9a9f45179248fd42ebbc4ae2532fafa704b8267dbe9fdddee5d0d5e70d [2021-05-07T18:30:50.143Z] $ docker rm -f 8c2f1b9a9f45179248fd42ebbc4ae2532fafa704b8267dbe9fdddee5d0d5e70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:30:50.716Z] ok new-app-service 0.015s coverage: 47.8% of statements [2021-05-07T18:30:50.717Z] ? new-app-service/config [no test files] [2021-05-07T18:30:50.717Z] ok new-app-service/functions 0.019s [2021-05-07T18:30:50.717Z] CGO_ENABLED=1 go vet ./... [2021-05-07T18:30:50.869Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T18:30:50.869Z] . [Pipeline] withDockerContainer [2021-05-07T18:30:51.125Z] prd-ubuntu18.04-docker-arm64-4c-16g-3604 does not seem to be running inside a container [2021-05-07T18:30:51.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/225 -v /w/workspace/app-functions-sdk-go/225:/w/workspace/app-functions-sdk-go/225:rw,z -v /w/workspace/app-functions-sdk-go/225@tmp:/w/workspace/app-functions-sdk-go/225@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 ******** ci-base-image-arm64 cat [2021-05-07T18:30:52.737Z] $ docker top 4e4ebdf54d5133c444b8cf39a4f8fe2b81aa747b2e046747d69987c5702b420c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:30:53.724Z] + go mod tidy [Pipeline] sh [2021-05-07T18:30:54.991Z] + make test [2021-05-07T18:30:54.992Z] make -C ./app-service-template build [2021-05-07T18:30:54.992Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:30:54.992Z] go mod tidy [2021-05-07T18:30:55.604Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-05-07T18:31:01.251Z] gofmt -l . [2021-05-07T18:31:01.251Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:31:01.251Z] ./bin/test-go-mod-tidy.sh [2021-05-07T18:31:01.251Z] ./bin/test-attribution-txt.sh [2021-05-07T18:31:01.519Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:31:01.519Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T18:31:02.478Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-07T18:31:05.848Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.024s coverage: 55.8% of statements [2021-05-07T18:31:05.848Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.027s coverage: 92.5% of statements [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-07T18:31:05.848Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.032s coverage: 61.5% of statements [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-07T18:31:05.848Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.017s [2021-05-07T18:31:05.848Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.057s coverage: 75.4% of statements [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-07T18:31:05.848Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.023s coverage: 97.0% of statements [2021-05-07T18:31:05.848Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T18:31:06.123Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements [2021-05-07T18:31:09.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.785s coverage: 78.4% of statements [2021-05-07T18:31:09.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-07T18:31:09.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.017s coverage: 18.4% of statements [2021-05-07T18:31:09.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.023s coverage: 27.3% of statements [2021-05-07T18:31:09.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-07T18:31:09.477Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-07T18:31:09.477Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.031s coverage: 71.7% of statements [2021-05-07T18:31:28.056Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:31:28.056Z] make -C ./app-service-template test [2021-05-07T18:31:28.056Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:31:28.056Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-05-07T18:31:36.755Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.052s coverage: 81.9% of statements [2021-05-07T18:31:36.755Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.013s coverage: 94.4% of statements [2021-05-07T18:31:36.755Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-07T18:31:36.755Z] gofmt -l . [2021-05-07T18:31:36.755Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:31:36.755Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T18:31:36.773Z] $ docker stop --time=1 442c0b84b98bcb3cf102b8d2c162b3abeee6d6ef944e6c1452b46819a60f835f [2021-05-07T18:31:38.439Z] $ docker rm -f 442c0b84b98bcb3cf102b8d2c162b3abeee6d6ef944e6c1452b46819a60f835f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:31:39.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T18:31:39.423Z] 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] libraryResource [Pipeline] sh [2021-05-07T18:31:40.049Z] ---> job-cost.sh [2021-05-07T18:31:40.049Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-n9QW [2021-05-07T18:31:54.995Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T18:32:00.441Z] ok new-app-service 0.035s coverage: 47.8% of statements [2021-05-07T18:32:00.441Z] ? new-app-service/config [no test files] [2021-05-07T18:32:00.441Z] ok new-app-service/functions 0.031s [2021-05-07T18:32:00.441Z] CGO_ENABLED=1 go vet ./... [2021-05-07T18:32:21.638Z] lf-activate-venv(): INFO: Adding /tmp/venv-n9QW/bin to PATH [2021-05-07T18:32:21.638Z] INFO: No Stack... [2021-05-07T18:32:21.900Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T18:32:22.474Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T18:32:22.781Z] + cat /w/workspace/app-functions-sdk-go/225/archives/cost.csv [2021-05-07T18:32:22.781Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T18:32:22.860Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] [2021-05-07T18:32:22.873Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] did not exist. Created. [2021-05-07T18:32:22.873Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T18:32:23.201Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T18:32:23.318Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T18:32:23.337Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T18:32:27.291Z] gofmt -l . [2021-05-07T18:32:27.291Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:32:27.291Z] ./bin/test-go-mod-tidy.sh [2021-05-07T18:32:27.291Z] ./bin/test-attribution-txt.sh [2021-05-07T18:32:27.889Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/225/app-service-template' [2021-05-07T18:32:27.889Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-05-07T18:32:29.369Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.084s coverage: 55.8% of statements [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.061s coverage: 92.5% of statements [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.116s coverage: 61.5% of statements [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.026s [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.068s coverage: 75.4% of statements [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.016s coverage: 97.0% of statements [2021-05-07T18:32:37.698Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T18:32:37.698Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.027s coverage: 10.5% of statements [2021-05-07T18:32:44.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.826s coverage: 78.4% of statements [2021-05-07T18:32:44.448Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-05-07T18:32:44.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.031s coverage: 18.4% of statements [2021-05-07T18:32:44.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.039s coverage: 27.3% of statements [2021-05-07T18:32:44.448Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-05-07T18:32:44.448Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-05-07T18:32:44.448Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.039s coverage: 71.7% of statements [2021-05-07T18:33:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.102s coverage: 81.9% of statements [2021-05-07T18:33:11.219Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.048s coverage: 94.4% of statements [2021-05-07T18:33:11.219Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-07T18:33:12.200Z] gofmt -l . [2021-05-07T18:33:12.798Z] [ "`gofmt -l .`" = "" ] [2021-05-07T18:33:13.073Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T18:33:13.699Z] $ docker stop --time=1 4e4ebdf54d5133c444b8cf39a4f8fe2b81aa747b2e046747d69987c5702b420c [2021-05-07T18:33:15.879Z] $ docker rm -f 4e4ebdf54d5133c444b8cf39a4f8fe2b81aa747b2e046747d69987c5702b420c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T18:33:16.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T18:33:16.808Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T18:33:18.066Z] 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] libraryResource [Pipeline] sh [2021-05-07T18:33:18.644Z] ---> job-cost.sh [2021-05-07T18:33:18.645Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wBak [2021-05-07T18:34:05.792Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T18:35:43.214Z] lf-activate-venv(): INFO: Adding /tmp/venv-wBak/bin to PATH [2021-05-07T18:35:43.214Z] INFO: No Stack... [2021-05-07T18:35:43.214Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T18:35:43.214Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T18:35:43.557Z] + cut -d, -f6 [2021-05-07T18:35:43.557Z] + cat /w/workspace/app-functions-sdk-go/225/archives/cost.csv [Pipeline] lock [2021-05-07T18:35:43.677Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] [2021-05-07T18:35:43.685Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] did not exist. Created. [2021-05-07T18:35:43.686Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T18:35:44.053Z] /w/workspace/app-functions-sdk-go/225@tmp/durable-74264248/script.sh: 1: /w/workspace/app-functions-sdk-go/225@tmp/durable-74264248/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T18:35:44.403Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T18:35:44.423Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T18:35:44.598Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T18:35:44.612Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-225-stack-cost] [Pipeline] // lock [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] wrap [2021-05-07T18:35:45.049Z] provisioning config files... [2021-05-07T18:35:45.126Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7170892190108715405tmp [Pipeline] { [Pipeline] sh [2021-05-07T18:35:45.492Z] + set +x [2021-05-07T18:35:45.492Z] + curl -s https://codecov.io/bash [2021-05-07T18:35:45.492Z] + bash -s -- [2021-05-07T18:35:45.753Z] [2021-05-07T18:35:45.753Z] _____ _ [2021-05-07T18:35:45.753Z] / ____| | | [2021-05-07T18:35:45.753Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T18:35:45.753Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T18:35:45.753Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T18:35:45.753Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T18:35:45.753Z] Bash-1.0.2 [2021-05-07T18:35:45.753Z] [2021-05-07T18:35:45.753Z] [2021-05-07T18:35:45.753Z] ==> git version 2.24.3 found [2021-05-07T18:35:45.753Z] ==> 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-05-07T18:35:45.753Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T18:35:45.753Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T18:35:45.753Z] ==> Jenkins CI detected. [2021-05-07T18:35:45.753Z] project root: . [2021-05-07T18:35:45.753Z] --> token set from env [2021-05-07T18:35:45.753Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T18:35:45.753Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T18:35:45.753Z] ==> Python coveragepy not found [2021-05-07T18:35:45.753Z] ==> Searching for coverage reports in: [2021-05-07T18:35:45.753Z] + . [2021-05-07T18:35:45.753Z] -> Found 2 reports [2021-05-07T18:35:45.753Z] ==> Detecting git/mercurial file structure [2021-05-07T18:35:45.753Z] ==> Reading reports [2021-05-07T18:35:45.753Z] + ./app-service-template/coverage.out bytes=1055 [2021-05-07T18:35:45.753Z] + ./coverage.out bytes=86827 [2021-05-07T18:35:45.753Z] ==> Appending adjustments [2021-05-07T18:35:45.753Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T18:35:46.326Z] + Found adjustments [2021-05-07T18:35:46.326Z] ==> Gzipping contents [2021-05-07T18:35:46.326Z] 16K /tmp/codecov.NCI0Jb.gz [2021-05-07T18:35:46.326Z] ==> Uploading reports [2021-05-07T18:35:46.326Z] url: https://codecov.io [2021-05-07T18:35:46.326Z] query: branch=master&commit=7ab1d82b7e244905f9818398051c1e157ceda5e1&build=225&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F225%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-07T18:35:46.326Z] -> Pinging Codecov [2021-05-07T18:35:46.326Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=7ab1d82b7e244905f9818398051c1e157ceda5e1&build=225&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F225%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-05-07T18:35:46.898Z] -> Uploading to [2021-05-07T18:35:46.898Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/3D8B5DFFC46A037C893635FACE044666/7ab1d82b7e244905f9818398051c1e157ceda5e1/5c219e46-e7a6-4f40-bafe-48c15a37f630.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T183546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f2b92b4238a8c563d1e2276ecab0dd53196f47857c87b648adbfc820e6989404 [2021-05-07T18:35:46.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T18:35:46.898Z] Dload Upload Total Spent Left Speed [2021-05-07T18:35:47.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15283 0 0 100 15283 0 31912 --:--:-- --:--:-- --:--:-- 31906 [2021-05-07T18:35:47.159Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7ab1d82b7e244905f9818398051c1e157ceda5e1 [Pipeline] } [2021-05-07T18:35:47.169Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-05-07T18:35:47.862Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-05-07T18:35:47.884Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:35:48.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-07T18:35:48.197Z] [2021-05-07T18:35:48.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:35:48.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-07T18:35:48.517Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-05-07T18:35:48.517Z] 188c0c94c7c5: Pulling fs layer [2021-05-07T18:35:48.517Z] 0ef7d3d256c8: Pulling fs layer [2021-05-07T18:35:48.517Z] de9db76c5a1d: Pulling fs layer [2021-05-07T18:35:48.517Z] 0eba1c9be4d2: Pulling fs layer [2021-05-07T18:35:48.517Z] 0d57e429df01: Pulling fs layer [2021-05-07T18:35:48.517Z] 4e4be7b47b0d: Pulling fs layer [2021-05-07T18:35:48.517Z] e1f770b5df2f: Pulling fs layer [2021-05-07T18:35:48.517Z] 85a0685a4137: Pulling fs layer [2021-05-07T18:35:48.517Z] 0eba1c9be4d2: Waiting [2021-05-07T18:35:48.517Z] 0d57e429df01: Waiting [2021-05-07T18:35:48.517Z] 4e4be7b47b0d: Waiting [2021-05-07T18:35:48.517Z] e1f770b5df2f: Waiting [2021-05-07T18:35:48.517Z] 85a0685a4137: Waiting [2021-05-07T18:35:48.517Z] de9db76c5a1d: Download complete [2021-05-07T18:35:48.517Z] 0ef7d3d256c8: Verifying Checksum [2021-05-07T18:35:48.517Z] 0ef7d3d256c8: Download complete [2021-05-07T18:35:48.517Z] 0d57e429df01: Verifying Checksum [2021-05-07T18:35:48.517Z] 0d57e429df01: Download complete [2021-05-07T18:35:48.517Z] 4e4be7b47b0d: Verifying Checksum [2021-05-07T18:35:48.517Z] 4e4be7b47b0d: Download complete [2021-05-07T18:35:48.517Z] 188c0c94c7c5: Download complete [2021-05-07T18:35:49.469Z] 188c0c94c7c5: Pull complete [2021-05-07T18:35:49.470Z] 0ef7d3d256c8: Pull complete [2021-05-07T18:35:49.734Z] e1f770b5df2f: Verifying Checksum [2021-05-07T18:35:49.734Z] e1f770b5df2f: Download complete [2021-05-07T18:35:49.734Z] de9db76c5a1d: Pull complete [2021-05-07T18:35:51.673Z] 0eba1c9be4d2: Verifying Checksum [2021-05-07T18:35:51.674Z] 0eba1c9be4d2: Download complete [2021-05-07T18:35:51.674Z] 85a0685a4137: Verifying Checksum [2021-05-07T18:35:51.674Z] 85a0685a4137: Download complete [2021-05-07T18:35:56.996Z] 0eba1c9be4d2: Pull complete [2021-05-07T18:35:56.996Z] 0d57e429df01: Pull complete [2021-05-07T18:35:56.996Z] 4e4be7b47b0d: Pull complete [2021-05-07T18:35:58.927Z] e1f770b5df2f: Pull complete [2021-05-07T18:36:07.126Z] 85a0685a4137: Pull complete [2021-05-07T18:36:07.126Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-05-07T18:36:07.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-05-07T18:36:07.126Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-05-07T18:36:07.405Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:36:07.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-05-07T18:36:08.469Z] $ docker top 060a7ddb3ec0a32208699495e28144d95f423a282cff8dda09cb241b15402e66 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-07T18:36:08.597Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-05-07T18:36:08.905Z] + set -o pipefail [2021-05-07T18:36:08.905Z] + snyk monitor '--org=edgex-jenkins' [2021-05-07T18:36:18.938Z] [2021-05-07T18:36:18.939Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-05-07T18:36:18.939Z] [2021-05-07T18:36:18.939Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/a54f6c2c-9eb1-4f3c-a089-22486663be55 [2021-05-07T18:36:18.939Z] [2021-05-07T18:36:18.939Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-05-07T18:36:18.939Z] [2021-05-07T18:36:18.939Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-05-07T18:36:18.939Z] [2021-05-07T18:36:18.939Z] [Pipeline] } [2021-05-07T18:36:18.955Z] $ docker stop --time=1 060a7ddb3ec0a32208699495e28144d95f423a282cff8dda09cb241b15402e66 [2021-05-07T18:36:22.104Z] $ docker rm -f 060a7ddb3ec0a32208699495e28144d95f423a282cff8dda09cb241b15402e66 [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-05-07T18:36:22.957Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T18:36:22.979Z] provisioning config files... [2021-05-07T18:36:22.991Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1046065372004872390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:36:23.327Z] --> edgex-publish-swagger.sh [2021-05-07T18:36:23.327Z] === Publish openapi/v2 API === [2021-05-07T18:36:23.327Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-05-07T18:36:23.327Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-05-07T18:36:23.327Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T18:36:23.327Z] Dload Upload Total Spent Left Speed [2021-05-07T18:36:24.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 12667 0:00:01 0:00:01 --:--:-- 12684 100 13052 0 0 100 13052 0 12665 0:00:01 0:00:01 --:--:-- 12684 [2021-05-07T18:36:24.273Z] [2021-05-07T18:36:24.273Z] [Pipeline] } [2021-05-07T18:36:24.284Z] 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-05-07T18:36:24.768Z] + git log --format=format:%s -1 7ab1d82b7e244905f9818398051c1e157ceda5e1 [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:36:25.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:36:25.092Z] . [Pipeline] withDockerContainer [2021-05-07T18:36:25.221Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:36:25.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T18:36:26.055Z] $ docker top 052452bc45aa46204b51a68543bde8e947d28cdc8019ddb2585ce212ad055159 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T18:36:26.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:36:26.214Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:36:26.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:36:26.421Z] $ docker exec 052452bc45aa46204b51a68543bde8e947d28cdc8019ddb2585ce212ad055159 ssh-agent [2021-05-07T18:36:26.601Z] SSH_AUTH_SOCK=/tmp/ssh-RccceRn1BnCT/agent.13 [2021-05-07T18:36:26.601Z] SSH_AGENT_PID=18 [2021-05-07T18:36:26.609Z] Running ssh-add (command line suppressed) [2021-05-07T18:36:26.754Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7110471499130992945.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7110471499130992945.key) [2021-05-07T18:36:26.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:36:27.122Z] + git semver tag [2021-05-07T18:36:27.122Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T18:36:27.122Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T18:36:27.122Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T18:36:27.122Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T18:36:27.122Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T18:36:27.122Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T18:36:27.122Z] # $SEMVER_BRANCH = master [2021-05-07T18:36:27.122Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-05-07T18:36:27.122Z] # 7ab1d82b7e244905f9818398051c1e157ceda5e1 HEAD [2021-05-07T18:36:27.122Z] # -> Force: false [2021-05-07T18:36:27.122Z] # 72b75c4957f479a100b8504129f2b2748960cce4 refs/tags/v2.0.0-dev.53 [Pipeline] } [2021-05-07T18:36:27.136Z] $ docker exec --env ******** --env ******** 052452bc45aa46204b51a68543bde8e947d28cdc8019ddb2585ce212ad055159 ssh-agent -k [2021-05-07T18:36:27.250Z] unset SSH_AUTH_SOCK; [2021-05-07T18:36:27.251Z] unset SSH_AGENT_PID; [2021-05-07T18:36:27.251Z] echo Agent pid 18 killed; [2021-05-07T18:36:27.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T18:36:27.650Z] + git semver [Pipeline] } [2021-05-07T18:36:27.670Z] $ docker stop --time=1 052452bc45aa46204b51a68543bde8e947d28cdc8019ddb2585ce212ad055159 [2021-05-07T18:36:29.038Z] $ docker rm -f 052452bc45aa46204b51a68543bde8e947d28cdc8019ddb2585ce212ad055159 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:36:29.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-07T18:36:29.519Z] [2021-05-07T18:36:29.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:36:29.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-07T18:36:29.840Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-05-07T18:36:29.840Z] ab5ef0e58194: Pulling fs layer [2021-05-07T18:36:29.840Z] 9712f1f96733: Pulling fs layer [2021-05-07T18:36:29.840Z] 63f879dbbcfc: Pulling fs layer [2021-05-07T18:36:29.840Z] 0d9ebad4ef96: Pulling fs layer [2021-05-07T18:36:29.840Z] e9a5061849ea: Pulling fs layer [2021-05-07T18:36:29.840Z] d747dcd14b5f: Pulling fs layer [2021-05-07T18:36:29.840Z] 2de7ff778b66: Pulling fs layer [2021-05-07T18:36:29.840Z] e9a5061849ea: Waiting [2021-05-07T18:36:29.840Z] d747dcd14b5f: Waiting [2021-05-07T18:36:29.840Z] 2de7ff778b66: Waiting [2021-05-07T18:36:29.840Z] 0d9ebad4ef96: Waiting [2021-05-07T18:36:29.840Z] 9712f1f96733: Verifying Checksum [2021-05-07T18:36:29.840Z] 9712f1f96733: Download complete [2021-05-07T18:36:31.239Z] 63f879dbbcfc: Verifying Checksum [2021-05-07T18:36:31.239Z] 63f879dbbcfc: Download complete [2021-05-07T18:36:31.239Z] e9a5061849ea: Verifying Checksum [2021-05-07T18:36:31.239Z] e9a5061849ea: Download complete [2021-05-07T18:36:31.240Z] d747dcd14b5f: Verifying Checksum [2021-05-07T18:36:31.240Z] d747dcd14b5f: Download complete [2021-05-07T18:36:31.815Z] 2de7ff778b66: Verifying Checksum [2021-05-07T18:36:31.815Z] 2de7ff778b66: Download complete [2021-05-07T18:36:31.815Z] 0d9ebad4ef96: Verifying Checksum [2021-05-07T18:36:31.815Z] 0d9ebad4ef96: Download complete [2021-05-07T18:36:32.076Z] ab5ef0e58194: Verifying Checksum [2021-05-07T18:36:32.076Z] ab5ef0e58194: Download complete [2021-05-07T18:36:36.321Z] ab5ef0e58194: Pull complete [2021-05-07T18:36:36.321Z] 9712f1f96733: Pull complete [2021-05-07T18:36:39.644Z] 63f879dbbcfc: Pull complete [2021-05-07T18:36:46.264Z] 0d9ebad4ef96: Pull complete [2021-05-07T18:36:47.214Z] e9a5061849ea: Pull complete [2021-05-07T18:36:47.484Z] d747dcd14b5f: Pull complete [2021-05-07T18:36:50.063Z] 2de7ff778b66: Pull complete [2021-05-07T18:36:50.063Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-05-07T18:36:50.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-05-07T18:36:50.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-05-07T18:36:50.266Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:36:50.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-05-07T18:36:53.998Z] $ docker top ba28b75ea552535ba46b4c14dde47b31de1360d745ac1446227ac35a6e15317c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-05-07T18:36:54.143Z] provisioning config files... [2021-05-07T18:36:54.154Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1533990611070171757tmp [2021-05-07T18:36:54.172Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2863491407533080927tmp [2021-05-07T18:36:54.189Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5228470058959987295tmp [Pipeline] { [Pipeline] echo [2021-05-07T18:36:54.212Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:36:54.519Z] ---> sigul-configuration.sh [2021-05-07T18:36:54.519Z] gpg: directory `/root/.gnupg' created [2021-05-07T18:36:54.519Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-05-07T18:36:54.519Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-05-07T18:36:54.519Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-05-07T18:36:54.519Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-05-07T18:36:54.519Z] gpg: CAST5 encrypted data [2021-05-07T18:36:54.781Z] gpg: encrypted with 1 passphrase [2021-05-07T18:36:54.781Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-05-07T18:36:55.084Z] + mkdir /home/jenkins [2021-05-07T18:36:55.084Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-05-07T18:36:55.384Z] + 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-05-07T18:36:55.417Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:36:55.713Z] ---> sigul-install.sh [2021-05-07T18:37:03.954Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-05-07T18:37:04.326Z] + git tag --list [2021-05-07T18:37:04.326Z] v0.1.0 [2021-05-07T18:37:04.326Z] v0.1.1 [2021-05-07T18:37:04.326Z] v1.0.0 [2021-05-07T18:37:04.326Z] v1.1.0 [2021-05-07T18:37:04.326Z] v1.2.0 [2021-05-07T18:37:04.326Z] v1.3.0 [2021-05-07T18:37:04.326Z] v1.3.1 [2021-05-07T18:37:04.326Z] v1.3.1-dev.1 [2021-05-07T18:37:04.326Z] v1.3.2-dev.1 [2021-05-07T18:37:04.326Z] v2.0.0-dev.1 [2021-05-07T18:37:04.326Z] v2.0.0-dev.10 [2021-05-07T18:37:04.326Z] v2.0.0-dev.11 [2021-05-07T18:37:04.326Z] v2.0.0-dev.12 [2021-05-07T18:37:04.326Z] v2.0.0-dev.13 [2021-05-07T18:37:04.326Z] v2.0.0-dev.14 [2021-05-07T18:37:04.326Z] v2.0.0-dev.15 [2021-05-07T18:37:04.326Z] v2.0.0-dev.16 [2021-05-07T18:37:04.326Z] v2.0.0-dev.17 [2021-05-07T18:37:04.326Z] v2.0.0-dev.18 [2021-05-07T18:37:04.326Z] v2.0.0-dev.19 [2021-05-07T18:37:04.326Z] v2.0.0-dev.2 [2021-05-07T18:37:04.326Z] v2.0.0-dev.20 [2021-05-07T18:37:04.326Z] v2.0.0-dev.21 [2021-05-07T18:37:04.326Z] v2.0.0-dev.22 [2021-05-07T18:37:04.326Z] v2.0.0-dev.23 [2021-05-07T18:37:04.326Z] v2.0.0-dev.24 [2021-05-07T18:37:04.326Z] v2.0.0-dev.25 [2021-05-07T18:37:04.326Z] v2.0.0-dev.26 [2021-05-07T18:37:04.326Z] v2.0.0-dev.27 [2021-05-07T18:37:04.326Z] v2.0.0-dev.28 [2021-05-07T18:37:04.326Z] v2.0.0-dev.29 [2021-05-07T18:37:04.326Z] v2.0.0-dev.3 [2021-05-07T18:37:04.326Z] v2.0.0-dev.30 [2021-05-07T18:37:04.326Z] v2.0.0-dev.31 [2021-05-07T18:37:04.326Z] v2.0.0-dev.32 [2021-05-07T18:37:04.326Z] v2.0.0-dev.33 [2021-05-07T18:37:04.326Z] v2.0.0-dev.34 [2021-05-07T18:37:04.326Z] v2.0.0-dev.35 [2021-05-07T18:37:04.326Z] v2.0.0-dev.36 [2021-05-07T18:37:04.326Z] v2.0.0-dev.37 [2021-05-07T18:37:04.326Z] v2.0.0-dev.38 [2021-05-07T18:37:04.326Z] v2.0.0-dev.39 [2021-05-07T18:37:04.326Z] v2.0.0-dev.4 [2021-05-07T18:37:04.326Z] v2.0.0-dev.40 [2021-05-07T18:37:04.326Z] v2.0.0-dev.41 [2021-05-07T18:37:04.326Z] v2.0.0-dev.42 [2021-05-07T18:37:04.326Z] v2.0.0-dev.43 [2021-05-07T18:37:04.326Z] v2.0.0-dev.44 [2021-05-07T18:37:04.326Z] v2.0.0-dev.45 [2021-05-07T18:37:04.326Z] v2.0.0-dev.46 [2021-05-07T18:37:04.326Z] v2.0.0-dev.47 [2021-05-07T18:37:04.326Z] v2.0.0-dev.48 [2021-05-07T18:37:04.326Z] v2.0.0-dev.49 [2021-05-07T18:37:04.326Z] v2.0.0-dev.5 [2021-05-07T18:37:04.326Z] v2.0.0-dev.50 [2021-05-07T18:37:04.326Z] v2.0.0-dev.51 [2021-05-07T18:37:04.326Z] v2.0.0-dev.52 [2021-05-07T18:37:04.326Z] v2.0.0-dev.53 [2021-05-07T18:37:04.326Z] v2.0.0-dev.6 [2021-05-07T18:37:04.326Z] v2.0.0-dev.7 [2021-05-07T18:37:04.326Z] v2.0.0-dev.8 [2021-05-07T18:37:04.326Z] v2.0.0-dev.9 [Pipeline] sh [2021-05-07T18:37:04.633Z] + lftools sign git-tag v2.0.0-dev.53 [2021-05-07T18:37:06.031Z] Signing Git tag with Sigul... [2021-05-07T18:37:06.031Z] Signing v2.0.0-dev.53 [Pipeline] echo [2021-05-07T18:37:06.988Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:07.290Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-05-07T18:37:07.300Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-05-07T18:37:07.331Z] $ docker stop --time=1 ba28b75ea552535ba46b4c14dde47b31de1360d745ac1446227ac35a6e15317c [2021-05-07T18:37:09.590Z] $ docker rm -f ba28b75ea552535ba46b4c14dde47b31de1360d745ac1446227ac35a6e15317c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:37:10.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:37:10.197Z] . [Pipeline] withDockerContainer [2021-05-07T18:37:10.296Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:37:10.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T18:37:11.333Z] $ docker top 06c010a87c4e5fc79f234f64b6292e77e8895475c92018c19b74b481a3b77e99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T18:37:11.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:37:11.490Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:37:11.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:37:11.695Z] $ docker exec 06c010a87c4e5fc79f234f64b6292e77e8895475c92018c19b74b481a3b77e99 ssh-agent [2021-05-07T18:37:11.864Z] SSH_AUTH_SOCK=/tmp/ssh-IlSjhRfTUOPC/agent.11 [2021-05-07T18:37:11.864Z] SSH_AGENT_PID=16 [2021-05-07T18:37:11.872Z] Running ssh-add (command line suppressed) [2021-05-07T18:37:11.992Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_152271393413348700.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_152271393413348700.key) [2021-05-07T18:37:12.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:37:12.349Z] + git semver bump pre [2021-05-07T18:37:12.349Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T18:37:12.349Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T18:37:12.349Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T18:37:12.349Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T18:37:12.349Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T18:37:12.349Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T18:37:12.349Z] # $SEMVER_BRANCH = master [2021-05-07T18:37:12.349Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-05-07T18:37:12.349Z] 2.0.0-dev.54 [Pipeline] } [2021-05-07T18:37:12.362Z] $ docker exec --env ******** --env ******** 06c010a87c4e5fc79f234f64b6292e77e8895475c92018c19b74b481a3b77e99 ssh-agent -k [2021-05-07T18:37:12.478Z] unset SSH_AUTH_SOCK; [2021-05-07T18:37:12.479Z] unset SSH_AGENT_PID; [2021-05-07T18:37:12.479Z] echo Agent pid 16 killed; [2021-05-07T18:37:12.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T18:37:12.873Z] + git semver [Pipeline] } [2021-05-07T18:37:12.892Z] $ docker stop --time=1 06c010a87c4e5fc79f234f64b6292e77e8895475c92018c19b74b481a3b77e99 [2021-05-07T18:37:14.274Z] $ docker rm -f 06c010a87c4e5fc79f234f64b6292e77e8895475c92018c19b74b481a3b77e99 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:37:14.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T18:37:14.699Z] . [Pipeline] withDockerContainer [2021-05-07T18:37:14.803Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:37:14.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T18:37:15.533Z] $ docker top 80b70162660d8aa97c59158184e1bf6b8291bd086bb790da4d0d478b0d0c3cf0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T18:37:15.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T18:37:15.687Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T18:37:15.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T18:37:15.866Z] $ docker exec 80b70162660d8aa97c59158184e1bf6b8291bd086bb790da4d0d478b0d0c3cf0 ssh-agent [2021-05-07T18:37:16.037Z] SSH_AUTH_SOCK=/tmp/ssh-WVrG6xvLzTWf/agent.11 [2021-05-07T18:37:16.037Z] SSH_AGENT_PID=16 [2021-05-07T18:37:16.045Z] Running ssh-add (command line suppressed) [2021-05-07T18:37:16.173Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2452341553027988128.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2452341553027988128.key) [2021-05-07T18:37:16.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T18:37:16.532Z] + git semver push [2021-05-07T18:37:16.533Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T18:37:16.533Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-05-07T18:37:16.533Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T18:37:16.533Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T18:37:16.533Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T18:37:16.533Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T18:37:16.533Z] # $SEMVER_BRANCH = master [2021-05-07T18:37:16.533Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-05-07T18:37:20.760Z] $ docker exec --env ******** --env ******** 80b70162660d8aa97c59158184e1bf6b8291bd086bb790da4d0d478b0d0c3cf0 ssh-agent -k [2021-05-07T18:37:20.900Z] unset SSH_AUTH_SOCK; [2021-05-07T18:37:20.901Z] unset SSH_AGENT_PID; [2021-05-07T18:37:20.901Z] echo Agent pid 16 killed; [2021-05-07T18:37:20.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T18:37:21.292Z] + git semver [Pipeline] } [2021-05-07T18:37:21.311Z] $ docker stop --time=1 80b70162660d8aa97c59158184e1bf6b8291bd086bb790da4d0d478b0d0c3cf0 [2021-05-07T18:37:22.654Z] $ docker rm -f 80b70162660d8aa97c59158184e1bf6b8291bd086bb790da4d0d478b0d0c3cf0 [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] libraryResource [Pipeline] sh [2021-05-07T18:37:23.411Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:23.981Z] ---> package-listing.sh [2021-05-07T18:37:23.981Z] ++ facter osfamily [2021-05-07T18:37:23.981Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T18:37:23.981Z] + OS_FAMILY=redhat [2021-05-07T18:37:23.981Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-05-07T18:37:23.981Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T18:37:23.981Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T18:37:23.981Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T18:37:23.981Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T18:37:23.981Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-05-07T18:37:23.981Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T18:37:23.981Z] + case "${OS_FAMILY}" in [2021-05-07T18:37:23.981Z] + rpm -qa [2021-05-07T18:37:23.981Z] + sort [2021-05-07T18:37:29.305Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T18:37:29.305Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T18:37:29.305Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T18:37:29.305Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-05-07T18:37:29.305Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-05-07T18:37:29.305Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-05-07T18:37:29.319Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T18:37:29.613Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:37:29.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:37:29.922Z] [2021-05-07T18:37:29.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T18:37:30.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:37:30.238Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T18:37:30.238Z] df20fa9351a1: Pulling fs layer [2021-05-07T18:37:30.238Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T18:37:30.238Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T18:37:30.238Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T18:37:30.238Z] 93b61091891f: Pulling fs layer [2021-05-07T18:37:30.238Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T18:37:30.238Z] 5e14af77c1be: Pulling fs layer [2021-05-07T18:37:30.238Z] 01666e4c0597: Pulling fs layer [2021-05-07T18:37:30.238Z] aa168da1d23b: Pulling fs layer [2021-05-07T18:37:30.238Z] 93b61091891f: Waiting [2021-05-07T18:37:30.238Z] 93b9cdb0e59b: Waiting [2021-05-07T18:37:30.238Z] 5e14af77c1be: Waiting [2021-05-07T18:37:30.238Z] 01666e4c0597: Waiting [2021-05-07T18:37:30.238Z] aa168da1d23b: Waiting [2021-05-07T18:37:30.238Z] 46f8f816bc3b: Waiting [2021-05-07T18:37:30.238Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T18:37:30.238Z] 36b3adc4ff6f: Download complete [2021-05-07T18:37:30.238Z] 46f8f816bc3b: Download complete [2021-05-07T18:37:30.238Z] df20fa9351a1: Verifying Checksum [2021-05-07T18:37:30.238Z] df20fa9351a1: Download complete [2021-05-07T18:37:30.500Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T18:37:30.500Z] 93b9cdb0e59b: Download complete [2021-05-07T18:37:30.500Z] 93b61091891f: Download complete [2021-05-07T18:37:30.500Z] 5e14af77c1be: Verifying Checksum [2021-05-07T18:37:30.500Z] 5e14af77c1be: Download complete [2021-05-07T18:37:30.500Z] 01666e4c0597: Verifying Checksum [2021-05-07T18:37:30.500Z] 01666e4c0597: Download complete [2021-05-07T18:37:30.500Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T18:37:30.500Z] 8ad3a11d3b57: Download complete [2021-05-07T18:37:30.769Z] df20fa9351a1: Pull complete [2021-05-07T18:37:30.769Z] 36b3adc4ff6f: Pull complete [2021-05-07T18:37:32.170Z] 8ad3a11d3b57: Pull complete [2021-05-07T18:37:32.170Z] aa168da1d23b: Verifying Checksum [2021-05-07T18:37:32.170Z] aa168da1d23b: Download complete [2021-05-07T18:37:32.754Z] 46f8f816bc3b: Pull complete [2021-05-07T18:37:33.018Z] 93b61091891f: Pull complete [2021-05-07T18:37:33.280Z] 93b9cdb0e59b: Pull complete [2021-05-07T18:37:33.280Z] 5e14af77c1be: Pull complete [2021-05-07T18:37:33.280Z] 01666e4c0597: Pull complete [2021-05-07T18:37:41.461Z] aa168da1d23b: Pull complete [2021-05-07T18:37:41.461Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T18:37:41.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T18:37:41.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T18:37:41.588Z] prd-centos7-docker-4c-2g-3597 does not seem to be running inside a container [2021-05-07T18:37:41.656Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T18:37:44.230Z] $ docker top ce0ce540f16a5ae2e3a6adf5787f88508eb75f57150051ad61875da1ae413f60 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T18:37:44.682Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T18:37:45.025Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T18:37:45.394Z] + ls /var/log/sa-host [2021-05-07T18:37:45.394Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T18:37:45.394Z] file_magic: OK [2021-05-07T18:37:45.394Z] HZ: Using current value: 100 [2021-05-07T18:37:45.394Z] file_header: OK [2021-05-07T18:37:45.394Z] 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-05-07T18:37:45.394Z] Statistics: [2021-05-07T18:37:45.394Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T18:37:45.394Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T18:37:45.394Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T18:37:45.394Z] file_magic: OK [2021-05-07T18:37:45.394Z] HZ: Using current value: 100 [2021-05-07T18:37:45.394Z] file_header: OK [2021-05-07T18:37:45.394Z] 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-05-07T18:37:45.394Z] Statistics: [2021-05-07T18:37:45.394Z] Hnuu...uuuununununu... [2021-05-07T18:37:45.394Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T18:37:45.595Z] provisioning config files... [2021-05-07T18:37:45.616Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6031370344015253677tmp [Pipeline] { [Pipeline] echo [2021-05-07T18:37:45.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:45.941Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T18:37:45.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T18:37:45.978Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:46.277Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T18:37:46.288Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:46.584Z] ---> sudo-logs.sh [2021-05-07T18:37:46.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T18:37:46.611Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:46.949Z] ---> job-cost.sh [2021-05-07T18:37:46.949Z] lf-activate-venv: SKIPPING [2021-05-07T18:37:46.949Z] DEBUG: total: 0.20999999344348907 [2021-05-07T18:37:46.949Z] INFO: Retrieving Stack Cost... [2021-05-07T18:37:47.895Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T18:37:48.469Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T18:37:48.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T18:37:48.783Z] ---> logs-deploy.sh [2021-05-07T18:37:48.783Z] lf-activate-venv: SKIPPING [2021-05-07T18:37:48.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/225 [2021-05-07T18:37:48.783Z] INFO: archiving workspace using pattern(s): [2021-05-07T18:37:51.333Z] Archives upload complete. [2021-05-07T18:37:51.333Z] INFO: archiving logs to Nexus