Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-309 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#788)" > git rev-list --no-walk c52b117200eeab03bf93edd622bea4d2ee6b8beb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-15T17:40:07.463Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-15T17:40:07.554Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-15T17:40:07.580Z] ========================================================= [2021-04-15T17:40:07.580Z] EdgeX Global Pipelines Version Info [2021-04-15T17:40:07.580Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:40:08.996Z] ------------------- [2021-04-15T17:40:08.996Z] stable info: [2021-04-15T17:40:08.996Z] ------------------- [2021-04-15T17:40:08.996Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-15T17:40:08.996Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-15T17:40:08.996Z] Message: update stable to v1.0.186 [2021-04-15T17:40:09.941Z] ------------------- [2021-04-15T17:40:09.942Z] experimental info: [2021-04-15T17:40:09.942Z] ------------------- [2021-04-15T17:40:09.942Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-15T17:40:09.942Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-15T17:40:09.942Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-15T17:40:10.058Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-15T17:40:10.082Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-15T17:40:10.105Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-15T17:40:10.127Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-15T17:40:10.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-15T17:40:10.173Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-15T17:40:10.195Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-15T17:40:10.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-15T17:40:10.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-15T17:40:10.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-15T17:40:10.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-15T17:40:10.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-15T17:40:10.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-15T17:40:10.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-15T17:40:10.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:40:10.433Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:40:10.456Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:40:10.479Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-15T17:40:10.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-15T17:40:10.526Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-15T17:40:10.549Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-15T17:40:10.574Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-15T17:40:10.596Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-15T17:40:10.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-15T17:40:10.643Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-15T17:40:10.667Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-15T17:40:10.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-15T17:40:10.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-15T17:40:10.737Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-15T17:40:10.760Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 [Pipeline] echo [2021-04-15T17:40:10.783Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22e95e5 [Pipeline] echo [2021-04-15T17:40:10.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T17:40:11.211Z] + git log --format=format:%s -1 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 [Pipeline] echo [2021-04-15T17:40:11.284Z] GIT_COMMIT: 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#788) [Pipeline] echo [2021-04-15T17:40:11.338Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:40:12.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:40:12.532Z] [2021-04-15T17:40:12.532Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:40:12.853Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:40:12.854Z] latest: Pulling from edgex-devops/git-semver [2021-04-15T17:40:12.854Z] 31603596830f: Pulling fs layer [2021-04-15T17:40:12.854Z] 2a8b12db71e7: Pulling fs layer [2021-04-15T17:40:12.854Z] 6ca5941a6612: Pulling fs layer [2021-04-15T17:40:12.854Z] ecc8261a40a4: Pulling fs layer [2021-04-15T17:40:12.854Z] ecc8261a40a4: Waiting [2021-04-15T17:40:12.854Z] 2a8b12db71e7: Verifying Checksum [2021-04-15T17:40:12.854Z] 2a8b12db71e7: Download complete [2021-04-15T17:40:13.118Z] 31603596830f: Verifying Checksum [2021-04-15T17:40:13.118Z] 31603596830f: Download complete [2021-04-15T17:40:13.118Z] 6ca5941a6612: Verifying Checksum [2021-04-15T17:40:13.118Z] 6ca5941a6612: Download complete [2021-04-15T17:40:13.118Z] ecc8261a40a4: Verifying Checksum [2021-04-15T17:40:13.118Z] ecc8261a40a4: Download complete [2021-04-15T17:40:13.386Z] 31603596830f: Pull complete [2021-04-15T17:40:13.386Z] 2a8b12db71e7: Pull complete [2021-04-15T17:40:14.341Z] 6ca5941a6612: Pull complete [2021-04-15T17:40:14.341Z] ecc8261a40a4: Pull complete [2021-04-15T17:40:14.341Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-15T17:40:14.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:40:14.603Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-15T17:40:14.711Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:40:14.756Z] $ 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-04-15T17:40:16.857Z] $ docker top 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T17:40:17.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:40:17.019Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:40:17.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:40:17.222Z] $ docker exec 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 ssh-agent [2021-04-15T17:40:17.392Z] SSH_AUTH_SOCK=/tmp/ssh-8UFttDpWo2qb/agent.11 [2021-04-15T17:40:17.392Z] SSH_AGENT_PID=16 [2021-04-15T17:40:17.404Z] Running ssh-add (command line suppressed) [2021-04-15T17:40:17.558Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7638544565034696015.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7638544565034696015.key) [2021-04-15T17:40:17.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:40:17.911Z] + git tag --points-at HEAD [Pipeline] } [2021-04-15T17:40:17.931Z] $ docker exec --env ******** --env ******** 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 ssh-agent -k [2021-04-15T17:40:18.051Z] unset SSH_AUTH_SOCK; [2021-04-15T17:40:18.052Z] unset SSH_AGENT_PID; [2021-04-15T17:40:18.052Z] echo Agent pid 16 killed; [2021-04-15T17:40:18.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-15T17:40:18.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:40:18.152Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:40:18.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:40:18.337Z] $ docker exec 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 ssh-agent [2021-04-15T17:40:18.497Z] SSH_AUTH_SOCK=/tmp/ssh-uymgANKfFkxk/agent.45 [2021-04-15T17:40:18.497Z] SSH_AGENT_PID=50 [2021-04-15T17:40:18.504Z] Running ssh-add (command line suppressed) [2021-04-15T17:40:18.643Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4469373664197244818.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4469373664197244818.key) [2021-04-15T17:40:18.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:40:18.994Z] + git semver init [2021-04-15T17:40:18.994Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T17:40:18.994Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T17:40:18.994Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T17:40:18.994Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T17:40:18.994Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T17:40:18.994Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T17:40:18.994Z] # $SEMVER_BRANCH = master [2021-04-15T17:40:18.994Z] # $SEMVER_TEMP = /tmp/semver-731522713 [2021-04-15T17:40:18.994Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-15T17:40:21.574Z] # '/tmp/semver-731522713' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-15T17:40:21.837Z] # -> Force: false [2021-04-15T17:40:21.837Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-15T17:40:21.854Z] $ docker exec --env ******** --env ******** 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 ssh-agent -k [2021-04-15T17:40:21.966Z] unset SSH_AUTH_SOCK; [2021-04-15T17:40:21.967Z] unset SSH_AGENT_PID; [2021-04-15T17:40:21.967Z] echo Agent pid 50 killed; [2021-04-15T17:40:22.021Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T17:40:22.355Z] + git semver [Pipeline] } [2021-04-15T17:40:22.378Z] $ docker stop --time=1 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 [2021-04-15T17:40:23.863Z] $ docker rm -f 4aff94e6464c4617bdb927e235f7ee892adf172ef2cb4bc7436ba7384ae8c531 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T17:40:24.258Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-15T17:40:24.619Z] Stashed 1 file(s) [Pipeline] echo [2021-04-15T17:40:24.622Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.44 [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-04-15T17:40:39.786Z] Still waiting to schedule task [2021-04-15T17:40:39.786Z] ‘prd-centos7-blackbox-4c-2g-33548’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-blackbox-4c-2g-33549’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-307’ is offline; ‘prd-centos7-docker-4c-2g-310’ is offline; ‘prd-centos7-docker-4c-2g-311’ is offline; ‘prd-centos7-docker-4c-2g-32765’ is offline; ‘prd-centos7-docker-4c-2g-32816’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-15T17:40:39.790Z] Still waiting to schedule task [2021-04-15T17:40:39.791Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-15T17:41:35.902Z] Running on prd-centos7-docker-4c-2g-312 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-15T17:41:35.917Z] Running in /w/workspace/app-functions-sdk-go/213 [Pipeline] { [Pipeline] checkout [2021-04-15T17:41:38.850Z] using credential edgex-jenkins-ssh [2021-04-15T17:41:38.861Z] Cloning the remote Git repository [2021-04-15T17:41:38.885Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:41:38.951Z] > git init /w/workspace/app-functions-sdk-go/213 # timeout=10 [2021-04-15T17:41:39.008Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:41:39.009Z] > git --version # timeout=10 [2021-04-15T17:41:39.015Z] > git --version # 'git version 2.24.3' [2021-04-15T17:41:39.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:41:39.047Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:41:40.565Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:41:40.571Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:41:40.583Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:41:40.597Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:41:40.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:41:40.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T17:41:40.983Z] Checking out Revision 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 (master) [2021-04-15T17:41:40.993Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T17:41:40.998Z] > git checkout -f 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 [2021-04-15T17:41:44.688Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#788)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T17:41:45.806Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:41:46.131Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:41:46.432Z] + true [2021-04-15T17:41:46.432Z] + sudo service docker restart [2021-04-15T17:41:46.432Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-15T17:41:47.521Z] ========================================================= [2021-04-15T17:41:47.521Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-15T17:41:47.521Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:41:47.836Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-15T17:41:48.417Z] Sending build context to Docker daemon 19.46MB [2021-04-15T17:41:48.417Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T17:41:48.417Z] Step 2/8 : FROM ${BASE} [2021-04-15T17:41:48.686Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-15T17:41:48.686Z] 188c0c94c7c5: Pulling fs layer [2021-04-15T17:41:48.686Z] 0ef7d3d256c8: Pulling fs layer [2021-04-15T17:41:48.686Z] de9db76c5a1d: Pulling fs layer [2021-04-15T17:41:48.686Z] bca2f99d35d6: Pulling fs layer [2021-04-15T17:41:48.686Z] 93359f2a8cfa: Pulling fs layer [2021-04-15T17:41:48.686Z] 7c6f9722023f: Pulling fs layer [2021-04-15T17:41:48.686Z] a35cf1a2eb13: Pulling fs layer [2021-04-15T17:41:48.686Z] bca2f99d35d6: Waiting [2021-04-15T17:41:48.686Z] 93359f2a8cfa: Waiting [2021-04-15T17:41:48.686Z] 7c6f9722023f: Waiting [2021-04-15T17:41:48.686Z] a35cf1a2eb13: Waiting [2021-04-15T17:41:48.686Z] de9db76c5a1d: Verifying Checksum [2021-04-15T17:41:48.686Z] de9db76c5a1d: Download complete [2021-04-15T17:41:48.686Z] 0ef7d3d256c8: Verifying Checksum [2021-04-15T17:41:48.686Z] 0ef7d3d256c8: Download complete [2021-04-15T17:41:48.686Z] 93359f2a8cfa: Verifying Checksum [2021-04-15T17:41:48.686Z] 93359f2a8cfa: Download complete [2021-04-15T17:41:48.686Z] 7c6f9722023f: Verifying Checksum [2021-04-15T17:41:48.686Z] 7c6f9722023f: Download complete [2021-04-15T17:41:48.686Z] 188c0c94c7c5: Verifying Checksum [2021-04-15T17:41:48.686Z] 188c0c94c7c5: Download complete [2021-04-15T17:41:48.956Z] 188c0c94c7c5: Pull complete [2021-04-15T17:41:49.226Z] 0ef7d3d256c8: Pull complete [2021-04-15T17:41:49.226Z] de9db76c5a1d: Pull complete [2021-04-15T17:41:51.795Z] a35cf1a2eb13: Verifying Checksum [2021-04-15T17:41:51.796Z] a35cf1a2eb13: Download complete [2021-04-15T17:41:51.796Z] bca2f99d35d6: Verifying Checksum [2021-04-15T17:41:51.796Z] bca2f99d35d6: Download complete [2021-04-15T17:41:57.132Z] bca2f99d35d6: Pull complete [2021-04-15T17:41:57.132Z] 93359f2a8cfa: Pull complete [2021-04-15T17:41:57.132Z] 7c6f9722023f: Pull complete [2021-04-15T17:42:05.326Z] a35cf1a2eb13: Pull complete [2021-04-15T17:42:05.326Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-15T17:42:05.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-15T17:42:05.326Z] ---> a62c8e92a672 [2021-04-15T17:42:05.326Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-15T17:42:05.326Z] 20.10.0: Pulling from library/docker [2021-04-15T17:42:05.326Z] 05e7bc50f07f: Pulling fs layer [2021-04-15T17:42:05.326Z] 6db28d0fdbf6: Pulling fs layer [2021-04-15T17:42:05.326Z] 292df0bc6bf3: Pulling fs layer [2021-04-15T17:42:05.326Z] 2e060f4bd70b: Pulling fs layer [2021-04-15T17:42:05.326Z] 80e8d568a223: Pulling fs layer [2021-04-15T17:42:05.326Z] 8dc6ef1a942a: Pulling fs layer [2021-04-15T17:42:05.326Z] 2312dd95470a: Pulling fs layer [2021-04-15T17:42:05.326Z] 80e8d568a223: Waiting [2021-04-15T17:42:05.326Z] 8dc6ef1a942a: Waiting [2021-04-15T17:42:05.326Z] 2312dd95470a: Waiting [2021-04-15T17:42:05.326Z] 292df0bc6bf3: Verifying Checksum [2021-04-15T17:42:05.326Z] 292df0bc6bf3: Download complete [2021-04-15T17:42:05.326Z] 05e7bc50f07f: Verifying Checksum [2021-04-15T17:42:05.326Z] 05e7bc50f07f: Download complete [2021-04-15T17:42:05.326Z] 80e8d568a223: Verifying Checksum [2021-04-15T17:42:05.326Z] 80e8d568a223: Download complete [2021-04-15T17:42:05.326Z] 8dc6ef1a942a: Download complete [2021-04-15T17:42:05.326Z] 2312dd95470a: Verifying Checksum [2021-04-15T17:42:05.326Z] 2312dd95470a: Download complete [2021-04-15T17:42:05.326Z] 6db28d0fdbf6: Verifying Checksum [2021-04-15T17:42:05.326Z] 6db28d0fdbf6: Download complete [2021-04-15T17:42:05.326Z] 05e7bc50f07f: Pull complete [2021-04-15T17:42:05.326Z] 6db28d0fdbf6: Pull complete [2021-04-15T17:42:05.326Z] 292df0bc6bf3: Pull complete [2021-04-15T17:42:06.731Z] 2e060f4bd70b: Verifying Checksum [2021-04-15T17:42:06.731Z] 2e060f4bd70b: Download complete [2021-04-15T17:42:09.296Z] 2e060f4bd70b: Pull complete [2021-04-15T17:42:09.558Z] 80e8d568a223: Pull complete [2021-04-15T17:42:09.558Z] 8dc6ef1a942a: Pull complete [2021-04-15T17:42:09.819Z] 2312dd95470a: Pull complete [2021-04-15T17:42:09.819Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-15T17:42:09.819Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-15T17:42:11.237Z] ---> c6362a714085 [2021-04-15T17:42:11.237Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-15T17:42:11.500Z] ---> Running in 3a501e44e9e3 [2021-04-15T17:42:11.500Z] Removing intermediate container 3a501e44e9e3 [2021-04-15T17:42:11.500Z] ---> 4caa53180c8d [2021-04-15T17:42:11.500Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-15T17:42:11.764Z] ---> Running in 65e7f0d0906e [2021-04-15T17:42:12.352Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-15T17:42:12.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-15T17:42:13.499Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-15T17:42:13.499Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-15T17:42:13.761Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-15T17:42:13.761Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-15T17:42:13.761Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-15T17:42:14.032Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T17:42:14.032Z] OK: 167 MiB in 44 packages [2021-04-15T17:42:14.979Z] Removing intermediate container 65e7f0d0906e [2021-04-15T17:42:14.979Z] ---> bb0989eb6068 [2021-04-15T17:42:14.979Z] Step 6/8 : WORKDIR /build [2021-04-15T17:42:14.979Z] ---> Running in b8e3d42168e7 [2021-04-15T17:42:14.979Z] Removing intermediate container b8e3d42168e7 [2021-04-15T17:42:14.979Z] ---> 7e744a3f8777 [2021-04-15T17:42:14.979Z] Step 7/8 : COPY go.mod . [2021-04-15T17:42:15.242Z] ---> 8e316c1bbaea [2021-04-15T17:42:15.242Z] Step 8/8 : RUN go mod download [2021-04-15T17:42:15.242Z] ---> Running in 80162ae31eab [2021-04-15T17:42:41.874Z] Removing intermediate container 80162ae31eab [2021-04-15T17:42:41.874Z] ---> a6f1ae785d79 [2021-04-15T17:42:41.874Z] Successfully built a6f1ae785d79 [2021-04-15T17:42:41.874Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:42:42.195Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T17:42:42.195Z] . [Pipeline] withDockerContainer [2021-04-15T17:42:42.331Z] prd-centos7-docker-4c-2g-312 does not seem to be running inside a container [2021-04-15T17:42:42.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/213 -v /w/workspace/app-functions-sdk-go/213:/w/workspace/app-functions-sdk-go/213:rw,z -v /w/workspace/app-functions-sdk-go/213@tmp:/w/workspace/app-functions-sdk-go/213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-15T17:42:43.191Z] $ docker top 8f1455006325722541f6efe42d5c68ab6c091e9119a3876cf237f4cae81394e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:42:43.601Z] + go version [2021-04-15T17:42:43.602Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-15T17:42:43.617Z] $ docker stop --time=1 8f1455006325722541f6efe42d5c68ab6c091e9119a3876cf237f4cae81394e2 [2021-04-15T17:42:44.965Z] $ docker rm -f 8f1455006325722541f6efe42d5c68ab6c091e9119a3876cf237f4cae81394e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:42:45.445Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-15T17:42:45.445Z] . [Pipeline] withDockerContainer [2021-04-15T17:42:45.542Z] prd-centos7-docker-4c-2g-312 does not seem to be running inside a container [2021-04-15T17:42:45.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/213 -v /w/workspace/app-functions-sdk-go/213:/w/workspace/app-functions-sdk-go/213:rw,z -v /w/workspace/app-functions-sdk-go/213@tmp:/w/workspace/app-functions-sdk-go/213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-15T17:42:46.192Z] $ docker top fb676bce4abc5308f4dc1a4ca8bc50bdfa4eb651ee8aafafb2d977896b297c70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:42:46.602Z] + make test [2021-04-15T17:42:46.602Z] make -C ./app-service-template build [2021-04-15T17:42:46.602Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:42:46.602Z] 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-04-15T17:43:02.045Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:43:02.045Z] make -C ./app-service-template test [2021-04-15T17:43:02.045Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:43:02.045Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-15T17:43:10.276Z] ok new-app-service 0.023s coverage: 47.8% of statements [2021-04-15T17:43:10.276Z] ? new-app-service/config [no test files] [2021-04-15T17:43:10.276Z] ok new-app-service/functions 0.011s [2021-04-15T17:43:10.276Z] CGO_ENABLED=1 go vet ./... [2021-04-15T17:43:12.866Z] gofmt -l . [2021-04-15T17:43:13.129Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:43:13.129Z] ./bin/test-go-mod-tidy.sh [2021-04-15T17:43:13.714Z] ./bin/test-attribution-txt.sh [2021-04-15T17:43:14.301Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:43:14.301Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-15T17:43:14.568Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-15T17:43:17.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.019s coverage: 55.8% of statements [2021-04-15T17:43:17.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.040s coverage: 92.5% of statements [2021-04-15T17:43:17.169Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-15T17:43:17.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.044s coverage: 61.5% of statements [2021-04-15T17:43:17.169Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-15T17:43:17.169Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.012s [2021-04-15T17:43:17.765Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.149s coverage: 75.4% of statements [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-15T17:43:17.765Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.0% of statements [2021-04-15T17:43:17.765Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T17:43:17.765Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.027s coverage: 10.5% of statements [2021-04-15T17:43:21.098Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.786s coverage: 78.4% of statements [2021-04-15T17:43:21.098Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-15T17:43:21.098Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.030s coverage: 18.4% of statements [2021-04-15T17:43:21.098Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.014s coverage: 27.3% of statements [2021-04-15T17:43:21.098Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-15T17:43:21.098Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-15T17:43:21.098Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.014s coverage: 71.7% of statements [2021-04-15T17:43:42.802Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-314 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-15T17:43:42.822Z] Running in /w/workspace/app-functions-sdk-go/213 [Pipeline] { [Pipeline] checkout [2021-04-15T17:43:47.715Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.044s coverage: 81.9% of statements [2021-04-15T17:43:47.716Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-04-15T17:43:47.716Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-15T17:43:47.716Z] gofmt -l . [2021-04-15T17:43:47.716Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:43:47.716Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T17:43:47.733Z] $ docker stop --time=1 fb676bce4abc5308f4dc1a4ca8bc50bdfa4eb651ee8aafafb2d977896b297c70 [2021-04-15T17:43:48.384Z] using credential edgex-jenkins-ssh [2021-04-15T17:43:48.411Z] Cloning the remote Git repository [2021-04-15T17:43:48.483Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:43:48.635Z] > git init /w/workspace/app-functions-sdk-go/213 # timeout=10 [2021-04-15T17:43:48.714Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:43:48.715Z] > git --version # timeout=10 [2021-04-15T17:43:48.739Z] > git --version # 'git version 2.17.1' [2021-04-15T17:43:48.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:43:48.825Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:43:49.338Z] $ docker rm -f fb676bce4abc5308f4dc1a4ca8bc50bdfa4eb651ee8aafafb2d977896b297c70 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T17:43:49.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T17:43:50.325Z] 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-04-15T17:43:51.153Z] ---> job-cost.sh [2021-04-15T17:43:51.153Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6Rpg [2021-04-15T17:43:51.844Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:43:51.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-15T17:43:52.430Z] Checking out Revision 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 (master) [2021-04-15T17:43:51.884Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-15T17:43:51.917Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-15T17:43:51.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-15T17:43:51.930Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-15T17:43:52.441Z] > git config core.sparsecheckout # timeout=10 [2021-04-15T17:43:52.459Z] > git checkout -f 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 # timeout=10 [2021-04-15T17:43:56.710Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#788)" [2021-04-15T17:43:57.108Z] [2021-04-15T17:43:57.108Z] GitHub has been notified of this commit’s build result [2021-04-15T17:43:57.108Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-15T17:43:58.246Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:43:58.661Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-15T17:43:59.002Z] + sudo+ service docker restart [2021-04-15T17:43:59.002Z] true [Pipeline] unstash [Pipeline] echo [2021-04-15T17:44:02.030Z] ========================================================= [2021-04-15T17:44:02.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-15T17:44:02.030Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:44:02.417Z] + 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-04-15T17:44:03.857Z] Sending build context to Docker daemon 19.46MB [2021-04-15T17:44:03.857Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-15T17:44:03.857Z] Step 2/8 : FROM ${BASE} [2021-04-15T17:44:03.857Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-15T17:44:03.857Z] 5f621e34cdf4: Pulling fs layer [2021-04-15T17:44:03.857Z] a4357932f1b6: Pulling fs layer [2021-04-15T17:44:03.857Z] 18c013af1878: Pulling fs layer [2021-04-15T17:44:03.857Z] 00ac8860ef70: Pulling fs layer [2021-04-15T17:44:03.857Z] 63d7cb157983: Pulling fs layer [2021-04-15T17:44:03.857Z] b116817d02f9: Pulling fs layer [2021-04-15T17:44:03.857Z] 745a02a5169b: Pulling fs layer [2021-04-15T17:44:03.857Z] 00ac8860ef70: Waiting [2021-04-15T17:44:03.857Z] 63d7cb157983: Waiting [2021-04-15T17:44:03.857Z] b116817d02f9: Waiting [2021-04-15T17:44:03.857Z] 745a02a5169b: Waiting [2021-04-15T17:44:04.130Z] 18c013af1878: Verifying Checksum [2021-04-15T17:44:04.130Z] 18c013af1878: Download complete [2021-04-15T17:44:04.131Z] a4357932f1b6: Download complete [2021-04-15T17:44:04.131Z] 63d7cb157983: Verifying Checksum [2021-04-15T17:44:04.131Z] 63d7cb157983: Download complete [2021-04-15T17:44:04.131Z] b116817d02f9: Verifying Checksum [2021-04-15T17:44:04.131Z] b116817d02f9: Download complete [2021-04-15T17:44:04.131Z] 5f621e34cdf4: Verifying Checksum [2021-04-15T17:44:04.727Z] 5f621e34cdf4: Pull complete [2021-04-15T17:44:05.336Z] a4357932f1b6: Pull complete [2021-04-15T17:44:05.934Z] 18c013af1878: Pull complete [2021-04-15T17:44:06.090Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T17:44:06.915Z] 745a02a5169b: Verifying Checksum [2021-04-15T17:44:06.915Z] 745a02a5169b: Download complete [2021-04-15T17:44:08.354Z] 00ac8860ef70: Download complete [2021-04-15T17:44:18.547Z] 00ac8860ef70: Pull complete [2021-04-15T17:44:18.821Z] 63d7cb157983: Pull complete [2021-04-15T17:44:19.098Z] b116817d02f9: Pull complete [2021-04-15T17:44:22.495Z] 745a02a5169b: Pull complete [2021-04-15T17:44:22.496Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-15T17:44:22.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-15T17:44:22.496Z] ---> b7e6874047d6 [2021-04-15T17:44:22.496Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-15T17:44:22.496Z] 20.10.0: Pulling from library/docker [2021-04-15T17:44:22.496Z] a3cc7d3b244e: Pulling fs layer [2021-04-15T17:44:22.496Z] 02a3295e0d61: Pulling fs layer [2021-04-15T17:44:22.496Z] 0f4f2e6d8100: Pulling fs layer [2021-04-15T17:44:22.496Z] 330b718f631f: Pulling fs layer [2021-04-15T17:44:22.496Z] a93816041522: Pulling fs layer [2021-04-15T17:44:22.496Z] bdb6da89ff94: Pulling fs layer [2021-04-15T17:44:22.496Z] 2a70c0c122f4: Pulling fs layer [2021-04-15T17:44:22.496Z] 330b718f631f: Waiting [2021-04-15T17:44:22.496Z] a93816041522: Waiting [2021-04-15T17:44:22.496Z] bdb6da89ff94: Waiting [2021-04-15T17:44:22.496Z] 2a70c0c122f4: Waiting [2021-04-15T17:44:22.496Z] 0f4f2e6d8100: Verifying Checksum [2021-04-15T17:44:22.496Z] 0f4f2e6d8100: Download complete [2021-04-15T17:44:22.775Z] a3cc7d3b244e: Verifying Checksum [2021-04-15T17:44:22.775Z] a3cc7d3b244e: Download complete [2021-04-15T17:44:22.775Z] 02a3295e0d61: Verifying Checksum [2021-04-15T17:44:22.775Z] 02a3295e0d61: Download complete [2021-04-15T17:44:22.775Z] a93816041522: Verifying Checksum [2021-04-15T17:44:22.775Z] a93816041522: Download complete [2021-04-15T17:44:22.775Z] bdb6da89ff94: Verifying Checksum [2021-04-15T17:44:22.775Z] bdb6da89ff94: Download complete [2021-04-15T17:44:22.775Z] 2a70c0c122f4: Verifying Checksum [2021-04-15T17:44:22.775Z] 2a70c0c122f4: Download complete [2021-04-15T17:44:23.376Z] a3cc7d3b244e: Pull complete [2021-04-15T17:44:24.363Z] 02a3295e0d61: Pull complete [2021-04-15T17:44:24.363Z] 330b718f631f: Verifying Checksum [2021-04-15T17:44:24.363Z] 330b718f631f: Download complete [2021-04-15T17:44:24.639Z] 0f4f2e6d8100: Pull complete [2021-04-15T17:44:28.044Z] 330b718f631f: Pull complete [2021-04-15T17:44:28.318Z] a93816041522: Pull complete [2021-04-15T17:44:28.593Z] bdb6da89ff94: Pull complete [2021-04-15T17:44:28.868Z] 2a70c0c122f4: Pull complete [2021-04-15T17:44:28.868Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-15T17:44:28.868Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-15T17:44:32.726Z] lf-activate-venv(): INFO: Adding /tmp/venv-6Rpg/bin to PATH [2021-04-15T17:44:32.726Z] INFO: No Stack... [2021-04-15T17:44:33.671Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T17:44:34.245Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T17:44:34.555Z] + cat /w/workspace/app-functions-sdk-go/213/archives/cost.csv [2021-04-15T17:44:34.555Z] + cut -d, -f6 [Pipeline] lock [2021-04-15T17:44:34.634Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] [2021-04-15T17:44:34.650Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] did not exist. Created. [2021-04-15T17:44:34.650Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T17:44:34.996Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-15T17:44:35.117Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T17:44:35.127Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-15T17:44:35.586Z] ---> e7186781601d [2021-04-15T17:44:35.586Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-15T17:44:35.586Z] ---> Running in cbd45c0b8a1c [2021-04-15T17:44:35.586Z] Removing intermediate container cbd45c0b8a1c [2021-04-15T17:44:35.586Z] ---> d3545f83f117 [2021-04-15T17:44:35.586Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-15T17:44:35.586Z] ---> Running in c0897acd8221 [2021-04-15T17:44:37.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-15T17:44:37.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-15T17:44:38.595Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-15T17:44:38.595Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-15T17:44:38.595Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-15T17:44:38.595Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-15T17:44:38.866Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-15T17:44:38.866Z] Executing busybox-1.31.1-r19.trigger [2021-04-15T17:44:38.866Z] OK: 144 MiB in 44 packages [2021-04-15T17:44:40.300Z] Removing intermediate container c0897acd8221 [2021-04-15T17:44:40.300Z] ---> dc229add3163 [2021-04-15T17:44:40.300Z] Step 6/8 : WORKDIR /build [2021-04-15T17:44:40.300Z] ---> Running in 0de4d65553ec [2021-04-15T17:44:40.899Z] Removing intermediate container 0de4d65553ec [2021-04-15T17:44:40.899Z] ---> 3ebaa4b48e45 [2021-04-15T17:44:40.899Z] Step 7/8 : COPY go.mod . [2021-04-15T17:44:41.500Z] ---> f7893ccc8a6b [2021-04-15T17:44:41.500Z] Step 8/8 : RUN go mod download [2021-04-15T17:44:41.776Z] ---> Running in 701d6b1a34c5 [2021-04-15T17:45:08.559Z] Removing intermediate container 701d6b1a34c5 [2021-04-15T17:45:08.559Z] ---> 3c8c4d5815fc [2021-04-15T17:45:08.559Z] Successfully built 3c8c4d5815fc [2021-04-15T17:45:08.559Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:45:08.906Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T17:45:08.906Z] . [Pipeline] withDockerContainer [2021-04-15T17:45:09.156Z] prd-ubuntu18.04-docker-arm64-4c-16g-314 does not seem to be running inside a container [2021-04-15T17:45:09.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/213 -v /w/workspace/app-functions-sdk-go/213:/w/workspace/app-functions-sdk-go/213:rw,z -v /w/workspace/app-functions-sdk-go/213@tmp:/w/workspace/app-functions-sdk-go/213@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-04-15T17:45:10.878Z] $ docker top 808c4e5178ad4bf77d118a04d93cff53d542845db369cd4e34286f8b2920a5a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:45:11.862Z] + go version [2021-04-15T17:45:11.862Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-15T17:45:11.890Z] $ docker stop --time=1 808c4e5178ad4bf77d118a04d93cff53d542845db369cd4e34286f8b2920a5a8 [2021-04-15T17:45:13.913Z] $ docker rm -f 808c4e5178ad4bf77d118a04d93cff53d542845db369cd4e34286f8b2920a5a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:45:14.608Z] + docker inspect -f . ci-base-image-arm64 [2021-04-15T17:45:14.608Z] . [Pipeline] withDockerContainer [2021-04-15T17:45:14.836Z] prd-ubuntu18.04-docker-arm64-4c-16g-314 does not seem to be running inside a container [2021-04-15T17:45:14.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/213 -v /w/workspace/app-functions-sdk-go/213:/w/workspace/app-functions-sdk-go/213:rw,z -v /w/workspace/app-functions-sdk-go/213@tmp:/w/workspace/app-functions-sdk-go/213@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-04-15T17:45:16.289Z] $ docker top 3abd37ac26932364a781b1c7cf36fd0978f463d51c28537155b2f21fba549db2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:45:17.217Z] + make test [2021-04-15T17:45:17.217Z] make -C ./app-service-template build [2021-04-15T17:45:17.217Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:45:17.217Z] 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-04-15T17:45:56.249Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:45:56.249Z] make -C ./app-service-template test [2021-04-15T17:45:56.249Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:45:56.249Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-15T17:46:18.461Z] ok new-app-service 0.038s coverage: 47.8% of statements [2021-04-15T17:46:18.461Z] ? new-app-service/config [no test files] [2021-04-15T17:46:19.053Z] ok new-app-service/functions 0.028s [2021-04-15T17:46:19.053Z] CGO_ENABLED=1 go vet ./... [2021-04-15T17:46:29.216Z] gofmt -l . [2021-04-15T17:46:29.216Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:46:29.216Z] ./bin/test-go-mod-tidy.sh [2021-04-15T17:46:29.815Z] ./bin/test-attribution-txt.sh [2021-04-15T17:46:31.250Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/213/app-service-template' [2021-04-15T17:46:31.250Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-15T17:46:32.233Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.067s coverage: 55.8% of statements [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.046s coverage: 92.5% of statements [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.058s coverage: 61.5% of statements [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.028s [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.101s coverage: 75.4% of statements [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.019s coverage: 97.0% of statements [2021-04-15T17:46:42.418Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-15T17:46:42.418Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.050s coverage: 10.5% of statements [2021-04-15T17:46:47.844Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.823s coverage: 78.4% of statements [2021-04-15T17:46:47.844Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-15T17:46:47.844Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.057s coverage: 18.4% of statements [2021-04-15T17:46:47.844Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements [2021-04-15T17:46:47.844Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-15T17:46:47.844Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-15T17:46:47.844Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.044s coverage: 71.7% of statements [2021-04-15T17:47:14.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.086s coverage: 81.9% of statements [2021-04-15T17:47:14.634Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.026s coverage: 94.4% of statements [2021-04-15T17:47:14.634Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-15T17:47:18.038Z] gofmt -l . [2021-04-15T17:47:18.038Z] [ "`gofmt -l .`" = "" ] [2021-04-15T17:47:18.315Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-15T17:47:18.975Z] $ docker stop --time=1 3abd37ac26932364a781b1c7cf36fd0978f463d51c28537155b2f21fba549db2 [2021-04-15T17:47:20.999Z] $ docker rm -f 3abd37ac26932364a781b1c7cf36fd0978f463d51c28537155b2f21fba549db2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-15T17:47:21.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-15T17:47:21.938Z] Warning: overwriting stash ‘coverage-report’ [2021-04-15T17:47:23.090Z] 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-04-15T17:47:23.692Z] ---> job-cost.sh [2021-04-15T17:47:23.692Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WGQ2 [2021-04-15T17:48:10.720Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-15T17:49:47.484Z] lf-activate-venv(): INFO: Adding /tmp/venv-WGQ2/bin to PATH [2021-04-15T17:49:47.484Z] INFO: No Stack... [2021-04-15T17:49:47.484Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-15T17:49:47.484Z] INFO: Archiving Costs [Pipeline] sh [2021-04-15T17:49:47.822Z] + cat /w/workspace/app-functions-sdk-go/213/archives/cost.csv [2021-04-15T17:49:47.822Z] + cut -d, -f6 [Pipeline] lock [2021-04-15T17:49:47.935Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] [2021-04-15T17:49:47.944Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] did not exist. Created. [2021-04-15T17:49:47.944Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-213-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-15T17:49:48.309Z] /w/workspace/app-functions-sdk-go/213@tmp/durable-92137f7b/script.sh: 1: /w/workspace/app-functions-sdk-go/213@tmp/durable-92137f7b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-15T17:49:48.648Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-15T17:49:48.679Z] Warning: overwriting stash ‘stack-cost’ [2021-04-15T17:49:48.839Z] Stashed 1 file(s) [Pipeline] } [2021-04-15T17:49:48.850Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-213-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-04-15T17:49:49.372Z] provisioning config files... [2021-04-15T17:49:49.387Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3848406082384117593tmp [Pipeline] { [Pipeline] sh [2021-04-15T17:49:49.716Z] + set +x [2021-04-15T17:49:49.716Z] + curl -s https://codecov.io/bash [2021-04-15T17:49:49.716Z] + bash -s -- [2021-04-15T17:49:49.981Z] [2021-04-15T17:49:49.981Z] _____ _ [2021-04-15T17:49:49.981Z] / ____| | | [2021-04-15T17:49:49.981Z] | | ___ __| | ___ ___ _____ __ [2021-04-15T17:49:49.981Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-15T17:49:49.981Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-15T17:49:49.981Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-15T17:49:49.981Z] Bash-1.0.1 [2021-04-15T17:49:49.981Z] [2021-04-15T17:49:49.981Z] [2021-04-15T17:49:49.981Z] ==> git version 2.24.3 found [2021-04-15T17:49:49.981Z] ==> 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-04-15T17:49:49.981Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-15T17:49:49.981Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-15T17:49:49.981Z] ==> Jenkins CI detected. [2021-04-15T17:49:49.981Z] project root: . [2021-04-15T17:49:49.981Z] --> token set from env [2021-04-15T17:49:49.981Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-15T17:49:49.981Z] ==> Running gcov in . (disable via -X gcov) [2021-04-15T17:49:49.981Z] ==> Python coveragepy not found [2021-04-15T17:49:49.981Z] ==> Searching for coverage reports in: [2021-04-15T17:49:49.981Z] + . [2021-04-15T17:49:49.981Z] -> Found 2 reports [2021-04-15T17:49:49.981Z] ==> Detecting git/mercurial file structure [2021-04-15T17:49:49.981Z] ==> Reading reports [2021-04-15T17:49:49.981Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-15T17:49:49.981Z] + ./coverage.out bytes=86827 [2021-04-15T17:49:49.981Z] ==> Appending adjustments [2021-04-15T17:49:49.981Z] https://docs.codecov.io/docs/fixing-reports [2021-04-15T17:49:50.556Z] + Found adjustments [2021-04-15T17:49:50.556Z] ==> Gzipping contents [2021-04-15T17:49:50.556Z] 16K /tmp/codecov.4rK3V7.gz [2021-04-15T17:49:50.556Z] ==> Uploading reports [2021-04-15T17:49:50.556Z] url: https://codecov.io [2021-04-15T17:49:50.556Z] query: branch=master&commit=22e95e5b1dde9b714d2d9d1350500a85f05cc6d2&build=213&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F213%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-15T17:49:50.556Z] -> Pinging Codecov [2021-04-15T17:49:50.556Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=master&commit=22e95e5b1dde9b714d2d9d1350500a85f05cc6d2&build=213&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F213%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-15T17:49:51.130Z] -> Uploading to [2021-04-15T17:49:51.130Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-15/3D8B5DFFC46A037C893635FACE044666/22e95e5b1dde9b714d2d9d1350500a85f05cc6d2/cc551c98-4404-4b14-b9ae-b9c5a706f136.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210415T174950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=783ab02ebb42349a9e4643f26bb385cadd90204d4fd4eb5ccc636b99ed70a0f6 [2021-04-15T17:49:51.130Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-15T17:49:51.130Z] Dload Upload Total Spent Left Speed [2021-04-15T17:49:51.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15292 0 0 100 15292 0 37253 --:--:-- --:--:-- --:--:-- 37297 [2021-04-15T17:49:51.392Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 [Pipeline] } [2021-04-15T17:49:51.402Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-15T17:49:52.061Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-15T17:49:52.083Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:49:52.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-15T17:49:52.393Z] [2021-04-15T17:49:52.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:49:52.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-15T17:49:52.728Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-15T17:49:52.728Z] 188c0c94c7c5: Pulling fs layer [2021-04-15T17:49:52.728Z] 0ef7d3d256c8: Pulling fs layer [2021-04-15T17:49:52.728Z] de9db76c5a1d: Pulling fs layer [2021-04-15T17:49:52.728Z] 0eba1c9be4d2: Pulling fs layer [2021-04-15T17:49:52.728Z] 0d57e429df01: Pulling fs layer [2021-04-15T17:49:52.728Z] 4e4be7b47b0d: Pulling fs layer [2021-04-15T17:49:52.728Z] e1f770b5df2f: Pulling fs layer [2021-04-15T17:49:52.728Z] 85a0685a4137: Pulling fs layer [2021-04-15T17:49:52.728Z] 0eba1c9be4d2: Waiting [2021-04-15T17:49:52.728Z] 4e4be7b47b0d: Waiting [2021-04-15T17:49:52.728Z] 0d57e429df01: Waiting [2021-04-15T17:49:52.728Z] 85a0685a4137: Waiting [2021-04-15T17:49:52.728Z] e1f770b5df2f: Waiting [2021-04-15T17:49:52.728Z] de9db76c5a1d: Verifying Checksum [2021-04-15T17:49:52.728Z] de9db76c5a1d: Download complete [2021-04-15T17:49:52.728Z] 0ef7d3d256c8: Download complete [2021-04-15T17:49:52.728Z] 0d57e429df01: Verifying Checksum [2021-04-15T17:49:52.728Z] 0d57e429df01: Download complete [2021-04-15T17:49:52.728Z] 4e4be7b47b0d: Verifying Checksum [2021-04-15T17:49:52.728Z] 4e4be7b47b0d: Download complete [2021-04-15T17:49:52.728Z] 188c0c94c7c5: Verifying Checksum [2021-04-15T17:49:52.728Z] 188c0c94c7c5: Download complete [2021-04-15T17:49:53.309Z] 188c0c94c7c5: Pull complete [2021-04-15T17:49:53.572Z] 0ef7d3d256c8: Pull complete [2021-04-15T17:49:53.834Z] de9db76c5a1d: Pull complete [2021-04-15T17:49:54.097Z] e1f770b5df2f: Verifying Checksum [2021-04-15T17:49:54.097Z] e1f770b5df2f: Download complete [2021-04-15T17:49:56.156Z] 0eba1c9be4d2: Verifying Checksum [2021-04-15T17:49:56.156Z] 0eba1c9be4d2: Download complete [2021-04-15T17:49:56.735Z] 85a0685a4137: Verifying Checksum [2021-04-15T17:49:56.735Z] 85a0685a4137: Download complete [2021-04-15T17:50:02.073Z] 0eba1c9be4d2: Pull complete [2021-04-15T17:50:02.073Z] 0d57e429df01: Pull complete [2021-04-15T17:50:02.073Z] 4e4be7b47b0d: Pull complete [2021-04-15T17:50:04.002Z] e1f770b5df2f: Pull complete [2021-04-15T17:50:12.191Z] 85a0685a4137: Pull complete [2021-04-15T17:50:12.191Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-15T17:50:12.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-15T17:50:12.191Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-15T17:50:12.351Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:50:12.394Z] $ 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-04-15T17:50:13.359Z] $ docker top 4a3473db3cfbec5195a33cb8715a3aab445ff606513e200fab297b56ce31a506 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-15T17:50:13.504Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-15T17:50:13.794Z] + set -o pipefail [2021-04-15T17:50:13.794Z] + snyk monitor '--org=edgex-jenkins' [2021-04-15T17:50:23.823Z] [2021-04-15T17:50:23.823Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-15T17:50:23.823Z] [2021-04-15T17:50:23.823Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/e6566578-5f25-4542-a278-2aa6abe7e8c7 [2021-04-15T17:50:23.823Z] [2021-04-15T17:50:23.823Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-15T17:50:23.823Z] [2021-04-15T17:50:23.823Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-15T17:50:23.823Z] [2021-04-15T17:50:24.085Z] [2021-04-15T17:50:24.085Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-04-15T17:50:24.085Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-04-15T17:50:24.100Z] $ docker stop --time=1 4a3473db3cfbec5195a33cb8715a3aab445ff606513e200fab297b56ce31a506 [2021-04-15T17:50:26.838Z] $ docker rm -f 4a3473db3cfbec5195a33cb8715a3aab445ff606513e200fab297b56ce31a506 [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-04-15T17:50:27.793Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T17:50:27.813Z] provisioning config files... [2021-04-15T17:50:27.825Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4600544087229463461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:50:28.144Z] --> edgex-publish-swagger.sh [2021-04-15T17:50:28.144Z] === Publish openapi/v2 API === [2021-04-15T17:50:28.144Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-15T17:50:28.144Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-15T17:50:28.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-15T17:50:28.144Z] Dload Upload Total Spent Left Speed [2021-04-15T17:50:29.094Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 13251 --:--:-- --:--:-- --:--:-- 13250 100 13052 0 0 100 13052 0 13249 --:--:-- --:--:-- --:--:-- 13250 [2021-04-15T17:50:29.094Z] [2021-04-15T17:50:29.094Z] [Pipeline] } [2021-04-15T17:50:29.106Z] 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-04-15T17:50:29.568Z] + git log --format=format:%s -1 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:50:29.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:50:29.881Z] . [Pipeline] withDockerContainer [2021-04-15T17:50:29.980Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:50:30.025Z] $ 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-04-15T17:50:30.751Z] $ docker top c56235106b8a56fd7eef3f9fe2d9fd01bb2df1637273ea242854da697830f4f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T17:50:30.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:50:30.916Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:50:31.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:50:31.130Z] $ docker exec c56235106b8a56fd7eef3f9fe2d9fd01bb2df1637273ea242854da697830f4f4 ssh-agent [2021-04-15T17:50:31.306Z] SSH_AUTH_SOCK=/tmp/ssh-Qt7MPiVsib3u/agent.13 [2021-04-15T17:50:31.306Z] SSH_AGENT_PID=19 [2021-04-15T17:50:31.313Z] Running ssh-add (command line suppressed) [2021-04-15T17:50:31.440Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8410762332480839845.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8410762332480839845.key) [2021-04-15T17:50:31.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:50:31.798Z] + git semver tag [2021-04-15T17:50:31.799Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T17:50:31.799Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T17:50:31.799Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T17:50:31.799Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T17:50:31.799Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T17:50:31.799Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T17:50:31.799Z] # $SEMVER_BRANCH = master [2021-04-15T17:50:31.799Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-15T17:50:31.799Z] # 22e95e5b1dde9b714d2d9d1350500a85f05cc6d2 HEAD [2021-04-15T17:50:31.799Z] # -> Force: false [2021-04-15T17:50:31.799Z] # 08454ad8e584111866636510b193950be6dac8d9 refs/tags/v2.0.0-dev.44 [Pipeline] } [2021-04-15T17:50:31.810Z] $ docker exec --env ******** --env ******** c56235106b8a56fd7eef3f9fe2d9fd01bb2df1637273ea242854da697830f4f4 ssh-agent -k [2021-04-15T17:50:31.950Z] unset SSH_AUTH_SOCK; [2021-04-15T17:50:31.950Z] unset SSH_AGENT_PID; [2021-04-15T17:50:31.950Z] echo Agent pid 19 killed; [2021-04-15T17:50:32.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T17:50:32.328Z] + git semver [Pipeline] } [2021-04-15T17:50:32.345Z] $ docker stop --time=1 c56235106b8a56fd7eef3f9fe2d9fd01bb2df1637273ea242854da697830f4f4 [2021-04-15T17:50:33.692Z] $ docker rm -f c56235106b8a56fd7eef3f9fe2d9fd01bb2df1637273ea242854da697830f4f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:50:34.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-15T17:50:34.173Z] [2021-04-15T17:50:34.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:50:34.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-15T17:50:34.484Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-15T17:50:34.484Z] ab5ef0e58194: Pulling fs layer [2021-04-15T17:50:34.484Z] 9712f1f96733: Pulling fs layer [2021-04-15T17:50:34.484Z] 63f879dbbcfc: Pulling fs layer [2021-04-15T17:50:34.484Z] 0d9ebad4ef96: Pulling fs layer [2021-04-15T17:50:34.484Z] e9a5061849ea: Pulling fs layer [2021-04-15T17:50:34.484Z] d747dcd14b5f: Pulling fs layer [2021-04-15T17:50:34.484Z] 2de7ff778b66: Pulling fs layer [2021-04-15T17:50:34.484Z] 0d9ebad4ef96: Waiting [2021-04-15T17:50:34.484Z] e9a5061849ea: Waiting [2021-04-15T17:50:34.484Z] d747dcd14b5f: Waiting [2021-04-15T17:50:34.484Z] 2de7ff778b66: Waiting [2021-04-15T17:50:36.423Z] 63f879dbbcfc: Verifying Checksum [2021-04-15T17:50:36.423Z] 63f879dbbcfc: Download complete [2021-04-15T17:50:36.423Z] e9a5061849ea: Verifying Checksum [2021-04-15T17:50:36.423Z] e9a5061849ea: Download complete [2021-04-15T17:50:36.423Z] d747dcd14b5f: Verifying Checksum [2021-04-15T17:50:36.423Z] d747dcd14b5f: Download complete [2021-04-15T17:50:36.686Z] 2de7ff778b66: Verifying Checksum [2021-04-15T17:50:36.686Z] 2de7ff778b66: Download complete [2021-04-15T17:50:36.686Z] 0d9ebad4ef96: Verifying Checksum [2021-04-15T17:50:36.686Z] 0d9ebad4ef96: Download complete [2021-04-15T17:50:37.263Z] ab5ef0e58194: Verifying Checksum [2021-04-15T17:50:37.263Z] ab5ef0e58194: Download complete [2021-04-15T17:50:42.579Z] ab5ef0e58194: Pull complete [2021-04-15T17:50:42.579Z] 9712f1f96733: Pull complete [2021-04-15T17:50:45.890Z] 63f879dbbcfc: Pull complete [2021-04-15T17:50:52.524Z] 0d9ebad4ef96: Pull complete [2021-04-15T17:50:55.844Z] e9a5061849ea: Pull complete [2021-04-15T17:50:55.844Z] d747dcd14b5f: Pull complete [2021-04-15T17:50:57.241Z] 2de7ff778b66: Pull complete [2021-04-15T17:50:57.241Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-15T17:50:57.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-15T17:50:57.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-15T17:50:57.421Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:50:57.466Z] $ 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-04-15T17:51:00.809Z] $ docker top a3ec93ce74dff7a5725da4ab70fce2bd615c2d9be19d94bd4c9a51eab48d3999 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-15T17:51:00.941Z] provisioning config files... [2021-04-15T17:51:00.953Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8502809430226789359tmp [2021-04-15T17:51:00.967Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2625351852547081880tmp [2021-04-15T17:51:00.980Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1276931532044517570tmp [Pipeline] { [Pipeline] echo [2021-04-15T17:51:01.001Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:01.300Z] ---> sigul-configuration.sh [2021-04-15T17:51:01.300Z] gpg: directory `/root/.gnupg' created [2021-04-15T17:51:01.300Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-15T17:51:01.300Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-15T17:51:01.300Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-15T17:51:01.300Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-15T17:51:01.300Z] gpg: CAST5 encrypted data [2021-04-15T17:51:01.562Z] gpg: encrypted with 1 passphrase [2021-04-15T17:51:01.562Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-15T17:51:01.863Z] + mkdir /home/jenkins [2021-04-15T17:51:01.863Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-15T17:51:02.158Z] + 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-04-15T17:51:02.172Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:02.470Z] ---> sigul-install.sh [2021-04-15T17:51:09.063Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-15T17:51:09.359Z] + git tag --list [2021-04-15T17:51:09.360Z] v0.1.0 [2021-04-15T17:51:09.360Z] v0.1.1 [2021-04-15T17:51:09.360Z] v1.0.0 [2021-04-15T17:51:09.360Z] v1.1.0 [2021-04-15T17:51:09.360Z] v1.2.0 [2021-04-15T17:51:09.360Z] v1.3.0 [2021-04-15T17:51:09.360Z] v1.3.1 [2021-04-15T17:51:09.360Z] v1.3.1-dev.1 [2021-04-15T17:51:09.360Z] v1.3.2-dev.1 [2021-04-15T17:51:09.360Z] v2.0.0-dev.1 [2021-04-15T17:51:09.360Z] v2.0.0-dev.10 [2021-04-15T17:51:09.360Z] v2.0.0-dev.11 [2021-04-15T17:51:09.360Z] v2.0.0-dev.12 [2021-04-15T17:51:09.360Z] v2.0.0-dev.13 [2021-04-15T17:51:09.360Z] v2.0.0-dev.14 [2021-04-15T17:51:09.360Z] v2.0.0-dev.15 [2021-04-15T17:51:09.360Z] v2.0.0-dev.16 [2021-04-15T17:51:09.360Z] v2.0.0-dev.17 [2021-04-15T17:51:09.360Z] v2.0.0-dev.18 [2021-04-15T17:51:09.360Z] v2.0.0-dev.19 [2021-04-15T17:51:09.360Z] v2.0.0-dev.2 [2021-04-15T17:51:09.360Z] v2.0.0-dev.20 [2021-04-15T17:51:09.360Z] v2.0.0-dev.21 [2021-04-15T17:51:09.360Z] v2.0.0-dev.22 [2021-04-15T17:51:09.360Z] v2.0.0-dev.23 [2021-04-15T17:51:09.360Z] v2.0.0-dev.24 [2021-04-15T17:51:09.360Z] v2.0.0-dev.25 [2021-04-15T17:51:09.360Z] v2.0.0-dev.26 [2021-04-15T17:51:09.360Z] v2.0.0-dev.27 [2021-04-15T17:51:09.360Z] v2.0.0-dev.28 [2021-04-15T17:51:09.360Z] v2.0.0-dev.29 [2021-04-15T17:51:09.360Z] v2.0.0-dev.3 [2021-04-15T17:51:09.360Z] v2.0.0-dev.30 [2021-04-15T17:51:09.360Z] v2.0.0-dev.31 [2021-04-15T17:51:09.360Z] v2.0.0-dev.32 [2021-04-15T17:51:09.360Z] v2.0.0-dev.33 [2021-04-15T17:51:09.360Z] v2.0.0-dev.34 [2021-04-15T17:51:09.360Z] v2.0.0-dev.35 [2021-04-15T17:51:09.360Z] v2.0.0-dev.36 [2021-04-15T17:51:09.360Z] v2.0.0-dev.37 [2021-04-15T17:51:09.360Z] v2.0.0-dev.38 [2021-04-15T17:51:09.360Z] v2.0.0-dev.39 [2021-04-15T17:51:09.360Z] v2.0.0-dev.4 [2021-04-15T17:51:09.360Z] v2.0.0-dev.40 [2021-04-15T17:51:09.360Z] v2.0.0-dev.41 [2021-04-15T17:51:09.360Z] v2.0.0-dev.42 [2021-04-15T17:51:09.360Z] v2.0.0-dev.43 [2021-04-15T17:51:09.360Z] v2.0.0-dev.44 [2021-04-15T17:51:09.360Z] v2.0.0-dev.5 [2021-04-15T17:51:09.360Z] v2.0.0-dev.6 [2021-04-15T17:51:09.360Z] v2.0.0-dev.7 [2021-04-15T17:51:09.360Z] v2.0.0-dev.8 [2021-04-15T17:51:09.360Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-15T17:51:09.659Z] + lftools sign git-tag v2.0.0-dev.44 [2021-04-15T17:51:11.055Z] Signing Git tag with Sigul... [2021-04-15T17:51:11.055Z] Signing v2.0.0-dev.44 [Pipeline] echo [2021-04-15T17:51:12.022Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:12.321Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-15T17:51:12.338Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-15T17:51:12.412Z] $ docker stop --time=1 a3ec93ce74dff7a5725da4ab70fce2bd615c2d9be19d94bd4c9a51eab48d3999 [2021-04-15T17:51:14.585Z] $ docker rm -f a3ec93ce74dff7a5725da4ab70fce2bd615c2d9be19d94bd4c9a51eab48d3999 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:51:15.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:51:15.218Z] . [Pipeline] withDockerContainer [2021-04-15T17:51:15.318Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:51:15.364Z] $ 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-04-15T17:51:16.046Z] $ docker top 735564e3960755baea186463f7c336e7b0d0e6fde546b1a411bf91fe790585c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T17:51:16.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:51:16.208Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:51:16.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:51:16.457Z] $ docker exec 735564e3960755baea186463f7c336e7b0d0e6fde546b1a411bf91fe790585c5 ssh-agent [2021-04-15T17:51:16.638Z] SSH_AUTH_SOCK=/tmp/ssh-WthvQjhKCOMq/agent.12 [2021-04-15T17:51:16.638Z] SSH_AGENT_PID=17 [2021-04-15T17:51:16.646Z] Running ssh-add (command line suppressed) [2021-04-15T17:51:16.779Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7405324761175905579.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7405324761175905579.key) [2021-04-15T17:51:16.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:51:17.172Z] + git semver bump pre [2021-04-15T17:51:17.172Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T17:51:17.172Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T17:51:17.172Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T17:51:17.172Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T17:51:17.172Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T17:51:17.172Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T17:51:17.172Z] # $SEMVER_BRANCH = master [2021-04-15T17:51:17.172Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-15T17:51:17.172Z] 2.0.0-dev.45 [Pipeline] } [2021-04-15T17:51:17.185Z] $ docker exec --env ******** --env ******** 735564e3960755baea186463f7c336e7b0d0e6fde546b1a411bf91fe790585c5 ssh-agent -k [2021-04-15T17:51:17.308Z] unset SSH_AUTH_SOCK; [2021-04-15T17:51:17.308Z] unset SSH_AGENT_PID; [2021-04-15T17:51:17.308Z] echo Agent pid 17 killed; [2021-04-15T17:51:17.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T17:51:17.701Z] + git semver [Pipeline] } [2021-04-15T17:51:17.717Z] $ docker stop --time=1 735564e3960755baea186463f7c336e7b0d0e6fde546b1a411bf91fe790585c5 [2021-04-15T17:51:19.080Z] $ docker rm -f 735564e3960755baea186463f7c336e7b0d0e6fde546b1a411bf91fe790585c5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:51:19.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-15T17:51:19.510Z] . [Pipeline] withDockerContainer [2021-04-15T17:51:19.612Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:51:19.657Z] $ 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-04-15T17:51:20.268Z] $ docker top 2dcb2f7cba9d6352de3c9fd93638fe98371e4a06dc7cbd737ba99eff37260aa3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-15T17:51:20.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-15T17:51:20.441Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-15T17:51:20.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-15T17:51:20.636Z] $ docker exec 2dcb2f7cba9d6352de3c9fd93638fe98371e4a06dc7cbd737ba99eff37260aa3 ssh-agent [2021-04-15T17:51:20.839Z] SSH_AUTH_SOCK=/tmp/ssh-Lmzma6wcqdYz/agent.12 [2021-04-15T17:51:20.839Z] SSH_AGENT_PID=17 [2021-04-15T17:51:20.846Z] Running ssh-add (command line suppressed) [2021-04-15T17:51:20.978Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3897609992529430293.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3897609992529430293.key) [2021-04-15T17:51:21.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-15T17:51:21.355Z] + git semver push [2021-04-15T17:51:21.355Z] # -> Open(): unable to determine branch for HEAD [2021-04-15T17:51:21.355Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-15T17:51:21.355Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T17:51:21.355Z] # $SEMVER_REMOTE_NAME = origin [2021-04-15T17:51:21.355Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-15T17:51:21.355Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-15T17:51:21.355Z] # $SEMVER_BRANCH = master [2021-04-15T17:51:21.355Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-15T17:51:25.588Z] $ docker exec --env ******** --env ******** 2dcb2f7cba9d6352de3c9fd93638fe98371e4a06dc7cbd737ba99eff37260aa3 ssh-agent -k [2021-04-15T17:51:25.746Z] unset SSH_AUTH_SOCK; [2021-04-15T17:51:25.749Z] unset SSH_AGENT_PID; [2021-04-15T17:51:25.749Z] echo Agent pid 17 killed; [2021-04-15T17:51:25.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-15T17:51:26.127Z] + git semver [Pipeline] } [2021-04-15T17:51:26.143Z] $ docker stop --time=1 2dcb2f7cba9d6352de3c9fd93638fe98371e4a06dc7cbd737ba99eff37260aa3 [2021-04-15T17:51:27.610Z] $ docker rm -f 2dcb2f7cba9d6352de3c9fd93638fe98371e4a06dc7cbd737ba99eff37260aa3 [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-04-15T17:51:28.338Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:28.911Z] ---> package-listing.sh [2021-04-15T17:51:28.911Z] ++ facter osfamily [2021-04-15T17:51:28.911Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-15T17:51:28.911Z] + OS_FAMILY=redhat [2021-04-15T17:51:28.911Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-15T17:51:28.911Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-15T17:51:28.911Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-15T17:51:28.911Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-15T17:51:28.911Z] + PACKAGES=/tmp/packages_start.txt [2021-04-15T17:51:28.911Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-15T17:51:28.911Z] + PACKAGES=/tmp/packages_end.txt [2021-04-15T17:51:28.911Z] + case "${OS_FAMILY}" in [2021-04-15T17:51:28.911Z] + rpm -qa [2021-04-15T17:51:28.911Z] + sort [2021-04-15T17:51:34.207Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-15T17:51:34.207Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-15T17:51:34.207Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-15T17:51:34.207Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-15T17:51:34.207Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-15T17:51:34.207Z] + 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-04-15T17:51:34.220Z] 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-04-15T17:51:34.519Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:51:34.823Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T17:51:34.823Z] [2021-04-15T17:51:34.823Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-15T17:51:35.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T17:51:35.143Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-15T17:51:35.143Z] df20fa9351a1: Pulling fs layer [2021-04-15T17:51:35.143Z] 36b3adc4ff6f: Pulling fs layer [2021-04-15T17:51:35.143Z] 8ad3a11d3b57: Pulling fs layer [2021-04-15T17:51:35.143Z] 46f8f816bc3b: Pulling fs layer [2021-04-15T17:51:35.143Z] 93b61091891f: Pulling fs layer [2021-04-15T17:51:35.143Z] 93b9cdb0e59b: Pulling fs layer [2021-04-15T17:51:35.143Z] 5e14af77c1be: Pulling fs layer [2021-04-15T17:51:35.143Z] 01666e4c0597: Pulling fs layer [2021-04-15T17:51:35.143Z] aa168da1d23b: Pulling fs layer [2021-04-15T17:51:35.143Z] 46f8f816bc3b: Waiting [2021-04-15T17:51:35.143Z] 93b61091891f: Waiting [2021-04-15T17:51:35.143Z] 93b9cdb0e59b: Waiting [2021-04-15T17:51:35.143Z] 5e14af77c1be: Waiting [2021-04-15T17:51:35.143Z] 01666e4c0597: Waiting [2021-04-15T17:51:35.143Z] aa168da1d23b: Waiting [2021-04-15T17:51:35.143Z] 36b3adc4ff6f: Verifying Checksum [2021-04-15T17:51:35.143Z] 36b3adc4ff6f: Download complete [2021-04-15T17:51:35.143Z] 46f8f816bc3b: Verifying Checksum [2021-04-15T17:51:35.143Z] 46f8f816bc3b: Download complete [2021-04-15T17:51:35.143Z] df20fa9351a1: Verifying Checksum [2021-04-15T17:51:35.143Z] df20fa9351a1: Download complete [2021-04-15T17:51:35.143Z] 93b9cdb0e59b: Verifying Checksum [2021-04-15T17:51:35.143Z] 93b9cdb0e59b: Download complete [2021-04-15T17:51:35.413Z] 5e14af77c1be: Verifying Checksum [2021-04-15T17:51:35.413Z] 5e14af77c1be: Download complete [2021-04-15T17:51:35.413Z] 93b61091891f: Verifying Checksum [2021-04-15T17:51:35.413Z] 93b61091891f: Download complete [2021-04-15T17:51:35.413Z] 01666e4c0597: Verifying Checksum [2021-04-15T17:51:35.413Z] 01666e4c0597: Download complete [2021-04-15T17:51:35.413Z] 8ad3a11d3b57: Verifying Checksum [2021-04-15T17:51:35.413Z] 8ad3a11d3b57: Download complete [2021-04-15T17:51:35.678Z] df20fa9351a1: Pull complete [2021-04-15T17:51:35.941Z] 36b3adc4ff6f: Pull complete [2021-04-15T17:51:37.349Z] 8ad3a11d3b57: Pull complete [2021-04-15T17:51:37.349Z] aa168da1d23b: Verifying Checksum [2021-04-15T17:51:37.349Z] aa168da1d23b: Download complete [2021-04-15T17:51:37.924Z] 46f8f816bc3b: Pull complete [2021-04-15T17:51:38.186Z] 93b61091891f: Pull complete [2021-04-15T17:51:38.449Z] 93b9cdb0e59b: Pull complete [2021-04-15T17:51:38.449Z] 5e14af77c1be: Pull complete [2021-04-15T17:51:38.449Z] 01666e4c0597: Pull complete [2021-04-15T17:51:46.624Z] aa168da1d23b: Pull complete [2021-04-15T17:51:46.624Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-15T17:51:46.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-15T17:51:46.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-15T17:51:47.026Z] prd-centos7-docker-4c-2g-309 does not seem to be running inside a container [2021-04-15T17:51:47.069Z] $ 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-04-15T17:51:49.779Z] $ docker top d880daebbecadf291e7290b8c04bafec3f35eeaf67845dde5e07f3ba6f3aca39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-15T17:51:50.196Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-15T17:51:50.491Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-15T17:51:50.791Z] + ls /var/log/sa-host [2021-04-15T17:51:50.791Z] + sadf -c /var/log/sa-host/sa15 [2021-04-15T17:51:50.791Z] file_magic: OK [2021-04-15T17:51:50.791Z] HZ: Using current value: 100 [2021-04-15T17:51:50.791Z] file_header: OK [2021-04-15T17:51:50.791Z] 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-04-15T17:51:50.791Z] Statistics: [2021-04-15T17:51:50.791Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-15T17:51:50.791Z] File successfully converted to sysstat format version 12.2.1 [2021-04-15T17:51:50.791Z] + sadf -c /var/log/sa-host/sa23 [2021-04-15T17:51:50.791Z] file_magic: OK [2021-04-15T17:51:50.791Z] HZ: Using current value: 100 [2021-04-15T17:51:50.791Z] file_header: OK [2021-04-15T17:51:50.791Z] 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-04-15T17:51:50.791Z] Statistics: [2021-04-15T17:51:50.791Z] Hnuu...uuuununununu... [2021-04-15T17:51:50.791Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-15T17:51:50.962Z] provisioning config files... [2021-04-15T17:51:50.978Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4454325993101552238tmp [Pipeline] { [Pipeline] echo [2021-04-15T17:51:50.998Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:51.293Z] ---> create-netrc.sh [Pipeline] } [2021-04-15T17:51:51.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-15T17:51:51.328Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:51.622Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-15T17:51:51.633Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:51.931Z] ---> sudo-logs.sh [2021-04-15T17:51:51.932Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-15T17:51:51.964Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:52.324Z] ---> job-cost.sh [2021-04-15T17:51:52.324Z] lf-activate-venv: SKIPPING [2021-04-15T17:51:52.324Z] DEBUG: total: 0.20999999344348907 [2021-04-15T17:51:52.324Z] INFO: Retrieving Stack Cost... [2021-04-15T17:51:53.345Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-15T17:51:53.607Z] INFO: Archiving Costs [Pipeline] echo [2021-04-15T17:51:53.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-15T17:51:53.916Z] ---> logs-deploy.sh [2021-04-15T17:51:53.916Z] lf-activate-venv: SKIPPING [2021-04-15T17:51:53.916Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/213 [2021-04-15T17:51:53.916Z] INFO: archiving workspace using pattern(s): [2021-04-15T17:51:55.836Z] Archives upload complete. [2021-04-15T17:51:55.836Z] INFO: archiving logs to Nexus