Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 774021d1bf4af04b538998a8bc79f47691cc950e 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32037 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 > 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 Checking out Revision 774021d1bf4af04b538998a8bc79f47691cc950e (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 774021d1bf4af04b538998a8bc79f47691cc950e # timeout=10 Commit message: "feat: Enable Registry and Config access token (#772)" > git rev-list --no-walk d68305261b009470d1fda9feae14a96618a86fbb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-30T15:33:25.082Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-30T15:33:25.340Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-30T15:33:25.441Z] ========================================================= [2021-03-30T15:33:25.441Z] EdgeX Global Pipelines Version Info [2021-03-30T15:33:25.441Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:33:26.954Z] ------------------- [2021-03-30T15:33:26.954Z] stable info: [2021-03-30T15:33:26.954Z] ------------------- [2021-03-30T15:33:26.954Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-30T15:33:26.954Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-30T15:33:26.954Z] Message: update stable to v1.0.186 [2021-03-30T15:33:27.902Z] ------------------- [2021-03-30T15:33:27.902Z] experimental info: [2021-03-30T15:33:27.902Z] ------------------- [2021-03-30T15:33:27.902Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-30T15:33:27.902Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-30T15:33:27.902Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-30T15:33:28.202Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-30T15:33:28.288Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-30T15:33:28.384Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-30T15:33:28.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-30T15:33:28.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-30T15:33:28.647Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-30T15:33:28.734Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-30T15:33:28.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-30T15:33:28.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-30T15:33:28.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-30T15:33:29.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-30T15:33:29.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-30T15:33:29.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-30T15:33:29.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-30T15:33:29.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T15:33:29.542Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T15:33:29.634Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T15:33:29.715Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T15:33:29.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-30T15:33:29.887Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-30T15:33:29.979Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-30T15:33:30.098Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-30T15:33:30.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-30T15:33:30.307Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-30T15:33:30.391Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-30T15:33:30.496Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-30T15:33:30.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-30T15:33:30.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-30T15:33:30.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-30T15:33:30.957Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] echo [2021-03-30T15:33:31.043Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 774021d [Pipeline] echo [2021-03-30T15:33:31.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T15:33:31.960Z] + git log --format=format:%s -1 774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] echo [2021-03-30T15:33:32.030Z] GIT_COMMIT: 774021d1bf4af04b538998a8bc79f47691cc950e, Commit Message: feat: Enable Registry and Config access token (#772) [Pipeline] echo [2021-03-30T15:33:32.075Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:33:33.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:33:33.382Z] [2021-03-30T15:33:33.382Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:33:33.734Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:33:33.734Z] latest: Pulling from edgex-devops/git-semver [2021-03-30T15:33:33.734Z] 31603596830f: Pulling fs layer [2021-03-30T15:33:33.734Z] 2a8b12db71e7: Pulling fs layer [2021-03-30T15:33:33.734Z] 6ca5941a6612: Pulling fs layer [2021-03-30T15:33:33.734Z] ecc8261a40a4: Pulling fs layer [2021-03-30T15:33:33.734Z] ecc8261a40a4: Waiting [2021-03-30T15:33:33.734Z] 2a8b12db71e7: Verifying Checksum [2021-03-30T15:33:33.734Z] 2a8b12db71e7: Download complete [2021-03-30T15:33:33.997Z] 31603596830f: Verifying Checksum [2021-03-30T15:33:33.997Z] 31603596830f: Download complete [2021-03-30T15:33:33.997Z] ecc8261a40a4: Verifying Checksum [2021-03-30T15:33:33.997Z] ecc8261a40a4: Download complete [2021-03-30T15:33:34.275Z] 6ca5941a6612: Verifying Checksum [2021-03-30T15:33:34.275Z] 6ca5941a6612: Download complete [2021-03-30T15:33:34.541Z] 31603596830f: Pull complete [2021-03-30T15:33:34.541Z] 2a8b12db71e7: Pull complete [2021-03-30T15:33:35.499Z] 6ca5941a6612: Pull complete [2021-03-30T15:33:35.499Z] ecc8261a40a4: Pull complete [2021-03-30T15:33:35.764Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-30T15:33:35.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:33:35.764Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-30T15:33:35.890Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:33:35.935Z] $ 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-03-30T15:33:38.409Z] $ docker top 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T15:33:38.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:33:38.857Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:33:39.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:33:39.121Z] $ docker exec 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent [2021-03-30T15:33:39.311Z] SSH_AUTH_SOCK=/tmp/ssh-a2hhSqZuIikk/agent.11 [2021-03-30T15:33:39.311Z] SSH_AGENT_PID=16 [2021-03-30T15:33:39.329Z] Running ssh-add (command line suppressed) [2021-03-30T15:33:39.460Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1141183668851886709.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1141183668851886709.key) [2021-03-30T15:33:39.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:33:39.860Z] + git tag --points-at HEAD [Pipeline] } [2021-03-30T15:33:39.886Z] $ docker exec --env ******** --env ******** 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent -k [2021-03-30T15:33:40.015Z] unset SSH_AUTH_SOCK; [2021-03-30T15:33:40.016Z] unset SSH_AGENT_PID; [2021-03-30T15:33:40.016Z] echo Agent pid 16 killed; [2021-03-30T15:33:40.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-30T15:33:40.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:33:40.319Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:33:40.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:33:40.497Z] $ docker exec 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent [2021-03-30T15:33:40.752Z] SSH_AUTH_SOCK=/tmp/ssh-dHqlabU3Vb1s/agent.48 [2021-03-30T15:33:40.752Z] SSH_AGENT_PID=53 [2021-03-30T15:33:40.763Z] Running ssh-add (command line suppressed) [2021-03-30T15:33:40.908Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7928547725653237841.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7928547725653237841.key) [2021-03-30T15:33:40.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:33:41.310Z] + git semver init [2021-03-30T15:33:41.310Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T15:33:41.310Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-30T15:33:41.311Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-30T15:33:41.311Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T15:33:41.311Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T15:33:41.311Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T15:33:41.311Z] # $SEMVER_BRANCH = master [2021-03-30T15:33:41.311Z] # $SEMVER_TEMP = /tmp/semver-996073564 [2021-03-30T15:33:41.311Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-30T15:33:43.893Z] # '/tmp/semver-996073564' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-30T15:33:44.157Z] # -> Force: false [2021-03-30T15:33:44.157Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-30T15:33:44.172Z] $ docker exec --env ******** --env ******** 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent -k [2021-03-30T15:33:44.295Z] unset SSH_AUTH_SOCK; [2021-03-30T15:33:44.296Z] unset SSH_AGENT_PID; [2021-03-30T15:33:44.296Z] echo Agent pid 53 killed; [2021-03-30T15:33:44.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T15:33:44.844Z] + git semver [Pipeline] } [2021-03-30T15:33:44.861Z] $ docker stop --time=1 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 [2021-03-30T15:33:46.360Z] $ docker rm -f 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T15:33:46.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-30T15:33:47.251Z] Stashed 1 file(s) [Pipeline] echo [2021-03-30T15:33:47.254Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.37 [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-03-30T15:34:02.828Z] Still waiting to schedule task [2021-03-30T15:34:02.828Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32037’ [2021-03-30T15:34:02.831Z] Still waiting to schedule task [2021-03-30T15:34:02.831Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-30T15:35:35.421Z] Running on prd-centos7-docker-4c-2g-32041 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-30T15:35:35.470Z] Running in /w/workspace/app-functions-sdk-go/206 [Pipeline] { [Pipeline] checkout [2021-03-30T15:35:38.304Z] using credential edgex-jenkins-ssh [2021-03-30T15:35:38.365Z] Cloning the remote Git repository [2021-03-30T15:35:38.398Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-30T15:35:38.471Z] > git init /w/workspace/app-functions-sdk-go/206 # timeout=10 [2021-03-30T15:35:38.542Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-30T15:35:38.542Z] > git --version # timeout=10 [2021-03-30T15:35:38.553Z] > git --version # 'git version 2.24.3' [2021-03-30T15:35:38.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:35:38.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:35:40.729Z] Checking out Revision 774021d1bf4af04b538998a8bc79f47691cc950e (master) [2021-03-30T15:35:41.021Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32039 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-30T15:35:41.102Z] Running in /w/workspace/app-functions-sdk-go/206 [Pipeline] { [Pipeline] checkout [2021-03-30T15:35:40.334Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-30T15:35:40.341Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:35:40.357Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-30T15:35:40.371Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-30T15:35:40.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:35:40.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T15:35:40.747Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T15:35:40.764Z] > git checkout -f 774021d1bf4af04b538998a8bc79f47691cc950e # timeout=10 [2021-03-30T15:35:44.488Z] Commit message: "feat: Enable Registry and Config access token (#772)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T15:35:45.978Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:35:46.314Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:35:46.561Z] using credential edgex-jenkins-ssh [2021-03-30T15:35:46.614Z] + sudo service docker restart [2021-03-30T15:35:46.614Z] + true [2021-03-30T15:35:46.614Z] Redirecting to /bin/systemctl restart docker.service [2021-03-30T15:35:46.624Z] Cloning the remote Git repository [2021-03-30T15:35:46.691Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-30T15:35:46.800Z] > git init /w/workspace/app-functions-sdk-go/206 # timeout=10 [2021-03-30T15:35:46.900Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-30T15:35:46.900Z] > git --version # timeout=10 [2021-03-30T15:35:46.917Z] > git --version # 'git version 2.17.1' [2021-03-30T15:35:46.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:35:46.972Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-03-30T15:35:48.191Z] ========================================================= [2021-03-30T15:35:48.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-30T15:35:48.191Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:35:48.547Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-30T15:35:49.123Z] Sending build context to Docker daemon 19.42MB [2021-03-30T15:35:49.123Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T15:35:49.123Z] Step 2/8 : FROM ${BASE} [2021-03-30T15:35:49.386Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-30T15:35:49.386Z] 188c0c94c7c5: Pulling fs layer [2021-03-30T15:35:49.386Z] 0ef7d3d256c8: Pulling fs layer [2021-03-30T15:35:49.386Z] de9db76c5a1d: Pulling fs layer [2021-03-30T15:35:49.386Z] bca2f99d35d6: Pulling fs layer [2021-03-30T15:35:49.386Z] 93359f2a8cfa: Pulling fs layer [2021-03-30T15:35:49.386Z] 7c6f9722023f: Pulling fs layer [2021-03-30T15:35:49.386Z] a35cf1a2eb13: Pulling fs layer [2021-03-30T15:35:49.386Z] bca2f99d35d6: Waiting [2021-03-30T15:35:49.386Z] 93359f2a8cfa: Waiting [2021-03-30T15:35:49.386Z] 7c6f9722023f: Waiting [2021-03-30T15:35:49.386Z] a35cf1a2eb13: Waiting [2021-03-30T15:35:49.386Z] de9db76c5a1d: Verifying Checksum [2021-03-30T15:35:49.386Z] de9db76c5a1d: Download complete [2021-03-30T15:35:49.386Z] 0ef7d3d256c8: Download complete [2021-03-30T15:35:49.386Z] 93359f2a8cfa: Verifying Checksum [2021-03-30T15:35:49.386Z] 93359f2a8cfa: Download complete [2021-03-30T15:35:49.386Z] 7c6f9722023f: Verifying Checksum [2021-03-30T15:35:49.386Z] 7c6f9722023f: Download complete [2021-03-30T15:35:49.386Z] 188c0c94c7c5: Verifying Checksum [2021-03-30T15:35:49.386Z] 188c0c94c7c5: Download complete [2021-03-30T15:35:49.651Z] 188c0c94c7c5: Pull complete [2021-03-30T15:35:49.918Z] 0ef7d3d256c8: Pull complete [2021-03-30T15:35:50.194Z] de9db76c5a1d: Pull complete [2021-03-30T15:35:51.148Z] a35cf1a2eb13: Verifying Checksum [2021-03-30T15:35:51.148Z] a35cf1a2eb13: Download complete [2021-03-30T15:35:51.724Z] bca2f99d35d6: Verifying Checksum [2021-03-30T15:35:51.724Z] bca2f99d35d6: Download complete [2021-03-30T15:35:53.971Z] Checking out Revision 774021d1bf4af04b538998a8bc79f47691cc950e (master) [2021-03-30T15:35:53.399Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-30T15:35:53.418Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T15:35:53.451Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-30T15:35:53.488Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-30T15:35:53.489Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T15:35:53.500Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T15:35:53.996Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T15:35:54.012Z] > git checkout -f 774021d1bf4af04b538998a8bc79f47691cc950e # timeout=10 [2021-03-30T15:35:57.055Z] bca2f99d35d6: Pull complete [2021-03-30T15:35:57.325Z] 93359f2a8cfa: Pull complete [2021-03-30T15:35:57.325Z] 7c6f9722023f: Pull complete [2021-03-30T15:35:58.432Z] Commit message: "feat: Enable Registry and Config access token (#772)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T15:36:00.030Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:36:00.451Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T15:36:00.792Z] + + sudo service docker restart [2021-03-30T15:36:00.792Z] true [Pipeline] unstash [Pipeline] echo [2021-03-30T15:36:03.726Z] ========================================================= [2021-03-30T15:36:03.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-30T15:36:03.726Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:36:04.133Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-30T15:36:05.112Z] Sending build context to Docker daemon 19.42MB [2021-03-30T15:36:05.112Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T15:36:05.112Z] Step 2/8 : FROM ${BASE} [2021-03-30T15:36:05.386Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-30T15:36:05.386Z] 5f621e34cdf4: Pulling fs layer [2021-03-30T15:36:05.386Z] a4357932f1b6: Pulling fs layer [2021-03-30T15:36:05.386Z] 18c013af1878: Pulling fs layer [2021-03-30T15:36:05.386Z] 00ac8860ef70: Pulling fs layer [2021-03-30T15:36:05.386Z] 63d7cb157983: Pulling fs layer [2021-03-30T15:36:05.386Z] b116817d02f9: Pulling fs layer [2021-03-30T15:36:05.386Z] 745a02a5169b: Pulling fs layer [2021-03-30T15:36:05.386Z] 00ac8860ef70: Waiting [2021-03-30T15:36:05.386Z] 63d7cb157983: Waiting [2021-03-30T15:36:05.386Z] b116817d02f9: Waiting [2021-03-30T15:36:05.386Z] 745a02a5169b: Waiting [2021-03-30T15:36:05.663Z] 18c013af1878: Verifying Checksum [2021-03-30T15:36:05.663Z] 18c013af1878: Download complete [2021-03-30T15:36:05.663Z] a4357932f1b6: Verifying Checksum [2021-03-30T15:36:05.663Z] a4357932f1b6: Download complete [2021-03-30T15:36:05.663Z] 63d7cb157983: Verifying Checksum [2021-03-30T15:36:05.663Z] 63d7cb157983: Download complete [2021-03-30T15:36:05.663Z] b116817d02f9: Verifying Checksum [2021-03-30T15:36:05.663Z] b116817d02f9: Download complete [2021-03-30T15:36:05.663Z] 5f621e34cdf4: Download complete [2021-03-30T15:36:06.266Z] 5f621e34cdf4: Pull complete [2021-03-30T15:36:06.866Z] a4357932f1b6: Pull complete [2021-03-30T15:36:07.143Z] 18c013af1878: Pull complete [2021-03-30T15:36:07.404Z] a35cf1a2eb13: Pull complete [2021-03-30T15:36:07.404Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-30T15:36:07.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-30T15:36:07.404Z] ---> a62c8e92a672 [2021-03-30T15:36:07.404Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-30T15:36:07.404Z] 20.10.0: Pulling from library/docker [2021-03-30T15:36:07.404Z] 05e7bc50f07f: Pulling fs layer [2021-03-30T15:36:07.404Z] 6db28d0fdbf6: Pulling fs layer [2021-03-30T15:36:07.404Z] 292df0bc6bf3: Pulling fs layer [2021-03-30T15:36:07.404Z] 2e060f4bd70b: Pulling fs layer [2021-03-30T15:36:07.404Z] 80e8d568a223: Pulling fs layer [2021-03-30T15:36:07.404Z] 8dc6ef1a942a: Pulling fs layer [2021-03-30T15:36:07.404Z] 2312dd95470a: Pulling fs layer [2021-03-30T15:36:07.404Z] 80e8d568a223: Waiting [2021-03-30T15:36:07.404Z] 8dc6ef1a942a: Waiting [2021-03-30T15:36:07.404Z] 2312dd95470a: Waiting [2021-03-30T15:36:07.404Z] 292df0bc6bf3: Download complete [2021-03-30T15:36:07.404Z] 6db28d0fdbf6: Verifying Checksum [2021-03-30T15:36:07.404Z] 6db28d0fdbf6: Download complete [2021-03-30T15:36:07.404Z] 05e7bc50f07f: Verifying Checksum [2021-03-30T15:36:07.404Z] 05e7bc50f07f: Download complete [2021-03-30T15:36:07.404Z] 80e8d568a223: Verifying Checksum [2021-03-30T15:36:07.404Z] 80e8d568a223: Download complete [2021-03-30T15:36:07.404Z] 8dc6ef1a942a: Verifying Checksum [2021-03-30T15:36:07.404Z] 8dc6ef1a942a: Download complete [2021-03-30T15:36:07.404Z] 2312dd95470a: Verifying Checksum [2021-03-30T15:36:07.404Z] 2312dd95470a: Download complete [2021-03-30T15:36:07.404Z] 05e7bc50f07f: Pull complete [2021-03-30T15:36:07.670Z] 6db28d0fdbf6: Pull complete [2021-03-30T15:36:07.935Z] 292df0bc6bf3: Pull complete [2021-03-30T15:36:08.512Z] 2e060f4bd70b: Verifying Checksum [2021-03-30T15:36:08.512Z] 2e060f4bd70b: Download complete [2021-03-30T15:36:09.173Z] 745a02a5169b: Verifying Checksum [2021-03-30T15:36:09.173Z] 745a02a5169b: Download complete [2021-03-30T15:36:10.149Z] 00ac8860ef70: Verifying Checksum [2021-03-30T15:36:10.149Z] 00ac8860ef70: Download complete [2021-03-30T15:36:11.852Z] 2e060f4bd70b: Pull complete [2021-03-30T15:36:11.852Z] 80e8d568a223: Pull complete [2021-03-30T15:36:11.852Z] 8dc6ef1a942a: Pull complete [2021-03-30T15:36:11.852Z] 2312dd95470a: Pull complete [2021-03-30T15:36:11.852Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-30T15:36:11.852Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-30T15:36:13.796Z] ---> 5b846955c681 [2021-03-30T15:36:13.796Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-30T15:36:13.796Z] ---> Running in 558112c92212 [2021-03-30T15:36:13.796Z] Removing intermediate container 558112c92212 [2021-03-30T15:36:13.796Z] ---> 80dbfba28b50 [2021-03-30T15:36:13.796Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-30T15:36:13.796Z] ---> Running in cc84168420ee [2021-03-30T15:36:14.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-30T15:36:15.334Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-30T15:36:15.598Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-30T15:36:15.860Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-30T15:36:15.860Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-30T15:36:15.860Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-30T15:36:16.127Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-30T15:36:16.127Z] Executing busybox-1.31.1-r19.trigger [2021-03-30T15:36:16.127Z] OK: 167 MiB in 44 packages [2021-03-30T15:36:17.081Z] Removing intermediate container cc84168420ee [2021-03-30T15:36:17.081Z] ---> ea9599c1252c [2021-03-30T15:36:17.081Z] Step 6/8 : WORKDIR /build [2021-03-30T15:36:17.081Z] ---> Running in cf13d1160819 [2021-03-30T15:36:17.081Z] Removing intermediate container cf13d1160819 [2021-03-30T15:36:17.081Z] ---> 9faaae692816 [2021-03-30T15:36:17.081Z] Step 7/8 : COPY go.mod . [2021-03-30T15:36:17.345Z] ---> 5fd3562288bd [2021-03-30T15:36:17.345Z] Step 8/8 : RUN go mod download [2021-03-30T15:36:17.345Z] ---> Running in 068d8cebfb32 [2021-03-30T15:36:20.356Z] 00ac8860ef70: Pull complete [2021-03-30T15:36:20.356Z] 63d7cb157983: Pull complete [2021-03-30T15:36:20.630Z] b116817d02f9: Pull complete [2021-03-30T15:36:24.946Z] 745a02a5169b: Pull complete [2021-03-30T15:36:24.946Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-30T15:36:24.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-30T15:36:24.946Z] ---> b7e6874047d6 [2021-03-30T15:36:24.946Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-30T15:36:24.946Z] 20.10.0: Pulling from library/docker [2021-03-30T15:36:24.946Z] a3cc7d3b244e: Pulling fs layer [2021-03-30T15:36:24.946Z] 02a3295e0d61: Pulling fs layer [2021-03-30T15:36:24.946Z] 0f4f2e6d8100: Pulling fs layer [2021-03-30T15:36:24.946Z] 330b718f631f: Pulling fs layer [2021-03-30T15:36:24.946Z] a93816041522: Pulling fs layer [2021-03-30T15:36:24.946Z] bdb6da89ff94: Pulling fs layer [2021-03-30T15:36:24.946Z] 2a70c0c122f4: Pulling fs layer [2021-03-30T15:36:24.946Z] 330b718f631f: Waiting [2021-03-30T15:36:24.946Z] bdb6da89ff94: Waiting [2021-03-30T15:36:24.946Z] 2a70c0c122f4: Waiting [2021-03-30T15:36:24.946Z] a93816041522: Waiting [2021-03-30T15:36:24.946Z] 0f4f2e6d8100: Verifying Checksum [2021-03-30T15:36:24.946Z] 02a3295e0d61: Verifying Checksum [2021-03-30T15:36:24.946Z] 02a3295e0d61: Download complete [2021-03-30T15:36:24.946Z] a3cc7d3b244e: Verifying Checksum [2021-03-30T15:36:24.946Z] a93816041522: Verifying Checksum [2021-03-30T15:36:24.946Z] a93816041522: Download complete [2021-03-30T15:36:24.946Z] bdb6da89ff94: Verifying Checksum [2021-03-30T15:36:24.946Z] bdb6da89ff94: Download complete [2021-03-30T15:36:24.946Z] 2a70c0c122f4: Verifying Checksum [2021-03-30T15:36:24.946Z] 2a70c0c122f4: Download complete [2021-03-30T15:36:25.219Z] a3cc7d3b244e: Pull complete [2021-03-30T15:36:26.213Z] 02a3295e0d61: Pull complete [2021-03-30T15:36:26.486Z] 0f4f2e6d8100: Pull complete [2021-03-30T15:36:26.486Z] 330b718f631f: Verifying Checksum [2021-03-30T15:36:26.486Z] 330b718f631f: Download complete [2021-03-30T15:36:30.804Z] 330b718f631f: Pull complete [2021-03-30T15:36:30.804Z] a93816041522: Pull complete [2021-03-30T15:36:31.079Z] bdb6da89ff94: Pull complete [2021-03-30T15:36:31.353Z] 2a70c0c122f4: Pull complete [2021-03-30T15:36:31.353Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-30T15:36:31.353Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-30T15:36:38.072Z] ---> 0f79ed92ae1d [2021-03-30T15:36:38.072Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-30T15:36:38.072Z] ---> Running in f67beee3f04d [2021-03-30T15:36:38.072Z] Removing intermediate container f67beee3f04d [2021-03-30T15:36:38.072Z] ---> 8f6da1d73931 [2021-03-30T15:36:38.072Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-30T15:36:38.072Z] ---> Running in 69c633d7dbae [2021-03-30T15:36:39.507Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-30T15:36:40.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-30T15:36:40.701Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-30T15:36:40.701Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-30T15:36:40.973Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-30T15:36:40.973Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-30T15:36:40.973Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-30T15:36:41.246Z] Executing busybox-1.31.1-r19.trigger [2021-03-30T15:36:41.246Z] OK: 144 MiB in 44 packages [2021-03-30T15:36:42.681Z] Removing intermediate container 69c633d7dbae [2021-03-30T15:36:42.681Z] ---> 5b4407c2647a [2021-03-30T15:36:42.681Z] Step 6/8 : WORKDIR /build [2021-03-30T15:36:42.681Z] ---> Running in 01e81587eb4a [2021-03-30T15:36:42.956Z] Removing intermediate container 01e81587eb4a [2021-03-30T15:36:42.956Z] ---> 2c57563bd399 [2021-03-30T15:36:42.956Z] Step 7/8 : COPY go.mod . [2021-03-30T15:36:43.553Z] ---> 4738f1c3b3bf [2021-03-30T15:36:43.553Z] Step 8/8 : RUN go mod download [2021-03-30T15:36:43.841Z] ---> Running in a3e9bb2445b5 [2021-03-30T15:36:44.055Z] Removing intermediate container 068d8cebfb32 [2021-03-30T15:36:44.055Z] ---> 8396dd62c96f [2021-03-30T15:36:44.055Z] Successfully built 8396dd62c96f [2021-03-30T15:36:44.055Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:36:44.376Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T15:36:44.376Z] . [Pipeline] withDockerContainer [2021-03-30T15:36:44.524Z] prd-centos7-docker-4c-2g-32041 does not seem to be running inside a container [2021-03-30T15:36:44.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@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-x86_64 cat [2021-03-30T15:36:45.510Z] $ docker top d3cd589563a6f1a21b62a8058244ede126289a81a360d5b14bf64abae228e5e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:36:46.076Z] + go version [2021-03-30T15:36:46.076Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-30T15:36:46.092Z] $ docker stop --time=1 d3cd589563a6f1a21b62a8058244ede126289a81a360d5b14bf64abae228e5e2 [2021-03-30T15:36:47.465Z] $ docker rm -f d3cd589563a6f1a21b62a8058244ede126289a81a360d5b14bf64abae228e5e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:36:48.263Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T15:36:48.263Z] . [Pipeline] withDockerContainer [2021-03-30T15:36:48.377Z] prd-centos7-docker-4c-2g-32041 does not seem to be running inside a container [2021-03-30T15:36:48.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@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-x86_64 cat [2021-03-30T15:36:49.235Z] $ docker top 345eb71210a9f03b609911eb66b2506b808b51ce2209991c384f8e160234eee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:36:49.817Z] + make test [2021-03-30T15:36:49.817Z] make -C ./app-service-template build [2021-03-30T15:36:49.817Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:36:49.817Z] 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-03-30T15:37:04.879Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:37:04.879Z] make -C ./app-service-template test [2021-03-30T15:37:04.879Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:37:04.879Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-30T15:37:11.232Z] Removing intermediate container a3e9bb2445b5 [2021-03-30T15:37:11.232Z] ---> c8d451c3f83b [2021-03-30T15:37:11.232Z] Successfully built c8d451c3f83b [2021-03-30T15:37:11.232Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:37:11.575Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T15:37:11.575Z] . [Pipeline] withDockerContainer [2021-03-30T15:37:11.850Z] prd-ubuntu18.04-docker-arm64-4c-16g-32039 does not seem to be running inside a container [2021-03-30T15:37:11.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@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-arm64 cat [2021-03-30T15:37:12.713Z] ok new-app-service 0.037s coverage: 47.8% of statements [2021-03-30T15:37:12.713Z] ? new-app-service/config [no test files] [2021-03-30T15:37:12.713Z] ok new-app-service/functions 0.011s [2021-03-30T15:37:12.713Z] CGO_ENABLED=1 go vet ./... [2021-03-30T15:37:13.679Z] $ docker top a0a2dd4b63a063e2ada6d1b1dc0b9a05e10103fe3e921affe5252eb0c97d390c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:37:14.733Z] + go version [2021-03-30T15:37:14.733Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-30T15:37:14.756Z] $ docker stop --time=1 a0a2dd4b63a063e2ada6d1b1dc0b9a05e10103fe3e921affe5252eb0c97d390c [2021-03-30T15:37:16.090Z] gofmt -l . [2021-03-30T15:37:16.090Z] [ "`gofmt -l .`" = "" ] [2021-03-30T15:37:16.090Z] ./bin/test-go-mod-tidy.sh [2021-03-30T15:37:16.370Z] ./bin/test-attribution-txt.sh [2021-03-30T15:37:16.680Z] $ docker rm -f a0a2dd4b63a063e2ada6d1b1dc0b9a05e10103fe3e921affe5252eb0c97d390c [2021-03-30T15:37:16.949Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:37:16.949Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:37:17.535Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-30T15:37:17.687Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T15:37:17.687Z] . [Pipeline] withDockerContainer [2021-03-30T15:37:17.961Z] prd-ubuntu18.04-docker-arm64-4c-16g-32039 does not seem to be running inside a container [2021-03-30T15:37:18.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@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-arm64 cat [2021-03-30T15:37:19.582Z] $ docker top 9f70eab1824a2b3d2c2d839b2348b0e648c294c1c3f206dbec42e6b8bcf8f139 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:37:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.028s coverage: 55.8% of statements [2021-03-30T15:37:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.023s coverage: 92.5% of statements [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-30T15:37:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.025s coverage: 61.5% of statements [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-30T15:37:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s [2021-03-30T15:37:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.031s coverage: 75.4% of statements [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-30T15:37:20.179Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.0% of statements [2021-03-30T15:37:20.179Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-30T15:37:20.456Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements [2021-03-30T15:37:20.605Z] + make test [2021-03-30T15:37:20.605Z] make -C ./app-service-template build [2021-03-30T15:37:20.605Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:37:20.605Z] 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-03-30T15:37:24.730Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.742s coverage: 78.4% of statements [2021-03-30T15:37:24.730Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-30T15:37:24.730Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 20.0% of statements [2021-03-30T15:37:24.730Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.018s coverage: 27.3% of statements [2021-03-30T15:37:24.730Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-30T15:37:24.730Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-30T15:37:24.730Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements [2021-03-30T15:37:51.350Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements [2021-03-30T15:37:51.350Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-03-30T15:37:51.350Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-30T15:37:51.350Z] gofmt -l . [2021-03-30T15:37:51.350Z] [ "`gofmt -l .`" = "" ] [2021-03-30T15:37:51.350Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-30T15:37:51.369Z] $ docker stop --time=1 345eb71210a9f03b609911eb66b2506b808b51ce2209991c384f8e160234eee3 [2021-03-30T15:37:53.052Z] $ docker rm -f 345eb71210a9f03b609911eb66b2506b808b51ce2209991c384f8e160234eee3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T15:37:53.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-30T15:37:54.284Z] 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-03-30T15:37:55.552Z] ---> job-cost.sh [2021-03-30T15:37:55.552Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2T5X [2021-03-30T15:37:59.643Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:37:59.643Z] make -C ./app-service-template test [2021-03-30T15:37:59.643Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:37:59.643Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-30T15:38:10.526Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-30T15:38:21.849Z] ok new-app-service 0.035s coverage: 47.8% of statements [2021-03-30T15:38:21.849Z] ? new-app-service/config [no test files] [2021-03-30T15:38:21.849Z] ok new-app-service/functions 0.031s [2021-03-30T15:38:21.849Z] CGO_ENABLED=1 go vet ./... [2021-03-30T15:38:30.228Z] gofmt -l . [2021-03-30T15:38:30.228Z] [ "`gofmt -l .`" = "" ] [2021-03-30T15:38:30.228Z] ./bin/test-go-mod-tidy.sh [2021-03-30T15:38:30.228Z] ./bin/test-attribution-txt.sh [2021-03-30T15:38:31.665Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' [2021-03-30T15:38:31.665Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-30T15:38:33.127Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-30T15:38:37.191Z] lf-activate-venv(): INFO: Adding /tmp/venv-2T5X/bin to PATH [2021-03-30T15:38:37.191Z] INFO: No Stack... [2021-03-30T15:38:37.191Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T15:38:37.456Z] INFO: Archiving Costs [Pipeline] sh [2021-03-30T15:38:37.788Z] + cat /w/workspace/app-functions-sdk-go/206/archives/cost.csv [2021-03-30T15:38:37.788Z] + cut -d, -f6 [Pipeline] lock [2021-03-30T15:38:38.005Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [2021-03-30T15:38:38.018Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] did not exist. Created. [2021-03-30T15:38:38.018Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-30T15:38:38.442Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-30T15:38:38.640Z] Stashed 1 file(s) [Pipeline] } [2021-03-30T15:38:38.653Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.084s coverage: 55.8% of statements [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.039s coverage: 92.5% of statements [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.073s coverage: 61.5% of statements [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.058s [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.065s coverage: 75.4% of statements [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.048s coverage: 97.0% of statements [2021-03-30T15:38:43.305Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-30T15:38:43.305Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.042s coverage: 10.5% of statements [2021-03-30T15:38:48.718Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.847s coverage: 78.4% of statements [2021-03-30T15:38:48.718Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-30T15:38:48.718Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 20.0% of statements [2021-03-30T15:38:48.718Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements [2021-03-30T15:38:48.718Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-30T15:38:48.718Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-30T15:38:48.718Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.033s coverage: 71.7% of statements [2021-03-30T15:39:15.469Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements [2021-03-30T15:39:15.469Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements [2021-03-30T15:39:15.469Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-30T15:39:17.454Z] gofmt -l . [2021-03-30T15:39:17.727Z] [ "`gofmt -l .`" = "" ] [2021-03-30T15:39:17.999Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-30T15:39:18.619Z] $ docker stop --time=1 9f70eab1824a2b3d2c2d839b2348b0e648c294c1c3f206dbec42e6b8bcf8f139 [2021-03-30T15:39:20.660Z] $ docker rm -f 9f70eab1824a2b3d2c2d839b2348b0e648c294c1c3f206dbec42e6b8bcf8f139 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T15:39:21.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-30T15:39:21.653Z] Warning: overwriting stash ‘coverage-report’ [2021-03-30T15:39:22.559Z] 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-03-30T15:39:23.544Z] ---> job-cost.sh [2021-03-30T15:39:23.544Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y52O [2021-03-30T15:40:02.498Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-30T15:41:39.253Z] lf-activate-venv(): INFO: Adding /tmp/venv-Y52O/bin to PATH [2021-03-30T15:41:39.253Z] INFO: No Stack... [2021-03-30T15:41:39.253Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-30T15:41:39.253Z] INFO: Archiving Costs [Pipeline] sh [2021-03-30T15:41:39.589Z] + cat /w/workspace/app-functions-sdk-go/206/archives/cost.csv [2021-03-30T15:41:39.589Z] + cut -d, -f6 [Pipeline] lock [2021-03-30T15:41:39.700Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [2021-03-30T15:41:39.716Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] did not exist. Created. [2021-03-30T15:41:39.716Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-30T15:41:40.170Z] /w/workspace/app-functions-sdk-go/206@tmp/durable-fd0d7003/script.sh: 1: /w/workspace/app-functions-sdk-go/206@tmp/durable-fd0d7003/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-30T15:41:40.518Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-30T15:41:40.586Z] Warning: overwriting stash ‘stack-cost’ [2021-03-30T15:41:40.747Z] Stashed 1 file(s) [Pipeline] } [2021-03-30T15:41:40.761Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-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-03-30T15:41:42.193Z] provisioning config files... [2021-03-30T15:41:42.206Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1304423833203244912tmp [Pipeline] { [Pipeline] sh [2021-03-30T15:41:42.588Z] + set +x [2021-03-30T15:41:42.588Z] + curl -s https://codecov.io/bash [2021-03-30T15:41:42.588Z] + bash -s -- [2021-03-30T15:41:42.850Z] [2021-03-30T15:41:42.850Z] _____ _ [2021-03-30T15:41:42.850Z] / ____| | | [2021-03-30T15:41:42.850Z] | | ___ __| | ___ ___ _____ __ [2021-03-30T15:41:42.850Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-30T15:41:42.850Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-30T15:41:42.850Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-30T15:41:42.850Z] Bash-20210309-2b87ace [2021-03-30T15:41:42.850Z] [2021-03-30T15:41:42.850Z] [2021-03-30T15:41:42.850Z] ==> git version 2.24.3 found [2021-03-30T15:41:42.850Z] ==> 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-03-30T15:41:42.850Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-30T15:41:42.850Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-30T15:41:42.850Z] curl: option -sm: expected a proper numerical parameter [2021-03-30T15:41:42.850Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-30T15:41:42.850Z] ==> Jenkins CI detected. [2021-03-30T15:41:42.850Z] project root: . [2021-03-30T15:41:42.850Z] --> token set from env [2021-03-30T15:41:42.850Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-30T15:41:42.850Z] ==> Running gcov in . (disable via -X gcov) [2021-03-30T15:41:42.850Z] ==> Python coveragepy not found [2021-03-30T15:41:42.850Z] ==> Searching for coverage reports in: [2021-03-30T15:41:42.850Z] + . [2021-03-30T15:41:42.850Z] -> Found 2 reports [2021-03-30T15:41:42.850Z] ==> Detecting git/mercurial file structure [2021-03-30T15:41:42.850Z] ==> Reading reports [2021-03-30T15:41:42.850Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-30T15:41:42.850Z] + ./coverage.out bytes=86636 [2021-03-30T15:41:42.850Z] ==> Appending adjustments [2021-03-30T15:41:42.850Z] https://docs.codecov.io/docs/fixing-reports [2021-03-30T15:41:43.425Z] + Found adjustments [2021-03-30T15:41:43.425Z] ==> Gzipping contents [2021-03-30T15:41:43.425Z] 16K /tmp/codecov.GzaLAh.gz [2021-03-30T15:41:43.425Z] ==> Uploading reports [2021-03-30T15:41:43.425Z] url: https://codecov.io [2021-03-30T15:41:43.425Z] query: branch=master&commit=774021d1bf4af04b538998a8bc79f47691cc950e&build=206&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F206%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-30T15:41:43.425Z] -> Pinging Codecov [2021-03-30T15:41:43.425Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=774021d1bf4af04b538998a8bc79f47691cc950e&build=206&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F206%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-30T15:41:43.686Z] -> Uploading to [2021-03-30T15:41:43.686Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-30/3D8B5DFFC46A037C893635FACE044666/774021d1bf4af04b538998a8bc79f47691cc950e/532ad558-e4c7-4544-9b1c-4af1d5902159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210330T154143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ad1fefedbce6ec3a0a41ba5adce48e50b0eb6e67a48d253fdaf3515b2ca9c8d [2021-03-30T15:41:43.686Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-30T15:41:43.686Z] Dload Upload Total Spent Left Speed [2021-03-30T15:41:44.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15312 0 0 100 15312 0 29544 --:--:-- --:--:-- --:--:-- 29559 [2021-03-30T15:41:44.265Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] } [2021-03-30T15:41:44.277Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-30T15:41:45.192Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-30T15:41:45.251Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:41:45.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-30T15:41:45.610Z] [2021-03-30T15:41:45.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:41:45.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-30T15:41:45.965Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-30T15:41:45.965Z] 188c0c94c7c5: Pulling fs layer [2021-03-30T15:41:45.965Z] 0ef7d3d256c8: Pulling fs layer [2021-03-30T15:41:45.965Z] de9db76c5a1d: Pulling fs layer [2021-03-30T15:41:45.965Z] 0eba1c9be4d2: Pulling fs layer [2021-03-30T15:41:45.965Z] 0d57e429df01: Pulling fs layer [2021-03-30T15:41:45.965Z] 4e4be7b47b0d: Pulling fs layer [2021-03-30T15:41:45.965Z] e1f770b5df2f: Pulling fs layer [2021-03-30T15:41:45.965Z] 85a0685a4137: Pulling fs layer [2021-03-30T15:41:45.965Z] 4e4be7b47b0d: Waiting [2021-03-30T15:41:45.965Z] e1f770b5df2f: Waiting [2021-03-30T15:41:45.965Z] 85a0685a4137: Waiting [2021-03-30T15:41:45.965Z] 0eba1c9be4d2: Waiting [2021-03-30T15:41:45.965Z] 0d57e429df01: Waiting [2021-03-30T15:41:45.965Z] de9db76c5a1d: Verifying Checksum [2021-03-30T15:41:45.965Z] de9db76c5a1d: Download complete [2021-03-30T15:41:45.965Z] 0ef7d3d256c8: Download complete [2021-03-30T15:41:45.965Z] 0d57e429df01: Verifying Checksum [2021-03-30T15:41:45.965Z] 0d57e429df01: Download complete [2021-03-30T15:41:45.965Z] 4e4be7b47b0d: Verifying Checksum [2021-03-30T15:41:45.965Z] 4e4be7b47b0d: Download complete [2021-03-30T15:41:46.912Z] 188c0c94c7c5: Verifying Checksum [2021-03-30T15:41:46.912Z] 188c0c94c7c5: Download complete [2021-03-30T15:41:47.176Z] 188c0c94c7c5: Pull complete [2021-03-30T15:41:47.440Z] 0ef7d3d256c8: Pull complete [2021-03-30T15:41:47.708Z] de9db76c5a1d: Pull complete [2021-03-30T15:41:47.976Z] e1f770b5df2f: Verifying Checksum [2021-03-30T15:41:47.976Z] e1f770b5df2f: Download complete [2021-03-30T15:41:50.569Z] 0eba1c9be4d2: Verifying Checksum [2021-03-30T15:41:50.569Z] 0eba1c9be4d2: Download complete [2021-03-30T15:41:50.569Z] 85a0685a4137: Verifying Checksum [2021-03-30T15:41:50.569Z] 85a0685a4137: Download complete [2021-03-30T15:41:57.207Z] 0eba1c9be4d2: Pull complete [2021-03-30T15:41:57.207Z] 0d57e429df01: Pull complete [2021-03-30T15:41:57.207Z] 4e4be7b47b0d: Pull complete [2021-03-30T15:41:58.634Z] e1f770b5df2f: Pull complete [2021-03-30T15:42:06.826Z] 85a0685a4137: Pull complete [2021-03-30T15:42:06.826Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-30T15:42:06.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-30T15:42:06.826Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-30T15:42:07.043Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:42:07.092Z] $ 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-03-30T15:42:08.210Z] $ docker top 1b495c1a20470ed52c9d5f92decaa752bce2a21a31eac40f789c60c075f9bf31 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-30T15:42:08.500Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-30T15:42:08.808Z] + set -o pipefail [2021-03-30T15:42:08.808Z] + snyk monitor '--org=edgex-jenkins' [2021-03-30T15:42:23.758Z] [2021-03-30T15:42:23.758Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-30T15:42:23.758Z] [2021-03-30T15:42:23.758Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/0ebb3d96-2dfa-45b0-8615-f066dd3df3cb [2021-03-30T15:42:23.758Z] [2021-03-30T15:42:23.758Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-30T15:42:23.758Z] [2021-03-30T15:42:23.758Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-30T15:42:23.758Z] [2021-03-30T15:42:23.758Z] [2021-03-30T15:42:23.758Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-03-30T15:42:23.758Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-03-30T15:42:23.776Z] $ docker stop --time=1 1b495c1a20470ed52c9d5f92decaa752bce2a21a31eac40f789c60c075f9bf31 [2021-03-30T15:42:26.554Z] $ docker rm -f 1b495c1a20470ed52c9d5f92decaa752bce2a21a31eac40f789c60c075f9bf31 [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-03-30T15:42:27.904Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-30T15:42:27.956Z] provisioning config files... [2021-03-30T15:42:27.968Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7975533627165834110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:42:28.346Z] --> edgex-publish-swagger.sh [2021-03-30T15:42:28.346Z] === Publish openapi/v2 API === [2021-03-30T15:42:28.346Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-30T15:42:28.346Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-30T15:42:28.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-30T15:42:28.346Z] Dload Upload Total Spent Left Speed [2021-03-30T15:42:29.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10409 0:00:01 0:00:01 --:--:-- 10416 100 13052 0 0 100 13052 0 8711 0:00:01 0:00:01 --:--:-- 8712 100 13052 0 0 100 13052 0 8710 0:00:01 0:00:01 --:--:-- 8712 [2021-03-30T15:42:29.742Z] [2021-03-30T15:42:29.742Z] [Pipeline] } [2021-03-30T15:42:29.752Z] 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-03-30T15:42:30.794Z] + git log --format=format:%s -1 774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:42:31.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:42:31.104Z] . [Pipeline] withDockerContainer [2021-03-30T15:42:31.208Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:42:31.258Z] $ 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-03-30T15:42:32.085Z] $ docker top e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T15:42:32.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:42:32.445Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:42:32.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:42:32.746Z] $ docker exec e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 ssh-agent [2021-03-30T15:42:32.965Z] SSH_AUTH_SOCK=/tmp/ssh-51sQgF0o7G75/agent.12 [2021-03-30T15:42:32.965Z] SSH_AGENT_PID=17 [2021-03-30T15:42:32.973Z] Running ssh-add (command line suppressed) [2021-03-30T15:42:33.120Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5616779566413984807.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5616779566413984807.key) [2021-03-30T15:42:33.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:42:33.522Z] + git semver tag [2021-03-30T15:42:33.522Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T15:42:33.523Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-30T15:42:33.523Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-30T15:42:33.523Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T15:42:33.523Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T15:42:33.523Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T15:42:33.523Z] # $SEMVER_BRANCH = master [2021-03-30T15:42:33.523Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-30T15:42:33.523Z] # 774021d1bf4af04b538998a8bc79f47691cc950e HEAD [2021-03-30T15:42:33.790Z] # -> Force: false [2021-03-30T15:42:33.790Z] # 3d97d75b498ebdb985ff95d3c7028c40517184eb refs/tags/v2.0.0-dev.37 [Pipeline] } [2021-03-30T15:42:33.801Z] $ docker exec --env ******** --env ******** e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 ssh-agent -k [2021-03-30T15:42:33.931Z] unset SSH_AUTH_SOCK; [2021-03-30T15:42:33.931Z] unset SSH_AGENT_PID; [2021-03-30T15:42:33.931Z] echo Agent pid 17 killed; [2021-03-30T15:42:33.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T15:42:34.466Z] + git semver [Pipeline] } [2021-03-30T15:42:34.483Z] $ docker stop --time=1 e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 [2021-03-30T15:42:35.878Z] $ docker rm -f e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:42:36.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-30T15:42:36.502Z] [2021-03-30T15:42:36.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:42:36.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-30T15:42:36.864Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-30T15:42:36.864Z] ab5ef0e58194: Pulling fs layer [2021-03-30T15:42:36.864Z] 9712f1f96733: Pulling fs layer [2021-03-30T15:42:36.864Z] 63f879dbbcfc: Pulling fs layer [2021-03-30T15:42:36.864Z] 0d9ebad4ef96: Pulling fs layer [2021-03-30T15:42:36.864Z] e9a5061849ea: Pulling fs layer [2021-03-30T15:42:36.864Z] d747dcd14b5f: Pulling fs layer [2021-03-30T15:42:36.864Z] 2de7ff778b66: Pulling fs layer [2021-03-30T15:42:36.864Z] e9a5061849ea: Waiting [2021-03-30T15:42:36.864Z] 0d9ebad4ef96: Waiting [2021-03-30T15:42:36.864Z] d747dcd14b5f: Waiting [2021-03-30T15:42:36.864Z] 2de7ff778b66: Waiting [2021-03-30T15:42:36.864Z] 9712f1f96733: Download complete [2021-03-30T15:42:38.798Z] 63f879dbbcfc: Verifying Checksum [2021-03-30T15:42:38.799Z] 63f879dbbcfc: Download complete [2021-03-30T15:42:38.799Z] e9a5061849ea: Verifying Checksum [2021-03-30T15:42:38.799Z] e9a5061849ea: Download complete [2021-03-30T15:42:38.799Z] d747dcd14b5f: Verifying Checksum [2021-03-30T15:42:38.799Z] d747dcd14b5f: Download complete [2021-03-30T15:42:39.062Z] 2de7ff778b66: Verifying Checksum [2021-03-30T15:42:39.062Z] 2de7ff778b66: Download complete [2021-03-30T15:42:39.641Z] ab5ef0e58194: Verifying Checksum [2021-03-30T15:42:39.641Z] ab5ef0e58194: Download complete [2021-03-30T15:42:39.641Z] 0d9ebad4ef96: Verifying Checksum [2021-03-30T15:42:39.641Z] 0d9ebad4ef96: Download complete [2021-03-30T15:42:44.027Z] ab5ef0e58194: Pull complete [2021-03-30T15:42:44.027Z] 9712f1f96733: Pull complete [2021-03-30T15:42:47.375Z] 63f879dbbcfc: Pull complete [2021-03-30T15:42:54.021Z] 0d9ebad4ef96: Pull complete [2021-03-30T15:42:55.943Z] e9a5061849ea: Pull complete [2021-03-30T15:42:55.943Z] d747dcd14b5f: Pull complete [2021-03-30T15:42:59.266Z] 2de7ff778b66: Pull complete [2021-03-30T15:42:59.266Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-30T15:42:59.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-30T15:42:59.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-30T15:42:59.500Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:42:59.550Z] $ 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-03-30T15:43:03.978Z] $ docker top 193c9afee06a25cf98ef1a821e719841345261e21d293bd9ede0d6e88e9320e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-30T15:43:04.237Z] provisioning config files... [2021-03-30T15:43:04.252Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3651391669101049082tmp [2021-03-30T15:43:04.282Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1727668901604404486tmp [2021-03-30T15:43:04.311Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5811349734555110531tmp [Pipeline] { [Pipeline] echo [2021-03-30T15:43:04.369Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:04.701Z] ---> sigul-configuration.sh [2021-03-30T15:43:04.701Z] gpg: directory `/root/.gnupg' created [2021-03-30T15:43:04.701Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-30T15:43:04.701Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-30T15:43:04.701Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-30T15:43:04.701Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-30T15:43:04.701Z] gpg: CAST5 encrypted data [2021-03-30T15:43:04.963Z] gpg: encrypted with 1 passphrase [2021-03-30T15:43:04.963Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-30T15:43:05.265Z] + mkdir /home/jenkins [2021-03-30T15:43:05.265Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-30T15:43:05.568Z] + 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-03-30T15:43:05.580Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:05.881Z] ---> sigul-install.sh [2021-03-30T15:43:12.493Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-30T15:43:12.798Z] + git tag --list [2021-03-30T15:43:12.798Z] v0.1.0 [2021-03-30T15:43:12.798Z] v0.1.1 [2021-03-30T15:43:12.798Z] v1.0.0 [2021-03-30T15:43:12.798Z] v1.1.0 [2021-03-30T15:43:12.798Z] v1.2.0 [2021-03-30T15:43:12.798Z] v1.3.0 [2021-03-30T15:43:12.798Z] v1.3.1 [2021-03-30T15:43:12.798Z] v1.3.1-dev.1 [2021-03-30T15:43:12.798Z] v1.3.2-dev.1 [2021-03-30T15:43:12.798Z] v2.0.0-dev.1 [2021-03-30T15:43:12.798Z] v2.0.0-dev.10 [2021-03-30T15:43:12.798Z] v2.0.0-dev.11 [2021-03-30T15:43:12.798Z] v2.0.0-dev.12 [2021-03-30T15:43:12.798Z] v2.0.0-dev.13 [2021-03-30T15:43:12.798Z] v2.0.0-dev.14 [2021-03-30T15:43:12.798Z] v2.0.0-dev.15 [2021-03-30T15:43:12.798Z] v2.0.0-dev.16 [2021-03-30T15:43:12.798Z] v2.0.0-dev.17 [2021-03-30T15:43:12.798Z] v2.0.0-dev.18 [2021-03-30T15:43:12.798Z] v2.0.0-dev.19 [2021-03-30T15:43:12.798Z] v2.0.0-dev.2 [2021-03-30T15:43:12.798Z] v2.0.0-dev.20 [2021-03-30T15:43:12.798Z] v2.0.0-dev.21 [2021-03-30T15:43:12.798Z] v2.0.0-dev.22 [2021-03-30T15:43:12.798Z] v2.0.0-dev.23 [2021-03-30T15:43:12.798Z] v2.0.0-dev.24 [2021-03-30T15:43:12.798Z] v2.0.0-dev.25 [2021-03-30T15:43:12.798Z] v2.0.0-dev.26 [2021-03-30T15:43:12.798Z] v2.0.0-dev.27 [2021-03-30T15:43:12.798Z] v2.0.0-dev.28 [2021-03-30T15:43:12.798Z] v2.0.0-dev.29 [2021-03-30T15:43:12.798Z] v2.0.0-dev.3 [2021-03-30T15:43:12.798Z] v2.0.0-dev.30 [2021-03-30T15:43:12.798Z] v2.0.0-dev.31 [2021-03-30T15:43:12.798Z] v2.0.0-dev.32 [2021-03-30T15:43:12.798Z] v2.0.0-dev.33 [2021-03-30T15:43:12.798Z] v2.0.0-dev.34 [2021-03-30T15:43:12.798Z] v2.0.0-dev.35 [2021-03-30T15:43:12.798Z] v2.0.0-dev.36 [2021-03-30T15:43:12.798Z] v2.0.0-dev.37 [2021-03-30T15:43:12.798Z] v2.0.0-dev.4 [2021-03-30T15:43:12.798Z] v2.0.0-dev.5 [2021-03-30T15:43:12.798Z] v2.0.0-dev.6 [2021-03-30T15:43:12.798Z] v2.0.0-dev.7 [2021-03-30T15:43:12.798Z] v2.0.0-dev.8 [2021-03-30T15:43:12.798Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-30T15:43:13.108Z] + lftools sign git-tag v2.0.0-dev.37 [2021-03-30T15:43:14.501Z] Signing Git tag with Sigul... [2021-03-30T15:43:14.501Z] Signing v2.0.0-dev.37 [Pipeline] echo [2021-03-30T15:43:16.437Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:16.737Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-30T15:43:16.747Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-30T15:43:16.873Z] $ docker stop --time=1 193c9afee06a25cf98ef1a821e719841345261e21d293bd9ede0d6e88e9320e7 [2021-03-30T15:43:19.046Z] $ docker rm -f 193c9afee06a25cf98ef1a821e719841345261e21d293bd9ede0d6e88e9320e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:43:20.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:43:20.033Z] . [Pipeline] withDockerContainer [2021-03-30T15:43:20.230Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:43:20.408Z] $ 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-03-30T15:43:21.281Z] $ docker top 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T15:43:21.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:43:21.666Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:43:21.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:43:21.921Z] $ docker exec 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a ssh-agent [2021-03-30T15:43:22.117Z] SSH_AUTH_SOCK=/tmp/ssh-lP3zElTbWfxF/agent.13 [2021-03-30T15:43:22.117Z] SSH_AGENT_PID=18 [2021-03-30T15:43:22.126Z] Running ssh-add (command line suppressed) [2021-03-30T15:43:22.271Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4479333590810386765.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4479333590810386765.key) [2021-03-30T15:43:22.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:43:22.669Z] + git semver bump pre [2021-03-30T15:43:22.669Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T15:43:22.669Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-30T15:43:22.669Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-30T15:43:22.669Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T15:43:22.669Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T15:43:22.669Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T15:43:22.669Z] # $SEMVER_BRANCH = master [2021-03-30T15:43:22.669Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-30T15:43:22.669Z] 2.0.0-dev.38 [Pipeline] } [2021-03-30T15:43:22.680Z] $ docker exec --env ******** --env ******** 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a ssh-agent -k [2021-03-30T15:43:22.815Z] unset SSH_AUTH_SOCK; [2021-03-30T15:43:22.815Z] unset SSH_AGENT_PID; [2021-03-30T15:43:22.815Z] echo Agent pid 18 killed; [2021-03-30T15:43:22.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T15:43:23.342Z] + git semver [Pipeline] } [2021-03-30T15:43:23.359Z] $ docker stop --time=1 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a [2021-03-30T15:43:24.718Z] $ docker rm -f 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:43:25.271Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T15:43:25.271Z] . [Pipeline] withDockerContainer [2021-03-30T15:43:25.395Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:43:25.443Z] $ 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-03-30T15:43:26.115Z] $ docker top 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T15:43:26.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T15:43:26.458Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T15:43:26.653Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T15:43:26.656Z] $ docker exec 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 ssh-agent [2021-03-30T15:43:26.855Z] SSH_AUTH_SOCK=/tmp/ssh-ekkoCroeTmsj/agent.13 [2021-03-30T15:43:26.855Z] SSH_AGENT_PID=19 [2021-03-30T15:43:26.862Z] Running ssh-add (command line suppressed) [2021-03-30T15:43:26.993Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3100552988737391412.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3100552988737391412.key) [2021-03-30T15:43:27.060Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T15:43:27.390Z] + git semver push [2021-03-30T15:43:27.390Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T15:43:27.390Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-30T15:43:27.390Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-30T15:43:27.390Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T15:43:27.390Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T15:43:27.390Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T15:43:27.390Z] # $SEMVER_BRANCH = master [2021-03-30T15:43:27.390Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-30T15:43:31.621Z] $ docker exec --env ******** --env ******** 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 ssh-agent -k [2021-03-30T15:43:31.781Z] unset SSH_AUTH_SOCK; [2021-03-30T15:43:31.783Z] unset SSH_AGENT_PID; [2021-03-30T15:43:31.783Z] echo Agent pid 19 killed; [2021-03-30T15:43:31.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T15:43:32.316Z] + git semver [Pipeline] } [2021-03-30T15:43:32.332Z] $ docker stop --time=1 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 [2021-03-30T15:43:33.693Z] $ docker rm -f 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 [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-03-30T15:43:35.114Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:35.745Z] ---> package-listing.sh [2021-03-30T15:43:35.745Z] ++ facter osfamily [2021-03-30T15:43:35.745Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-30T15:43:35.745Z] + OS_FAMILY=redhat [2021-03-30T15:43:35.745Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-30T15:43:35.745Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-30T15:43:35.745Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-30T15:43:35.745Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-30T15:43:35.745Z] + PACKAGES=/tmp/packages_start.txt [2021-03-30T15:43:35.745Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-30T15:43:35.745Z] + PACKAGES=/tmp/packages_end.txt [2021-03-30T15:43:35.745Z] + case "${OS_FAMILY}" in [2021-03-30T15:43:35.745Z] + rpm -qa [2021-03-30T15:43:35.745Z] + sort [2021-03-30T15:43:41.063Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-30T15:43:41.063Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-30T15:43:41.063Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-30T15:43:41.063Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-30T15:43:41.063Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-30T15:43:41.063Z] + 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-03-30T15:43:41.077Z] 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-03-30T15:43:41.375Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:43:41.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T15:43:41.683Z] [2021-03-30T15:43:41.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-30T15:43:42.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T15:43:42.033Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-30T15:43:42.033Z] df20fa9351a1: Pulling fs layer [2021-03-30T15:43:42.033Z] 36b3adc4ff6f: Pulling fs layer [2021-03-30T15:43:42.033Z] 8ad3a11d3b57: Pulling fs layer [2021-03-30T15:43:42.033Z] 46f8f816bc3b: Pulling fs layer [2021-03-30T15:43:42.033Z] 93b61091891f: Pulling fs layer [2021-03-30T15:43:42.033Z] 93b9cdb0e59b: Pulling fs layer [2021-03-30T15:43:42.033Z] 5e14af77c1be: Pulling fs layer [2021-03-30T15:43:42.033Z] 01666e4c0597: Pulling fs layer [2021-03-30T15:43:42.033Z] aa168da1d23b: Pulling fs layer [2021-03-30T15:43:42.033Z] 93b9cdb0e59b: Waiting [2021-03-30T15:43:42.033Z] 5e14af77c1be: Waiting [2021-03-30T15:43:42.033Z] 01666e4c0597: Waiting [2021-03-30T15:43:42.033Z] aa168da1d23b: Waiting [2021-03-30T15:43:42.033Z] 46f8f816bc3b: Waiting [2021-03-30T15:43:42.033Z] 93b61091891f: Waiting [2021-03-30T15:43:42.033Z] 36b3adc4ff6f: Verifying Checksum [2021-03-30T15:43:42.033Z] 36b3adc4ff6f: Download complete [2021-03-30T15:43:42.033Z] 46f8f816bc3b: Verifying Checksum [2021-03-30T15:43:42.033Z] 46f8f816bc3b: Download complete [2021-03-30T15:43:42.296Z] df20fa9351a1: Download complete [2021-03-30T15:43:42.296Z] 93b9cdb0e59b: Verifying Checksum [2021-03-30T15:43:42.296Z] 93b9cdb0e59b: Download complete [2021-03-30T15:43:42.296Z] 5e14af77c1be: Verifying Checksum [2021-03-30T15:43:42.296Z] 5e14af77c1be: Download complete [2021-03-30T15:43:42.296Z] 01666e4c0597: Verifying Checksum [2021-03-30T15:43:42.296Z] 01666e4c0597: Download complete [2021-03-30T15:43:42.296Z] 93b61091891f: Download complete [2021-03-30T15:43:42.560Z] df20fa9351a1: Pull complete [2021-03-30T15:43:42.827Z] 8ad3a11d3b57: Verifying Checksum [2021-03-30T15:43:42.827Z] 8ad3a11d3b57: Download complete [2021-03-30T15:43:42.827Z] 36b3adc4ff6f: Pull complete [2021-03-30T15:43:43.792Z] 8ad3a11d3b57: Pull complete [2021-03-30T15:43:44.058Z] 46f8f816bc3b: Pull complete [2021-03-30T15:43:44.634Z] aa168da1d23b: Verifying Checksum [2021-03-30T15:43:44.634Z] aa168da1d23b: Download complete [2021-03-30T15:43:44.898Z] 93b61091891f: Pull complete [2021-03-30T15:43:44.898Z] 93b9cdb0e59b: Pull complete [2021-03-30T15:43:45.161Z] 5e14af77c1be: Pull complete [2021-03-30T15:43:45.161Z] 01666e4c0597: Pull complete [2021-03-30T15:43:53.362Z] aa168da1d23b: Pull complete [2021-03-30T15:43:53.362Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-30T15:43:53.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T15:43:53.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-30T15:43:53.546Z] prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container [2021-03-30T15:43:53.596Z] $ 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-03-30T15:43:56.450Z] $ docker top ff1eb039f972510a298009203485a557b2fe831a4b6a43d275ea80c8bcb37a39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T15:43:57.030Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-30T15:43:57.333Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-30T15:43:57.633Z] + ls /var/log/sa-host [2021-03-30T15:43:57.633Z] + sadf -c /var/log/sa-host/sa23 [2021-03-30T15:43:57.633Z] file_magic: OK [2021-03-30T15:43:57.633Z] HZ: Using current value: 100 [2021-03-30T15:43:57.633Z] file_header: OK [2021-03-30T15:43:57.633Z] 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-03-30T15:43:57.633Z] Statistics: [2021-03-30T15:43:57.633Z] Hnuu...uuuununununu... [2021-03-30T15:43:57.633Z] File successfully converted to sysstat format version 12.2.1 [2021-03-30T15:43:57.633Z] + sadf -c /var/log/sa-host/sa30 [2021-03-30T15:43:57.633Z] file_magic: OK [2021-03-30T15:43:57.633Z] HZ: Using current value: 100 [2021-03-30T15:43:57.633Z] file_header: OK [2021-03-30T15:43:57.633Z] 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-03-30T15:43:57.633Z] Statistics: [2021-03-30T15:43:57.633Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-30T15:43:57.633Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-30T15:43:57.853Z] provisioning config files... [2021-03-30T15:43:57.871Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2619219545585302131tmp [Pipeline] { [Pipeline] echo [2021-03-30T15:43:57.940Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:58.240Z] ---> create-netrc.sh [Pipeline] } [2021-03-30T15:43:58.249Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-30T15:43:58.499Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:58.802Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-30T15:43:58.814Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:59.114Z] ---> sudo-logs.sh [2021-03-30T15:43:59.114Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-30T15:43:59.223Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:43:59.523Z] ---> job-cost.sh [2021-03-30T15:43:59.523Z] lf-activate-venv: SKIPPING [2021-03-30T15:43:59.523Z] DEBUG: total: 0.20999999344348907 [2021-03-30T15:43:59.523Z] INFO: Retrieving Stack Cost... [2021-03-30T15:44:00.917Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T15:44:01.179Z] INFO: Archiving Costs [Pipeline] echo [2021-03-30T15:44:01.194Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T15:44:01.514Z] ---> logs-deploy.sh [2021-03-30T15:44:01.514Z] lf-activate-venv: SKIPPING [2021-03-30T15:44:01.514Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/206 [2021-03-30T15:44:01.514Z] INFO: archiving workspace using pattern(s): [2021-03-30T15:44:02.924Z] Archives upload complete. [2021-03-30T15:44:03.187Z] INFO: archiving logs to Nexus