Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c6680ff4eecd40eccff17b1dbb2a870edc6ed4da 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-30591 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision c6680ff4eecd40eccff17b1dbb2a870edc6ed4da (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 Commit message: "refactor: Change to using service keys for names in Clients configuration (#747)" > git rev-list --no-walk f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-19T18:07:54.528Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T18:07:54.838Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T18:07:54.949Z] ========================================================= [2021-03-19T18:07:54.949Z] EdgeX Global Pipelines Version Info [2021-03-19T18:07:54.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:07:56.399Z] ------------------- [2021-03-19T18:07:56.399Z] stable info: [2021-03-19T18:07:56.399Z] ------------------- [2021-03-19T18:07:56.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T18:07:56.399Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T18:07:56.399Z] Message: update stable to v1.0.184 [2021-03-19T18:07:57.346Z] ------------------- [2021-03-19T18:07:57.346Z] experimental info: [2021-03-19T18:07:57.346Z] ------------------- [2021-03-19T18:07:57.346Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T18:07:57.346Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T18:07:57.346Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T18:07:57.725Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-19T18:07:57.876Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-19T18:07:57.994Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T18:07:58.096Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T18:07:58.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T18:07:58.342Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T18:07:58.450Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T18:07:58.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T18:07:58.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-19T18:07:58.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T18:07:58.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T18:07:58.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-19T18:07:59.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T18:07:59.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T18:07:59.315Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T18:07:59.421Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T18:07:59.534Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T18:07:59.635Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T18:07:59.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T18:07:59.841Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T18:07:59.965Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-19T18:08:00.085Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-19T18:08:00.195Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T18:08:00.298Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T18:08:00.467Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-19T18:08:00.577Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T18:08:00.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-19T18:08:00.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-19T18:08:00.909Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-19T18:08:01.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c6680ff4eecd40eccff17b1dbb2a870edc6ed4da [Pipeline] echo [2021-03-19T18:08:01.103Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c6680ff [Pipeline] echo [2021-03-19T18:08:01.207Z] [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-19T18:08:01.947Z] + git log --format=format:%s -1 c6680ff4eecd40eccff17b1dbb2a870edc6ed4da [Pipeline] echo [2021-03-19T18:08:02.009Z] GIT_COMMIT: c6680ff4eecd40eccff17b1dbb2a870edc6ed4da, Commit Message: refactor: Change to using service keys for names in Clients configuration (#747) [Pipeline] echo [2021-03-19T18:08:02.064Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:08:03.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T18:08:03.343Z] [2021-03-19T18:08:03.343Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:08:03.700Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T18:08:03.701Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T18:08:03.701Z] 31603596830f: Pulling fs layer [2021-03-19T18:08:03.701Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T18:08:03.701Z] 6ca5941a6612: Pulling fs layer [2021-03-19T18:08:03.701Z] ecc8261a40a4: Pulling fs layer [2021-03-19T18:08:03.701Z] ecc8261a40a4: Waiting [2021-03-19T18:08:03.701Z] 2a8b12db71e7: Verifying Checksum [2021-03-19T18:08:03.701Z] 2a8b12db71e7: Download complete [2021-03-19T18:08:03.963Z] 31603596830f: Download complete [2021-03-19T18:08:03.963Z] 6ca5941a6612: Verifying Checksum [2021-03-19T18:08:03.963Z] 6ca5941a6612: Download complete [2021-03-19T18:08:03.963Z] ecc8261a40a4: Verifying Checksum [2021-03-19T18:08:03.963Z] ecc8261a40a4: Download complete [2021-03-19T18:08:04.228Z] 31603596830f: Pull complete [2021-03-19T18:08:04.228Z] 2a8b12db71e7: Pull complete [2021-03-19T18:08:05.175Z] 6ca5941a6612: Pull complete [2021-03-19T18:08:05.436Z] ecc8261a40a4: Pull complete [2021-03-19T18:08:05.436Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T18:08:05.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T18:08:05.436Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T18:08:05.546Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:08:05.554Z] $ 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-19T18:08:07.527Z] $ docker top 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T18:08:07.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T18:08:07.846Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T18:08:08.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T18:08:08.028Z] $ docker exec 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 ssh-agent [2021-03-19T18:08:08.230Z] SSH_AUTH_SOCK=/tmp/ssh-PlD25XtrHED8/agent.11 [2021-03-19T18:08:08.230Z] SSH_AGENT_PID=17 [2021-03-19T18:08:08.239Z] Running ssh-add (command line suppressed) [2021-03-19T18:08:08.319Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_883866467709926819.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_883866467709926819.key) [2021-03-19T18:08:08.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T18:08:08.741Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T18:08:08.783Z] $ docker exec --env ******** --env ******** 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 ssh-agent -k [2021-03-19T18:08:08.926Z] unset SSH_AUTH_SOCK; [2021-03-19T18:08:08.926Z] unset SSH_AGENT_PID; [2021-03-19T18:08:08.926Z] echo Agent pid 17 killed; [2021-03-19T18:08:09.010Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T18:08:09.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T18:08:09.176Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T18:08:09.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T18:08:09.315Z] $ docker exec 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 ssh-agent [2021-03-19T18:08:09.512Z] SSH_AUTH_SOCK=/tmp/ssh-Gj5Hw3A5MtFt/agent.45 [2021-03-19T18:08:09.512Z] SSH_AGENT_PID=50 [2021-03-19T18:08:09.518Z] Running ssh-add (command line suppressed) [2021-03-19T18:08:09.594Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_421939062316425018.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_421939062316425018.key) [2021-03-19T18:08:09.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T18:08:10.245Z] + git semver init [2021-03-19T18:08:10.245Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T18:08:10.245Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T18:08:10.245Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T18:08:10.245Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T18:08:10.245Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T18:08:10.245Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T18:08:10.245Z] # $SEMVER_BRANCH = master [2021-03-19T18:08:10.245Z] # $SEMVER_TEMP = /tmp/semver-636399088 [2021-03-19T18:08:10.245Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-19T18:08:12.805Z] # '/tmp/semver-636399088' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-19T18:08:12.806Z] # -> Force: false [2021-03-19T18:08:12.806Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-19T18:08:12.781Z] $ docker exec --env ******** --env ******** 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 ssh-agent -k [2021-03-19T18:08:12.915Z] unset SSH_AUTH_SOCK; [2021-03-19T18:08:12.917Z] unset SSH_AGENT_PID; [2021-03-19T18:08:12.917Z] echo Agent pid 50 killed; [2021-03-19T18:08:13.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T18:08:13.473Z] + git semver [Pipeline] } [2021-03-19T18:08:13.452Z] $ docker stop --time=1 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 [2021-03-19T18:08:14.932Z] $ docker rm -f 3609706a7f92f1a1bdb02ba58a9bb02a8eeb5323f729602f8a9dceff63e6c6a9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T18:08:15.421Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T18:08:15.864Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T18:08:15.867Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.31 [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-19T18:08:31.403Z] Still waiting to schedule task [2021-03-19T18:08:31.403Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30591’ [2021-03-19T18:08:31.406Z] Still waiting to schedule task [2021-03-19T18:08:31.406Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-19T18:10:07.505Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30592 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-19T18:10:07.577Z] Running in /w/workspace/app-functions-sdk-go/198 [Pipeline] { [Pipeline] checkout [2021-03-19T18:10:12.553Z] using credential edgex-jenkins-ssh [2021-03-19T18:10:12.620Z] Cloning the remote Git repository [2021-03-19T18:10:12.695Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T18:10:12.797Z] > git init /w/workspace/app-functions-sdk-go/198 # timeout=10 [2021-03-19T18:10:12.859Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T18:10:12.859Z] > git --version # timeout=10 [2021-03-19T18:10:12.875Z] > git --version # 'git version 2.17.1' [2021-03-19T18:10:12.877Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T18:10:12.958Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T18:10:16.100Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T18:10:16.123Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T18:10:16.154Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T18:10:16.186Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T18:10:16.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T18:10:16.199Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T18:10:16.678Z] Checking out Revision c6680ff4eecd40eccff17b1dbb2a870edc6ed4da (master) [2021-03-19T18:10:16.712Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T18:10:16.731Z] > git checkout -f c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 [2021-03-19T18:10:20.891Z] Commit message: "refactor: Change to using service keys for names in Clients configuration (#747)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T18:10:22.634Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T18:10:23.033Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T18:10:23.409Z] + true [2021-03-19T18:10:23.409Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-19T18:10:26.299Z] ========================================================= [2021-03-19T18:10:26.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T18:10:26.300Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:10:26.677Z] + 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-19T18:10:27.656Z] Sending build context to Docker daemon 19.38MB [2021-03-19T18:10:27.656Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T18:10:27.656Z] Step 2/8 : FROM ${BASE} [2021-03-19T18:10:28.251Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T18:10:28.251Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T18:10:28.251Z] a4357932f1b6: Pulling fs layer [2021-03-19T18:10:28.251Z] 18c013af1878: Pulling fs layer [2021-03-19T18:10:28.251Z] 00ac8860ef70: Pulling fs layer [2021-03-19T18:10:28.251Z] 63d7cb157983: Pulling fs layer [2021-03-19T18:10:28.251Z] b116817d02f9: Pulling fs layer [2021-03-19T18:10:28.251Z] 745a02a5169b: Pulling fs layer [2021-03-19T18:10:28.251Z] 00ac8860ef70: Waiting [2021-03-19T18:10:28.251Z] 63d7cb157983: Waiting [2021-03-19T18:10:28.251Z] b116817d02f9: Waiting [2021-03-19T18:10:28.251Z] 745a02a5169b: Waiting [2021-03-19T18:10:28.251Z] 18c013af1878: Download complete [2021-03-19T18:10:28.251Z] a4357932f1b6: Download complete [2021-03-19T18:10:28.251Z] 63d7cb157983: Verifying Checksum [2021-03-19T18:10:28.251Z] 63d7cb157983: Download complete [2021-03-19T18:10:28.251Z] 5f621e34cdf4: Verifying Checksum [2021-03-19T18:10:28.251Z] b116817d02f9: Verifying Checksum [2021-03-19T18:10:28.251Z] b116817d02f9: Download complete [2021-03-19T18:10:28.850Z] 5f621e34cdf4: Pull complete [2021-03-19T18:10:29.456Z] a4357932f1b6: Pull complete [2021-03-19T18:10:30.054Z] 18c013af1878: Pull complete [2021-03-19T18:10:30.650Z] 745a02a5169b: Verifying Checksum [2021-03-19T18:10:30.650Z] 745a02a5169b: Download complete [2021-03-19T18:10:32.089Z] 00ac8860ef70: Verifying Checksum [2021-03-19T18:10:32.089Z] 00ac8860ef70: Download complete [2021-03-19T18:10:42.262Z] 00ac8860ef70: Pull complete [2021-03-19T18:10:42.262Z] 63d7cb157983: Pull complete [2021-03-19T18:10:42.543Z] b116817d02f9: Pull complete [2021-03-19T18:10:46.872Z] 745a02a5169b: Pull complete [2021-03-19T18:10:46.872Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T18:10:46.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T18:10:46.872Z] ---> b7e6874047d6 [2021-03-19T18:10:46.872Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-19T18:10:46.872Z] 20.10.0: Pulling from library/docker [2021-03-19T18:10:46.872Z] a3cc7d3b244e: Pulling fs layer [2021-03-19T18:10:46.872Z] 02a3295e0d61: Pulling fs layer [2021-03-19T18:10:46.872Z] 0f4f2e6d8100: Pulling fs layer [2021-03-19T18:10:46.872Z] 330b718f631f: Pulling fs layer [2021-03-19T18:10:46.872Z] a93816041522: Pulling fs layer [2021-03-19T18:10:46.872Z] bdb6da89ff94: Pulling fs layer [2021-03-19T18:10:46.872Z] 2a70c0c122f4: Pulling fs layer [2021-03-19T18:10:46.872Z] 330b718f631f: Waiting [2021-03-19T18:10:46.872Z] a93816041522: Waiting [2021-03-19T18:10:46.872Z] bdb6da89ff94: Waiting [2021-03-19T18:10:46.872Z] 2a70c0c122f4: Waiting [2021-03-19T18:10:46.872Z] 0f4f2e6d8100: Verifying Checksum [2021-03-19T18:10:46.872Z] 0f4f2e6d8100: Download complete [2021-03-19T18:10:46.872Z] 02a3295e0d61: Verifying Checksum [2021-03-19T18:10:46.872Z] 02a3295e0d61: Download complete [2021-03-19T18:10:46.872Z] a93816041522: Download complete [2021-03-19T18:10:46.872Z] bdb6da89ff94: Download complete [2021-03-19T18:10:46.872Z] a3cc7d3b244e: Verifying Checksum [2021-03-19T18:10:46.872Z] a3cc7d3b244e: Download complete [2021-03-19T18:10:46.872Z] 2a70c0c122f4: Verifying Checksum [2021-03-19T18:10:47.478Z] a3cc7d3b244e: Pull complete [2021-03-19T18:10:48.076Z] 02a3295e0d61: Pull complete [2021-03-19T18:10:48.355Z] 330b718f631f: Verifying Checksum [2021-03-19T18:10:48.355Z] 330b718f631f: Download complete [2021-03-19T18:10:48.355Z] 0f4f2e6d8100: Pull complete [2021-03-19T18:10:52.693Z] 330b718f631f: Pull complete [2021-03-19T18:10:52.693Z] a93816041522: Pull complete [2021-03-19T18:10:52.693Z] bdb6da89ff94: Pull complete [2021-03-19T18:10:53.299Z] 2a70c0c122f4: Pull complete [2021-03-19T18:10:53.299Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-19T18:10:53.299Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-19T18:10:58.709Z] ---> de2642e5d4cb [2021-03-19T18:10:58.709Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-19T18:10:58.983Z] ---> Running in 68a027818d4f [2021-03-19T18:10:59.581Z] Removing intermediate container 68a027818d4f [2021-03-19T18:10:59.581Z] ---> 9a139583715c [2021-03-19T18:10:59.581Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-19T18:10:59.581Z] ---> Running in 26f82df2ba0e [2021-03-19T18:11:01.033Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T18:11:01.627Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T18:11:02.220Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-19T18:11:02.220Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-19T18:11:02.493Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-19T18:11:02.493Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-19T18:11:02.493Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-19T18:11:02.764Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T18:11:02.764Z] OK: 144 MiB in 44 packages [2021-03-19T18:11:03.884Z] Running on prd-centos7-docker-4c-2g-30593 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-19T18:11:03.960Z] Running in /w/workspace/app-functions-sdk-go/198 [Pipeline] { [Pipeline] checkout [2021-03-19T18:11:04.202Z] Removing intermediate container 26f82df2ba0e [2021-03-19T18:11:04.202Z] ---> 0a792eca8734 [2021-03-19T18:11:04.202Z] Step 6/8 : WORKDIR /build [2021-03-19T18:11:04.202Z] ---> Running in 042798091e2e [2021-03-19T18:11:04.474Z] Removing intermediate container 042798091e2e [2021-03-19T18:11:04.474Z] ---> 222e649d4773 [2021-03-19T18:11:04.474Z] Step 7/8 : COPY go.mod . [2021-03-19T18:11:05.454Z] ---> 85b7898f5ce0 [2021-03-19T18:11:05.454Z] Step 8/8 : RUN go mod download [2021-03-19T18:11:05.454Z] ---> Running in da4ee5b6031e [2021-03-19T18:11:06.299Z] using credential edgex-jenkins-ssh [2021-03-19T18:11:06.360Z] Cloning the remote Git repository [2021-03-19T18:11:06.087Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T18:11:06.162Z] > git init /w/workspace/app-functions-sdk-go/198 # timeout=10 [2021-03-19T18:11:06.224Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T18:11:06.224Z] > git --version # timeout=10 [2021-03-19T18:11:06.231Z] > git --version # 'git version 2.24.3' [2021-03-19T18:11:06.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T18:11:06.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T18:11:07.902Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T18:11:07.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T18:11:07.924Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T18:11:07.937Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T18:11:07.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T18:11:07.942Z] > 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-19T18:11:08.563Z] Checking out Revision c6680ff4eecd40eccff17b1dbb2a870edc6ed4da (master) [2021-03-19T18:11:08.453Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T18:11:08.459Z] > git checkout -f c6680ff4eecd40eccff17b1dbb2a870edc6ed4da # timeout=10 [2021-03-19T18:11:12.114Z] Commit message: "refactor: Change to using service keys for names in Clients configuration (#747)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T18:11:13.383Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T18:11:13.718Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T18:11:14.020Z] + sudo service docker restart [2021-03-19T18:11:14.020Z] + true [2021-03-19T18:11:14.020Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-19T18:11:16.122Z] ========================================================= [2021-03-19T18:11:16.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T18:11:16.122Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:11:16.476Z] + 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-19T18:11:17.058Z] Sending build context to Docker daemon 19.38MB [2021-03-19T18:11:17.059Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T18:11:17.059Z] Step 2/8 : FROM ${BASE} [2021-03-19T18:11:17.059Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T18:11:17.059Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T18:11:17.059Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T18:11:17.059Z] de9db76c5a1d: Pulling fs layer [2021-03-19T18:11:17.059Z] bca2f99d35d6: Pulling fs layer [2021-03-19T18:11:17.059Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T18:11:17.059Z] 7c6f9722023f: Pulling fs layer [2021-03-19T18:11:17.059Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T18:11:17.059Z] 7c6f9722023f: Waiting [2021-03-19T18:11:17.059Z] a35cf1a2eb13: Waiting [2021-03-19T18:11:17.059Z] bca2f99d35d6: Waiting [2021-03-19T18:11:17.059Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T18:11:17.059Z] 0ef7d3d256c8: Download complete [2021-03-19T18:11:17.059Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T18:11:17.059Z] 93359f2a8cfa: Download complete [2021-03-19T18:11:17.059Z] 188c0c94c7c5: Download complete [2021-03-19T18:11:17.059Z] 7c6f9722023f: Verifying Checksum [2021-03-19T18:11:17.059Z] 7c6f9722023f: Download complete [2021-03-19T18:11:17.325Z] 188c0c94c7c5: Pull complete [2021-03-19T18:11:17.593Z] 0ef7d3d256c8: Pull complete [2021-03-19T18:11:17.856Z] de9db76c5a1d: Pull complete [2021-03-19T18:11:19.258Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T18:11:19.524Z] bca2f99d35d6: Verifying Checksum [2021-03-19T18:11:19.524Z] bca2f99d35d6: Download complete [2021-03-19T18:11:24.866Z] bca2f99d35d6: Pull complete [2021-03-19T18:11:25.132Z] 93359f2a8cfa: Pull complete [2021-03-19T18:11:25.132Z] 7c6f9722023f: Pull complete [2021-03-19T18:11:32.256Z] Removing intermediate container da4ee5b6031e [2021-03-19T18:11:32.256Z] ---> 31714116ebd4 [2021-03-19T18:11:32.256Z] Successfully built 31714116ebd4 [2021-03-19T18:11:32.256Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:11:32.604Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T18:11:32.605Z] . [Pipeline] withDockerContainer [2021-03-19T18:11:32.877Z] prd-ubuntu18.04-docker-arm64-4c-16g-30592 does not seem to be running inside a container [2021-03-19T18:11:32.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/198 -v /w/workspace/app-functions-sdk-go/198:/w/workspace/app-functions-sdk-go/198:rw,z -v /w/workspace/app-functions-sdk-go/198@tmp:/w/workspace/app-functions-sdk-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T18:11:33.334Z] a35cf1a2eb13: Pull complete [2021-03-19T18:11:33.335Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T18:11:33.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T18:11:33.335Z] ---> a62c8e92a672 [2021-03-19T18:11:33.335Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-19T18:11:33.335Z] 20.10.0: Pulling from library/docker [2021-03-19T18:11:33.335Z] 05e7bc50f07f: Pulling fs layer [2021-03-19T18:11:33.335Z] 6db28d0fdbf6: Pulling fs layer [2021-03-19T18:11:33.335Z] 292df0bc6bf3: Pulling fs layer [2021-03-19T18:11:33.335Z] 2e060f4bd70b: Pulling fs layer [2021-03-19T18:11:33.335Z] 80e8d568a223: Pulling fs layer [2021-03-19T18:11:33.335Z] 8dc6ef1a942a: Pulling fs layer [2021-03-19T18:11:33.335Z] 2312dd95470a: Pulling fs layer [2021-03-19T18:11:33.335Z] 2e060f4bd70b: Waiting [2021-03-19T18:11:33.335Z] 80e8d568a223: Waiting [2021-03-19T18:11:33.335Z] 8dc6ef1a942a: Waiting [2021-03-19T18:11:33.335Z] 2312dd95470a: Waiting [2021-03-19T18:11:33.335Z] 292df0bc6bf3: Verifying Checksum [2021-03-19T18:11:33.335Z] 292df0bc6bf3: Download complete [2021-03-19T18:11:33.335Z] 05e7bc50f07f: Download complete [2021-03-19T18:11:33.335Z] 6db28d0fdbf6: Verifying Checksum [2021-03-19T18:11:33.335Z] 6db28d0fdbf6: Download complete [2021-03-19T18:11:33.335Z] 80e8d568a223: Verifying Checksum [2021-03-19T18:11:33.335Z] 80e8d568a223: Download complete [2021-03-19T18:11:33.335Z] 8dc6ef1a942a: Verifying Checksum [2021-03-19T18:11:33.335Z] 8dc6ef1a942a: Download complete [2021-03-19T18:11:33.335Z] 2312dd95470a: Verifying Checksum [2021-03-19T18:11:33.335Z] 2312dd95470a: Download complete [2021-03-19T18:11:33.335Z] 05e7bc50f07f: Pull complete [2021-03-19T18:11:33.335Z] 6db28d0fdbf6: Pull complete [2021-03-19T18:11:33.335Z] 292df0bc6bf3: Pull complete [2021-03-19T18:11:33.909Z] 2e060f4bd70b: Verifying Checksum [2021-03-19T18:11:33.909Z] 2e060f4bd70b: Download complete [2021-03-19T18:11:34.517Z] $ docker top 73cc0009f5a3f05ca9a88a106fe56f2fe37da3e99857b1b429c7065ef69e1491 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T18:11:35.543Z] + go version [2021-03-19T18:11:35.543Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T18:11:35.597Z] $ docker stop --time=1 73cc0009f5a3f05ca9a88a106fe56f2fe37da3e99857b1b429c7065ef69e1491 [2021-03-19T18:11:37.239Z] 2e060f4bd70b: Pull complete [2021-03-19T18:11:37.240Z] 80e8d568a223: Pull complete [2021-03-19T18:11:37.240Z] 8dc6ef1a942a: Pull complete [2021-03-19T18:11:37.240Z] 2312dd95470a: Pull complete [2021-03-19T18:11:37.240Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-19T18:11:37.240Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-19T18:11:37.559Z] $ docker rm -f 73cc0009f5a3f05ca9a88a106fe56f2fe37da3e99857b1b429c7065ef69e1491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:11:38.554Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T18:11:38.555Z] . [Pipeline] withDockerContainer [2021-03-19T18:11:38.653Z] ---> d3229a67e429 [2021-03-19T18:11:38.654Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-19T18:11:38.654Z] ---> Running in 81d1eb343c37 [2021-03-19T18:11:38.813Z] prd-ubuntu18.04-docker-arm64-4c-16g-30592 does not seem to be running inside a container [2021-03-19T18:11:38.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/198 -v /w/workspace/app-functions-sdk-go/198:/w/workspace/app-functions-sdk-go/198:rw,z -v /w/workspace/app-functions-sdk-go/198@tmp:/w/workspace/app-functions-sdk-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T18:11:38.917Z] Removing intermediate container 81d1eb343c37 [2021-03-19T18:11:38.918Z] ---> 27fe16346a98 [2021-03-19T18:11:38.918Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-19T18:11:38.918Z] ---> Running in b943fb9d9624 [2021-03-19T18:11:39.500Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T18:11:40.420Z] $ docker top fcc9c96b8ee488a0f79498836bde21a07bc2ee4a8be76c7d2ec2b79df0037b8e -eo pid,comm [2021-03-19T18:11:40.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T18:11:40.730Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-19T18:11:40.730Z] (2/5) Installing libzmq (4.3.3-r0) [Pipeline] { [Pipeline] sh [2021-03-19T18:11:40.997Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-19T18:11:40.997Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-19T18:11:40.997Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-19T18:11:41.260Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T18:11:41.260Z] OK: 167 MiB in 44 packages [2021-03-19T18:11:41.433Z] + make test [2021-03-19T18:11:41.433Z] make -C ./app-service-template build [2021-03-19T18:11:41.433Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:11:41.433Z] 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-19T18:11:41.837Z] Removing intermediate container b943fb9d9624 [2021-03-19T18:11:41.837Z] ---> 7e724f4ae877 [2021-03-19T18:11:41.837Z] Step 6/8 : WORKDIR /build [2021-03-19T18:11:41.837Z] ---> Running in 72a3915fa325 [2021-03-19T18:11:42.102Z] Removing intermediate container 72a3915fa325 [2021-03-19T18:11:42.102Z] ---> 267257ca80e1 [2021-03-19T18:11:42.102Z] Step 7/8 : COPY go.mod . [2021-03-19T18:11:42.366Z] ---> 9bfa73813434 [2021-03-19T18:11:42.366Z] Step 8/8 : RUN go mod download [2021-03-19T18:11:42.366Z] ---> Running in 0a4a1866403f [2021-03-19T18:12:04.414Z] Removing intermediate container 0a4a1866403f [2021-03-19T18:12:04.414Z] ---> d449a0378ee3 [2021-03-19T18:12:04.414Z] Successfully built d449a0378ee3 [2021-03-19T18:12:04.414Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:12:04.729Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T18:12:04.729Z] . [Pipeline] withDockerContainer [2021-03-19T18:12:04.859Z] prd-centos7-docker-4c-2g-30593 does not seem to be running inside a container [2021-03-19T18:12:04.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/198 -v /w/workspace/app-functions-sdk-go/198:/w/workspace/app-functions-sdk-go/198:rw,z -v /w/workspace/app-functions-sdk-go/198@tmp:/w/workspace/app-functions-sdk-go/198@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-19T18:12:05.702Z] $ docker top 7d45bd4fa12611e24b9369cae7698d365b227b2f78658c80a026ee3199cf14fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T18:12:06.197Z] + go version [2021-03-19T18:12:06.197Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T18:12:06.214Z] $ docker stop --time=1 7d45bd4fa12611e24b9369cae7698d365b227b2f78658c80a026ee3199cf14fc [2021-03-19T18:12:07.598Z] $ docker rm -f 7d45bd4fa12611e24b9369cae7698d365b227b2f78658c80a026ee3199cf14fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:12:08.419Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T18:12:08.419Z] . [Pipeline] withDockerContainer [2021-03-19T18:12:08.521Z] prd-centos7-docker-4c-2g-30593 does not seem to be running inside a container [2021-03-19T18:12:08.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/198 -v /w/workspace/app-functions-sdk-go/198:/w/workspace/app-functions-sdk-go/198:rw,z -v /w/workspace/app-functions-sdk-go/198@tmp:/w/workspace/app-functions-sdk-go/198@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-19T18:12:09.362Z] $ docker top 1fa2d1449dbe60912420ea55b8c5c89db2696ffc373b9ad8c0e5ca1f0b6b8f23 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T18:12:09.925Z] + make test [2021-03-19T18:12:09.925Z] make -C ./app-service-template build [2021-03-19T18:12:09.925Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:09.925Z] 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-19T18:12:13.833Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:13.833Z] make -C ./app-service-template test [2021-03-19T18:12:13.833Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:13.833Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-19T18:12:24.972Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:24.972Z] make -C ./app-service-template test [2021-03-19T18:12:24.972Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:24.972Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-19T18:12:33.186Z] ok new-app-service 0.018s coverage: 89.5% of statements [2021-03-19T18:12:33.186Z] ok new-app-service/functions 0.013s [2021-03-19T18:12:33.186Z] CGO_ENABLED=1 go vet ./... [2021-03-19T18:12:36.543Z] gofmt -l . [2021-03-19T18:12:36.543Z] [ "`gofmt -l .`" = "" ] [2021-03-19T18:12:36.543Z] ./bin/test-go-mod-tidy.sh [2021-03-19T18:12:37.126Z] ./bin/test-attribution-txt.sh [2021-03-19T18:12:37.707Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:37.707Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-19T18:12:38.291Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-19T18:12:40.665Z] ok new-app-service 0.040s coverage: 89.5% of statements [2021-03-19T18:12:40.665Z] ok new-app-service/functions 0.029s [2021-03-19T18:12:40.665Z] CGO_ENABLED=1 go vet ./... [2021-03-19T18:12:40.928Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.046s coverage: 56.1% of statements [2021-03-19T18:12:40.928Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.036s coverage: 92.5% of statements [2021-03-19T18:12:40.928Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-19T18:12:40.928Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.052s coverage: 61.5% of statements [2021-03-19T18:12:40.928Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-19T18:12:40.928Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.050s [2021-03-19T18:12:41.201Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.045s coverage: 75.4% of statements [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-19T18:12:41.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.014s coverage: 97.0% of statements [2021-03-19T18:12:41.202Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T18:12:41.202Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 10.5% of statements [2021-03-19T18:12:46.533Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.752s coverage: 78.4% of statements [2021-03-19T18:12:46.533Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-19T18:12:46.533Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.009s coverage: 20.0% of statements [2021-03-19T18:12:46.533Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.022s coverage: 27.3% of statements [2021-03-19T18:12:46.533Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-19T18:12:46.533Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-19T18:12:46.533Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.014s coverage: 71.7% of statements [2021-03-19T18:12:47.392Z] gofmt -l . [2021-03-19T18:12:47.392Z] [ "`gofmt -l .`" = "" ] [2021-03-19T18:12:47.392Z] ./bin/test-go-mod-tidy.sh [2021-03-19T18:12:47.678Z] ./bin/test-attribution-txt.sh [2021-03-19T18:12:49.122Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/198/app-service-template' [2021-03-19T18:12:49.122Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-19T18:12:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.063s coverage: 56.1% of statements [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.035s coverage: 92.5% of statements [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.081s coverage: 61.5% of statements [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.038s [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.086s coverage: 75.4% of statements [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.010s coverage: 97.0% of statements [2021-03-19T18:13:00.726Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T18:13:00.726Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.037s coverage: 10.5% of statements [2021-03-19T18:13:05.064Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.802s coverage: 78.4% of statements [2021-03-19T18:13:05.065Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-19T18:13:05.065Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.032s coverage: 20.0% of statements [2021-03-19T18:13:05.065Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.034s coverage: 27.3% of statements [2021-03-19T18:13:05.065Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-19T18:13:05.065Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-19T18:13:05.065Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.076s coverage: 71.7% of statements [2021-03-19T18:13:13.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.045s coverage: 81.9% of statements [2021-03-19T18:13:13.133Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-03-19T18:13:13.133Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-19T18:13:13.133Z] gofmt -l . [2021-03-19T18:13:13.133Z] [ "`gofmt -l .`" = "" ] [2021-03-19T18:13:13.133Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T18:13:13.149Z] $ docker stop --time=1 1fa2d1449dbe60912420ea55b8c5c89db2696ffc373b9ad8c0e5ca1f0b6b8f23 [2021-03-19T18:13:14.708Z] $ docker rm -f 1fa2d1449dbe60912420ea55b8c5c89db2696ffc373b9ad8c0e5ca1f0b6b8f23 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T18:13:15.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T18:13:15.825Z] 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-19T18:13:17.231Z] ---> job-cost.sh [2021-03-19T18:13:17.231Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qR35 [2021-03-19T18:13:31.876Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements [2021-03-19T18:13:31.876Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.022s coverage: 94.4% of statements [2021-03-19T18:13:31.876Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-19T18:13:32.153Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T18:13:34.510Z] gofmt -l . [2021-03-19T18:13:34.510Z] [ "`gofmt -l .`" = "" ] [2021-03-19T18:13:34.782Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T18:13:35.456Z] $ docker stop --time=1 fcc9c96b8ee488a0f79498836bde21a07bc2ee4a8be76c7d2ec2b79df0037b8e [2021-03-19T18:13:37.558Z] $ docker rm -f fcc9c96b8ee488a0f79498836bde21a07bc2ee4a8be76c7d2ec2b79df0037b8e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T18:13:38.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T18:13:38.605Z] Warning: overwriting stash ‘coverage-report’ [2021-03-19T18:13:39.418Z] 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-19T18:13:40.397Z] ---> job-cost.sh [2021-03-19T18:13:40.397Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pwkG [2021-03-19T18:14:04.323Z] lf-activate-venv(): INFO: Adding /tmp/venv-qR35/bin to PATH [2021-03-19T18:14:04.323Z] INFO: No Stack... [2021-03-19T18:14:04.323Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T18:14:04.323Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T18:14:04.635Z] + cat /w/workspace/app-functions-sdk-go/198/archives/cost.csv [2021-03-19T18:14:04.635Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T18:14:04.708Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] [2021-03-19T18:14:04.721Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] did not exist. Created. [2021-03-19T18:14:04.721Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T18:14:05.116Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T18:14:05.216Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T18:14:05.252Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-19T18:14:19.346Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T18:15:56.080Z] lf-activate-venv(): INFO: Adding /tmp/venv-pwkG/bin to PATH [2021-03-19T18:15:56.080Z] INFO: No Stack... [2021-03-19T18:15:56.080Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T18:15:56.080Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T18:15:56.419Z] + cat /w/workspace/app-functions-sdk-go/198/archives/cost.csv [2021-03-19T18:15:56.419Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T18:15:56.539Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] [2021-03-19T18:15:56.549Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] did not exist. Created. [2021-03-19T18:15:56.549Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T18:15:56.995Z] /w/workspace/app-functions-sdk-go/198@tmp/durable-09f0ca27/script.sh: 1: /w/workspace/app-functions-sdk-go/198@tmp/durable-09f0ca27/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-19T18:15:57.350Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T18:15:57.412Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T18:15:57.573Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T18:15:57.583Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-198-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-19T18:15:59.099Z] provisioning config files... [2021-03-19T18:15:59.112Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1580646391701040854tmp [Pipeline] { [Pipeline] sh [2021-03-19T18:15:59.503Z] + set +x [2021-03-19T18:15:59.504Z] + curl -s https://codecov.io/bash [2021-03-19T18:15:59.504Z] + bash -s -- [2021-03-19T18:15:59.767Z] [2021-03-19T18:15:59.767Z] _____ _ [2021-03-19T18:15:59.767Z] / ____| | | [2021-03-19T18:15:59.767Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T18:15:59.767Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T18:15:59.767Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T18:15:59.767Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T18:15:59.767Z] Bash-20210309-2b87ace [2021-03-19T18:15:59.767Z] [2021-03-19T18:15:59.767Z] [2021-03-19T18:15:59.767Z] ==> git version 2.24.3 found [2021-03-19T18:15:59.767Z] ==> 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-19T18:15:59.767Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T18:15:59.767Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T18:15:59.767Z] curl: option -sm: expected a proper numerical parameter [2021-03-19T18:15:59.767Z] curl: try 'curl --help' or 'curl --manual' for more information [2021-03-19T18:15:59.767Z] ==> Jenkins CI detected. [2021-03-19T18:15:59.767Z] project root: . [2021-03-19T18:15:59.767Z] --> token set from env [2021-03-19T18:15:59.767Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T18:15:59.767Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T18:15:59.767Z] ==> Python coveragepy not found [2021-03-19T18:15:59.767Z] ==> Searching for coverage reports in: [2021-03-19T18:15:59.767Z] + . [2021-03-19T18:15:59.767Z] -> Found 2 reports [2021-03-19T18:15:59.767Z] ==> Detecting git/mercurial file structure [2021-03-19T18:15:59.767Z] ==> Reading reports [2021-03-19T18:15:59.767Z] + ./app-service-template/coverage.out bytes=400 [2021-03-19T18:15:59.767Z] + ./coverage.out bytes=85558 [2021-03-19T18:15:59.767Z] ==> Appending adjustments [2021-03-19T18:15:59.767Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T18:16:00.345Z] + Found adjustments [2021-03-19T18:16:00.345Z] ==> Gzipping contents [2021-03-19T18:16:00.345Z] 16K /tmp/codecov.9ThuH1.gz [2021-03-19T18:16:00.345Z] ==> Uploading reports [2021-03-19T18:16:00.345Z] url: https://codecov.io [2021-03-19T18:16:00.345Z] query: branch=master&commit=c6680ff4eecd40eccff17b1dbb2a870edc6ed4da&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F198%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T18:16:00.345Z] -> Pinging Codecov [2021-03-19T18:16:00.345Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=c6680ff4eecd40eccff17b1dbb2a870edc6ed4da&build=198&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F198%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T18:16:00.921Z] -> Uploading to [2021-03-19T18:16:00.921Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/3D8B5DFFC46A037C893635FACE044666/c6680ff4eecd40eccff17b1dbb2a870edc6ed4da/24fc602f-1b8f-411b-918d-3cacf61db631.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T181600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4342b9905db5bf01372261451275ab4916375b31541a3498d3d20d68c8d0d613 [2021-03-19T18:16:00.921Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T18:16:00.921Z] Dload Upload Total Spent Left Speed [2021-03-19T18:16:01.184Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14885 0 0 100 14885 0 33118 --:--:-- --:--:-- --:--:-- 33077 [2021-03-19T18:16:01.184Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/c6680ff4eecd40eccff17b1dbb2a870edc6ed4da [Pipeline] } [2021-03-19T18:16:01.194Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-19T18:16:02.119Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-19T18:16:02.183Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:16:02.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T18:16:02.531Z] [2021-03-19T18:16:02.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:16:02.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T18:16:02.884Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-19T18:16:02.884Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T18:16:02.884Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T18:16:02.884Z] de9db76c5a1d: Pulling fs layer [2021-03-19T18:16:02.884Z] 0eba1c9be4d2: Pulling fs layer [2021-03-19T18:16:02.884Z] 0d57e429df01: Pulling fs layer [2021-03-19T18:16:02.884Z] 4e4be7b47b0d: Pulling fs layer [2021-03-19T18:16:02.884Z] e1f770b5df2f: Pulling fs layer [2021-03-19T18:16:02.884Z] 85a0685a4137: Pulling fs layer [2021-03-19T18:16:02.884Z] 0d57e429df01: Waiting [2021-03-19T18:16:02.884Z] 4e4be7b47b0d: Waiting [2021-03-19T18:16:02.884Z] e1f770b5df2f: Waiting [2021-03-19T18:16:02.884Z] 85a0685a4137: Waiting [2021-03-19T18:16:02.884Z] 0eba1c9be4d2: Waiting [2021-03-19T18:16:02.884Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T18:16:02.884Z] 0ef7d3d256c8: Download complete [2021-03-19T18:16:02.884Z] de9db76c5a1d: Verifying Checksum [2021-03-19T18:16:02.884Z] de9db76c5a1d: Download complete [2021-03-19T18:16:02.884Z] 0d57e429df01: Verifying Checksum [2021-03-19T18:16:02.884Z] 0d57e429df01: Download complete [2021-03-19T18:16:02.884Z] 4e4be7b47b0d: Verifying Checksum [2021-03-19T18:16:02.884Z] 4e4be7b47b0d: Download complete [2021-03-19T18:16:03.146Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T18:16:03.147Z] 188c0c94c7c5: Download complete [2021-03-19T18:16:03.408Z] 188c0c94c7c5: Pull complete [2021-03-19T18:16:03.670Z] 0ef7d3d256c8: Pull complete [2021-03-19T18:16:03.670Z] de9db76c5a1d: Pull complete [2021-03-19T18:16:04.640Z] e1f770b5df2f: Verifying Checksum [2021-03-19T18:16:04.640Z] e1f770b5df2f: Download complete [2021-03-19T18:16:06.578Z] 0eba1c9be4d2: Download complete [2021-03-19T18:16:06.846Z] 85a0685a4137: Verifying Checksum [2021-03-19T18:16:06.846Z] 85a0685a4137: Download complete [2021-03-19T18:16:12.160Z] 0eba1c9be4d2: Pull complete [2021-03-19T18:16:12.160Z] 0d57e429df01: Pull complete [2021-03-19T18:16:12.160Z] 4e4be7b47b0d: Pull complete [2021-03-19T18:16:14.083Z] e1f770b5df2f: Pull complete [2021-03-19T18:16:20.790Z] 85a0685a4137: Pull complete [2021-03-19T18:16:20.790Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-19T18:16:20.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T18:16:20.790Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-19T18:16:20.994Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:16:21.076Z] $ 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-19T18:16:22.079Z] $ docker top 52b36ad51453c6facd937c04618fd29f731b9c52cec08a81ab62db6ab4a4711a -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-19T18:16:22.378Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-19T18:16:22.696Z] + set -o pipefail [2021-03-19T18:16:22.697Z] + snyk monitor '--org=edgex-jenkins' [2021-03-19T18:16:29.381Z] [2021-03-19T18:16:29.381Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-19T18:16:29.381Z] [2021-03-19T18:16:29.381Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/b85db57b-14ea-480d-9ba5-7db24614083b [2021-03-19T18:16:29.381Z] [2021-03-19T18:16:29.381Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-19T18:16:29.381Z] [2021-03-19T18:16:29.381Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-19T18:16:29.381Z] [2021-03-19T18:16:29.955Z] [Pipeline] } [2021-03-19T18:16:29.977Z] $ docker stop --time=1 52b36ad51453c6facd937c04618fd29f731b9c52cec08a81ab62db6ab4a4711a [2021-03-19T18:16:33.015Z] $ docker rm -f 52b36ad51453c6facd937c04618fd29f731b9c52cec08a81ab62db6ab4a4711a [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-19T18:16:34.377Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T18:16:34.437Z] provisioning config files... [2021-03-19T18:16:34.446Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8864168851414698887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:16:34.836Z] --> edgex-publish-swagger.sh [2021-03-19T18:16:34.836Z] === Publish openapi/v2 API === [2021-03-19T18:16:34.836Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-19T18:16:34.836Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-19T18:16:34.836Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T18:16:34.836Z] Dload Upload Total Spent Left Speed [2021-03-19T18:16:36.635Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10440 0:00:01 0:00:01 --:--:-- 10441 100 13052 0 0 100 13052 0 6875 0:00:01 0:00:01 --:--:-- 6876 [2021-03-19T18:16:36.635Z] [2021-03-19T18:16:36.635Z] [Pipeline] } [2021-03-19T18:16:36.644Z] 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-19T18:16:37.549Z] + git log --format=format:%s -1 c6680ff4eecd40eccff17b1dbb2a870edc6ed4da [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:16:37.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T18:16:37.864Z] . [Pipeline] withDockerContainer [2021-03-19T18:16:37.958Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:16:38.006Z] $ 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-19T18:16:38.754Z] $ docker top 64b1895c98213107418cfefbe325f53363a259c57e3b1be4090ec0253af79ed7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T18:16:39.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T18:16:39.077Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T18:16:39.278Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T18:16:39.284Z] $ docker exec 64b1895c98213107418cfefbe325f53363a259c57e3b1be4090ec0253af79ed7 ssh-agent [2021-03-19T18:16:39.451Z] SSH_AUTH_SOCK=/tmp/ssh-4vlcfXP48fke/agent.11 [2021-03-19T18:16:39.451Z] SSH_AGENT_PID=16 [2021-03-19T18:16:39.458Z] Running ssh-add (command line suppressed) [2021-03-19T18:16:39.607Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1366414661798028374.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1366414661798028374.key) [2021-03-19T18:16:39.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T18:16:39.993Z] + git semver tag [2021-03-19T18:16:39.994Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T18:16:39.994Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T18:16:39.994Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T18:16:39.994Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T18:16:39.994Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T18:16:39.994Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T18:16:39.994Z] # $SEMVER_BRANCH = master [2021-03-19T18:16:39.994Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-19T18:16:39.994Z] # c6680ff4eecd40eccff17b1dbb2a870edc6ed4da HEAD [2021-03-19T18:16:39.994Z] # -> Force: false [2021-03-19T18:16:39.994Z] # d722610cf52572ab5cc8db91248e67be17b4e7ef refs/tags/v2.0.0-dev.31 [Pipeline] } [2021-03-19T18:16:40.009Z] $ docker exec --env ******** --env ******** 64b1895c98213107418cfefbe325f53363a259c57e3b1be4090ec0253af79ed7 ssh-agent -k [2021-03-19T18:16:40.123Z] unset SSH_AUTH_SOCK; [2021-03-19T18:16:40.123Z] unset SSH_AGENT_PID; [2021-03-19T18:16:40.123Z] echo Agent pid 16 killed; [2021-03-19T18:16:40.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T18:16:40.714Z] + git semver [Pipeline] } [2021-03-19T18:16:40.733Z] $ docker stop --time=1 64b1895c98213107418cfefbe325f53363a259c57e3b1be4090ec0253af79ed7 [2021-03-19T18:16:42.140Z] $ docker rm -f 64b1895c98213107418cfefbe325f53363a259c57e3b1be4090ec0253af79ed7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:16:42.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T18:16:42.832Z] [2021-03-19T18:16:42.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:16:43.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T18:16:43.194Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-19T18:16:43.194Z] ab5ef0e58194: Pulling fs layer [2021-03-19T18:16:43.194Z] 9712f1f96733: Pulling fs layer [2021-03-19T18:16:43.194Z] 63f879dbbcfc: Pulling fs layer [2021-03-19T18:16:43.194Z] 0d9ebad4ef96: Pulling fs layer [2021-03-19T18:16:43.194Z] e9a5061849ea: Pulling fs layer [2021-03-19T18:16:43.194Z] d747dcd14b5f: Pulling fs layer [2021-03-19T18:16:43.194Z] 2de7ff778b66: Pulling fs layer [2021-03-19T18:16:43.194Z] e9a5061849ea: Waiting [2021-03-19T18:16:43.194Z] d747dcd14b5f: Waiting [2021-03-19T18:16:43.194Z] 2de7ff778b66: Waiting [2021-03-19T18:16:43.194Z] 0d9ebad4ef96: Waiting [2021-03-19T18:16:43.194Z] 9712f1f96733: Verifying Checksum [2021-03-19T18:16:43.194Z] 9712f1f96733: Download complete [2021-03-19T18:16:44.598Z] 63f879dbbcfc: Verifying Checksum [2021-03-19T18:16:44.598Z] e9a5061849ea: Verifying Checksum [2021-03-19T18:16:44.598Z] e9a5061849ea: Download complete [2021-03-19T18:16:44.598Z] d747dcd14b5f: Verifying Checksum [2021-03-19T18:16:44.598Z] d747dcd14b5f: Download complete [2021-03-19T18:16:45.174Z] 2de7ff778b66: Verifying Checksum [2021-03-19T18:16:45.174Z] 2de7ff778b66: Download complete [2021-03-19T18:16:45.174Z] 0d9ebad4ef96: Verifying Checksum [2021-03-19T18:16:45.174Z] 0d9ebad4ef96: Download complete [2021-03-19T18:16:45.750Z] ab5ef0e58194: Verifying Checksum [2021-03-19T18:16:45.750Z] ab5ef0e58194: Download complete [2021-03-19T18:16:49.988Z] ab5ef0e58194: Pull complete [2021-03-19T18:16:49.988Z] 9712f1f96733: Pull complete [2021-03-19T18:16:51.917Z] 63f879dbbcfc: Pull complete [2021-03-19T18:16:58.537Z] 0d9ebad4ef96: Pull complete [2021-03-19T18:17:00.456Z] e9a5061849ea: Pull complete [2021-03-19T18:17:00.456Z] d747dcd14b5f: Pull complete [2021-03-19T18:17:03.035Z] 2de7ff778b66: Pull complete [2021-03-19T18:17:03.035Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-19T18:17:03.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T18:17:03.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-19T18:17:03.215Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:17:03.261Z] $ 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-19T18:17:07.207Z] $ docker top ce3d55d82358cbf67c0ae867950d5839e363eb7816af4052dd298f7c9556b506 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-19T18:17:07.438Z] provisioning config files... [2021-03-19T18:17:07.447Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2503424649517010402tmp [2021-03-19T18:17:07.463Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8522597936711061974tmp [2021-03-19T18:17:07.480Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config338944411360353563tmp [Pipeline] { [Pipeline] echo [2021-03-19T18:17:07.536Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:17:07.838Z] ---> sigul-configuration.sh [2021-03-19T18:17:07.838Z] gpg: directory `/root/.gnupg' created [2021-03-19T18:17:07.838Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-19T18:17:07.838Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-19T18:17:07.838Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-19T18:17:07.838Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-19T18:17:07.838Z] gpg: CAST5 encrypted data [2021-03-19T18:17:08.100Z] gpg: encrypted with 1 passphrase [2021-03-19T18:17:08.100Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-19T18:17:08.399Z] + mkdir /home/jenkins [2021-03-19T18:17:08.399Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-19T18:17:08.696Z] + 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-19T18:17:08.708Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:17:09.005Z] ---> sigul-install.sh [2021-03-19T18:17:15.624Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-19T18:17:15.929Z] + git tag --list [2021-03-19T18:17:15.929Z] v0.1.0 [2021-03-19T18:17:15.929Z] v0.1.1 [2021-03-19T18:17:15.929Z] v1.0.0 [2021-03-19T18:17:15.929Z] v1.1.0 [2021-03-19T18:17:15.929Z] v1.2.0 [2021-03-19T18:17:15.929Z] v1.3.0 [2021-03-19T18:17:15.929Z] v1.3.1 [2021-03-19T18:17:15.929Z] v1.3.1-dev.1 [2021-03-19T18:17:15.929Z] v1.3.2-dev.1 [2021-03-19T18:17:15.929Z] v2.0.0-dev.1 [2021-03-19T18:17:15.929Z] v2.0.0-dev.10 [2021-03-19T18:17:15.929Z] v2.0.0-dev.11 [2021-03-19T18:17:15.929Z] v2.0.0-dev.12 [2021-03-19T18:17:15.929Z] v2.0.0-dev.13 [2021-03-19T18:17:15.929Z] v2.0.0-dev.14 [2021-03-19T18:17:15.929Z] v2.0.0-dev.15 [2021-03-19T18:17:15.929Z] v2.0.0-dev.16 [2021-03-19T18:17:15.929Z] v2.0.0-dev.17 [2021-03-19T18:17:15.929Z] v2.0.0-dev.18 [2021-03-19T18:17:15.929Z] v2.0.0-dev.19 [2021-03-19T18:17:15.929Z] v2.0.0-dev.2 [2021-03-19T18:17:15.929Z] v2.0.0-dev.20 [2021-03-19T18:17:15.929Z] v2.0.0-dev.21 [2021-03-19T18:17:15.929Z] v2.0.0-dev.22 [2021-03-19T18:17:15.929Z] v2.0.0-dev.23 [2021-03-19T18:17:15.929Z] v2.0.0-dev.24 [2021-03-19T18:17:15.929Z] v2.0.0-dev.25 [2021-03-19T18:17:15.929Z] v2.0.0-dev.26 [2021-03-19T18:17:15.929Z] v2.0.0-dev.27 [2021-03-19T18:17:15.929Z] v2.0.0-dev.28 [2021-03-19T18:17:15.929Z] v2.0.0-dev.29 [2021-03-19T18:17:15.929Z] v2.0.0-dev.3 [2021-03-19T18:17:15.929Z] v2.0.0-dev.30 [2021-03-19T18:17:15.929Z] v2.0.0-dev.31 [2021-03-19T18:17:15.929Z] v2.0.0-dev.4 [2021-03-19T18:17:15.929Z] v2.0.0-dev.5 [2021-03-19T18:17:15.929Z] v2.0.0-dev.6 [2021-03-19T18:17:15.929Z] v2.0.0-dev.7 [2021-03-19T18:17:15.929Z] v2.0.0-dev.8 [2021-03-19T18:17:15.929Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-19T18:17:16.224Z] + lftools sign git-tag v2.0.0-dev.31 [2021-03-19T18:17:17.616Z] Signing Git tag with Sigul... [2021-03-19T18:17:17.616Z] Signing v2.0.0-dev.31 [Pipeline] echo [2021-03-19T18:17:18.572Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:17:18.870Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-19T18:17:18.880Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-19T18:17:18.990Z] $ docker stop --time=1 ce3d55d82358cbf67c0ae867950d5839e363eb7816af4052dd298f7c9556b506 [2021-03-19T18:17:21.105Z] $ docker rm -f ce3d55d82358cbf67c0ae867950d5839e363eb7816af4052dd298f7c9556b506 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:17:22.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T18:17:22.153Z] . [Pipeline] withDockerContainer [2021-03-19T18:17:22.250Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:17:22.293Z] $ 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-19T18:17:22.999Z] $ docker top 939594fe282b96411f2f1b94e3a20cfeec2ace8dab83f6549e07937f54bb514f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T18:17:23.488Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T18:17:23.488Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T18:17:23.686Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T18:17:23.692Z] $ docker exec 939594fe282b96411f2f1b94e3a20cfeec2ace8dab83f6549e07937f54bb514f ssh-agent [2021-03-19T18:17:23.866Z] SSH_AUTH_SOCK=/tmp/ssh-c5YEHTyc1RQy/agent.11 [2021-03-19T18:17:23.866Z] SSH_AGENT_PID=17 [2021-03-19T18:17:23.873Z] Running ssh-add (command line suppressed) [2021-03-19T18:17:24.003Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5512523874223604678.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5512523874223604678.key) [2021-03-19T18:17:24.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T18:17:24.395Z] + git semver bump pre [2021-03-19T18:17:24.395Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T18:17:24.395Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T18:17:24.395Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T18:17:24.395Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T18:17:24.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T18:17:24.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T18:17:24.395Z] # $SEMVER_BRANCH = master [2021-03-19T18:17:24.395Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-19T18:17:24.395Z] 2.0.0-dev.32 [Pipeline] } [2021-03-19T18:17:24.408Z] $ docker exec --env ******** --env ******** 939594fe282b96411f2f1b94e3a20cfeec2ace8dab83f6549e07937f54bb514f ssh-agent -k [2021-03-19T18:17:24.523Z] unset SSH_AUTH_SOCK; [2021-03-19T18:17:24.524Z] unset SSH_AGENT_PID; [2021-03-19T18:17:24.524Z] echo Agent pid 17 killed; [2021-03-19T18:17:24.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T18:17:25.049Z] + git semver [Pipeline] } [2021-03-19T18:17:25.067Z] $ docker stop --time=1 939594fe282b96411f2f1b94e3a20cfeec2ace8dab83f6549e07937f54bb514f [2021-03-19T18:17:26.463Z] $ docker rm -f 939594fe282b96411f2f1b94e3a20cfeec2ace8dab83f6549e07937f54bb514f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:17:27.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T18:17:27.094Z] . [Pipeline] withDockerContainer [2021-03-19T18:17:27.327Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:17:27.376Z] $ 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-19T18:17:28.209Z] $ docker top 5da9e6076d7a878185757bdc27a8fb67dc9f338efdcb90cd32d15459af820eaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T18:17:28.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T18:17:28.573Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T18:17:28.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T18:17:28.797Z] $ docker exec 5da9e6076d7a878185757bdc27a8fb67dc9f338efdcb90cd32d15459af820eaa ssh-agent [2021-03-19T18:17:28.979Z] SSH_AUTH_SOCK=/tmp/ssh-B0pobSs1b2QX/agent.11 [2021-03-19T18:17:28.979Z] SSH_AGENT_PID=16 [2021-03-19T18:17:28.987Z] Running ssh-add (command line suppressed) [2021-03-19T18:17:29.116Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8790441082232577904.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8790441082232577904.key) [2021-03-19T18:17:29.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T18:17:29.518Z] + git semver push [2021-03-19T18:17:29.518Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T18:17:29.518Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T18:17:29.518Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T18:17:29.518Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T18:17:29.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T18:17:29.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T18:17:29.518Z] # $SEMVER_BRANCH = master [2021-03-19T18:17:29.518Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-19T18:17:33.745Z] $ docker exec --env ******** --env ******** 5da9e6076d7a878185757bdc27a8fb67dc9f338efdcb90cd32d15459af820eaa ssh-agent -k [2021-03-19T18:17:33.866Z] unset SSH_AUTH_SOCK; [2021-03-19T18:17:33.866Z] unset SSH_AGENT_PID; [2021-03-19T18:17:33.867Z] echo Agent pid 16 killed; [2021-03-19T18:17:33.917Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T18:17:34.393Z] + git semver [Pipeline] } [2021-03-19T18:17:34.414Z] $ docker stop --time=1 5da9e6076d7a878185757bdc27a8fb67dc9f338efdcb90cd32d15459af820eaa [2021-03-19T18:17:35.819Z] $ docker rm -f 5da9e6076d7a878185757bdc27a8fb67dc9f338efdcb90cd32d15459af820eaa [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-19T18:17:37.588Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:17:38.163Z] ---> package-listing.sh [2021-03-19T18:17:38.163Z] ++ facter osfamily [2021-03-19T18:17:38.163Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T18:17:38.163Z] + OS_FAMILY=redhat [2021-03-19T18:17:38.163Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T18:17:38.163Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T18:17:38.163Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T18:17:38.163Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T18:17:38.163Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T18:17:38.163Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-19T18:17:38.163Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T18:17:38.163Z] + case "${OS_FAMILY}" in [2021-03-19T18:17:38.163Z] + rpm -qa [2021-03-19T18:17:38.163Z] + sort [2021-03-19T18:17:43.476Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T18:17:43.476Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T18:17:43.476Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T18:17:43.476Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-19T18:17:43.476Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-19T18:17:43.476Z] + 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-19T18:17:43.488Z] 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-19T18:17:43.775Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:17:44.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T18:17:44.096Z] [2021-03-19T18:17:44.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T18:17:44.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T18:17:44.446Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T18:17:44.446Z] df20fa9351a1: Pulling fs layer [2021-03-19T18:17:44.446Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T18:17:44.446Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T18:17:44.446Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T18:17:44.446Z] 93b61091891f: Pulling fs layer [2021-03-19T18:17:44.446Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T18:17:44.446Z] 5e14af77c1be: Pulling fs layer [2021-03-19T18:17:44.446Z] 01666e4c0597: Pulling fs layer [2021-03-19T18:17:44.446Z] aa168da1d23b: Pulling fs layer [2021-03-19T18:17:44.446Z] 93b61091891f: Waiting [2021-03-19T18:17:44.446Z] 93b9cdb0e59b: Waiting [2021-03-19T18:17:44.446Z] 5e14af77c1be: Waiting [2021-03-19T18:17:44.446Z] 01666e4c0597: Waiting [2021-03-19T18:17:44.446Z] aa168da1d23b: Waiting [2021-03-19T18:17:44.446Z] 46f8f816bc3b: Waiting [2021-03-19T18:17:44.446Z] 36b3adc4ff6f: Verifying Checksum [2021-03-19T18:17:44.446Z] 36b3adc4ff6f: Download complete [2021-03-19T18:17:44.446Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T18:17:44.446Z] 46f8f816bc3b: Download complete [2021-03-19T18:17:44.446Z] df20fa9351a1: Verifying Checksum [2021-03-19T18:17:44.446Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T18:17:44.446Z] 93b9cdb0e59b: Download complete [2021-03-19T18:17:44.446Z] 5e14af77c1be: Verifying Checksum [2021-03-19T18:17:44.446Z] 5e14af77c1be: Download complete [2021-03-19T18:17:44.712Z] 01666e4c0597: Verifying Checksum [2021-03-19T18:17:44.712Z] 01666e4c0597: Download complete [2021-03-19T18:17:44.712Z] 93b61091891f: Download complete [2021-03-19T18:17:44.712Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T18:17:44.712Z] 8ad3a11d3b57: Download complete [2021-03-19T18:17:44.974Z] df20fa9351a1: Pull complete [2021-03-19T18:17:45.237Z] 36b3adc4ff6f: Pull complete [2021-03-19T18:17:46.641Z] 8ad3a11d3b57: Pull complete [2021-03-19T18:17:46.641Z] aa168da1d23b: Verifying Checksum [2021-03-19T18:17:46.641Z] aa168da1d23b: Download complete [2021-03-19T18:17:46.641Z] 46f8f816bc3b: Pull complete [2021-03-19T18:17:46.906Z] 93b61091891f: Pull complete [2021-03-19T18:17:47.168Z] 93b9cdb0e59b: Pull complete [2021-03-19T18:17:47.168Z] 5e14af77c1be: Pull complete [2021-03-19T18:17:47.433Z] 01666e4c0597: Pull complete [2021-03-19T18:17:54.052Z] aa168da1d23b: Pull complete [2021-03-19T18:17:54.052Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T18:17:54.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T18:17:54.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T18:17:54.191Z] prd-centos7-docker-4c-2g-30591 does not seem to be running inside a container [2021-03-19T18:17:54.256Z] $ 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-19T18:17:57.614Z] $ docker top ccbe11901a50177d046939941caeda6fa5a207a15c70ff76ffe7edb42e92f42b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T18:17:58.157Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T18:17:58.451Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T18:17:58.745Z] + ls /var/log/sa-host [2021-03-19T18:17:58.745Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T18:17:58.745Z] file_magic: OK [2021-03-19T18:17:58.745Z] HZ: Using current value: 100 [2021-03-19T18:17:58.745Z] file_header: OK [2021-03-19T18:17:58.745Z] 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-19T18:17:58.745Z] Statistics: [2021-03-19T18:17:58.745Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T18:17:58.745Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T18:17:58.745Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T18:17:58.745Z] file_magic: OK [2021-03-19T18:17:58.745Z] HZ: Using current value: 100 [2021-03-19T18:17:58.745Z] file_header: OK [2021-03-19T18:17:58.745Z] 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-19T18:17:58.745Z] Statistics: [2021-03-19T18:17:58.745Z] Hnuu...uuuununununu... [2021-03-19T18:17:58.745Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T18:17:59.429Z] provisioning config files... [2021-03-19T18:17:59.444Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5414568465990541271tmp [Pipeline] { [Pipeline] echo [2021-03-19T18:17:59.521Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:17:59.813Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T18:17:59.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T18:17:59.910Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:18:00.202Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T18:18:00.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:18:00.511Z] ---> sudo-logs.sh [2021-03-19T18:18:00.511Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T18:18:00.610Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:18:00.909Z] ---> job-cost.sh [2021-03-19T18:18:00.909Z] lf-activate-venv: SKIPPING [2021-03-19T18:18:00.909Z] DEBUG: total: 0.20999999344348907 [2021-03-19T18:18:00.909Z] INFO: Retrieving Stack Cost... [2021-03-19T18:18:02.335Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T18:18:02.597Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T18:18:02.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T18:18:02.907Z] ---> logs-deploy.sh [2021-03-19T18:18:02.907Z] lf-activate-venv: SKIPPING [2021-03-19T18:18:02.907Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/198 [2021-03-19T18:18:02.907Z] INFO: archiving workspace using pattern(s): [2021-03-19T18:18:04.828Z] Archives upload complete. [2021-03-19T18:18:04.828Z] INFO: archiving logs to Nexus