Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e395d696b4e6122b6a4fdab5d2b3787aeaccfdce # timeout=10 Commit message: "Merge pull request #320 from ernestojeda/fix-email" > 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-28071 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Checking out Revision a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 (master) > 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 a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#715)" > git rev-list --no-walk 8767d0343bb22558268e36dcb62db2286673396f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-01T17:37:56.041Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-01T17:37:56.326Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-01T17:37:56.426Z] ========================================================= [2021-03-01T17:37:56.426Z] EdgeX Global Pipelines Version Info [2021-03-01T17:37:56.426Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:37:59.606Z] ------------------- [2021-03-01T17:37:59.606Z] stable info: [2021-03-01T17:37:59.606Z] ------------------- [2021-03-01T17:37:59.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-01T17:37:59.606Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-01T17:37:59.606Z] Message: update stable to v1.0.183 [2021-03-01T17:38:00.586Z] ------------------- [2021-03-01T17:38:00.586Z] experimental info: [2021-03-01T17:38:00.586Z] ------------------- [2021-03-01T17:38:00.586Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-01T17:38:00.586Z] Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [2021-03-01T17:38:00.586Z] Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-01T17:38:00.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-01T17:38:01.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-01T17:38:01.135Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-01T17:38:01.239Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-01T17:38:01.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-01T17:38:01.457Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-01T17:38:01.549Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-01T17:38:01.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-01T17:38:01.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-01T17:38:01.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-01T17:38:01.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-01T17:38:02.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-01T17:38:02.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-01T17:38:02.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-01T17:38:02.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-01T17:38:02.422Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-01T17:38:02.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-01T17:38:02.598Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-01T17:38:02.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-01T17:38:02.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-01T17:38:02.877Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-01T17:38:02.973Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-01T17:38:03.065Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-01T17:38:03.159Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-01T17:38:03.256Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-01T17:38:03.345Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-01T17:38:03.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-01T17:38:03.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-01T17:38:03.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-01T17:38:03.702Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 [Pipeline] echo [2021-03-01T17:38:03.811Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1af34c [Pipeline] echo [2021-03-01T17:38:03.915Z] [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-01T17:38:04.742Z] + git log --format=format:%s -1 a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 [Pipeline] echo [2021-03-01T17:38:04.911Z] GIT_COMMIT: a1af34c7f52734c37f3173cf500a3c7bd0fc61a0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#715) [Pipeline] echo [2021-03-01T17:38:04.959Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:38:06.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-01T17:38:08.135Z] [2021-03-01T17:38:08.135Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:38:08.538Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-01T17:38:08.834Z] latest: Pulling from edgex-devops/git-semver [2021-03-01T17:38:08.834Z] 31603596830f: Pulling fs layer [2021-03-01T17:38:08.834Z] 2a8b12db71e7: Pulling fs layer [2021-03-01T17:38:08.834Z] 6ca5941a6612: Pulling fs layer [2021-03-01T17:38:08.834Z] ecc8261a40a4: Pulling fs layer [2021-03-01T17:38:08.834Z] ecc8261a40a4: Waiting [2021-03-01T17:38:08.834Z] 2a8b12db71e7: Verifying Checksum [2021-03-01T17:38:08.834Z] 2a8b12db71e7: Download complete [2021-03-01T17:38:08.834Z] 31603596830f: Verifying Checksum [2021-03-01T17:38:08.834Z] 31603596830f: Download complete [2021-03-01T17:38:09.485Z] ecc8261a40a4: Verifying Checksum [2021-03-01T17:38:09.485Z] ecc8261a40a4: Download complete [2021-03-01T17:38:09.754Z] 6ca5941a6612: Verifying Checksum [2021-03-01T17:38:09.754Z] 6ca5941a6612: Download complete [2021-03-01T17:38:09.754Z] 31603596830f: Pull complete [2021-03-01T17:38:10.031Z] 2a8b12db71e7: Pull complete [2021-03-01T17:38:12.056Z] 6ca5941a6612: Pull complete [2021-03-01T17:38:12.651Z] ecc8261a40a4: Pull complete [2021-03-01T17:38:12.924Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-01T17:38:12.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-01T17:38:12.924Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-01T17:38:13.158Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:38:13.240Z] $ 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-01T17:38:18.459Z] $ docker top 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-01T17:38:18.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-01T17:38:18.983Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-01T17:38:19.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-01T17:38:19.981Z] $ docker exec 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 ssh-agent [2021-03-01T17:38:20.221Z] SSH_AUTH_SOCK=/tmp/ssh-c2Zz20omndB2/agent.11 [2021-03-01T17:38:20.221Z] SSH_AGENT_PID=16 [2021-03-01T17:38:20.235Z] Running ssh-add (command line suppressed) [2021-03-01T17:38:20.408Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_10546665439266593.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_10546665439266593.key) [2021-03-01T17:38:20.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-01T17:38:20.836Z] + git tag --points-at HEAD [Pipeline] } [2021-03-01T17:38:20.871Z] $ docker exec --env ******** --env ******** 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 ssh-agent -k [2021-03-01T17:38:21.453Z] unset SSH_AUTH_SOCK; [2021-03-01T17:38:21.454Z] unset SSH_AGENT_PID; [2021-03-01T17:38:21.454Z] echo Agent pid 16 killed; [2021-03-01T17:38:21.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-01T17:38:21.841Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-01T17:38:21.841Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-01T17:38:22.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-01T17:38:22.535Z] $ docker exec 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 ssh-agent [2021-03-01T17:38:22.800Z] SSH_AUTH_SOCK=/tmp/ssh-86sPPEMUKvvi/agent.45 [2021-03-01T17:38:22.800Z] SSH_AGENT_PID=51 [2021-03-01T17:38:22.809Z] Running ssh-add (command line suppressed) [2021-03-01T17:38:23.037Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1775287443231997286.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1775287443231997286.key) [2021-03-01T17:38:23.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-01T17:38:23.480Z] + git semver init [2021-03-01T17:38:23.480Z] # -> Open(): unable to determine branch for HEAD [2021-03-01T17:38:23.480Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-01T17:38:23.480Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-01T17:38:23.480Z] # $SEMVER_REMOTE_NAME = origin [2021-03-01T17:38:23.480Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-01T17:38:23.480Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-01T17:38:23.480Z] # $SEMVER_BRANCH = master [2021-03-01T17:38:23.480Z] # $SEMVER_TEMP = /tmp/semver-310332678 [2021-03-01T17:38:23.480Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-01T17:38:28.006Z] # '/tmp/semver-310332678' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-01T17:38:28.006Z] # -> Force: false [2021-03-01T17:38:28.006Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-01T17:38:28.029Z] $ docker exec --env ******** --env ******** 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 ssh-agent -k [2021-03-01T17:38:28.192Z] unset SSH_AUTH_SOCK; [2021-03-01T17:38:28.193Z] unset SSH_AGENT_PID; [2021-03-01T17:38:28.194Z] echo Agent pid 51 killed; [2021-03-01T17:38:28.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-01T17:38:28.764Z] + git semver [Pipeline] } [2021-03-01T17:38:28.790Z] $ docker stop --time=1 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 [2021-03-01T17:38:31.491Z] $ docker rm -f 6c0a2b7eb32c8c1b4ca5c9e5064f4d01b39b2980310a0f577434b3b5cbb55275 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-01T17:38:33.188Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-01T17:38:34.566Z] Stashed 1 file(s) [Pipeline] echo [2021-03-01T17:38:34.569Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.24 [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-01T17:38:50.102Z] Still waiting to schedule task [2021-03-01T17:38:50.102Z] ‘prd-centos7-docker-4c-2g-28072’ is offline; ‘prd-centos7-docker-4c-2g-28073’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-01T17:38:50.104Z] Still waiting to schedule task [2021-03-01T17:38:50.105Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-01T17:40:26.235Z] Running on prd-centos7-docker-4c-2g-28074 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-01T17:40:26.293Z] Running in /w/workspace/app-functions-sdk-go/191 [Pipeline] { [Pipeline] checkout [2021-03-01T17:40:36.954Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28076 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-01T17:40:37.012Z] Running in /w/workspace/app-functions-sdk-go/191 [Pipeline] { [Pipeline] checkout [2021-03-01T17:40:42.087Z] using credential edgex-jenkins-ssh [2021-03-01T17:40:42.149Z] Cloning the remote Git repository [2021-03-01T17:40:42.754Z] using credential edgex-jenkins-ssh [2021-03-01T17:40:42.803Z] Cloning the remote Git repository [2021-03-01T17:40:42.216Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-01T17:40:42.321Z] > git init /w/workspace/app-functions-sdk-go/191 # timeout=10 [2021-03-01T17:40:42.393Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-01T17:40:42.394Z] > git --version # timeout=10 [2021-03-01T17:40:42.414Z] > git --version # 'git version 2.17.1' [2021-03-01T17:40:42.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-01T17:40:42.485Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-01T17:40:42.840Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-01T17:40:42.931Z] > git init /w/workspace/app-functions-sdk-go/191 # timeout=10 [2021-03-01T17:40:43.072Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-01T17:40:43.073Z] > git --version # timeout=10 [2021-03-01T17:40:43.081Z] > git --version # 'git version 2.24.3' [2021-03-01T17:40:43.082Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-01T17:40:43.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-01T17:40:45.451Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-01T17:40:45.469Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-01T17:40:45.490Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-01T17:40:45.518Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-01T17:40:45.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-01T17:40:45.529Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-01T17:40:46.041Z] Checking out Revision a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 (master) [2021-03-01T17:40:46.141Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-01T17:40:46.275Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-01T17:40:46.335Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-01T17:40:46.391Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-01T17:40:46.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-01T17:40:46.427Z] > 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-01T17:40:46.907Z] Checking out Revision a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 (master) [2021-03-01T17:40:46.063Z] > git config core.sparsecheckout # timeout=10 [2021-03-01T17:40:46.091Z] > git checkout -f a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [2021-03-01T17:40:46.918Z] > git config core.sparsecheckout # timeout=10 [2021-03-01T17:40:46.924Z] > git checkout -f a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [2021-03-01T17:40:50.447Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#715)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-03-01T17:40:51.016Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#715)" [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-01T17:40:52.057Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-01T17:40:52.804Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-01T17:40:52.876Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-01T17:40:53.175Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-01T17:40:53.281Z] + true [2021-03-01T17:40:53.281Z] + sudo service docker restart [2021-03-01T17:40:53.499Z] + sudo service docker restart [2021-03-01T17:40:53.499Z] + true [2021-03-01T17:40:53.499Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-01T17:40:55.765Z] ========================================================= [2021-03-01T17:40:55.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-01T17:40:55.765Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] unstash [2021-03-01T17:40:56.144Z] + 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 . [Pipeline] echo [2021-03-01T17:40:56.315Z] ========================================================= [2021-03-01T17:40:56.316Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-01T17:40:56.316Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:40:56.706Z] + 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-01T17:40:57.693Z] Sending build context to Docker daemon 19.25MB [2021-03-01T17:40:57.693Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-01T17:40:57.693Z] Step 2/8 : FROM ${BASE} [2021-03-01T17:40:58.138Z] Sending build context to Docker daemon 19.25MB [2021-03-01T17:40:58.138Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-01T17:40:58.138Z] Step 2/8 : FROM ${BASE} [2021-03-01T17:40:58.310Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-01T17:40:58.310Z] 5f621e34cdf4: Pulling fs layer [2021-03-01T17:40:58.310Z] a4357932f1b6: Pulling fs layer [2021-03-01T17:40:58.310Z] 18c013af1878: Pulling fs layer [2021-03-01T17:40:58.310Z] 00ac8860ef70: Pulling fs layer [2021-03-01T17:40:58.310Z] 63d7cb157983: Pulling fs layer [2021-03-01T17:40:58.310Z] b116817d02f9: Pulling fs layer [2021-03-01T17:40:58.310Z] 745a02a5169b: Pulling fs layer [2021-03-01T17:40:58.310Z] 00ac8860ef70: Waiting [2021-03-01T17:40:58.310Z] b116817d02f9: Waiting [2021-03-01T17:40:58.310Z] 745a02a5169b: Waiting [2021-03-01T17:40:58.310Z] 63d7cb157983: Waiting [2021-03-01T17:40:58.310Z] 18c013af1878: Verifying Checksum [2021-03-01T17:40:58.310Z] 18c013af1878: Download complete [2021-03-01T17:40:58.310Z] a4357932f1b6: Verifying Checksum [2021-03-01T17:40:58.310Z] a4357932f1b6: Download complete [2021-03-01T17:40:58.410Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-01T17:40:58.411Z] 188c0c94c7c5: Pulling fs layer [2021-03-01T17:40:58.411Z] 0ef7d3d256c8: Pulling fs layer [2021-03-01T17:40:58.411Z] de9db76c5a1d: Pulling fs layer [2021-03-01T17:40:58.411Z] bca2f99d35d6: Pulling fs layer [2021-03-01T17:40:58.411Z] 93359f2a8cfa: Pulling fs layer [2021-03-01T17:40:58.411Z] 7c6f9722023f: Pulling fs layer [2021-03-01T17:40:58.411Z] a35cf1a2eb13: Pulling fs layer [2021-03-01T17:40:58.411Z] bca2f99d35d6: Waiting [2021-03-01T17:40:58.411Z] 93359f2a8cfa: Waiting [2021-03-01T17:40:58.411Z] 7c6f9722023f: Waiting [2021-03-01T17:40:58.411Z] a35cf1a2eb13: Waiting [2021-03-01T17:40:58.411Z] de9db76c5a1d: Verifying Checksum [2021-03-01T17:40:58.411Z] de9db76c5a1d: Download complete [2021-03-01T17:40:58.411Z] 0ef7d3d256c8: Verifying Checksum [2021-03-01T17:40:58.411Z] 0ef7d3d256c8: Download complete [2021-03-01T17:40:58.411Z] 93359f2a8cfa: Verifying Checksum [2021-03-01T17:40:58.411Z] 93359f2a8cfa: Download complete [2021-03-01T17:40:58.411Z] 7c6f9722023f: Verifying Checksum [2021-03-01T17:40:58.411Z] 7c6f9722023f: Download complete [2021-03-01T17:40:58.411Z] 188c0c94c7c5: Verifying Checksum [2021-03-01T17:40:58.411Z] 188c0c94c7c5: Download complete [2021-03-01T17:40:58.586Z] 63d7cb157983: Verifying Checksum [2021-03-01T17:40:58.586Z] 63d7cb157983: Download complete [2021-03-01T17:40:58.586Z] b116817d02f9: Verifying Checksum [2021-03-01T17:40:58.586Z] b116817d02f9: Download complete [2021-03-01T17:40:59.046Z] 188c0c94c7c5: Pull complete [2021-03-01T17:40:59.648Z] 0ef7d3d256c8: Pull complete [2021-03-01T17:40:59.921Z] de9db76c5a1d: Pull complete [2021-03-01T17:41:00.560Z] 5f621e34cdf4: Verifying Checksum [2021-03-01T17:41:00.560Z] 5f621e34cdf4: Download complete [2021-03-01T17:41:01.170Z] 5f621e34cdf4: Pull complete [2021-03-01T17:41:01.448Z] a4357932f1b6: Pull complete [2021-03-01T17:41:02.053Z] 18c013af1878: Pull complete [2021-03-01T17:41:03.037Z] 745a02a5169b: Verifying Checksum [2021-03-01T17:41:03.038Z] 745a02a5169b: Download complete [2021-03-01T17:41:04.204Z] a35cf1a2eb13: Verifying Checksum [2021-03-01T17:41:04.204Z] a35cf1a2eb13: Download complete [2021-03-01T17:41:04.805Z] bca2f99d35d6: Verifying Checksum [2021-03-01T17:41:04.805Z] bca2f99d35d6: Download complete [2021-03-01T17:41:05.031Z] 00ac8860ef70: Verifying Checksum [2021-03-01T17:41:05.031Z] 00ac8860ef70: Download complete [2021-03-01T17:41:15.200Z] 00ac8860ef70: Pull complete [2021-03-01T17:41:15.200Z] 63d7cb157983: Pull complete [2021-03-01T17:41:15.200Z] b116817d02f9: Pull complete [2021-03-01T17:41:18.585Z] 745a02a5169b: Pull complete [2021-03-01T17:41:18.585Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-01T17:41:18.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-01T17:41:18.585Z] ---> b7e6874047d6 [2021-03-01T17:41:18.585Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-01T17:41:18.585Z] 20.10.0: Pulling from library/docker [2021-03-01T17:41:18.585Z] a3cc7d3b244e: Pulling fs layer [2021-03-01T17:41:18.585Z] 02a3295e0d61: Pulling fs layer [2021-03-01T17:41:18.585Z] 0f4f2e6d8100: Pulling fs layer [2021-03-01T17:41:18.585Z] 330b718f631f: Pulling fs layer [2021-03-01T17:41:18.585Z] a93816041522: Pulling fs layer [2021-03-01T17:41:18.585Z] bdb6da89ff94: Pulling fs layer [2021-03-01T17:41:18.585Z] 2a70c0c122f4: Pulling fs layer [2021-03-01T17:41:18.585Z] a93816041522: Waiting [2021-03-01T17:41:18.585Z] 330b718f631f: Waiting [2021-03-01T17:41:18.585Z] 2a70c0c122f4: Waiting [2021-03-01T17:41:18.585Z] 0f4f2e6d8100: Verifying Checksum [2021-03-01T17:41:18.585Z] 0f4f2e6d8100: Download complete [2021-03-01T17:41:18.585Z] 02a3295e0d61: Verifying Checksum [2021-03-01T17:41:18.585Z] 02a3295e0d61: Download complete [2021-03-01T17:41:18.585Z] a3cc7d3b244e: Verifying Checksum [2021-03-01T17:41:18.585Z] a3cc7d3b244e: Download complete [2021-03-01T17:41:18.861Z] a93816041522: Verifying Checksum [2021-03-01T17:41:18.862Z] a93816041522: Download complete [2021-03-01T17:41:18.862Z] bdb6da89ff94: Verifying Checksum [2021-03-01T17:41:18.862Z] bdb6da89ff94: Download complete [2021-03-01T17:41:18.862Z] 2a70c0c122f4: Verifying Checksum [2021-03-01T17:41:18.862Z] 2a70c0c122f4: Download complete [2021-03-01T17:41:19.463Z] a3cc7d3b244e: Pull complete [2021-03-01T17:41:20.068Z] 02a3295e0d61: Pull complete [2021-03-01T17:41:20.349Z] 330b718f631f: Download complete [2021-03-01T17:41:20.349Z] 0f4f2e6d8100: Pull complete [2021-03-01T17:41:23.320Z] bca2f99d35d6: Pull complete [2021-03-01T17:41:24.283Z] 93359f2a8cfa: Pull complete [2021-03-01T17:41:24.669Z] 330b718f631f: Pull complete [2021-03-01T17:41:24.669Z] a93816041522: Pull complete [2021-03-01T17:41:24.673Z] 7c6f9722023f: Pull complete [2021-03-01T17:41:24.944Z] bdb6da89ff94: Pull complete [2021-03-01T17:41:25.217Z] 2a70c0c122f4: Pull complete [2021-03-01T17:41:25.217Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-01T17:41:25.217Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-01T17:41:31.932Z] ---> d57b056d1529 [2021-03-01T17:41:31.932Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-01T17:41:31.932Z] ---> Running in 287400caa1dd [2021-03-01T17:41:31.932Z] Removing intermediate container 287400caa1dd [2021-03-01T17:41:31.932Z] ---> ab5bdb39dd83 [2021-03-01T17:41:31.932Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-01T17:41:31.932Z] ---> Running in 941d49fcacd3 [2021-03-01T17:41:32.912Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-01T17:41:33.505Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-01T17:41:34.488Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-01T17:41:34.488Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-01T17:41:34.488Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-01T17:41:34.765Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-01T17:41:34.765Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-01T17:41:34.765Z] Executing busybox-1.31.1-r19.trigger [2021-03-01T17:41:34.765Z] OK: 144 MiB in 44 packages [2021-03-01T17:41:34.912Z] a35cf1a2eb13: Pull complete [2021-03-01T17:41:34.912Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-01T17:41:34.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-01T17:41:34.912Z] ---> a62c8e92a672 [2021-03-01T17:41:34.912Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-01T17:41:34.912Z] 20.10.0: Pulling from library/docker [2021-03-01T17:41:34.912Z] 05e7bc50f07f: Pulling fs layer [2021-03-01T17:41:34.912Z] 6db28d0fdbf6: Pulling fs layer [2021-03-01T17:41:34.912Z] 292df0bc6bf3: Pulling fs layer [2021-03-01T17:41:34.912Z] 2e060f4bd70b: Pulling fs layer [2021-03-01T17:41:34.912Z] 80e8d568a223: Pulling fs layer [2021-03-01T17:41:34.912Z] 8dc6ef1a942a: Pulling fs layer [2021-03-01T17:41:34.912Z] 2312dd95470a: Pulling fs layer [2021-03-01T17:41:34.912Z] 2e060f4bd70b: Waiting [2021-03-01T17:41:34.912Z] 80e8d568a223: Waiting [2021-03-01T17:41:34.912Z] 8dc6ef1a942a: Waiting [2021-03-01T17:41:34.912Z] 2312dd95470a: Waiting [2021-03-01T17:41:34.912Z] 292df0bc6bf3: Verifying Checksum [2021-03-01T17:41:34.912Z] 292df0bc6bf3: Download complete [2021-03-01T17:41:34.912Z] 6db28d0fdbf6: Verifying Checksum [2021-03-01T17:41:34.912Z] 6db28d0fdbf6: Download complete [2021-03-01T17:41:34.912Z] 05e7bc50f07f: Verifying Checksum [2021-03-01T17:41:34.912Z] 05e7bc50f07f: Download complete [2021-03-01T17:41:34.912Z] 80e8d568a223: Verifying Checksum [2021-03-01T17:41:34.912Z] 80e8d568a223: Download complete [2021-03-01T17:41:34.912Z] 8dc6ef1a942a: Verifying Checksum [2021-03-01T17:41:34.912Z] 8dc6ef1a942a: Download complete [2021-03-01T17:41:34.912Z] 2312dd95470a: Verifying Checksum [2021-03-01T17:41:34.912Z] 2312dd95470a: Download complete [2021-03-01T17:41:35.184Z] 05e7bc50f07f: Pull complete [2021-03-01T17:41:35.780Z] 6db28d0fdbf6: Pull complete [2021-03-01T17:41:35.781Z] 292df0bc6bf3: Pull complete [2021-03-01T17:41:36.242Z] Removing intermediate container 941d49fcacd3 [2021-03-01T17:41:36.242Z] ---> 74f62f7f87a0 [2021-03-01T17:41:36.242Z] Step 6/8 : WORKDIR /build [2021-03-01T17:41:36.242Z] ---> Running in f601328b570f [2021-03-01T17:41:36.362Z] 2e060f4bd70b: Verifying Checksum [2021-03-01T17:41:36.363Z] 2e060f4bd70b: Download complete [2021-03-01T17:41:36.848Z] Removing intermediate container f601328b570f [2021-03-01T17:41:36.848Z] ---> a08f89108ac5 [2021-03-01T17:41:36.848Z] Step 7/8 : COPY go.mod . [2021-03-01T17:41:37.453Z] ---> 3ab24fce73e0 [2021-03-01T17:41:37.453Z] Step 8/8 : RUN go mod download [2021-03-01T17:41:37.743Z] ---> Running in 46831da47410 [2021-03-01T17:41:47.130Z] 2e060f4bd70b: Pull complete [2021-03-01T17:41:47.401Z] 80e8d568a223: Pull complete [2021-03-01T17:41:48.053Z] 8dc6ef1a942a: Pull complete [2021-03-01T17:41:48.324Z] 2312dd95470a: Pull complete [2021-03-01T17:41:48.324Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-01T17:41:48.324Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-01T17:41:51.868Z] ---> 8d09fdf41bda [2021-03-01T17:41:51.868Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-01T17:41:51.868Z] ---> Running in 898f9a3db12f [2021-03-01T17:41:52.682Z] Removing intermediate container 898f9a3db12f [2021-03-01T17:41:52.682Z] ---> 80b8f710a181 [2021-03-01T17:41:52.682Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-01T17:41:52.682Z] ---> Running in 47064e078f19 [2021-03-01T17:41:55.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-01T17:41:57.478Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-01T17:41:59.438Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-01T17:41:59.438Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-01T17:42:00.045Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-01T17:42:00.045Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-01T17:42:00.045Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-01T17:42:00.314Z] Executing busybox-1.31.1-r19.trigger [2021-03-01T17:42:00.314Z] OK: 167 MiB in 44 packages [2021-03-01T17:42:01.800Z] Removing intermediate container 47064e078f19 [2021-03-01T17:42:01.800Z] ---> 77080102d4a5 [2021-03-01T17:42:01.800Z] Step 6/8 : WORKDIR /build [2021-03-01T17:42:01.800Z] ---> Running in 07d132bc54fd [2021-03-01T17:42:02.444Z] Removing intermediate container 07d132bc54fd [2021-03-01T17:42:02.444Z] ---> ae797319debe [2021-03-01T17:42:02.444Z] Step 7/8 : COPY go.mod . [2021-03-01T17:42:03.157Z] ---> a916808a8c63 [2021-03-01T17:42:03.157Z] Step 8/8 : RUN go mod download [2021-03-01T17:42:03.157Z] ---> Running in b0d51e591a82 [2021-03-01T17:42:04.550Z] Removing intermediate container 46831da47410 [2021-03-01T17:42:04.550Z] ---> 40d080585f29 [2021-03-01T17:42:04.550Z] Successfully built 40d080585f29 [2021-03-01T17:42:04.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:42:04.921Z] + docker inspect -f . ci-base-image-arm64 [2021-03-01T17:42:04.921Z] . [Pipeline] withDockerContainer [2021-03-01T17:42:05.159Z] prd-ubuntu18.04-docker-arm64-4c-16g-28076 does not seem to be running inside a container [2021-03-01T17:42:05.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/191 -v /w/workspace/app-functions-sdk-go/191:/w/workspace/app-functions-sdk-go/191:rw,z -v /w/workspace/app-functions-sdk-go/191@tmp:/w/workspace/app-functions-sdk-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-01T17:42:06.812Z] $ docker top a4f72bb43ce7c69069c97e9be3efa116ad12b4a205e2e9f5edc9a4425a1ff146 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-01T17:42:07.894Z] + go version [2021-03-01T17:42:07.894Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-01T17:42:07.920Z] $ docker stop --time=1 a4f72bb43ce7c69069c97e9be3efa116ad12b4a205e2e9f5edc9a4425a1ff146 [2021-03-01T17:42:09.765Z] $ docker rm -f a4f72bb43ce7c69069c97e9be3efa116ad12b4a205e2e9f5edc9a4425a1ff146 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:42:10.853Z] + docker inspect -f . ci-base-image-arm64 [2021-03-01T17:42:10.854Z] . [Pipeline] withDockerContainer [2021-03-01T17:42:11.122Z] prd-ubuntu18.04-docker-arm64-4c-16g-28076 does not seem to be running inside a container [2021-03-01T17:42:11.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/191 -v /w/workspace/app-functions-sdk-go/191:/w/workspace/app-functions-sdk-go/191:rw,z -v /w/workspace/app-functions-sdk-go/191@tmp:/w/workspace/app-functions-sdk-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-01T17:42:12.630Z] $ docker top cc50824451395aae0757f39845aa2533a073d9294dc942be1b38af3a54101a0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-01T17:42:13.627Z] + make test [2021-03-01T17:42:13.627Z] make -C ./app-service-template build [2021-03-01T17:42:13.627Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:42:13.627Z] 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-01T17:42:46.016Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:42:46.016Z] make -C ./app-service-template test [2021-03-01T17:42:46.016Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:42:46.016Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-01T17:42:50.560Z] Removing intermediate container b0d51e591a82 [2021-03-01T17:42:50.560Z] ---> 965c76073889 [2021-03-01T17:42:50.560Z] Successfully built 965c76073889 [2021-03-01T17:42:50.560Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:42:50.907Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-01T17:42:51.224Z] . [Pipeline] withDockerContainer [2021-03-01T17:42:52.048Z] prd-centos7-docker-4c-2g-28074 does not seem to be running inside a container [2021-03-01T17:42:52.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/191 -v /w/workspace/app-functions-sdk-go/191:/w/workspace/app-functions-sdk-go/191:rw,z -v /w/workspace/app-functions-sdk-go/191@tmp:/w/workspace/app-functions-sdk-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-01T17:42:53.640Z] $ docker top 98007ad481b6960492de154ee479b12519c02ad2af51ddc6d5e69fb4ffd2897b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-01T17:42:54.705Z] + go version [2021-03-01T17:42:54.706Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-01T17:42:54.767Z] $ docker stop --time=1 98007ad481b6960492de154ee479b12519c02ad2af51ddc6d5e69fb4ffd2897b [2021-03-01T17:42:56.927Z] $ docker rm -f 98007ad481b6960492de154ee479b12519c02ad2af51ddc6d5e69fb4ffd2897b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:42:58.291Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-01T17:42:58.603Z] . [Pipeline] withDockerContainer [2021-03-01T17:42:59.187Z] prd-centos7-docker-4c-2g-28074 does not seem to be running inside a container [2021-03-01T17:42:59.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/191 -v /w/workspace/app-functions-sdk-go/191:/w/workspace/app-functions-sdk-go/191:rw,z -v /w/workspace/app-functions-sdk-go/191@tmp:/w/workspace/app-functions-sdk-go/191@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-01T17:43:01.494Z] $ docker top 8634a4c52d4af1ff7020f8006f52250bc3f5b24529f090d0485a0e1b66002fa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-01T17:43:03.173Z] + make test [2021-03-01T17:43:03.173Z] make -C ./app-service-template build [2021-03-01T17:43:03.173Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:43:03.173Z] 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-01T17:43:08.362Z] ? new-app-service [no test files] [2021-03-01T17:43:08.362Z] ok new-app-service/functions 0.023s coverage: 75.8% of statements [2021-03-01T17:43:08.362Z] CGO_ENABLED=1 go vet ./... [2021-03-01T17:43:16.655Z] gofmt -l . [2021-03-01T17:43:16.655Z] [ "`gofmt -l .`" = "" ] [2021-03-01T17:43:16.655Z] ./bin/test-go-mod-tidy.sh [2021-03-01T17:43:16.655Z] ./bin/test-attribution-txt.sh [2021-03-01T17:43:17.663Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:43:17.663Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-01T17:43:18.651Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-03-01T17:43:22.054Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.035s coverage: 82.6% of statements [2021-03-01T17:43:28.819Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.101s coverage: 58.6% of statements [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-01T17:43:28.819Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.080s coverage: 61.5% of statements [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-01T17:43:28.819Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.075s coverage: 75.6% of statements [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-01T17:43:28.819Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.0% of statements [2021-03-01T17:43:28.819Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-01T17:43:28.819Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.025s coverage: 8.8% of statements [2021-03-01T17:43:43.704Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:43:43.704Z] make -C ./app-service-template test [2021-03-01T17:43:43.704Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:43:43.704Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-01T17:43:47.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.871s coverage: 77.5% of statements [2021-03-01T17:43:47.141Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-01T17:43:47.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 87.9% of statements [2021-03-01T17:43:47.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.046s coverage: 80.5% of statements [2021-03-01T17:43:47.141Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.027s coverage: 71.7% of statements [2021-03-01T17:43:59.495Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.077s coverage: 82.8% of statements [2021-03-01T17:43:59.495Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-03-01T17:43:59.495Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-01T17:44:02.127Z] gofmt -l . [2021-03-01T17:44:02.399Z] [ "`gofmt -l .`" = "" ] [2021-03-01T17:44:02.680Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-01T17:44:03.298Z] $ docker stop --time=1 cc50824451395aae0757f39845aa2533a073d9294dc942be1b38af3a54101a0a [2021-03-01T17:44:05.322Z] $ docker rm -f cc50824451395aae0757f39845aa2533a073d9294dc942be1b38af3a54101a0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-01T17:44:06.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-01T17:44:07.151Z] ? new-app-service [no test files] [2021-03-01T17:44:07.151Z] ok new-app-service/functions 0.014s coverage: 75.8% of statements [2021-03-01T17:44:07.151Z] CGO_ENABLED=1 go vet ./... [2021-03-01T17:44:07.255Z] 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-01T17:44:08.329Z] ---> job-cost.sh [2021-03-01T17:44:08.329Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HhO2 [2021-03-01T17:44:12.736Z] gofmt -l . [2021-03-01T17:44:12.737Z] [ "`gofmt -l .`" = "" ] [2021-03-01T17:44:12.737Z] ./bin/test-go-mod-tidy.sh [2021-03-01T17:44:14.833Z] ./bin/test-attribution-txt.sh [2021-03-01T17:44:15.860Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/191/app-service-template' [2021-03-01T17:44:15.860Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-01T17:44:19.986Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-03-01T17:44:22.361Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.064s coverage: 82.6% of statements [2021-03-01T17:44:28.341Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.393s coverage: 58.6% of statements [2021-03-01T17:44:28.341Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-01T17:44:28.341Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-01T17:44:28.341Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.172s coverage: 61.5% of statements [2021-03-01T17:44:28.341Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-01T17:44:28.341Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.199s coverage: 75.6% of statements [2021-03-01T17:44:28.341Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-01T17:44:28.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-01T17:44:28.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-01T17:44:28.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-01T17:44:28.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-01T17:44:28.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-01T17:44:28.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.045s coverage: 97.0% of statements [2021-03-01T17:44:28.342Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-01T17:44:28.342Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.266s coverage: 8.8% of statements [2021-03-01T17:44:46.995Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 14.132s coverage: 77.5% of statements [2021-03-01T17:44:46.995Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-01T17:44:46.995Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.029s coverage: 87.9% of statements [2021-03-01T17:44:46.995Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.026s coverage: 80.5% of statements [2021-03-01T17:44:46.995Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements [2021-03-01T17:44:47.293Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-01T17:44:59.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.056s coverage: 82.8% of statements [2021-03-01T17:44:59.474Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements [2021-03-01T17:44:59.474Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-01T17:45:00.488Z] gofmt -l . [2021-03-01T17:45:00.488Z] [ "`gofmt -l .`" = "" ] [2021-03-01T17:45:00.763Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-01T17:45:01.061Z] $ docker stop --time=1 8634a4c52d4af1ff7020f8006f52250bc3f5b24529f090d0485a0e1b66002fa3 [2021-03-01T17:45:05.263Z] $ docker rm -f 8634a4c52d4af1ff7020f8006f52250bc3f5b24529f090d0485a0e1b66002fa3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-01T17:45:06.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-01T17:45:07.538Z] Warning: overwriting stash ‘coverage-report’ [2021-03-01T17:45:08.665Z] 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-01T17:45:10.022Z] ---> job-cost.sh [2021-03-01T17:45:10.291Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cS1p [2021-03-01T17:45:42.733Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-01T17:46:30.028Z] lf-activate-venv(): INFO: Adding /tmp/venv-cS1p/bin to PATH [2021-03-01T17:46:30.028Z] INFO: No Stack... [2021-03-01T17:46:31.513Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-01T17:46:32.312Z] INFO: Archiving Costs [Pipeline] sh [2021-03-01T17:46:33.128Z] + cat /w/workspace/app-functions-sdk-go/191/archives/cost.csv [2021-03-01T17:46:33.128Z] + cut -d, -f6 [Pipeline] lock [2021-03-01T17:46:33.642Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] [2021-03-01T17:46:33.649Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] did not exist. Created. [2021-03-01T17:46:33.649Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-01T17:46:34.083Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-01T17:46:34.243Z] Stashed 1 file(s) [Pipeline] } [2021-03-01T17:46:34.256Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-01T17:46:54.082Z] lf-activate-venv(): INFO: Adding /tmp/venv-HhO2/bin to PATH [2021-03-01T17:46:54.082Z] INFO: No Stack... [2021-03-01T17:46:54.082Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-01T17:46:54.082Z] INFO: Archiving Costs [Pipeline] sh [2021-03-01T17:46:54.419Z] + cut -d, -f6 [2021-03-01T17:46:54.419Z] + cat /w/workspace/app-functions-sdk-go/191/archives/cost.csv [Pipeline] lock [2021-03-01T17:46:54.560Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] [2021-03-01T17:46:54.568Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] did not exist. Created. [2021-03-01T17:46:54.568Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-191-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-01T17:46:55.008Z] /w/workspace/app-functions-sdk-go/191@tmp/durable-87e5976e/script.sh: 1: /w/workspace/app-functions-sdk-go/191@tmp/durable-87e5976e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-01T17:46:55.351Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-01T17:46:55.373Z] Warning: overwriting stash ‘stack-cost’ [2021-03-01T17:46:55.543Z] Stashed 1 file(s) [Pipeline] } [2021-03-01T17:46:55.554Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-191-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-01T17:46:56.868Z] provisioning config files... [2021-03-01T17:46:56.889Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7257894082811541639tmp [Pipeline] { [Pipeline] sh [2021-03-01T17:46:57.285Z] + set +x [2021-03-01T17:46:57.285Z] + curl -s https://codecov.io/bash [2021-03-01T17:46:57.285Z] + bash -s -- [2021-03-01T17:46:57.567Z] [2021-03-01T17:46:57.567Z] _____ _ [2021-03-01T17:46:57.567Z] / ____| | | [2021-03-01T17:46:57.567Z] | | ___ __| | ___ ___ _____ __ [2021-03-01T17:46:57.567Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-01T17:46:57.567Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-01T17:46:57.567Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-01T17:46:57.567Z] Bash-20210226-7100762 [2021-03-01T17:46:57.567Z] [2021-03-01T17:46:57.567Z] [2021-03-01T17:46:57.567Z] ==> git version 2.24.3 found [2021-03-01T17:46:57.567Z] ==> 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-01T17:46:57.567Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-01T17:46:57.567Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-01T17:46:57.567Z] ==> Jenkins CI detected. [2021-03-01T17:46:57.567Z] project root: . [2021-03-01T17:46:57.567Z] --> token set from env [2021-03-01T17:46:57.567Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-01T17:46:57.870Z] ==> Running gcov in . (disable via -X gcov) [2021-03-01T17:46:57.870Z] ==> Python coveragepy not found [2021-03-01T17:46:57.870Z] ==> Searching for coverage reports in: [2021-03-01T17:46:57.870Z] + . [2021-03-01T17:46:57.870Z] -> Found 2 reports [2021-03-01T17:46:57.870Z] ==> Detecting git/mercurial file structure [2021-03-01T17:46:57.870Z] ==> Reading reports [2021-03-01T17:46:57.870Z] + ./app-service-template/coverage.out bytes=1148 [2021-03-01T17:46:57.870Z] + ./coverage.out bytes=82817 [2021-03-01T17:46:57.870Z] ==> Appending adjustments [2021-03-01T17:46:57.870Z] https://docs.codecov.io/docs/fixing-reports [2021-03-01T17:46:59.397Z] + Found adjustments [2021-03-01T17:46:59.397Z] ==> Gzipping contents [2021-03-01T17:46:59.397Z] 16K /tmp/codecov.7V3JZO.gz [2021-03-01T17:46:59.662Z] ==> Uploading reports [2021-03-01T17:46:59.663Z] url: https://codecov.io [2021-03-01T17:46:59.663Z] query: branch=master&commit=a1af34c7f52734c37f3173cf500a3c7bd0fc61a0&build=191&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F191%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-01T17:46:59.663Z] -> Pinging Codecov [2021-03-01T17:46:59.663Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=master&commit=a1af34c7f52734c37f3173cf500a3c7bd0fc61a0&build=191&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F191%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-01T17:47:17.843Z] -> Uploading to [2021-03-01T17:47:17.843Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-01/3D8B5DFFC46A037C893635FACE044666/a1af34c7f52734c37f3173cf500a3c7bd0fc61a0/72f5ca08-cfa5-468c-a83c-3243226b6439.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210301T174715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6e5bbabe40a6fdfb21c2f3a6ecc0eed1457d2b4409ae8dfe72097c6d57a0c24 [2021-03-01T17:47:17.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-01T17:47:17.843Z] Dload Upload Total Spent Left Speed [2021-03-01T17:47:17.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14455 0 0 100 14455 0 29375 --:--:-- --:--:-- --:--:-- 29439 [2021-03-01T17:47:17.843Z] -> Reports have been successfully queued for processing at upstream request timeoutupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: local resethttps://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 [Pipeline] } [2021-03-01T17:47:17.856Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-01T17:47:18.852Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-01T17:47:18.946Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:47:19.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-01T17:47:19.330Z] [2021-03-01T17:47:19.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:47:19.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-01T17:47:19.702Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-01T17:47:19.702Z] 188c0c94c7c5: Pulling fs layer [2021-03-01T17:47:19.702Z] 0ef7d3d256c8: Pulling fs layer [2021-03-01T17:47:19.702Z] de9db76c5a1d: Pulling fs layer [2021-03-01T17:47:19.702Z] 0eba1c9be4d2: Pulling fs layer [2021-03-01T17:47:19.702Z] 0d57e429df01: Pulling fs layer [2021-03-01T17:47:19.702Z] 4e4be7b47b0d: Pulling fs layer [2021-03-01T17:47:19.702Z] e1f770b5df2f: Pulling fs layer [2021-03-01T17:47:19.702Z] 85a0685a4137: Pulling fs layer [2021-03-01T17:47:19.702Z] 0d57e429df01: Waiting [2021-03-01T17:47:19.702Z] 4e4be7b47b0d: Waiting [2021-03-01T17:47:19.702Z] e1f770b5df2f: Waiting [2021-03-01T17:47:19.702Z] 85a0685a4137: Waiting [2021-03-01T17:47:19.702Z] 0eba1c9be4d2: Waiting [2021-03-01T17:47:19.702Z] de9db76c5a1d: Verifying Checksum [2021-03-01T17:47:19.702Z] de9db76c5a1d: Download complete [2021-03-01T17:47:19.702Z] 0ef7d3d256c8: Verifying Checksum [2021-03-01T17:47:19.702Z] 0ef7d3d256c8: Download complete [2021-03-01T17:47:19.702Z] 0d57e429df01: Verifying Checksum [2021-03-01T17:47:19.702Z] 0d57e429df01: Download complete [2021-03-01T17:47:19.971Z] 4e4be7b47b0d: Download complete [2021-03-01T17:47:19.971Z] 188c0c94c7c5: Verifying Checksum [2021-03-01T17:47:19.971Z] 188c0c94c7c5: Download complete [2021-03-01T17:47:20.554Z] 188c0c94c7c5: Pull complete [2021-03-01T17:47:20.554Z] 0ef7d3d256c8: Pull complete [2021-03-01T17:47:20.819Z] de9db76c5a1d: Pull complete [2021-03-01T17:47:21.787Z] e1f770b5df2f: Verifying Checksum [2021-03-01T17:47:21.787Z] e1f770b5df2f: Download complete [2021-03-01T17:47:25.244Z] 0eba1c9be4d2: Verifying Checksum [2021-03-01T17:47:25.244Z] 0eba1c9be4d2: Download complete [2021-03-01T17:47:26.085Z] 85a0685a4137: Verifying Checksum [2021-03-01T17:47:26.085Z] 85a0685a4137: Download complete [2021-03-01T17:47:41.590Z] 0eba1c9be4d2: Pull complete [2021-03-01T17:47:41.879Z] 0d57e429df01: Pull complete [2021-03-01T17:47:42.633Z] 4e4be7b47b0d: Pull complete [2021-03-01T17:47:46.094Z] e1f770b5df2f: Pull complete [2021-03-01T17:48:04.908Z] 85a0685a4137: Pull complete [2021-03-01T17:48:04.908Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-01T17:48:04.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-01T17:48:04.908Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-01T17:48:05.222Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:48:05.300Z] $ 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-01T17:48:07.875Z] $ docker top a4db2b229b8b483ccc6a02acdb028b774c78829f5cb90ff2bfded18b7bae36e5 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-01T17:48:08.226Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-01T17:48:08.564Z] + set -o pipefail [2021-03-01T17:48:08.564Z] + snyk monitor '--org=edgex-jenkins' [2021-03-01T17:48:27.072Z] [2021-03-01T17:48:27.072Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-01T17:48:27.072Z] [2021-03-01T17:48:27.072Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/36c86c5b-38ea-4575-aadb-5955915c217e [2021-03-01T17:48:27.072Z] [2021-03-01T17:48:27.072Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-01T17:48:27.072Z] [2021-03-01T17:48:27.072Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-01T17:48:27.072Z] [2021-03-01T17:48:27.072Z] [Pipeline] } [2021-03-01T17:48:27.095Z] $ docker stop --time=1 a4db2b229b8b483ccc6a02acdb028b774c78829f5cb90ff2bfded18b7bae36e5 [2021-03-01T17:48:31.169Z] $ docker rm -f a4db2b229b8b483ccc6a02acdb028b774c78829f5cb90ff2bfded18b7bae36e5 [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-01T17:48:32.909Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-01T17:48:32.962Z] provisioning config files... [2021-03-01T17:48:32.978Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8527903287264635283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:48:33.364Z] --> edgex-publish-swagger.sh [2021-03-01T17:48:33.364Z] === Publish openapi/v2 API === [2021-03-01T17:48:33.364Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-01T17:48:33.364Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-01T17:48:33.364Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-01T17:48:33.364Z] Dload Upload Total Spent Left Speed [2021-03-01T17:48:34.579Z] 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 10604 0:00:01 0:00:01 --:--:-- 10620 [2021-03-01T17:48:34.579Z] [2021-03-01T17:48:34.579Z] [Pipeline] } [2021-03-01T17:48:34.591Z] 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-01T17:48:35.509Z] + git log --format=format:%s -1 a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:48:35.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-01T17:48:35.832Z] . [Pipeline] withDockerContainer [2021-03-01T17:48:35.959Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:48:36.034Z] $ 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-01T17:48:37.381Z] $ docker top 9f0998459b32b0d62e2e6911020cf7ef902eb4856636fb10f266223f549818a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-01T17:48:37.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-01T17:48:37.925Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-01T17:48:38.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-01T17:48:38.811Z] $ docker exec 9f0998459b32b0d62e2e6911020cf7ef902eb4856636fb10f266223f549818a8 ssh-agent [2021-03-01T17:48:39.103Z] SSH_AUTH_SOCK=/tmp/ssh-nf5FdhYxi18x/agent.11 [2021-03-01T17:48:39.103Z] SSH_AGENT_PID=16 [2021-03-01T17:48:39.129Z] Running ssh-add (command line suppressed) [2021-03-01T17:48:39.374Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4915783205496023345.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4915783205496023345.key) [2021-03-01T17:48:39.454Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-01T17:48:40.216Z] + git semver tag [2021-03-01T17:48:40.483Z] # -> Open(): unable to determine branch for HEAD [2021-03-01T17:48:40.483Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-01T17:48:40.483Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-01T17:48:40.483Z] # $SEMVER_REMOTE_NAME = origin [2021-03-01T17:48:40.483Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-01T17:48:40.483Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-01T17:48:40.483Z] # $SEMVER_BRANCH = master [2021-03-01T17:48:40.483Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-01T17:48:40.483Z] # a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 HEAD [2021-03-01T17:48:40.748Z] # -> Force: false [2021-03-01T17:48:40.748Z] # 4e2ec3c65b683cfa12a2456884fb4e3dcb98ff00 refs/tags/v2.0.0-dev.24 [Pipeline] } [2021-03-01T17:48:40.765Z] $ docker exec --env ******** --env ******** 9f0998459b32b0d62e2e6911020cf7ef902eb4856636fb10f266223f549818a8 ssh-agent -k [2021-03-01T17:48:40.941Z] unset SSH_AUTH_SOCK; [2021-03-01T17:48:40.942Z] unset SSH_AGENT_PID; [2021-03-01T17:48:40.942Z] echo Agent pid 16 killed; [2021-03-01T17:48:41.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-01T17:48:41.568Z] + git semver [Pipeline] } [2021-03-01T17:48:41.596Z] $ docker stop --time=1 9f0998459b32b0d62e2e6911020cf7ef902eb4856636fb10f266223f549818a8 [2021-03-01T17:48:43.201Z] $ docker rm -f 9f0998459b32b0d62e2e6911020cf7ef902eb4856636fb10f266223f549818a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:48:44.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-01T17:48:44.485Z] [2021-03-01T17:48:44.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:48:44.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-01T17:48:44.918Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-01T17:48:44.918Z] ab5ef0e58194: Pulling fs layer [2021-03-01T17:48:44.918Z] 9712f1f96733: Pulling fs layer [2021-03-01T17:48:44.918Z] 63f879dbbcfc: Pulling fs layer [2021-03-01T17:48:44.918Z] 0d9ebad4ef96: Pulling fs layer [2021-03-01T17:48:44.918Z] e9a5061849ea: Pulling fs layer [2021-03-01T17:48:44.918Z] d747dcd14b5f: Pulling fs layer [2021-03-01T17:48:44.918Z] 2de7ff778b66: Pulling fs layer [2021-03-01T17:48:44.918Z] e9a5061849ea: Waiting [2021-03-01T17:48:44.918Z] d747dcd14b5f: Waiting [2021-03-01T17:48:44.918Z] 2de7ff778b66: Waiting [2021-03-01T17:48:44.918Z] 0d9ebad4ef96: Waiting [2021-03-01T17:48:45.189Z] 9712f1f96733: Verifying Checksum [2021-03-01T17:48:45.189Z] 9712f1f96733: Download complete [2021-03-01T17:48:47.839Z] 63f879dbbcfc: Verifying Checksum [2021-03-01T17:48:47.839Z] 63f879dbbcfc: Download complete [2021-03-01T17:48:48.484Z] e9a5061849ea: Download complete [2021-03-01T17:48:48.484Z] 0d9ebad4ef96: Verifying Checksum [2021-03-01T17:48:48.484Z] 0d9ebad4ef96: Download complete [2021-03-01T17:48:48.484Z] d747dcd14b5f: Verifying Checksum [2021-03-01T17:48:48.484Z] d747dcd14b5f: Download complete [2021-03-01T17:48:48.761Z] ab5ef0e58194: Verifying Checksum [2021-03-01T17:48:48.761Z] ab5ef0e58194: Download complete [2021-03-01T17:48:49.048Z] 2de7ff778b66: Verifying Checksum [2021-03-01T17:48:49.048Z] 2de7ff778b66: Download complete [2021-03-01T17:48:59.839Z] ab5ef0e58194: Pull complete [2021-03-01T17:48:59.839Z] 9712f1f96733: Pull complete [2021-03-01T17:49:04.326Z] 63f879dbbcfc: Pull complete [2021-03-01T17:49:19.822Z] 0d9ebad4ef96: Pull complete [2021-03-01T17:49:21.463Z] e9a5061849ea: Pull complete [2021-03-01T17:49:21.463Z] d747dcd14b5f: Pull complete [2021-03-01T17:49:25.818Z] 2de7ff778b66: Pull complete [2021-03-01T17:49:25.818Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-01T17:49:25.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-01T17:49:25.818Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-01T17:49:26.323Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:49:26.394Z] $ 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-01T17:49:32.002Z] $ docker top ca6e2628cb1f06eec84a1eb6893dca901ce4229811989cc8f7835cc7f9ad2dce -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-01T17:49:32.371Z] provisioning config files... [2021-03-01T17:49:32.398Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config61008826999550166tmp [2021-03-01T17:49:32.433Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5796723009681283062tmp [2021-03-01T17:49:32.457Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3354535751133919151tmp [Pipeline] { [Pipeline] echo [2021-03-01T17:49:32.518Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:49:33.238Z] ---> sigul-configuration.sh [2021-03-01T17:49:33.238Z] gpg: directory `/root/.gnupg' created [2021-03-01T17:49:33.238Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-01T17:49:33.238Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-01T17:49:33.238Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-01T17:49:33.238Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-01T17:49:33.238Z] gpg: CAST5 encrypted data [2021-03-01T17:49:33.505Z] gpg: encrypted with 1 passphrase [2021-03-01T17:49:33.505Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-01T17:49:33.814Z] + mkdir /home/jenkins [2021-03-01T17:49:33.814Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-01T17:49:34.159Z] + 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-01T17:49:34.172Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:49:34.510Z] ---> sigul-install.sh [2021-03-01T17:49:44.845Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-01T17:49:45.208Z] + git tag --list [2021-03-01T17:49:45.208Z] v0.1.0 [2021-03-01T17:49:45.208Z] v0.1.1 [2021-03-01T17:49:45.208Z] v1.0.0 [2021-03-01T17:49:45.208Z] v1.1.0 [2021-03-01T17:49:45.208Z] v1.2.0 [2021-03-01T17:49:45.208Z] v1.3.0 [2021-03-01T17:49:45.208Z] v1.3.1 [2021-03-01T17:49:45.208Z] v1.3.1-dev.1 [2021-03-01T17:49:45.208Z] v1.3.2-dev.1 [2021-03-01T17:49:45.208Z] v2.0.0-dev.1 [2021-03-01T17:49:45.208Z] v2.0.0-dev.10 [2021-03-01T17:49:45.208Z] v2.0.0-dev.11 [2021-03-01T17:49:45.208Z] v2.0.0-dev.12 [2021-03-01T17:49:45.208Z] v2.0.0-dev.13 [2021-03-01T17:49:45.208Z] v2.0.0-dev.14 [2021-03-01T17:49:45.208Z] v2.0.0-dev.15 [2021-03-01T17:49:45.208Z] v2.0.0-dev.16 [2021-03-01T17:49:45.208Z] v2.0.0-dev.17 [2021-03-01T17:49:45.208Z] v2.0.0-dev.18 [2021-03-01T17:49:45.208Z] v2.0.0-dev.19 [2021-03-01T17:49:45.208Z] v2.0.0-dev.2 [2021-03-01T17:49:45.208Z] v2.0.0-dev.20 [2021-03-01T17:49:45.208Z] v2.0.0-dev.21 [2021-03-01T17:49:45.208Z] v2.0.0-dev.22 [2021-03-01T17:49:45.208Z] v2.0.0-dev.23 [2021-03-01T17:49:45.208Z] v2.0.0-dev.24 [2021-03-01T17:49:45.208Z] v2.0.0-dev.3 [2021-03-01T17:49:45.208Z] v2.0.0-dev.4 [2021-03-01T17:49:45.208Z] v2.0.0-dev.5 [2021-03-01T17:49:45.208Z] v2.0.0-dev.6 [2021-03-01T17:49:45.208Z] v2.0.0-dev.7 [2021-03-01T17:49:45.208Z] v2.0.0-dev.8 [2021-03-01T17:49:45.208Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-01T17:49:45.543Z] + lftools sign git-tag v2.0.0-dev.24 [2021-03-01T17:49:49.198Z] Signing Git tag with Sigul... [2021-03-01T17:49:49.198Z] Signing v2.0.0-dev.24 [Pipeline] echo [2021-03-01T17:49:50.206Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:49:50.513Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-01T17:49:50.526Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-01T17:49:50.631Z] $ docker stop --time=1 ca6e2628cb1f06eec84a1eb6893dca901ce4229811989cc8f7835cc7f9ad2dce [2021-03-01T17:49:53.249Z] $ docker rm -f ca6e2628cb1f06eec84a1eb6893dca901ce4229811989cc8f7835cc7f9ad2dce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:49:55.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-01T17:49:55.194Z] . [Pipeline] withDockerContainer [2021-03-01T17:49:55.357Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:49:55.457Z] $ 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-01T17:49:56.875Z] $ docker top 817fd5ccab97d932624674af0b788f27387ba29101dc9d3aa4c4e688bddad56c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-01T17:49:57.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-01T17:49:57.289Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-01T17:49:57.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-01T17:49:57.829Z] $ docker exec 817fd5ccab97d932624674af0b788f27387ba29101dc9d3aa4c4e688bddad56c ssh-agent [2021-03-01T17:49:58.136Z] SSH_AUTH_SOCK=/tmp/ssh-xeBwNiOWqB7h/agent.11 [2021-03-01T17:49:58.136Z] SSH_AGENT_PID=17 [2021-03-01T17:49:58.145Z] Running ssh-add (command line suppressed) [2021-03-01T17:49:58.399Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7662465550234731111.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7662465550234731111.key) [2021-03-01T17:49:58.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-01T17:49:58.874Z] + git semver bump pre [2021-03-01T17:49:58.874Z] # -> Open(): unable to determine branch for HEAD [2021-03-01T17:49:58.874Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-01T17:49:58.874Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-01T17:49:58.874Z] # $SEMVER_REMOTE_NAME = origin [2021-03-01T17:49:58.874Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-01T17:49:58.874Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-01T17:49:58.874Z] # $SEMVER_BRANCH = master [2021-03-01T17:49:58.874Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-01T17:49:59.149Z] 2.0.0-dev.25 [Pipeline] } [2021-03-01T17:49:59.168Z] $ docker exec --env ******** --env ******** 817fd5ccab97d932624674af0b788f27387ba29101dc9d3aa4c4e688bddad56c ssh-agent -k [2021-03-01T17:49:59.404Z] unset SSH_AUTH_SOCK; [2021-03-01T17:49:59.404Z] unset SSH_AGENT_PID; [2021-03-01T17:49:59.404Z] echo Agent pid 17 killed; [2021-03-01T17:49:59.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-01T17:50:00.019Z] + git semver [Pipeline] } [2021-03-01T17:50:00.065Z] $ docker stop --time=1 817fd5ccab97d932624674af0b788f27387ba29101dc9d3aa4c4e688bddad56c [2021-03-01T17:50:01.650Z] $ docker rm -f 817fd5ccab97d932624674af0b788f27387ba29101dc9d3aa4c4e688bddad56c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:50:02.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-01T17:50:02.293Z] . [Pipeline] withDockerContainer [2021-03-01T17:50:02.436Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:50:02.498Z] $ 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-01T17:50:05.300Z] $ docker top edac4775a91e389b1c7c3c638230d341c51f5438d13d0d76fe03f8eb73f428e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-01T17:50:05.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-01T17:50:05.617Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-01T17:50:06.021Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-01T17:50:06.029Z] $ docker exec edac4775a91e389b1c7c3c638230d341c51f5438d13d0d76fe03f8eb73f428e4 ssh-agent [2021-03-01T17:50:06.287Z] SSH_AUTH_SOCK=/tmp/ssh-zwNlMVCKjK1r/agent.11 [2021-03-01T17:50:06.288Z] SSH_AGENT_PID=17 [2021-03-01T17:50:06.296Z] Running ssh-add (command line suppressed) [2021-03-01T17:50:06.487Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8897479935420107755.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8897479935420107755.key) [2021-03-01T17:50:06.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-01T17:50:06.931Z] + git semver push [2021-03-01T17:50:06.931Z] # -> Open(): unable to determine branch for HEAD [2021-03-01T17:50:06.931Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-01T17:50:06.931Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-01T17:50:06.931Z] # $SEMVER_REMOTE_NAME = origin [2021-03-01T17:50:06.931Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-01T17:50:06.931Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-01T17:50:06.931Z] # $SEMVER_BRANCH = master [2021-03-01T17:50:06.931Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-01T17:50:13.670Z] $ docker exec --env ******** --env ******** edac4775a91e389b1c7c3c638230d341c51f5438d13d0d76fe03f8eb73f428e4 ssh-agent -k [2021-03-01T17:50:14.653Z] unset SSH_AUTH_SOCK; [2021-03-01T17:50:14.653Z] unset SSH_AGENT_PID; [2021-03-01T17:50:14.653Z] echo Agent pid 17 killed; [2021-03-01T17:50:15.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-01T17:50:16.509Z] + git semver [Pipeline] } [2021-03-01T17:50:16.606Z] $ docker stop --time=1 edac4775a91e389b1c7c3c638230d341c51f5438d13d0d76fe03f8eb73f428e4 [2021-03-01T17:50:19.436Z] $ docker rm -f edac4775a91e389b1c7c3c638230d341c51f5438d13d0d76fe03f8eb73f428e4 [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-01T17:50:21.455Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:50:24.380Z] ---> package-listing.sh [2021-03-01T17:50:24.380Z] ++ facter osfamily [2021-03-01T17:50:24.380Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-01T17:50:24.380Z] + OS_FAMILY=redhat [2021-03-01T17:50:24.380Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-01T17:50:24.380Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-01T17:50:24.380Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-01T17:50:24.380Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-01T17:50:24.380Z] + PACKAGES=/tmp/packages_start.txt [2021-03-01T17:50:24.380Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-01T17:50:24.380Z] + PACKAGES=/tmp/packages_end.txt [2021-03-01T17:50:24.380Z] + case "${OS_FAMILY}" in [2021-03-01T17:50:24.380Z] + rpm -qa [2021-03-01T17:50:24.380Z] + sort [2021-03-01T17:50:34.654Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-01T17:50:34.654Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-01T17:50:34.654Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-01T17:50:34.654Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-01T17:50:34.654Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-01T17:50:34.654Z] + 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-01T17:50:34.674Z] 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-01T17:50:35.039Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:50:35.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-01T17:50:36.014Z] [2021-03-01T17:50:36.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-01T17:50:36.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-01T17:50:37.065Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-01T17:50:37.065Z] df20fa9351a1: Pulling fs layer [2021-03-01T17:50:37.065Z] 36b3adc4ff6f: Pulling fs layer [2021-03-01T17:50:37.065Z] 8ad3a11d3b57: Pulling fs layer [2021-03-01T17:50:37.065Z] 46f8f816bc3b: Pulling fs layer [2021-03-01T17:50:37.065Z] 93b61091891f: Pulling fs layer [2021-03-01T17:50:37.065Z] 93b9cdb0e59b: Pulling fs layer [2021-03-01T17:50:37.065Z] 5e14af77c1be: Pulling fs layer [2021-03-01T17:50:37.065Z] 01666e4c0597: Pulling fs layer [2021-03-01T17:50:37.065Z] aa168da1d23b: Pulling fs layer [2021-03-01T17:50:37.065Z] 46f8f816bc3b: Waiting [2021-03-01T17:50:37.065Z] 93b61091891f: Waiting [2021-03-01T17:50:37.065Z] 93b9cdb0e59b: Waiting [2021-03-01T17:50:37.065Z] 5e14af77c1be: Waiting [2021-03-01T17:50:37.065Z] 01666e4c0597: Waiting [2021-03-01T17:50:37.065Z] aa168da1d23b: Waiting [2021-03-01T17:50:37.344Z] 36b3adc4ff6f: Download complete [2021-03-01T17:50:37.344Z] 46f8f816bc3b: Verifying Checksum [2021-03-01T17:50:37.344Z] 46f8f816bc3b: Download complete [2021-03-01T17:50:37.344Z] df20fa9351a1: Verifying Checksum [2021-03-01T17:50:37.344Z] df20fa9351a1: Download complete [2021-03-01T17:50:37.344Z] 93b9cdb0e59b: Download complete [2021-03-01T17:50:37.344Z] 5e14af77c1be: Verifying Checksum [2021-03-01T17:50:37.344Z] 5e14af77c1be: Download complete [2021-03-01T17:50:37.344Z] 01666e4c0597: Verifying Checksum [2021-03-01T17:50:37.344Z] 01666e4c0597: Download complete [2021-03-01T17:50:37.344Z] 93b61091891f: Verifying Checksum [2021-03-01T17:50:37.344Z] 93b61091891f: Download complete [2021-03-01T17:50:37.941Z] df20fa9351a1: Pull complete [2021-03-01T17:50:38.208Z] 8ad3a11d3b57: Verifying Checksum [2021-03-01T17:50:38.208Z] 8ad3a11d3b57: Download complete [2021-03-01T17:50:38.481Z] 36b3adc4ff6f: Pull complete [2021-03-01T17:50:40.528Z] 8ad3a11d3b57: Pull complete [2021-03-01T17:50:40.528Z] 46f8f816bc3b: Pull complete [2021-03-01T17:50:41.131Z] aa168da1d23b: Verifying Checksum [2021-03-01T17:50:41.131Z] aa168da1d23b: Download complete [2021-03-01T17:50:41.404Z] 93b61091891f: Pull complete [2021-03-01T17:50:41.683Z] 93b9cdb0e59b: Pull complete [2021-03-01T17:50:41.957Z] 5e14af77c1be: Pull complete [2021-03-01T17:50:42.975Z] 01666e4c0597: Pull complete [2021-03-01T17:51:05.633Z] aa168da1d23b: Pull complete [2021-03-01T17:51:05.633Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-01T17:51:05.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-01T17:51:05.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-01T17:51:05.820Z] prd-centos7-docker-4c-2g-28071 does not seem to be running inside a container [2021-03-01T17:51:05.896Z] $ 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-01T17:51:09.911Z] $ docker top c30f2686b3607bb14029b924b8980e5688a9be6b5b7794b9fd8273723b2e9457 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-01T17:51:10.952Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-01T17:51:11.319Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-01T17:51:11.648Z] + ls /var/log/sa-host [2021-03-01T17:51:11.648Z] + sadf -c /var/log/sa-host/sa01 [2021-03-01T17:51:11.648Z] file_magic: OK [2021-03-01T17:51:11.648Z] HZ: Using current value: 100 [2021-03-01T17:51:11.648Z] file_header: OK [2021-03-01T17:51:11.648Z] 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-01T17:51:11.648Z] Statistics: [2021-03-01T17:51:11.648Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-01T17:51:11.648Z] File successfully converted to sysstat format version 12.2.1 [2021-03-01T17:51:11.648Z] + sadf -c /var/log/sa-host/sa23 [2021-03-01T17:51:11.648Z] file_magic: OK [2021-03-01T17:51:11.648Z] HZ: Using current value: 100 [2021-03-01T17:51:11.648Z] file_header: OK [2021-03-01T17:51:11.648Z] 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-01T17:51:11.648Z] Statistics: [2021-03-01T17:51:11.648Z] Hnuu...uuuununununu... [2021-03-01T17:51:11.648Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-01T17:51:11.882Z] provisioning config files... [2021-03-01T17:51:11.898Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5861117854807761823tmp [Pipeline] { [Pipeline] echo [2021-03-01T17:51:12.026Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:51:12.333Z] ---> create-netrc.sh [Pipeline] } [2021-03-01T17:51:12.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-01T17:51:12.450Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:51:12.771Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-01T17:51:12.822Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:51:14.326Z] ---> sudo-logs.sh [2021-03-01T17:51:14.326Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-01T17:51:14.446Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:51:15.103Z] ---> job-cost.sh [2021-03-01T17:51:15.399Z] lf-activate-venv: SKIPPING [2021-03-01T17:51:15.399Z] DEBUG: total: 0.20999999344348907 [2021-03-01T17:51:15.399Z] INFO: Retrieving Stack Cost... [2021-03-01T17:51:16.827Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-01T17:51:17.433Z] INFO: Archiving Costs [Pipeline] echo [2021-03-01T17:51:17.456Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-01T17:51:18.275Z] ---> logs-deploy.sh [2021-03-01T17:51:18.275Z] lf-activate-venv: SKIPPING [2021-03-01T17:51:18.275Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/191 [2021-03-01T17:51:18.275Z] INFO: archiving workspace using pattern(s): [2021-03-01T17:51:21.994Z] Archives upload complete. [2021-03-01T17:51:22.264Z] INFO: archiving logs to Nexus