Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 366815e075ca920fdef8b28e3aace48c97a68e84 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f 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 cf598ef4eee878cf4fd68936879ff849bf9f782f (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cf598ef4eee878cf4fd68936879ff849bf9f782f # timeout=10 Commit message: "Merge pull request #334 from ernestojeda/archives-permissions" > 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 ‘prd-centos7-docker-4c-2g-2235’ Running on prd-centos7-docker-4c-2g-2237 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 366815e075ca920fdef8b28e3aace48c97a68e84 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809)" > git rev-list --no-walk a648416e6d3f6707ffc9863655059a2112f0c16b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-28T20:14:54.401Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-28T20:14:54.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-28T20:14:54.546Z] ========================================================= [2021-04-28T20:14:54.546Z] EdgeX Global Pipelines Version Info [2021-04-28T20:14:54.546Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:14:56.668Z] ------------------- [2021-04-28T20:14:56.668Z] stable info: [2021-04-28T20:14:56.668Z] ------------------- [2021-04-28T20:14:56.668Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-28T20:14:56.668Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T20:14:56.668Z] Message: update stable to v1.0.190 [2021-04-28T20:14:57.658Z] ------------------- [2021-04-28T20:14:57.658Z] experimental info: [2021-04-28T20:14:57.658Z] ------------------- [2021-04-28T20:14:57.658Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-28T20:14:57.658Z] Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f [2021-04-28T20:14:57.658Z] Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-28T20:14:57.842Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-28T20:14:57.866Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-28T20:14:57.889Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-28T20:14:57.912Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-28T20:14:57.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-28T20:14:57.974Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-28T20:14:57.999Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-28T20:14:58.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-28T20:14:58.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-28T20:14:58.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-28T20:14:58.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-28T20:14:58.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-28T20:14:58.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-28T20:14:58.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-28T20:14:58.212Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T20:14:58.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T20:14:58.263Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T20:14:58.292Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-28T20:14:58.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-28T20:14:58.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-28T20:14:58.385Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-28T20:14:58.412Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-28T20:14:58.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-28T20:14:58.479Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-28T20:14:58.503Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-28T20:14:58.527Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-28T20:14:58.551Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-28T20:14:58.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-28T20:14:58.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-28T20:14:58.630Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] echo [2021-04-28T20:14:58.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 366815e [Pipeline] echo [2021-04-28T20:14:58.694Z] [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-28T20:14:59.228Z] + git log --format=format:%s -1 366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] echo [2021-04-28T20:14:59.500Z] GIT_COMMIT: 366815e075ca920fdef8b28e3aace48c97a68e84, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809) [Pipeline] echo [2021-04-28T20:14:59.514Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:15:00.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T20:15:01.211Z] [2021-04-28T20:15:01.211Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:15:01.773Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T20:15:02.297Z] latest: Pulling from edgex-devops/git-semver [2021-04-28T20:15:02.297Z] 31603596830f: Pulling fs layer [2021-04-28T20:15:02.297Z] 54011a49482f: Pulling fs layer [2021-04-28T20:15:02.297Z] a6820b24f6d8: Pulling fs layer [2021-04-28T20:15:02.297Z] f581987b2513: Pulling fs layer [2021-04-28T20:15:02.297Z] f581987b2513: Waiting [2021-04-28T20:15:02.597Z] 54011a49482f: Verifying Checksum [2021-04-28T20:15:02.597Z] 54011a49482f: Download complete [2021-04-28T20:15:03.255Z] 31603596830f: Verifying Checksum [2021-04-28T20:15:03.255Z] 31603596830f: Download complete [2021-04-28T20:15:03.570Z] f581987b2513: Verifying Checksum [2021-04-28T20:15:03.570Z] f581987b2513: Download complete [2021-04-28T20:15:03.852Z] a6820b24f6d8: Verifying Checksum [2021-04-28T20:15:03.852Z] a6820b24f6d8: Download complete [2021-04-28T20:15:04.125Z] 31603596830f: Pull complete [2021-04-28T20:15:04.440Z] 54011a49482f: Pull complete [2021-04-28T20:15:06.452Z] a6820b24f6d8: Pull complete [2021-04-28T20:15:07.109Z] f581987b2513: Pull complete [2021-04-28T20:15:07.109Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-04-28T20:15:07.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T20:15:07.109Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-28T20:15:07.467Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:15:07.695Z] $ 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-28T20:15:11.483Z] $ docker top aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T20:15:11.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T20:15:11.870Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T20:15:12.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T20:15:12.919Z] $ docker exec aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent [2021-04-28T20:15:13.654Z] SSH_AUTH_SOCK=/tmp/ssh-qBOQuoQQ64h5/agent.11 [2021-04-28T20:15:13.654Z] SSH_AGENT_PID=16 [2021-04-28T20:15:13.677Z] Running ssh-add (command line suppressed) [2021-04-28T20:15:13.923Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9180548435285409027.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9180548435285409027.key) [2021-04-28T20:15:14.070Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T20:15:14.807Z] + git tag --points-at HEAD [Pipeline] } [2021-04-28T20:15:14.845Z] $ docker exec --env ******** --env ******** aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent -k [2021-04-28T20:15:15.097Z] unset SSH_AUTH_SOCK; [2021-04-28T20:15:15.098Z] unset SSH_AGENT_PID; [2021-04-28T20:15:15.099Z] echo Agent pid 16 killed; [2021-04-28T20:15:15.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-28T20:15:15.226Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T20:15:15.226Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T20:15:15.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T20:15:15.699Z] $ docker exec aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent [2021-04-28T20:15:16.065Z] SSH_AUTH_SOCK=/tmp/ssh-8W2CjxqfYpOI/agent.45 [2021-04-28T20:15:16.065Z] SSH_AGENT_PID=51 [2021-04-28T20:15:16.078Z] Running ssh-add (command line suppressed) [2021-04-28T20:15:16.461Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1810460296831002421.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1810460296831002421.key) [2021-04-28T20:15:16.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T20:15:17.737Z] + git semver init [2021-04-28T20:15:17.737Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T20:15:17.737Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T20:15:17.737Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T20:15:17.737Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T20:15:17.737Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T20:15:17.737Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T20:15:17.737Z] # $SEMVER_BRANCH = master [2021-04-28T20:15:17.737Z] # $SEMVER_TEMP = /tmp/semver-830971011 [2021-04-28T20:15:17.737Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-28T20:15:21.417Z] # '/tmp/semver-830971011' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-28T20:15:21.729Z] # -> Force: false [2021-04-28T20:15:21.729Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-28T20:15:21.762Z] $ docker exec --env ******** --env ******** aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 ssh-agent -k [2021-04-28T20:15:21.991Z] unset SSH_AUTH_SOCK; [2021-04-28T20:15:21.993Z] unset SSH_AGENT_PID; [2021-04-28T20:15:21.993Z] echo Agent pid 51 killed; [2021-04-28T20:15:22.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T20:15:22.558Z] + git semver [Pipeline] } [2021-04-28T20:15:22.659Z] $ docker stop --time=1 aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 [2021-04-28T20:15:24.817Z] $ docker rm -f aa2b6da187d47f7ed5491e19e9c3b9fca86142be141ee7f8269f55a1ab2bdb45 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T20:15:25.579Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-28T20:15:26.365Z] Stashed 1 file(s) [Pipeline] echo [2021-04-28T20:15:26.368Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.52 [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-28T20:15:41.596Z] Still waiting to schedule task [2021-04-28T20:15:41.596Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-28T20:15:41.601Z] Still waiting to schedule task [2021-04-28T20:15:41.602Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2236’ is offline [2021-04-28T20:17:30.882Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2238 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-28T20:17:30.907Z] Running in /w/workspace/app-functions-sdk-go/222 [Pipeline] { [Pipeline] checkout [2021-04-28T20:17:36.695Z] using credential edgex-jenkins-ssh [2021-04-28T20:17:36.715Z] Cloning the remote Git repository [2021-04-28T20:17:36.771Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T20:17:36.885Z] > git init /w/workspace/app-functions-sdk-go/222 # timeout=10 [2021-04-28T20:17:36.963Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T20:17:36.964Z] > git --version # timeout=10 [2021-04-28T20:17:36.991Z] > git --version # 'git version 2.17.1' [2021-04-28T20:17:36.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T20:17:37.105Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T20:17:40.924Z] Checking out Revision 366815e075ca920fdef8b28e3aace48c97a68e84 (master) [2021-04-28T20:17:40.350Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T20:17:40.363Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T20:17:40.389Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T20:17:40.419Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T20:17:40.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T20:17:40.443Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-28T20:17:40.946Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T20:17:40.966Z] > git checkout -f 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 [2021-04-28T20:17:42.380Z] Running on prd-centos7-docker-4c-2g-2239 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-28T20:17:42.406Z] Running in /w/workspace/app-functions-sdk-go/222 [Pipeline] { [Pipeline] checkout [2021-04-28T20:17:45.113Z] using credential edgex-jenkins-ssh [2021-04-28T20:17:45.130Z] Cloning the remote Git repository [2021-04-28T20:17:45.266Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T20:17:45.159Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T20:17:45.226Z] > git init /w/workspace/app-functions-sdk-go/222 # timeout=10 [2021-04-28T20:17:45.283Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T20:17:45.283Z] > git --version # timeout=10 [2021-04-28T20:17:45.289Z] > git --version # 'git version 2.24.3' [2021-04-28T20:17:45.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T20:17:45.318Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T20:17:46.730Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T20:17:46.740Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-28T20:17:46.751Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-28T20:17:46.768Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-28T20:17:46.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-28T20:17:46.773Z] > 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-28T20:17:47.160Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-28T20:17:47.184Z] Checking out Revision 366815e075ca920fdef8b28e3aace48c97a68e84 (master) [Pipeline] sh [2021-04-28T20:17:47.593Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T20:17:47.934Z] + true [2021-04-28T20:17:47.934Z] + sudo service docker restart [2021-04-28T20:17:47.193Z] > git config core.sparsecheckout # timeout=10 [2021-04-28T20:17:47.200Z] > git checkout -f 366815e075ca920fdef8b28e3aace48c97a68e84 # timeout=10 [Pipeline] unstash [Pipeline] echo [2021-04-28T20:17:50.819Z] ========================================================= [2021-04-28T20:17:50.819Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-28T20:17:50.819Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:17:50.943Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#809)" [2021-04-28T20:17:51.163Z] + 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 . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-28T20:17:52.024Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-28T20:17:52.150Z] Sending build context to Docker daemon 19.48MB [2021-04-28T20:17:52.150Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T20:17:52.150Z] Step 2/8 : FROM ${BASE} [2021-04-28T20:17:52.352Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-28T20:17:52.653Z] + sudo service docker restart [2021-04-28T20:17:52.654Z] + true [2021-04-28T20:17:52.654Z] Redirecting to /bin/systemctl restart docker.service [2021-04-28T20:17:52.745Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-28T20:17:52.745Z] 5f621e34cdf4: Pulling fs layer [2021-04-28T20:17:52.745Z] a4357932f1b6: Pulling fs layer [2021-04-28T20:17:52.745Z] 18c013af1878: Pulling fs layer [2021-04-28T20:17:52.745Z] 00ac8860ef70: Pulling fs layer [2021-04-28T20:17:52.745Z] 63d7cb157983: Pulling fs layer [2021-04-28T20:17:52.745Z] b116817d02f9: Pulling fs layer [2021-04-28T20:17:52.745Z] 745a02a5169b: Pulling fs layer [2021-04-28T20:17:52.745Z] 63d7cb157983: Waiting [2021-04-28T20:17:52.745Z] b116817d02f9: Waiting [2021-04-28T20:17:52.745Z] 745a02a5169b: Waiting [2021-04-28T20:17:52.745Z] 00ac8860ef70: Waiting [2021-04-28T20:17:52.745Z] 18c013af1878: Download complete [2021-04-28T20:17:52.745Z] a4357932f1b6: Verifying Checksum [2021-04-28T20:17:52.745Z] a4357932f1b6: Download complete [2021-04-28T20:17:52.745Z] 63d7cb157983: Download complete [2021-04-28T20:17:52.745Z] b116817d02f9: Verifying Checksum [2021-04-28T20:17:52.745Z] b116817d02f9: Download complete [2021-04-28T20:17:52.745Z] 5f621e34cdf4: Verifying Checksum [2021-04-28T20:17:52.745Z] 5f621e34cdf4: Download complete [2021-04-28T20:17:53.348Z] 5f621e34cdf4: Pull complete [2021-04-28T20:17:53.956Z] a4357932f1b6: Pull complete [Pipeline] unstash [Pipeline] echo [2021-04-28T20:17:54.169Z] ========================================================= [2021-04-28T20:17:54.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-28T20:17:54.170Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:17:54.480Z] + 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-28T20:17:54.553Z] 18c013af1878: Pull complete [2021-04-28T20:17:55.054Z] Sending build context to Docker daemon 19.48MB [2021-04-28T20:17:55.054Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-28T20:17:55.054Z] Step 2/8 : FROM ${BASE} [2021-04-28T20:17:55.054Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-28T20:17:55.054Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T20:17:55.054Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T20:17:55.054Z] de9db76c5a1d: Pulling fs layer [2021-04-28T20:17:55.054Z] bca2f99d35d6: Pulling fs layer [2021-04-28T20:17:55.054Z] 93359f2a8cfa: Pulling fs layer [2021-04-28T20:17:55.054Z] 7c6f9722023f: Pulling fs layer [2021-04-28T20:17:55.054Z] a35cf1a2eb13: Pulling fs layer [2021-04-28T20:17:55.054Z] 93359f2a8cfa: Waiting [2021-04-28T20:17:55.054Z] 7c6f9722023f: Waiting [2021-04-28T20:17:55.054Z] a35cf1a2eb13: Waiting [2021-04-28T20:17:55.054Z] bca2f99d35d6: Waiting [2021-04-28T20:17:55.054Z] de9db76c5a1d: Verifying Checksum [2021-04-28T20:17:55.054Z] de9db76c5a1d: Download complete [2021-04-28T20:17:55.148Z] 745a02a5169b: Verifying Checksum [2021-04-28T20:17:55.148Z] 745a02a5169b: Download complete [2021-04-28T20:17:55.328Z] 0ef7d3d256c8: Verifying Checksum [2021-04-28T20:17:55.328Z] 0ef7d3d256c8: Download complete [2021-04-28T20:17:55.328Z] 93359f2a8cfa: Verifying Checksum [2021-04-28T20:17:55.328Z] 93359f2a8cfa: Download complete [2021-04-28T20:17:55.328Z] 7c6f9722023f: Verifying Checksum [2021-04-28T20:17:55.328Z] 7c6f9722023f: Download complete [2021-04-28T20:17:55.328Z] 188c0c94c7c5: Verifying Checksum [2021-04-28T20:17:55.593Z] 188c0c94c7c5: Pull complete [2021-04-28T20:17:55.854Z] 0ef7d3d256c8: Pull complete [2021-04-28T20:17:55.854Z] de9db76c5a1d: Pull complete [2021-04-28T20:17:57.760Z] 00ac8860ef70: Verifying Checksum [2021-04-28T20:17:57.760Z] 00ac8860ef70: Download complete [2021-04-28T20:17:57.787Z] a35cf1a2eb13: Verifying Checksum [2021-04-28T20:17:57.787Z] a35cf1a2eb13: Download complete [2021-04-28T20:17:58.364Z] bca2f99d35d6: Verifying Checksum [2021-04-28T20:17:58.364Z] bca2f99d35d6: Download complete [2021-04-28T20:18:03.693Z] bca2f99d35d6: Pull complete [2021-04-28T20:18:03.693Z] 93359f2a8cfa: Pull complete [2021-04-28T20:18:03.956Z] 7c6f9722023f: Pull complete [2021-04-28T20:18:07.927Z] 00ac8860ef70: Pull complete [2021-04-28T20:18:07.927Z] 63d7cb157983: Pull complete [2021-04-28T20:18:07.927Z] b116817d02f9: Pull complete [2021-04-28T20:18:10.589Z] a35cf1a2eb13: Pull complete [2021-04-28T20:18:10.589Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-28T20:18:10.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-28T20:18:10.589Z] ---> a62c8e92a672 [2021-04-28T20:18:10.589Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-28T20:18:10.589Z] 20.10.0: Pulling from library/docker [2021-04-28T20:18:10.589Z] 05e7bc50f07f: Pulling fs layer [2021-04-28T20:18:10.589Z] 6db28d0fdbf6: Pulling fs layer [2021-04-28T20:18:10.589Z] 292df0bc6bf3: Pulling fs layer [2021-04-28T20:18:10.589Z] 2e060f4bd70b: Pulling fs layer [2021-04-28T20:18:10.589Z] 80e8d568a223: Pulling fs layer [2021-04-28T20:18:10.589Z] 8dc6ef1a942a: Pulling fs layer [2021-04-28T20:18:10.589Z] 2312dd95470a: Pulling fs layer [2021-04-28T20:18:10.589Z] 2e060f4bd70b: Waiting [2021-04-28T20:18:10.589Z] 80e8d568a223: Waiting [2021-04-28T20:18:10.589Z] 8dc6ef1a942a: Waiting [2021-04-28T20:18:10.589Z] 2312dd95470a: Waiting [2021-04-28T20:18:10.589Z] 292df0bc6bf3: Download complete [2021-04-28T20:18:10.589Z] 6db28d0fdbf6: Verifying Checksum [2021-04-28T20:18:10.589Z] 6db28d0fdbf6: Download complete [2021-04-28T20:18:10.853Z] 80e8d568a223: Verifying Checksum [2021-04-28T20:18:10.853Z] 80e8d568a223: Download complete [2021-04-28T20:18:10.853Z] 05e7bc50f07f: Download complete [2021-04-28T20:18:10.853Z] 8dc6ef1a942a: Verifying Checksum [2021-04-28T20:18:10.853Z] 8dc6ef1a942a: Download complete [2021-04-28T20:18:10.853Z] 2312dd95470a: Verifying Checksum [2021-04-28T20:18:10.853Z] 2312dd95470a: Download complete [2021-04-28T20:18:11.118Z] 05e7bc50f07f: Pull complete [2021-04-28T20:18:11.384Z] 6db28d0fdbf6: Pull complete [2021-04-28T20:18:11.384Z] 292df0bc6bf3: Pull complete [2021-04-28T20:18:11.976Z] 2e060f4bd70b: Verifying Checksum [2021-04-28T20:18:11.976Z] 2e060f4bd70b: Download complete [2021-04-28T20:18:12.250Z] 745a02a5169b: Pull complete [2021-04-28T20:18:12.250Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-28T20:18:12.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-28T20:18:12.250Z] ---> b7e6874047d6 [2021-04-28T20:18:12.250Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-28T20:18:12.522Z] 20.10.0: Pulling from library/docker [2021-04-28T20:18:12.800Z] a3cc7d3b244e: Pulling fs layer [2021-04-28T20:18:12.800Z] 02a3295e0d61: Pulling fs layer [2021-04-28T20:18:12.800Z] 0f4f2e6d8100: Pulling fs layer [2021-04-28T20:18:12.800Z] 330b718f631f: Pulling fs layer [2021-04-28T20:18:12.800Z] a93816041522: Pulling fs layer [2021-04-28T20:18:12.800Z] bdb6da89ff94: Pulling fs layer [2021-04-28T20:18:12.800Z] 2a70c0c122f4: Pulling fs layer [2021-04-28T20:18:12.800Z] 330b718f631f: Waiting [2021-04-28T20:18:12.800Z] a93816041522: Waiting [2021-04-28T20:18:12.800Z] bdb6da89ff94: Waiting [2021-04-28T20:18:12.800Z] 2a70c0c122f4: Waiting [2021-04-28T20:18:12.800Z] 0f4f2e6d8100: Verifying Checksum [2021-04-28T20:18:12.800Z] 0f4f2e6d8100: Download complete [2021-04-28T20:18:12.800Z] 02a3295e0d61: Download complete [2021-04-28T20:18:12.800Z] a3cc7d3b244e: Verifying Checksum [2021-04-28T20:18:12.800Z] a3cc7d3b244e: Download complete [2021-04-28T20:18:12.800Z] a93816041522: Verifying Checksum [2021-04-28T20:18:12.800Z] a93816041522: Download complete [2021-04-28T20:18:12.800Z] 2a70c0c122f4: Verifying Checksum [2021-04-28T20:18:12.800Z] 2a70c0c122f4: Download complete [2021-04-28T20:18:12.800Z] bdb6da89ff94: Verifying Checksum [2021-04-28T20:18:12.800Z] bdb6da89ff94: Download complete [2021-04-28T20:18:13.786Z] a3cc7d3b244e: Pull complete [2021-04-28T20:18:14.388Z] 02a3295e0d61: Pull complete [2021-04-28T20:18:14.663Z] 330b718f631f: Download complete [2021-04-28T20:18:14.663Z] 0f4f2e6d8100: Pull complete [2021-04-28T20:18:15.303Z] 2e060f4bd70b: Pull complete [2021-04-28T20:18:15.303Z] 80e8d568a223: Pull complete [2021-04-28T20:18:15.303Z] 8dc6ef1a942a: Pull complete [2021-04-28T20:18:15.568Z] 2312dd95470a: Pull complete [2021-04-28T20:18:15.568Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-28T20:18:15.568Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-28T20:18:16.968Z] ---> 57a30445980c [2021-04-28T20:18:16.968Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-28T20:18:16.968Z] ---> Running in ec092f147780 [2021-04-28T20:18:17.230Z] Removing intermediate container ec092f147780 [2021-04-28T20:18:17.230Z] ---> 8c78f9c7fa88 [2021-04-28T20:18:17.230Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-28T20:18:17.230Z] ---> Running in 2e961de41e29 [2021-04-28T20:18:17.807Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-28T20:18:18.382Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-28T20:18:18.957Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-28T20:18:18.957Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-28T20:18:18.957Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-28T20:18:18.957Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-28T20:18:19.000Z] 330b718f631f: Pull complete [2021-04-28T20:18:19.000Z] a93816041522: Pull complete [2021-04-28T20:18:19.220Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-28T20:18:19.220Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T20:18:19.220Z] OK: 167 MiB in 44 packages [2021-04-28T20:18:19.276Z] bdb6da89ff94: Pull complete [2021-04-28T20:18:19.549Z] 2a70c0c122f4: Pull complete [2021-04-28T20:18:19.549Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-28T20:18:19.549Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-28T20:18:19.796Z] Removing intermediate container 2e961de41e29 [2021-04-28T20:18:19.796Z] ---> 6c8f2e05940f [2021-04-28T20:18:19.796Z] Step 6/8 : WORKDIR /build [2021-04-28T20:18:20.060Z] ---> Running in d2845def5bb3 [2021-04-28T20:18:20.060Z] Removing intermediate container d2845def5bb3 [2021-04-28T20:18:20.060Z] ---> 4607314e6222 [2021-04-28T20:18:20.060Z] Step 7/8 : COPY go.mod . [2021-04-28T20:18:20.323Z] ---> 65f082b71714 [2021-04-28T20:18:20.323Z] Step 8/8 : RUN go mod download [2021-04-28T20:18:20.323Z] ---> Running in dfeb7e495015 [2021-04-28T20:18:26.254Z] ---> 14b6377b7cbb [2021-04-28T20:18:26.254Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-28T20:18:26.254Z] ---> Running in 7dca2509fbb4 [2021-04-28T20:18:26.254Z] Removing intermediate container 7dca2509fbb4 [2021-04-28T20:18:26.254Z] ---> d57b536174b6 [2021-04-28T20:18:26.254Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-28T20:18:26.254Z] ---> Running in 75adadb2bb6d [2021-04-28T20:18:27.710Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-28T20:18:28.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-28T20:18:28.897Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-28T20:18:29.168Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-28T20:18:29.168Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-28T20:18:29.168Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-28T20:18:29.440Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-28T20:18:29.440Z] Executing busybox-1.31.1-r19.trigger [2021-04-28T20:18:29.440Z] OK: 144 MiB in 44 packages [2021-04-28T20:18:30.873Z] Removing intermediate container 75adadb2bb6d [2021-04-28T20:18:30.873Z] ---> 0995c846c33a [2021-04-28T20:18:30.873Z] Step 6/8 : WORKDIR /build [2021-04-28T20:18:30.873Z] ---> Running in cbeb328ad5df [2021-04-28T20:18:31.477Z] Removing intermediate container cbeb328ad5df [2021-04-28T20:18:31.477Z] ---> 4bdb45efe13d [2021-04-28T20:18:31.477Z] Step 7/8 : COPY go.mod . [2021-04-28T20:18:32.072Z] ---> 78aa27ec42d3 [2021-04-28T20:18:32.072Z] Step 8/8 : RUN go mod download [2021-04-28T20:18:32.356Z] ---> Running in 013508986d30 [2021-04-28T20:18:42.345Z] Removing intermediate container dfeb7e495015 [2021-04-28T20:18:42.345Z] ---> 787aff5eaf84 [2021-04-28T20:18:42.345Z] Successfully built 787aff5eaf84 [2021-04-28T20:18:42.345Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:18:42.665Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T20:18:42.665Z] . [Pipeline] withDockerContainer [2021-04-28T20:18:42.793Z] prd-centos7-docker-4c-2g-2239 does not seem to be running inside a container [2021-04-28T20:18:42.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@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-28T20:18:43.571Z] $ docker top 637e2c712412c7547dbc0bd488dc62692d07e5b0d28bd35a2ad7263c15a4a66b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T20:18:43.981Z] + go version [2021-04-28T20:18:43.982Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-28T20:18:43.998Z] $ docker stop --time=1 637e2c712412c7547dbc0bd488dc62692d07e5b0d28bd35a2ad7263c15a4a66b [2021-04-28T20:18:45.358Z] $ docker rm -f 637e2c712412c7547dbc0bd488dc62692d07e5b0d28bd35a2ad7263c15a4a66b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:18:45.869Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-28T20:18:45.870Z] . [Pipeline] withDockerContainer [2021-04-28T20:18:45.965Z] prd-centos7-docker-4c-2g-2239 does not seem to be running inside a container [2021-04-28T20:18:46.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@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-28T20:18:46.618Z] $ docker top 2eb8798ac9f6dada0260e0d9f35fbde246ad18ef4ae0ca5ced45348cbe9796d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T20:18:47.043Z] + make test [2021-04-28T20:18:47.043Z] make -C ./app-service-template build [2021-04-28T20:18:47.043Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:18:47.043Z] 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-28T20:18:59.172Z] Removing intermediate container 013508986d30 [2021-04-28T20:18:59.172Z] ---> 09d58b2bb1c9 [2021-04-28T20:18:59.172Z] Successfully built 09d58b2bb1c9 [2021-04-28T20:18:59.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:18:59.517Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T20:18:59.518Z] . [Pipeline] withDockerContainer [2021-04-28T20:18:59.760Z] prd-ubuntu18.04-docker-arm64-4c-16g-2238 does not seem to be running inside a container [2021-04-28T20:18:59.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@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-28T20:19:01.270Z] $ docker top e6b2ef81cc3d10e928166e54ed38b6ad2ba39042b29f90b5687298ea3ac84720 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T20:19:02.179Z] + go version [2021-04-28T20:19:02.179Z] go version go1.15.5 linux/arm64 [2021-04-28T20:19:02.191Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:19:02.191Z] make -C ./app-service-template test [2021-04-28T20:19:02.191Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:19:02.191Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [Pipeline] } [2021-04-28T20:19:02.206Z] $ docker stop --time=1 e6b2ef81cc3d10e928166e54ed38b6ad2ba39042b29f90b5687298ea3ac84720 [2021-04-28T20:19:04.082Z] $ docker rm -f e6b2ef81cc3d10e928166e54ed38b6ad2ba39042b29f90b5687298ea3ac84720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:19:04.769Z] + docker inspect -f . ci-base-image-arm64 [2021-04-28T20:19:04.769Z] . [Pipeline] withDockerContainer [2021-04-28T20:19:05.012Z] prd-ubuntu18.04-docker-arm64-4c-16g-2238 does not seem to be running inside a container [2021-04-28T20:19:05.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/222 -v /w/workspace/app-functions-sdk-go/222:/w/workspace/app-functions-sdk-go/222:rw,z -v /w/workspace/app-functions-sdk-go/222@tmp:/w/workspace/app-functions-sdk-go/222@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-28T20:19:06.637Z] $ docker top 0e5232e5a8db75d51224741ee4c749269f859227d8086f593df871e66c7a307e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T20:19:07.596Z] + make test [2021-04-28T20:19:07.596Z] make -C ./app-service-template build [2021-04-28T20:19:07.596Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:19:07.596Z] 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-28T20:19:09.098Z] ok new-app-service 0.016s coverage: 47.8% of statements [2021-04-28T20:19:09.098Z] ? new-app-service/config [no test files] [2021-04-28T20:19:09.098Z] ok new-app-service/functions 0.011s [2021-04-28T20:19:09.098Z] CGO_ENABLED=1 go vet ./... [2021-04-28T20:19:12.466Z] gofmt -l . [2021-04-28T20:19:12.466Z] [ "`gofmt -l .`" = "" ] [2021-04-28T20:19:12.466Z] ./bin/test-go-mod-tidy.sh [2021-04-28T20:19:12.466Z] ./bin/test-attribution-txt.sh [2021-04-28T20:19:13.044Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:19:13.044Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-28T20:19:13.648Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-28T20:19:17.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.023s coverage: 55.8% of statements [2021-04-28T20:19:17.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.024s coverage: 92.5% of statements [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-28T20:19:17.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.056s coverage: 61.5% of statements [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-28T20:19:17.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.017s [2021-04-28T20:19:17.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.028s coverage: 75.4% of statements [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-28T20:19:17.011Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.005s coverage: 97.0% of statements [2021-04-28T20:19:17.011Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T20:19:17.288Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements [2021-04-28T20:19:20.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.738s coverage: 78.4% of statements [2021-04-28T20:19:20.623Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-28T20:19:20.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.008s coverage: 18.4% of statements [2021-04-28T20:19:20.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.011s coverage: 27.3% of statements [2021-04-28T20:19:20.623Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-28T20:19:20.623Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-28T20:19:20.623Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements [2021-04-28T20:19:46.599Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:19:46.600Z] make -C ./app-service-template test [2021-04-28T20:19:46.600Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:19:46.600Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-28T20:19:47.236Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements [2021-04-28T20:19:47.236Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-04-28T20:19:47.236Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-28T20:19:47.236Z] gofmt -l . [2021-04-28T20:19:47.236Z] [ "`gofmt -l .`" = "" ] [2021-04-28T20:19:47.236Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T20:19:47.256Z] $ docker stop --time=1 2eb8798ac9f6dada0260e0d9f35fbde246ad18ef4ae0ca5ced45348cbe9796d5 [2021-04-28T20:19:48.827Z] $ docker rm -f 2eb8798ac9f6dada0260e0d9f35fbde246ad18ef4ae0ca5ced45348cbe9796d5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T20:19:49.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T20:19:49.789Z] 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-28T20:19:50.515Z] ---> job-cost.sh [2021-04-28T20:19:50.515Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-axlG [2021-04-28T20:20:05.457Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T20:20:08.802Z] ok new-app-service 0.038s coverage: 47.8% of statements [2021-04-28T20:20:08.802Z] ? new-app-service/config [no test files] [2021-04-28T20:20:08.802Z] ok new-app-service/functions 0.026s [2021-04-28T20:20:08.802Z] CGO_ENABLED=1 go vet ./... [2021-04-28T20:20:17.123Z] gofmt -l . [2021-04-28T20:20:17.123Z] [ "`gofmt -l .`" = "" ] [2021-04-28T20:20:17.123Z] ./bin/test-go-mod-tidy.sh [2021-04-28T20:20:17.123Z] ./bin/test-attribution-txt.sh [2021-04-28T20:20:18.565Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/222/app-service-template' [2021-04-28T20:20:18.565Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-28T20:20:19.546Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.071s coverage: 55.8% of statements [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.036s coverage: 92.5% of statements [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.112s coverage: 61.5% of statements [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.040s [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.119s coverage: 75.4% of statements [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.041s coverage: 97.0% of statements [2021-04-28T20:20:29.855Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-28T20:20:29.855Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.043s coverage: 10.5% of statements [2021-04-28T20:20:32.089Z] lf-activate-venv(): INFO: Adding /tmp/venv-axlG/bin to PATH [2021-04-28T20:20:32.089Z] INFO: No Stack... [2021-04-28T20:20:32.665Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T20:20:33.240Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T20:20:33.556Z] + cat /w/workspace/app-functions-sdk-go/222/archives/cost.csv [2021-04-28T20:20:33.556Z] + cut -d, -f6 [Pipeline] lock [2021-04-28T20:20:33.643Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [2021-04-28T20:20:33.653Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] did not exist. Created. [2021-04-28T20:20:33.654Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T20:20:33.982Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-28T20:20:34.121Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T20:20:34.138Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-28T20:20:36.598Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.874s coverage: 78.4% of statements [2021-04-28T20:20:36.598Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-28T20:20:36.598Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 18.4% of statements [2021-04-28T20:20:36.598Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.038s coverage: 27.3% of statements [2021-04-28T20:20:36.598Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-28T20:20:36.598Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-28T20:20:36.598Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.037s coverage: 71.7% of statements [2021-04-28T20:21:03.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.081s coverage: 81.9% of statements [2021-04-28T20:21:03.351Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-04-28T20:21:03.351Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-28T20:21:04.802Z] gofmt -l . [2021-04-28T20:21:05.075Z] [ "`gofmt -l .`" = "" ] [2021-04-28T20:21:05.672Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-28T20:21:06.293Z] $ docker stop --time=1 0e5232e5a8db75d51224741ee4c749269f859227d8086f593df871e66c7a307e [2021-04-28T20:21:08.335Z] $ docker rm -f 0e5232e5a8db75d51224741ee4c749269f859227d8086f593df871e66c7a307e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-28T20:21:09.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-28T20:21:09.188Z] Warning: overwriting stash ‘coverage-report’ [2021-04-28T20:21:10.089Z] 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-28T20:21:10.594Z] ---> job-cost.sh [2021-04-28T20:21:10.595Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6oL4 [2021-04-28T20:21:49.544Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-28T20:23:11.258Z] lf-activate-venv(): INFO: Adding /tmp/venv-6oL4/bin to PATH [2021-04-28T20:23:11.258Z] INFO: No Stack... [2021-04-28T20:23:11.258Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-28T20:23:11.258Z] INFO: Archiving Costs [Pipeline] sh [2021-04-28T20:23:11.604Z] + cut -d, -f6 [2021-04-28T20:23:11.604Z] + cat /w/workspace/app-functions-sdk-go/222/archives/cost.csv [Pipeline] lock [2021-04-28T20:23:11.722Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [2021-04-28T20:23:11.732Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] did not exist. Created. [2021-04-28T20:23:11.732Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-222-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-28T20:23:12.110Z] /w/workspace/app-functions-sdk-go/222@tmp/durable-4daee28c/script.sh: 1: /w/workspace/app-functions-sdk-go/222@tmp/durable-4daee28c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-28T20:23:12.461Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-28T20:23:12.495Z] Warning: overwriting stash ‘stack-cost’ [2021-04-28T20:23:12.650Z] Stashed 1 file(s) [Pipeline] } [2021-04-28T20:23:12.663Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-222-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-28T20:23:13.434Z] provisioning config files... [2021-04-28T20:23:13.467Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7939433026623347918tmp [Pipeline] { [Pipeline] sh [2021-04-28T20:23:13.839Z] + set +x [2021-04-28T20:23:13.839Z] + curl -s https://codecov.io/bash [2021-04-28T20:23:13.839Z] + bash -s -- [2021-04-28T20:23:14.114Z] [2021-04-28T20:23:14.114Z] _____ _ [2021-04-28T20:23:14.114Z] / ____| | | [2021-04-28T20:23:14.114Z] | | ___ __| | ___ ___ _____ __ [2021-04-28T20:23:14.114Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-28T20:23:14.114Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-28T20:23:14.114Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-28T20:23:14.114Z] Bash-1.0.2 [2021-04-28T20:23:14.114Z] [2021-04-28T20:23:14.114Z] [2021-04-28T20:23:14.114Z] ==> git version 2.24.3 found [2021-04-28T20:23:14.114Z] ==> 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-28T20:23:14.114Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-28T20:23:14.114Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-28T20:23:14.114Z] ==> Jenkins CI detected. [2021-04-28T20:23:14.114Z] project root: . [2021-04-28T20:23:14.114Z] --> token set from env [2021-04-28T20:23:14.114Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-28T20:23:14.388Z] ==> Running gcov in . (disable via -X gcov) [2021-04-28T20:23:14.388Z] ==> Python coveragepy not found [2021-04-28T20:23:14.388Z] ==> Searching for coverage reports in: [2021-04-28T20:23:14.388Z] + . [2021-04-28T20:23:14.388Z] -> Found 2 reports [2021-04-28T20:23:14.388Z] ==> Detecting git/mercurial file structure [2021-04-28T20:23:14.388Z] ==> Reading reports [2021-04-28T20:23:14.388Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-28T20:23:14.388Z] + ./coverage.out bytes=86827 [2021-04-28T20:23:14.388Z] ==> Appending adjustments [2021-04-28T20:23:14.388Z] https://docs.codecov.io/docs/fixing-reports [2021-04-28T20:23:15.399Z] + Found adjustments [2021-04-28T20:23:15.399Z] ==> Gzipping contents [2021-04-28T20:23:15.728Z] 16K /tmp/codecov.AJPHoH.gz [2021-04-28T20:23:15.728Z] ==> Uploading reports [2021-04-28T20:23:15.728Z] url: https://codecov.io [2021-04-28T20:23:15.728Z] query: branch=master&commit=366815e075ca920fdef8b28e3aace48c97a68e84&build=222&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F222%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-28T20:23:15.728Z] -> Pinging Codecov [2021-04-28T20:23:15.728Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=366815e075ca920fdef8b28e3aace48c97a68e84&build=222&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F222%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-28T20:23:16.380Z] -> Uploading to [2021-04-28T20:23:16.380Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-28/3D8B5DFFC46A037C893635FACE044666/366815e075ca920fdef8b28e3aace48c97a68e84/ba29ce84-6f3b-4272-9d3c-8b016089fbd1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T202316Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7343e58dc9864894b5794154176d5a2147ebe341116428b89f17aba42b2d88c6 [2021-04-28T20:23:16.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T20:23:16.380Z] Dload Upload Total Spent Left Speed [2021-04-28T20:23:17.384Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15276 0 0 100 15276 0 19770 --:--:-- --:--:-- --:--:-- 19787 [2021-04-28T20:23:17.384Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] } [2021-04-28T20:23:17.399Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-28T20:23:18.226Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-28T20:23:18.253Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:23:18.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-28T20:23:18.819Z] [2021-04-28T20:23:18.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:23:19.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-28T20:23:19.708Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-28T20:23:19.708Z] 188c0c94c7c5: Pulling fs layer [2021-04-28T20:23:19.708Z] 0ef7d3d256c8: Pulling fs layer [2021-04-28T20:23:19.708Z] de9db76c5a1d: Pulling fs layer [2021-04-28T20:23:19.708Z] 0eba1c9be4d2: Pulling fs layer [2021-04-28T20:23:19.708Z] 0d57e429df01: Pulling fs layer [2021-04-28T20:23:19.708Z] 4e4be7b47b0d: Pulling fs layer [2021-04-28T20:23:19.708Z] e1f770b5df2f: Pulling fs layer [2021-04-28T20:23:19.708Z] 85a0685a4137: Pulling fs layer [2021-04-28T20:23:19.708Z] 0eba1c9be4d2: Waiting [2021-04-28T20:23:19.708Z] 0d57e429df01: Waiting [2021-04-28T20:23:19.708Z] e1f770b5df2f: Waiting [2021-04-28T20:23:19.708Z] 85a0685a4137: Waiting [2021-04-28T20:23:19.708Z] 4e4be7b47b0d: Waiting [2021-04-28T20:23:19.708Z] de9db76c5a1d: Verifying Checksum [2021-04-28T20:23:19.708Z] de9db76c5a1d: Download complete [2021-04-28T20:23:19.708Z] 0ef7d3d256c8: Verifying Checksum [2021-04-28T20:23:19.708Z] 0ef7d3d256c8: Download complete [2021-04-28T20:23:19.995Z] 0d57e429df01: Download complete [2021-04-28T20:23:19.995Z] 4e4be7b47b0d: Verifying Checksum [2021-04-28T20:23:19.995Z] 4e4be7b47b0d: Download complete [2021-04-28T20:23:20.264Z] 188c0c94c7c5: Download complete [2021-04-28T20:23:21.830Z] 188c0c94c7c5: Pull complete [2021-04-28T20:23:22.135Z] 0ef7d3d256c8: Pull complete [2021-04-28T20:23:22.135Z] e1f770b5df2f: Verifying Checksum [2021-04-28T20:23:22.135Z] e1f770b5df2f: Download complete [2021-04-28T20:23:22.416Z] de9db76c5a1d: Pull complete [2021-04-28T20:23:28.057Z] 0eba1c9be4d2: Verifying Checksum [2021-04-28T20:23:28.057Z] 0eba1c9be4d2: Download complete [2021-04-28T20:23:29.607Z] 85a0685a4137: Verifying Checksum [2021-04-28T20:23:29.607Z] 85a0685a4137: Download complete [2021-04-28T20:23:42.214Z] 0eba1c9be4d2: Pull complete [2021-04-28T20:23:42.214Z] 0d57e429df01: Pull complete [2021-04-28T20:23:42.214Z] 4e4be7b47b0d: Pull complete [2021-04-28T20:23:44.955Z] e1f770b5df2f: Pull complete [2021-04-28T20:23:57.656Z] 85a0685a4137: Pull complete [2021-04-28T20:23:57.656Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-28T20:23:57.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-28T20:23:57.656Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-28T20:23:58.524Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:23:58.643Z] $ 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-28T20:24:01.583Z] $ docker top 41b5026d38f1562a20355be1929138e5b44ae9094570e090fe66251cd350cc11 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-28T20:24:02.201Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-28T20:24:02.610Z] + set -o pipefail [2021-04-28T20:24:02.610Z] + snyk monitor '--org=edgex-jenkins' [2021-04-28T20:24:17.987Z] [2021-04-28T20:24:17.987Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-28T20:24:17.987Z] [2021-04-28T20:24:17.987Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/21c4eb56-45d9-463a-add2-b16cfcecb514 [2021-04-28T20:24:17.987Z] [2021-04-28T20:24:17.987Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-28T20:24:17.987Z] [2021-04-28T20:24:17.987Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-28T20:24:17.987Z] [2021-04-28T20:24:17.987Z] [Pipeline] } [2021-04-28T20:24:18.034Z] $ docker stop --time=1 41b5026d38f1562a20355be1929138e5b44ae9094570e090fe66251cd350cc11 [2021-04-28T20:24:21.255Z] $ docker rm -f 41b5026d38f1562a20355be1929138e5b44ae9094570e090fe66251cd350cc11 [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-28T20:24:22.876Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T20:24:22.901Z] provisioning config files... [2021-04-28T20:24:22.924Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2491836456912068983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:24:23.337Z] --> edgex-publish-swagger.sh [2021-04-28T20:24:23.337Z] === Publish openapi/v2 API === [2021-04-28T20:24:23.337Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-28T20:24:23.337Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-28T20:24:23.337Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-28T20:24:23.337Z] Dload Upload Total Spent Left Speed [2021-04-28T20:24:24.784Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11785 0:00:01 0:00:01 --:--:-- 11811 100 13052 0 0 100 13052 0 11782 0:00:01 0:00:01 --:--:-- 11801 [2021-04-28T20:24:24.784Z] [2021-04-28T20:24:24.784Z] [Pipeline] } [2021-04-28T20:24:24.805Z] 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-28T20:24:25.394Z] + git log --format=format:%s -1 366815e075ca920fdef8b28e3aace48c97a68e84 [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:24:25.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T20:24:25.762Z] . [Pipeline] withDockerContainer [2021-04-28T20:24:26.014Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:24:26.145Z] $ 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-28T20:24:28.462Z] $ docker top 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T20:24:28.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T20:24:28.985Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T20:24:29.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T20:24:29.968Z] $ docker exec 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 ssh-agent [2021-04-28T20:24:30.458Z] SSH_AUTH_SOCK=/tmp/ssh-XnI146YxVI3t/agent.11 [2021-04-28T20:24:30.458Z] SSH_AGENT_PID=16 [2021-04-28T20:24:30.469Z] Running ssh-add (command line suppressed) [2021-04-28T20:24:31.091Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6373391762147710687.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6373391762147710687.key) [2021-04-28T20:24:31.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T20:24:32.515Z] + git semver tag [2021-04-28T20:24:32.515Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T20:24:32.515Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T20:24:32.515Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T20:24:32.515Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T20:24:32.515Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T20:24:32.515Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T20:24:32.516Z] # $SEMVER_BRANCH = master [2021-04-28T20:24:32.516Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-28T20:24:32.516Z] # 366815e075ca920fdef8b28e3aace48c97a68e84 HEAD [2021-04-28T20:24:32.805Z] # -> Force: false [2021-04-28T20:24:32.805Z] # 813ce7c3e4d732faa86a01cd7af812cbb9ed7ef3 refs/tags/v2.0.0-dev.52 [Pipeline] } [2021-04-28T20:24:32.823Z] $ docker exec --env ******** --env ******** 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 ssh-agent -k [2021-04-28T20:24:33.255Z] unset SSH_AUTH_SOCK; [2021-04-28T20:24:33.256Z] unset SSH_AGENT_PID; [2021-04-28T20:24:33.256Z] echo Agent pid 16 killed; [2021-04-28T20:24:33.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T20:24:34.601Z] + git semver [Pipeline] } [2021-04-28T20:24:34.633Z] $ docker stop --time=1 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 [2021-04-28T20:24:36.636Z] $ docker rm -f 8595d810266494f46fb99fd5670bb2c6db93b44dc8736805b7c43f4db6757855 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:24:37.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-28T20:24:37.537Z] [2021-04-28T20:24:37.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:24:38.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-28T20:24:38.363Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-28T20:24:38.363Z] ab5ef0e58194: Pulling fs layer [2021-04-28T20:24:38.363Z] 9712f1f96733: Pulling fs layer [2021-04-28T20:24:38.363Z] 63f879dbbcfc: Pulling fs layer [2021-04-28T20:24:38.363Z] 0d9ebad4ef96: Pulling fs layer [2021-04-28T20:24:38.363Z] e9a5061849ea: Pulling fs layer [2021-04-28T20:24:38.363Z] d747dcd14b5f: Pulling fs layer [2021-04-28T20:24:38.363Z] 2de7ff778b66: Pulling fs layer [2021-04-28T20:24:38.363Z] e9a5061849ea: Waiting [2021-04-28T20:24:38.363Z] d747dcd14b5f: Waiting [2021-04-28T20:24:38.363Z] 2de7ff778b66: Waiting [2021-04-28T20:24:38.363Z] 0d9ebad4ef96: Waiting [2021-04-28T20:24:38.363Z] 9712f1f96733: Verifying Checksum [2021-04-28T20:24:38.363Z] 9712f1f96733: Download complete [2021-04-28T20:24:41.937Z] 63f879dbbcfc: Verifying Checksum [2021-04-28T20:24:41.937Z] 63f879dbbcfc: Download complete [2021-04-28T20:24:42.212Z] e9a5061849ea: Verifying Checksum [2021-04-28T20:24:42.212Z] e9a5061849ea: Download complete [2021-04-28T20:24:42.212Z] d747dcd14b5f: Verifying Checksum [2021-04-28T20:24:42.212Z] d747dcd14b5f: Download complete [2021-04-28T20:24:42.812Z] 0d9ebad4ef96: Verifying Checksum [2021-04-28T20:24:42.812Z] 0d9ebad4ef96: Download complete [2021-04-28T20:24:43.095Z] 2de7ff778b66: Verifying Checksum [2021-04-28T20:24:43.095Z] 2de7ff778b66: Download complete [2021-04-28T20:24:43.095Z] ab5ef0e58194: Verifying Checksum [2021-04-28T20:24:43.095Z] ab5ef0e58194: Download complete [2021-04-28T20:24:55.909Z] ab5ef0e58194: Pull complete [2021-04-28T20:24:55.909Z] 9712f1f96733: Pull complete [2021-04-28T20:25:01.824Z] 63f879dbbcfc: Pull complete [2021-04-28T20:25:17.507Z] 0d9ebad4ef96: Pull complete [2021-04-28T20:25:20.955Z] e9a5061849ea: Pull complete [2021-04-28T20:25:21.232Z] d747dcd14b5f: Pull complete [2021-04-28T20:25:24.659Z] 2de7ff778b66: Pull complete [2021-04-28T20:25:24.659Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-28T20:25:24.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-28T20:25:24.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-28T20:25:25.227Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:25:25.382Z] $ 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-28T20:25:29.601Z] $ docker top 09d116466b621109a084e23d01d29426413a8bd5fc58b53b0ae758fe9caad27c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-28T20:25:29.923Z] provisioning config files... [2021-04-28T20:25:29.935Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8499604614771262067tmp [2021-04-28T20:25:29.960Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5482405935870376142tmp [2021-04-28T20:25:29.980Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7927408020906082307tmp [Pipeline] { [Pipeline] echo [2021-04-28T20:25:30.023Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:25:30.720Z] ---> sigul-configuration.sh [2021-04-28T20:25:30.720Z] gpg: directory `/root/.gnupg' created [2021-04-28T20:25:30.720Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-28T20:25:30.720Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-28T20:25:30.720Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-28T20:25:30.720Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-28T20:25:30.720Z] gpg: CAST5 encrypted data [2021-04-28T20:25:30.720Z] gpg: encrypted with 1 passphrase [2021-04-28T20:25:30.720Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-28T20:25:31.944Z] + mkdir /home/jenkins [2021-04-28T20:25:31.944Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-28T20:25:32.605Z] + 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-28T20:25:32.646Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:25:33.384Z] ---> sigul-install.sh [2021-04-28T20:25:43.809Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-28T20:25:44.627Z] + git tag --list [2021-04-28T20:25:44.627Z] v0.1.0 [2021-04-28T20:25:44.627Z] v0.1.1 [2021-04-28T20:25:44.627Z] v1.0.0 [2021-04-28T20:25:44.627Z] v1.1.0 [2021-04-28T20:25:44.627Z] v1.2.0 [2021-04-28T20:25:44.627Z] v1.3.0 [2021-04-28T20:25:44.627Z] v1.3.1 [2021-04-28T20:25:44.627Z] v1.3.1-dev.1 [2021-04-28T20:25:44.627Z] v1.3.2-dev.1 [2021-04-28T20:25:44.627Z] v2.0.0-dev.1 [2021-04-28T20:25:44.627Z] v2.0.0-dev.10 [2021-04-28T20:25:44.627Z] v2.0.0-dev.11 [2021-04-28T20:25:44.627Z] v2.0.0-dev.12 [2021-04-28T20:25:44.627Z] v2.0.0-dev.13 [2021-04-28T20:25:44.627Z] v2.0.0-dev.14 [2021-04-28T20:25:44.627Z] v2.0.0-dev.15 [2021-04-28T20:25:44.627Z] v2.0.0-dev.16 [2021-04-28T20:25:44.627Z] v2.0.0-dev.17 [2021-04-28T20:25:44.627Z] v2.0.0-dev.18 [2021-04-28T20:25:44.627Z] v2.0.0-dev.19 [2021-04-28T20:25:44.627Z] v2.0.0-dev.2 [2021-04-28T20:25:44.627Z] v2.0.0-dev.20 [2021-04-28T20:25:44.627Z] v2.0.0-dev.21 [2021-04-28T20:25:44.627Z] v2.0.0-dev.22 [2021-04-28T20:25:44.627Z] v2.0.0-dev.23 [2021-04-28T20:25:44.627Z] v2.0.0-dev.24 [2021-04-28T20:25:44.627Z] v2.0.0-dev.25 [2021-04-28T20:25:44.627Z] v2.0.0-dev.26 [2021-04-28T20:25:44.627Z] v2.0.0-dev.27 [2021-04-28T20:25:44.627Z] v2.0.0-dev.28 [2021-04-28T20:25:44.627Z] v2.0.0-dev.29 [2021-04-28T20:25:44.627Z] v2.0.0-dev.3 [2021-04-28T20:25:44.627Z] v2.0.0-dev.30 [2021-04-28T20:25:44.627Z] v2.0.0-dev.31 [2021-04-28T20:25:44.627Z] v2.0.0-dev.32 [2021-04-28T20:25:44.627Z] v2.0.0-dev.33 [2021-04-28T20:25:44.627Z] v2.0.0-dev.34 [2021-04-28T20:25:44.627Z] v2.0.0-dev.35 [2021-04-28T20:25:44.627Z] v2.0.0-dev.36 [2021-04-28T20:25:44.627Z] v2.0.0-dev.37 [2021-04-28T20:25:44.627Z] v2.0.0-dev.38 [2021-04-28T20:25:44.627Z] v2.0.0-dev.39 [2021-04-28T20:25:44.627Z] v2.0.0-dev.4 [2021-04-28T20:25:44.627Z] v2.0.0-dev.40 [2021-04-28T20:25:44.627Z] v2.0.0-dev.41 [2021-04-28T20:25:44.627Z] v2.0.0-dev.42 [2021-04-28T20:25:44.627Z] v2.0.0-dev.43 [2021-04-28T20:25:44.627Z] v2.0.0-dev.44 [2021-04-28T20:25:44.627Z] v2.0.0-dev.45 [2021-04-28T20:25:44.627Z] v2.0.0-dev.46 [2021-04-28T20:25:44.627Z] v2.0.0-dev.47 [2021-04-28T20:25:44.627Z] v2.0.0-dev.48 [2021-04-28T20:25:44.627Z] v2.0.0-dev.49 [2021-04-28T20:25:44.627Z] v2.0.0-dev.5 [2021-04-28T20:25:44.627Z] v2.0.0-dev.50 [2021-04-28T20:25:44.627Z] v2.0.0-dev.51 [2021-04-28T20:25:44.627Z] v2.0.0-dev.52 [2021-04-28T20:25:44.627Z] v2.0.0-dev.6 [2021-04-28T20:25:44.627Z] v2.0.0-dev.7 [2021-04-28T20:25:44.627Z] v2.0.0-dev.8 [2021-04-28T20:25:44.627Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-28T20:25:45.356Z] + lftools sign git-tag v2.0.0-dev.52 [2021-04-28T20:25:47.331Z] Signing Git tag with Sigul... [2021-04-28T20:25:47.331Z] Signing v2.0.0-dev.52 [Pipeline] echo [2021-04-28T20:25:48.307Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:25:48.974Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-28T20:25:48.991Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-28T20:25:49.031Z] $ docker stop --time=1 09d116466b621109a084e23d01d29426413a8bd5fc58b53b0ae758fe9caad27c [2021-04-28T20:25:51.545Z] $ docker rm -f 09d116466b621109a084e23d01d29426413a8bd5fc58b53b0ae758fe9caad27c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:25:52.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T20:25:52.357Z] . [Pipeline] withDockerContainer [2021-04-28T20:25:52.568Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:25:52.723Z] $ 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-28T20:25:54.683Z] $ docker top 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T20:25:55.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T20:25:55.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T20:25:55.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T20:25:55.927Z] $ docker exec 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 ssh-agent [2021-04-28T20:25:56.350Z] SSH_AUTH_SOCK=/tmp/ssh-Ld00NpHPjHar/agent.11 [2021-04-28T20:25:56.350Z] SSH_AGENT_PID=16 [2021-04-28T20:25:56.360Z] Running ssh-add (command line suppressed) [2021-04-28T20:25:56.674Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1531639761699196036.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1531639761699196036.key) [2021-04-28T20:25:56.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T20:25:57.452Z] + git semver bump pre [2021-04-28T20:25:57.453Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T20:25:57.453Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T20:25:57.453Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T20:25:57.453Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T20:25:57.453Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T20:25:57.453Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T20:25:57.453Z] # $SEMVER_BRANCH = master [2021-04-28T20:25:57.453Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-28T20:25:57.453Z] 2.0.0-dev.53 [Pipeline] } [2021-04-28T20:25:57.472Z] $ docker exec --env ******** --env ******** 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 ssh-agent -k [2021-04-28T20:25:57.757Z] unset SSH_AUTH_SOCK; [2021-04-28T20:25:57.759Z] unset SSH_AGENT_PID; [2021-04-28T20:25:57.759Z] echo Agent pid 16 killed; [2021-04-28T20:25:57.895Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T20:25:58.298Z] + git semver [Pipeline] } [2021-04-28T20:25:58.602Z] $ docker stop --time=1 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 [2021-04-28T20:26:00.372Z] $ docker rm -f 38d8f455d3856f87089096ebbb1b7843635e68b811e55843ea2b6e903b69ddb0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:26:01.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-28T20:26:01.663Z] . [Pipeline] withDockerContainer [2021-04-28T20:26:01.943Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:26:02.109Z] $ 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-28T20:26:04.312Z] $ docker top d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-28T20:26:04.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-28T20:26:04.880Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-28T20:26:05.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-28T20:26:05.361Z] $ docker exec d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 ssh-agent [2021-04-28T20:26:05.830Z] SSH_AUTH_SOCK=/tmp/ssh-JsS3zRg5m01N/agent.12 [2021-04-28T20:26:05.830Z] SSH_AGENT_PID=17 [2021-04-28T20:26:05.842Z] Running ssh-add (command line suppressed) [2021-04-28T20:26:06.102Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8138693258644432650.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8138693258644432650.key) [2021-04-28T20:26:06.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-28T20:26:06.638Z] + git semver push [2021-04-28T20:26:06.924Z] # -> Open(): unable to determine branch for HEAD [2021-04-28T20:26:06.924Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-28T20:26:06.924Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T20:26:06.924Z] # $SEMVER_REMOTE_NAME = origin [2021-04-28T20:26:06.924Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-28T20:26:06.924Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-28T20:26:06.924Z] # $SEMVER_BRANCH = master [2021-04-28T20:26:06.924Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-28T20:26:12.403Z] $ docker exec --env ******** --env ******** d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 ssh-agent -k [2021-04-28T20:26:12.657Z] unset SSH_AUTH_SOCK; [2021-04-28T20:26:12.660Z] unset SSH_AGENT_PID; [2021-04-28T20:26:12.661Z] echo Agent pid 17 killed; [2021-04-28T20:26:12.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-28T20:26:13.818Z] + git semver [Pipeline] } [2021-04-28T20:26:13.842Z] $ docker stop --time=1 d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 [2021-04-28T20:26:15.870Z] $ docker rm -f d20b0cc01498af0df665a46f34f7f582d98256b241ab88ec02f0dc0d084e20a7 [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-28T20:26:17.540Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:26:18.703Z] ---> package-listing.sh [2021-04-28T20:26:18.703Z] ++ facter osfamily [2021-04-28T20:26:18.703Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-28T20:26:18.984Z] + OS_FAMILY=redhat [2021-04-28T20:26:18.984Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-28T20:26:18.984Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-28T20:26:18.984Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-28T20:26:18.984Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-28T20:26:18.984Z] + PACKAGES=/tmp/packages_start.txt [2021-04-28T20:26:18.984Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-28T20:26:18.984Z] + PACKAGES=/tmp/packages_end.txt [2021-04-28T20:26:18.984Z] + case "${OS_FAMILY}" in [2021-04-28T20:26:18.984Z] + sort [2021-04-28T20:26:18.984Z] + rpm -qa [2021-04-28T20:26:29.310Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-28T20:26:29.310Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-28T20:26:29.310Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-28T20:26:29.310Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-28T20:26:29.310Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-28T20:26:29.310Z] + 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-28T20:26:29.335Z] 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-28T20:26:29.687Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:26:30.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T20:26:30.322Z] [2021-04-28T20:26:30.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-28T20:26:31.035Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T20:26:31.421Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-28T20:26:31.421Z] df20fa9351a1: Pulling fs layer [2021-04-28T20:26:31.421Z] 36b3adc4ff6f: Pulling fs layer [2021-04-28T20:26:31.421Z] 8ad3a11d3b57: Pulling fs layer [2021-04-28T20:26:31.421Z] 46f8f816bc3b: Pulling fs layer [2021-04-28T20:26:31.421Z] 93b61091891f: Pulling fs layer [2021-04-28T20:26:31.421Z] 93b9cdb0e59b: Pulling fs layer [2021-04-28T20:26:31.421Z] 5e14af77c1be: Pulling fs layer [2021-04-28T20:26:31.421Z] 01666e4c0597: Pulling fs layer [2021-04-28T20:26:31.421Z] aa168da1d23b: Pulling fs layer [2021-04-28T20:26:31.421Z] 93b9cdb0e59b: Waiting [2021-04-28T20:26:31.421Z] 01666e4c0597: Waiting [2021-04-28T20:26:31.421Z] aa168da1d23b: Waiting [2021-04-28T20:26:31.421Z] 5e14af77c1be: Waiting [2021-04-28T20:26:31.421Z] 46f8f816bc3b: Waiting [2021-04-28T20:26:31.421Z] 36b3adc4ff6f: Verifying Checksum [2021-04-28T20:26:31.421Z] 36b3adc4ff6f: Download complete [2021-04-28T20:26:31.728Z] 46f8f816bc3b: Download complete [2021-04-28T20:26:31.728Z] df20fa9351a1: Verifying Checksum [2021-04-28T20:26:32.081Z] 93b9cdb0e59b: Verifying Checksum [2021-04-28T20:26:32.081Z] 93b9cdb0e59b: Download complete [2021-04-28T20:26:32.081Z] 5e14af77c1be: Verifying Checksum [2021-04-28T20:26:32.081Z] 5e14af77c1be: Download complete [2021-04-28T20:26:32.081Z] 01666e4c0597: Verifying Checksum [2021-04-28T20:26:32.081Z] 01666e4c0597: Download complete [2021-04-28T20:26:32.081Z] 93b61091891f: Download complete [2021-04-28T20:26:32.668Z] 8ad3a11d3b57: Verifying Checksum [2021-04-28T20:26:32.668Z] 8ad3a11d3b57: Download complete [2021-04-28T20:26:33.838Z] df20fa9351a1: Pull complete [2021-04-28T20:26:34.221Z] 36b3adc4ff6f: Pull complete [2021-04-28T20:26:37.058Z] 8ad3a11d3b57: Pull complete [2021-04-28T20:26:37.058Z] 46f8f816bc3b: Pull complete [2021-04-28T20:26:38.614Z] 93b61091891f: Pull complete [2021-04-28T20:26:38.614Z] aa168da1d23b: Verifying Checksum [2021-04-28T20:26:38.614Z] aa168da1d23b: Download complete [2021-04-28T20:26:39.727Z] 93b9cdb0e59b: Pull complete [2021-04-28T20:26:40.332Z] 5e14af77c1be: Pull complete [2021-04-28T20:26:40.935Z] 01666e4c0597: Pull complete [2021-04-28T20:27:03.603Z] aa168da1d23b: Pull complete [2021-04-28T20:27:03.604Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-28T20:27:03.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-28T20:27:03.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-28T20:27:04.235Z] prd-centos7-docker-4c-2g-2237 does not seem to be running inside a container [2021-04-28T20:27:04.328Z] $ 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-28T20:27:08.008Z] $ docker top 35496fde24d8a0eff5a27fe8e3db7100d891714f7c1335f914168d9b59b41a32 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-28T20:27:09.173Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-28T20:27:09.959Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-28T20:27:10.816Z] + ls /var/log/sa-host [2021-04-28T20:27:10.816Z] + sadf -c /var/log/sa-host/sa23 [2021-04-28T20:27:10.816Z] file_magic: OK [2021-04-28T20:27:10.816Z] HZ: Using current value: 100 [2021-04-28T20:27:10.816Z] file_header: OK [2021-04-28T20:27:10.816Z] 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-28T20:27:10.816Z] Statistics: [2021-04-28T20:27:10.816Z] Hnuu...uuuununununu... [2021-04-28T20:27:10.816Z] File successfully converted to sysstat format version 12.2.1 [2021-04-28T20:27:10.816Z] + sadf -c /var/log/sa-host/sa28 [2021-04-28T20:27:10.816Z] file_magic: OK [2021-04-28T20:27:10.816Z] HZ: Using current value: 100 [2021-04-28T20:27:10.816Z] file_header: OK [2021-04-28T20:27:10.816Z] 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-28T20:27:10.816Z] Statistics: [2021-04-28T20:27:10.817Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-28T20:27:10.817Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-28T20:27:11.405Z] provisioning config files... [2021-04-28T20:27:11.430Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7502280503355353959tmp [Pipeline] { [Pipeline] echo [2021-04-28T20:27:11.486Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:27:12.177Z] ---> create-netrc.sh [Pipeline] } [2021-04-28T20:27:12.192Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-28T20:27:12.219Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:27:12.898Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-28T20:27:12.915Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:27:13.587Z] ---> sudo-logs.sh [2021-04-28T20:27:13.587Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-28T20:27:13.623Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:27:14.340Z] ---> job-cost.sh [2021-04-28T20:27:14.620Z] lf-activate-venv: SKIPPING [2021-04-28T20:27:14.620Z] DEBUG: total: 0.20999999344348907 [2021-04-28T20:27:14.620Z] INFO: Retrieving Stack Cost... [2021-04-28T20:27:16.601Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-28T20:27:16.875Z] INFO: Archiving Costs [Pipeline] echo [2021-04-28T20:27:16.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-28T20:27:17.580Z] ---> logs-deploy.sh [2021-04-28T20:27:17.580Z] lf-activate-venv: SKIPPING [2021-04-28T20:27:17.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/222 [2021-04-28T20:27:17.580Z] INFO: archiving workspace using pattern(s): [2021-04-28T20:27:21.100Z] Archives upload complete. [2021-04-28T20:27:21.381Z] INFO: archiving logs to Nexus