Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30553 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 Commit message: "refactor: Adjust code for latest go-mod-core contracts changes (#750)" > git rev-list --no-walk 80392469d13108544d30315506c63890ba703a25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-19T15:59:55.777Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-19T15:59:56.085Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-19T15:59:56.211Z] ========================================================= [2021-03-19T15:59:56.212Z] EdgeX Global Pipelines Version Info [2021-03-19T15:59:56.212Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-19T15:59:58.233Z] ------------------- [2021-03-19T15:59:58.233Z] stable info: [2021-03-19T15:59:58.233Z] ------------------- [2021-03-19T15:59:58.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-19T15:59:58.233Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-19T15:59:58.233Z] Message: update stable to v1.0.184 [2021-03-19T15:59:58.834Z] ------------------- [2021-03-19T15:59:58.834Z] experimental info: [2021-03-19T15:59:58.834Z] ------------------- [2021-03-19T15:59:58.834Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-19T15:59:58.834Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-19T15:59:58.834Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-19T15:59:59.111Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-19T15:59:59.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-19T15:59:59.292Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-19T15:59:59.379Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-19T15:59:59.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-19T15:59:59.568Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-19T15:59:59.665Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-19T15:59:59.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-19T15:59:59.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-19T15:59:59.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-19T16:00:00.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-19T16:00:00.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-19T16:00:00.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-19T16:00:00.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-19T16:00:00.533Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T16:00:00.643Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T16:00:00.728Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T16:00:00.835Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-19T16:00:00.940Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-19T16:00:01.073Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-19T16:00:01.166Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-19T16:00:01.267Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-19T16:00:01.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-19T16:00:01.441Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-19T16:00:01.589Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-19T16:00:01.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-19T16:00:01.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-19T16:00:01.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-19T16:00:02.066Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-19T16:00:02.155Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] echo [2021-03-19T16:00:02.243Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f69f495 [Pipeline] echo [2021-03-19T16:00:02.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T16:00:03.166Z] + git log --format=format:%s -1 f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] echo [2021-03-19T16:00:03.250Z] GIT_COMMIT: f69f49597da150ce93c9eb1ee6e50bc5240f0ee6, Commit Message: refactor: Adjust code for latest go-mod-core contracts changes (#750) [Pipeline] echo [2021-03-19T16:00:03.296Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:00:04.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T16:00:04.614Z] [2021-03-19T16:00:04.614Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:00:04.975Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T16:00:04.975Z] latest: Pulling from edgex-devops/git-semver [2021-03-19T16:00:04.975Z] 31603596830f: Pulling fs layer [2021-03-19T16:00:04.975Z] 2a8b12db71e7: Pulling fs layer [2021-03-19T16:00:04.975Z] 6ca5941a6612: Pulling fs layer [2021-03-19T16:00:04.975Z] ecc8261a40a4: Pulling fs layer [2021-03-19T16:00:04.975Z] ecc8261a40a4: Waiting [2021-03-19T16:00:04.975Z] 2a8b12db71e7: Download complete [2021-03-19T16:00:05.242Z] 31603596830f: Verifying Checksum [2021-03-19T16:00:05.242Z] 31603596830f: Download complete [2021-03-19T16:00:05.242Z] ecc8261a40a4: Verifying Checksum [2021-03-19T16:00:05.242Z] ecc8261a40a4: Download complete [2021-03-19T16:00:05.242Z] 6ca5941a6612: Verifying Checksum [2021-03-19T16:00:05.242Z] 6ca5941a6612: Download complete [2021-03-19T16:00:05.510Z] 31603596830f: Pull complete [2021-03-19T16:00:05.776Z] 2a8b12db71e7: Pull complete [2021-03-19T16:00:06.733Z] 6ca5941a6612: Pull complete [2021-03-19T16:00:06.733Z] ecc8261a40a4: Pull complete [2021-03-19T16:00:06.998Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-19T16:00:06.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T16:00:06.998Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-19T16:00:07.116Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:00:07.181Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T16:00:09.130Z] $ docker top fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T16:00:09.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T16:00:09.415Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T16:00:09.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T16:00:09.675Z] $ docker exec fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent [2021-03-19T16:00:09.934Z] SSH_AUTH_SOCK=/tmp/ssh-1JLib8sbaBv3/agent.11 [2021-03-19T16:00:09.935Z] SSH_AGENT_PID=16 [2021-03-19T16:00:09.945Z] Running ssh-add (command line suppressed) [2021-03-19T16:00:10.077Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3799723338633321431.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3799723338633321431.key) [2021-03-19T16:00:10.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T16:00:10.478Z] + git tag --points-at HEAD [Pipeline] } [2021-03-19T16:00:10.504Z] $ docker exec --env ******** --env ******** fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent -k [2021-03-19T16:00:10.656Z] unset SSH_AUTH_SOCK; [2021-03-19T16:00:10.656Z] unset SSH_AGENT_PID; [2021-03-19T16:00:10.657Z] echo Agent pid 16 killed; [2021-03-19T16:00:10.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-19T16:00:10.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T16:00:10.937Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T16:00:11.122Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T16:00:11.128Z] $ docker exec fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent [2021-03-19T16:00:11.305Z] SSH_AUTH_SOCK=/tmp/ssh-0DLCbZ1DS6Eq/agent.47 [2021-03-19T16:00:11.305Z] SSH_AGENT_PID=52 [2021-03-19T16:00:11.315Z] Running ssh-add (command line suppressed) [2021-03-19T16:00:11.447Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2237653108073934823.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2237653108073934823.key) [2021-03-19T16:00:11.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T16:00:11.842Z] + git semver init [2021-03-19T16:00:11.842Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T16:00:11.842Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T16:00:11.842Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T16:00:11.842Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T16:00:11.842Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T16:00:11.842Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T16:00:11.842Z] # $SEMVER_BRANCH = master [2021-03-19T16:00:11.842Z] # $SEMVER_TEMP = /tmp/semver-272393660 [2021-03-19T16:00:11.842Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-19T16:00:15.189Z] # '/tmp/semver-272393660' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-19T16:00:15.189Z] # -> Force: false [2021-03-19T16:00:15.189Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-19T16:00:15.205Z] $ docker exec --env ******** --env ******** fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent -k [2021-03-19T16:00:15.387Z] unset SSH_AUTH_SOCK; [2021-03-19T16:00:15.388Z] unset SSH_AGENT_PID; [2021-03-19T16:00:15.388Z] echo Agent pid 52 killed; [2021-03-19T16:00:15.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T16:00:15.930Z] + git semver [Pipeline] } [2021-03-19T16:00:15.958Z] $ docker stop --time=1 fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b [2021-03-19T16:00:17.500Z] $ docker rm -f fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T16:00:17.999Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-19T16:00:18.546Z] Stashed 1 file(s) [Pipeline] echo [2021-03-19T16:00:18.549Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.30 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-19T16:00:34.166Z] Still waiting to schedule task [2021-03-19T16:00:34.166Z] ‘prd-centos7-docker-4c-2g-30554’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-19T16:00:34.168Z] Still waiting to schedule task [2021-03-19T16:00:34.168Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-19T16:02:12.438Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30555 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-19T16:02:12.495Z] Running in /w/workspace/app-functions-sdk-go/197 [Pipeline] { [Pipeline] checkout [2021-03-19T16:02:17.523Z] using credential edgex-jenkins-ssh [2021-03-19T16:02:17.581Z] Cloning the remote Git repository [2021-03-19T16:02:17.635Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T16:02:17.739Z] > git init /w/workspace/app-functions-sdk-go/197 # timeout=10 [2021-03-19T16:02:17.827Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T16:02:17.828Z] > git --version # timeout=10 [2021-03-19T16:02:17.861Z] > git --version # 'git version 2.17.1' [2021-03-19T16:02:17.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T16:02:17.931Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T16:02:21.008Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T16:02:21.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T16:02:21.055Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T16:02:21.088Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T16:02:21.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T16:02:21.101Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T16:02:21.568Z] Checking out Revision f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 (master) [2021-03-19T16:02:21.587Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T16:02:21.642Z] > git checkout -f f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 [2021-03-19T16:02:25.901Z] Commit message: "refactor: Adjust code for latest go-mod-core contracts changes (#750)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T16:02:27.611Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-19T16:02:28.096Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T16:02:28.428Z] + true [2021-03-19T16:02:28.428Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-19T16:02:30.747Z] ========================================================= [2021-03-19T16:02:30.747Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-19T16:02:30.747Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:02:31.124Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-19T16:02:32.112Z] Sending build context to Docker daemon 19.37MB [2021-03-19T16:02:32.112Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T16:02:32.112Z] Step 2/8 : FROM ${BASE} [2021-03-19T16:02:32.393Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-19T16:02:32.393Z] 5f621e34cdf4: Pulling fs layer [2021-03-19T16:02:32.393Z] a4357932f1b6: Pulling fs layer [2021-03-19T16:02:32.393Z] 18c013af1878: Pulling fs layer [2021-03-19T16:02:32.393Z] 00ac8860ef70: Pulling fs layer [2021-03-19T16:02:32.393Z] 63d7cb157983: Pulling fs layer [2021-03-19T16:02:32.393Z] b116817d02f9: Pulling fs layer [2021-03-19T16:02:32.393Z] 745a02a5169b: Pulling fs layer [2021-03-19T16:02:32.394Z] 63d7cb157983: Waiting [2021-03-19T16:02:32.394Z] b116817d02f9: Waiting [2021-03-19T16:02:32.394Z] 745a02a5169b: Waiting [2021-03-19T16:02:32.394Z] 00ac8860ef70: Waiting [2021-03-19T16:02:32.670Z] 18c013af1878: Verifying Checksum [2021-03-19T16:02:32.670Z] 18c013af1878: Download complete [2021-03-19T16:02:32.670Z] a4357932f1b6: Verifying Checksum [2021-03-19T16:02:32.670Z] a4357932f1b6: Download complete [2021-03-19T16:02:32.670Z] 63d7cb157983: Verifying Checksum [2021-03-19T16:02:32.670Z] 63d7cb157983: Download complete [2021-03-19T16:02:32.670Z] b116817d02f9: Verifying Checksum [2021-03-19T16:02:32.670Z] b116817d02f9: Download complete [2021-03-19T16:02:32.670Z] 5f621e34cdf4: Verifying Checksum [2021-03-19T16:02:32.670Z] 5f621e34cdf4: Download complete [2021-03-19T16:02:33.293Z] 5f621e34cdf4: Pull complete [2021-03-19T16:02:33.901Z] a4357932f1b6: Pull complete [2021-03-19T16:02:34.178Z] 18c013af1878: Pull complete [2021-03-19T16:02:34.782Z] 745a02a5169b: Verifying Checksum [2021-03-19T16:02:34.782Z] 745a02a5169b: Download complete [2021-03-19T16:02:36.223Z] 00ac8860ef70: Verifying Checksum [2021-03-19T16:02:36.223Z] 00ac8860ef70: Download complete [2021-03-19T16:02:48.670Z] 00ac8860ef70: Pull complete [2021-03-19T16:02:48.670Z] 63d7cb157983: Pull complete [2021-03-19T16:02:48.670Z] b116817d02f9: Pull complete [2021-03-19T16:02:51.321Z] 745a02a5169b: Pull complete [2021-03-19T16:02:51.321Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-19T16:02:51.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-19T16:02:51.321Z] ---> b7e6874047d6 [2021-03-19T16:02:51.321Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-19T16:02:51.321Z] 20.10.0: Pulling from library/docker [2021-03-19T16:02:51.321Z] a3cc7d3b244e: Pulling fs layer [2021-03-19T16:02:51.321Z] 02a3295e0d61: Pulling fs layer [2021-03-19T16:02:51.321Z] 0f4f2e6d8100: Pulling fs layer [2021-03-19T16:02:51.321Z] 330b718f631f: Pulling fs layer [2021-03-19T16:02:51.321Z] a93816041522: Pulling fs layer [2021-03-19T16:02:51.321Z] bdb6da89ff94: Pulling fs layer [2021-03-19T16:02:51.321Z] 2a70c0c122f4: Pulling fs layer [2021-03-19T16:02:51.321Z] a93816041522: Waiting [2021-03-19T16:02:51.321Z] bdb6da89ff94: Waiting [2021-03-19T16:02:51.321Z] 2a70c0c122f4: Waiting [2021-03-19T16:02:51.321Z] 330b718f631f: Waiting [2021-03-19T16:02:51.321Z] 0f4f2e6d8100: Download complete [2021-03-19T16:02:51.321Z] 02a3295e0d61: Download complete [2021-03-19T16:02:51.321Z] a93816041522: Verifying Checksum [2021-03-19T16:02:51.321Z] a93816041522: Download complete [2021-03-19T16:02:51.321Z] bdb6da89ff94: Download complete [2021-03-19T16:02:51.321Z] a3cc7d3b244e: Verifying Checksum [2021-03-19T16:02:51.321Z] a3cc7d3b244e: Download complete [2021-03-19T16:02:51.321Z] 2a70c0c122f4: Verifying Checksum [2021-03-19T16:02:51.321Z] 2a70c0c122f4: Download complete [2021-03-19T16:02:51.931Z] a3cc7d3b244e: Pull complete [2021-03-19T16:02:52.920Z] 02a3295e0d61: Pull complete [2021-03-19T16:02:52.920Z] 330b718f631f: Verifying Checksum [2021-03-19T16:02:52.920Z] 330b718f631f: Download complete [2021-03-19T16:02:53.194Z] 0f4f2e6d8100: Pull complete [2021-03-19T16:02:57.512Z] 330b718f631f: Pull complete [2021-03-19T16:02:57.512Z] a93816041522: Pull complete [2021-03-19T16:02:57.788Z] bdb6da89ff94: Pull complete [2021-03-19T16:02:58.062Z] 2a70c0c122f4: Pull complete [2021-03-19T16:02:58.334Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-19T16:02:58.334Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-19T16:03:05.065Z] ---> 51538a879125 [2021-03-19T16:03:05.065Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-19T16:03:05.065Z] ---> Running in fc92ea89a5c5 [2021-03-19T16:03:05.065Z] Removing intermediate container fc92ea89a5c5 [2021-03-19T16:03:05.065Z] ---> a860e01d0e8c [2021-03-19T16:03:05.065Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-19T16:03:05.065Z] ---> Running in 42ee08b567a9 [2021-03-19T16:03:06.507Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-19T16:03:07.101Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-19T16:03:08.090Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-19T16:03:08.090Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-19T16:03:08.364Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-19T16:03:08.364Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-19T16:03:08.637Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-19T16:03:08.637Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T16:03:08.637Z] OK: 144 MiB in 44 packages [2021-03-19T16:03:10.091Z] Removing intermediate container 42ee08b567a9 [2021-03-19T16:03:10.091Z] ---> 1c0cd2a4e85f [2021-03-19T16:03:10.091Z] Step 6/8 : WORKDIR /build [2021-03-19T16:03:10.091Z] ---> Running in 88fd5647dee8 [2021-03-19T16:03:10.693Z] Removing intermediate container 88fd5647dee8 [2021-03-19T16:03:10.693Z] ---> 63fcd1172f13 [2021-03-19T16:03:10.693Z] Step 7/8 : COPY go.mod . [2021-03-19T16:03:11.290Z] ---> db37babc5804 [2021-03-19T16:03:11.290Z] Step 8/8 : RUN go mod download [2021-03-19T16:03:11.562Z] ---> Running in bb9c83d90ea3 [2021-03-19T16:03:17.486Z] Running on prd-centos7-docker-4c-2g-30558 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-19T16:03:17.538Z] Running in /w/workspace/app-functions-sdk-go/197 [Pipeline] { [Pipeline] checkout [2021-03-19T16:03:25.414Z] using credential edgex-jenkins-ssh [2021-03-19T16:03:25.509Z] Cloning the remote Git repository [2021-03-19T16:03:25.577Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T16:03:25.669Z] > git init /w/workspace/app-functions-sdk-go/197 # timeout=10 [2021-03-19T16:03:25.785Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T16:03:25.785Z] > git --version # timeout=10 [2021-03-19T16:03:25.863Z] > git --version # 'git version 2.24.3' [2021-03-19T16:03:25.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T16:03:25.949Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T16:03:29.667Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T16:03:29.945Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-19T16:03:30.036Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-19T16:03:30.713Z] Checking out Revision f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 (master) [2021-03-19T16:03:30.168Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-19T16:03:30.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-19T16:03:30.181Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-19T16:03:30.740Z] > git config core.sparsecheckout # timeout=10 [2021-03-19T16:03:30.793Z] > git checkout -f f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 [2021-03-19T16:03:35.477Z] Commit message: "refactor: Adjust code for latest go-mod-core contracts changes (#750)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-19T16:03:37.441Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-19T16:03:37.987Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-19T16:03:38.329Z] + sudo service docker restart [2021-03-19T16:03:38.329Z] + true [2021-03-19T16:03:38.329Z] Redirecting to /bin/systemctl restart docker.service [2021-03-19T16:03:38.377Z] Removing intermediate container bb9c83d90ea3 [2021-03-19T16:03:38.377Z] ---> 1d969d154d2b [2021-03-19T16:03:38.377Z] Successfully built 1d969d154d2b [2021-03-19T16:03:38.377Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:03:38.737Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T16:03:38.737Z] . [Pipeline] withDockerContainer [2021-03-19T16:03:39.034Z] prd-ubuntu18.04-docker-arm64-4c-16g-30555 does not seem to be running inside a container [2021-03-19T16:03:39.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T16:03:40.725Z] $ docker top 63f3ca1a57989ccaa6317a240fe28722dd165361a58ea907cdc159ce72dc19cb -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] echo [2021-03-19T16:03:41.523Z] ========================================================= [2021-03-19T16:03:41.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-19T16:03:41.523Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:03:41.805Z] + go version [2021-03-19T16:03:41.805Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-19T16:03:41.825Z] $ docker stop --time=1 63f3ca1a57989ccaa6317a240fe28722dd165361a58ea907cdc159ce72dc19cb [2021-03-19T16:03:42.001Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-19T16:03:43.483Z] Sending build context to Docker daemon 19.37MB [2021-03-19T16:03:43.483Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-19T16:03:43.483Z] Step 2/8 : FROM ${BASE} [2021-03-19T16:03:43.483Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-19T16:03:43.483Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T16:03:43.483Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T16:03:43.483Z] de9db76c5a1d: Pulling fs layer [2021-03-19T16:03:43.483Z] bca2f99d35d6: Pulling fs layer [2021-03-19T16:03:43.484Z] 93359f2a8cfa: Pulling fs layer [2021-03-19T16:03:43.484Z] 7c6f9722023f: Pulling fs layer [2021-03-19T16:03:43.484Z] a35cf1a2eb13: Pulling fs layer [2021-03-19T16:03:43.484Z] 93359f2a8cfa: Waiting [2021-03-19T16:03:43.484Z] 7c6f9722023f: Waiting [2021-03-19T16:03:43.484Z] a35cf1a2eb13: Waiting [2021-03-19T16:03:43.484Z] bca2f99d35d6: Waiting [2021-03-19T16:03:43.484Z] de9db76c5a1d: Download complete [2021-03-19T16:03:43.484Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T16:03:43.484Z] 0ef7d3d256c8: Download complete [2021-03-19T16:03:43.484Z] 93359f2a8cfa: Verifying Checksum [2021-03-19T16:03:43.484Z] 93359f2a8cfa: Download complete [2021-03-19T16:03:43.484Z] 7c6f9722023f: Download complete [2021-03-19T16:03:43.777Z] 188c0c94c7c5: Verifying Checksum [2021-03-19T16:03:43.777Z] 188c0c94c7c5: Download complete [2021-03-19T16:03:43.788Z] $ docker rm -f 63f3ca1a57989ccaa6317a240fe28722dd165361a58ea907cdc159ce72dc19cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-03-19T16:03:44.385Z] 188c0c94c7c5: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:03:44.683Z] 0ef7d3d256c8: Pull complete [2021-03-19T16:03:44.748Z] + docker inspect -f . ci-base-image-arm64 [2021-03-19T16:03:44.749Z] . [Pipeline] withDockerContainer [2021-03-19T16:03:44.973Z] de9db76c5a1d: Pull complete [2021-03-19T16:03:45.011Z] prd-ubuntu18.04-docker-arm64-4c-16g-30555 does not seem to be running inside a container [2021-03-19T16:03:45.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-19T16:03:46.662Z] $ docker top 66eaf5b1bac073b46da8d85ff6e7f041f16f18650c3ed1eb0b690009d6df3a1b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T16:03:47.086Z] a35cf1a2eb13: Verifying Checksum [2021-03-19T16:03:47.086Z] a35cf1a2eb13: Download complete [2021-03-19T16:03:47.654Z] + make test [2021-03-19T16:03:47.654Z] make -C ./app-service-template build [2021-03-19T16:03:47.654Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:03:47.654Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-19T16:03:48.539Z] bca2f99d35d6: Verifying Checksum [2021-03-19T16:03:48.539Z] bca2f99d35d6: Download complete [2021-03-19T16:04:01.189Z] bca2f99d35d6: Pull complete [2021-03-19T16:04:01.189Z] 93359f2a8cfa: Pull complete [2021-03-19T16:04:01.189Z] 7c6f9722023f: Pull complete [2021-03-19T16:04:09.865Z] a35cf1a2eb13: Pull complete [2021-03-19T16:04:09.865Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-19T16:04:09.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-19T16:04:09.865Z] ---> a62c8e92a672 [2021-03-19T16:04:09.865Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-19T16:04:09.865Z] 20.10.0: Pulling from library/docker [2021-03-19T16:04:09.865Z] 05e7bc50f07f: Pulling fs layer [2021-03-19T16:04:09.865Z] 6db28d0fdbf6: Pulling fs layer [2021-03-19T16:04:09.865Z] 292df0bc6bf3: Pulling fs layer [2021-03-19T16:04:09.865Z] 2e060f4bd70b: Pulling fs layer [2021-03-19T16:04:09.865Z] 80e8d568a223: Pulling fs layer [2021-03-19T16:04:09.865Z] 8dc6ef1a942a: Pulling fs layer [2021-03-19T16:04:09.865Z] 2312dd95470a: Pulling fs layer [2021-03-19T16:04:09.865Z] 2e060f4bd70b: Waiting [2021-03-19T16:04:09.865Z] 80e8d568a223: Waiting [2021-03-19T16:04:09.865Z] 8dc6ef1a942a: Waiting [2021-03-19T16:04:09.865Z] 2312dd95470a: Waiting [2021-03-19T16:04:09.865Z] 292df0bc6bf3: Verifying Checksum [2021-03-19T16:04:09.865Z] 292df0bc6bf3: Download complete [2021-03-19T16:04:09.865Z] 6db28d0fdbf6: Verifying Checksum [2021-03-19T16:04:09.865Z] 6db28d0fdbf6: Download complete [2021-03-19T16:04:09.865Z] 80e8d568a223: Verifying Checksum [2021-03-19T16:04:09.865Z] 80e8d568a223: Download complete [2021-03-19T16:04:09.865Z] 8dc6ef1a942a: Verifying Checksum [2021-03-19T16:04:09.865Z] 8dc6ef1a942a: Download complete [2021-03-19T16:04:09.865Z] 05e7bc50f07f: Verifying Checksum [2021-03-19T16:04:09.865Z] 05e7bc50f07f: Download complete [2021-03-19T16:04:09.865Z] 2312dd95470a: Verifying Checksum [2021-03-19T16:04:09.865Z] 2312dd95470a: Download complete [2021-03-19T16:04:10.147Z] 05e7bc50f07f: Pull complete [2021-03-19T16:04:10.788Z] 6db28d0fdbf6: Pull complete [2021-03-19T16:04:11.073Z] 292df0bc6bf3: Pull complete [2021-03-19T16:04:11.683Z] 2e060f4bd70b: Verifying Checksum [2021-03-19T16:04:11.683Z] 2e060f4bd70b: Download complete [2021-03-19T16:04:18.477Z] 2e060f4bd70b: Pull complete [2021-03-19T16:04:18.477Z] 80e8d568a223: Pull complete [2021-03-19T16:04:18.477Z] 8dc6ef1a942a: Pull complete [2021-03-19T16:04:18.758Z] 2312dd95470a: Pull complete [2021-03-19T16:04:18.758Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-19T16:04:18.758Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-19T16:04:21.508Z] ---> 14e8e1ae1973 [2021-03-19T16:04:21.508Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-19T16:04:21.508Z] ---> Running in c500138ecd55 [2021-03-19T16:04:21.508Z] Removing intermediate container c500138ecd55 [2021-03-19T16:04:21.508Z] ---> d3b13606b98d [2021-03-19T16:04:21.508Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-19T16:04:21.508Z] ---> Running in b513b0bb0c6b [2021-03-19T16:04:22.977Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-19T16:04:23.970Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-19T16:04:24.958Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-19T16:04:24.958Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-19T16:04:24.958Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-19T16:04:25.234Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-19T16:04:25.234Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-19T16:04:25.234Z] Executing busybox-1.31.1-r19.trigger [2021-03-19T16:04:25.234Z] OK: 167 MiB in 44 packages [2021-03-19T16:04:26.702Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:04:26.702Z] make -C ./app-service-template test [2021-03-19T16:04:26.702Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:04:26.702Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-19T16:04:26.759Z] Removing intermediate container b513b0bb0c6b [2021-03-19T16:04:26.760Z] ---> 4677fed0c068 [2021-03-19T16:04:26.760Z] Step 6/8 : WORKDIR /build [2021-03-19T16:04:26.760Z] ---> Running in cf15af68fb6d [2021-03-19T16:04:27.032Z] Removing intermediate container cf15af68fb6d [2021-03-19T16:04:27.032Z] ---> 64c9dab6026a [2021-03-19T16:04:27.032Z] Step 7/8 : COPY go.mod . [2021-03-19T16:04:27.641Z] ---> 79c5c2a78c43 [2021-03-19T16:04:27.641Z] Step 8/8 : RUN go mod download [2021-03-19T16:04:27.641Z] ---> Running in abe887181b69 [2021-03-19T16:04:45.053Z] ok new-app-service 0.032s coverage: 89.5% of statements [2021-03-19T16:04:46.034Z] ok new-app-service/functions 0.030s [2021-03-19T16:04:46.309Z] CGO_ENABLED=1 go vet ./... [2021-03-19T16:04:56.527Z] gofmt -l . [2021-03-19T16:04:56.527Z] [ "`gofmt -l .`" = "" ] [2021-03-19T16:04:56.527Z] ./bin/test-go-mod-tidy.sh [2021-03-19T16:04:56.527Z] ./bin/test-attribution-txt.sh [2021-03-19T16:04:57.509Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:04:57.509Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-19T16:04:59.086Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.071s coverage: 56.1% of statements [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.038s coverage: 92.5% of statements [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.074s coverage: 61.5% of statements [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.029s [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.075s coverage: 75.4% of statements [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.030s coverage: 97.0% of statements [2021-03-19T16:05:09.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T16:05:09.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.055s coverage: 10.5% of statements [2021-03-19T16:05:14.814Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.824s coverage: 78.4% of statements [2021-03-19T16:05:14.814Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-19T16:05:14.814Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.025s coverage: 20.0% of statements [2021-03-19T16:05:14.814Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements [2021-03-19T16:05:14.814Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-19T16:05:14.814Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-19T16:05:14.814Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 71.7% of statements [2021-03-19T16:05:15.024Z] Removing intermediate container abe887181b69 [2021-03-19T16:05:15.024Z] ---> 87ed8207174f [2021-03-19T16:05:15.024Z] Successfully built 87ed8207174f [2021-03-19T16:05:15.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:05:15.465Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T16:05:16.901Z] . [Pipeline] withDockerContainer [2021-03-19T16:05:17.171Z] prd-centos7-docker-4c-2g-30558 does not seem to be running inside a container [2021-03-19T16:05:17.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T16:05:19.787Z] $ docker top 404bcb0011acbace6b8f80ce8c6db7bb5c641d9d105e4a4070b29dfdd929a461 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T16:05:21.796Z] + go version [2021-03-19T16:05:21.796Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-19T16:05:21.822Z] $ docker stop --time=1 404bcb0011acbace6b8f80ce8c6db7bb5c641d9d105e4a4070b29dfdd929a461 [2021-03-19T16:05:23.856Z] $ docker rm -f 404bcb0011acbace6b8f80ce8c6db7bb5c641d9d105e4a4070b29dfdd929a461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:05:24.860Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-19T16:05:24.860Z] . [Pipeline] withDockerContainer [2021-03-19T16:05:25.010Z] prd-centos7-docker-4c-2g-30558 does not seem to be running inside a container [2021-03-19T16:05:25.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-19T16:05:26.731Z] $ docker top 00f72fbeee1195e01d6f9c8f9d4887a83eb7100df1f6d17f3d1e666a45183962 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T16:05:27.428Z] + make test [2021-03-19T16:05:27.428Z] make -C ./app-service-template build [2021-03-19T16:05:27.428Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:05:27.428Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-19T16:05:41.588Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements [2021-03-19T16:05:41.588Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements [2021-03-19T16:05:41.588Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-19T16:05:44.219Z] gofmt -l . [2021-03-19T16:05:44.493Z] [ "`gofmt -l .`" = "" ] [2021-03-19T16:05:44.768Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T16:05:45.385Z] $ docker stop --time=1 66eaf5b1bac073b46da8d85ff6e7f041f16f18650c3ed1eb0b690009d6df3a1b [2021-03-19T16:05:47.532Z] $ docker rm -f 66eaf5b1bac073b46da8d85ff6e7f041f16f18650c3ed1eb0b690009d6df3a1b [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T16:05:48.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T16:05:49.383Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:05:50.594Z] ---> job-cost.sh [2021-03-19T16:05:50.594Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-knvx [2021-03-19T16:06:09.023Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:06:09.023Z] make -C ./app-service-template test [2021-03-19T16:06:09.023Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:06:09.023Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-19T16:06:28.044Z] ok new-app-service 0.085s coverage: 89.5% of statements [2021-03-19T16:06:28.044Z] ok new-app-service/functions 0.120s [2021-03-19T16:06:28.044Z] CGO_ENABLED=1 go vet ./... [2021-03-19T16:06:29.531Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T16:06:37.142Z] gofmt -l . [2021-03-19T16:06:37.142Z] [ "`gofmt -l .`" = "" ] [2021-03-19T16:06:37.142Z] ./bin/test-go-mod-tidy.sh [2021-03-19T16:06:38.621Z] ./bin/test-attribution-txt.sh [2021-03-19T16:06:40.349Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' [2021-03-19T16:06:40.349Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-19T16:06:43.187Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-19T16:06:50.564Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.080s coverage: 56.1% of statements [2021-03-19T16:06:50.564Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.076s coverage: 92.5% of statements [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-19T16:06:50.564Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.083s coverage: 61.5% of statements [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-19T16:06:50.564Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.022s [2021-03-19T16:06:50.564Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.237s coverage: 75.4% of statements [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-19T16:06:50.564Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.060s coverage: 97.0% of statements [2021-03-19T16:06:50.564Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-19T16:06:51.265Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 10.5% of statements [2021-03-19T16:06:57.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.004s coverage: 78.4% of statements [2021-03-19T16:06:57.116Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-19T16:06:57.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.126s coverage: 20.0% of statements [2021-03-19T16:06:57.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.124s coverage: 27.3% of statements [2021-03-19T16:06:57.116Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-19T16:06:57.116Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-19T16:06:57.116Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.033s coverage: 71.7% of statements [2021-03-19T16:07:23.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 81.9% of statements [2021-03-19T16:07:23.832Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.095s coverage: 94.4% of statements [2021-03-19T16:07:23.832Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-19T16:07:23.832Z] gofmt -l . [2021-03-19T16:07:23.832Z] [ "`gofmt -l .`" = "" ] [2021-03-19T16:07:23.832Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-19T16:07:23.854Z] $ docker stop --time=1 00f72fbeee1195e01d6f9c8f9d4887a83eb7100df1f6d17f3d1e666a45183962 [2021-03-19T16:07:26.021Z] $ docker rm -f 00f72fbeee1195e01d6f9c8f9d4887a83eb7100df1f6d17f3d1e666a45183962 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-19T16:07:26.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-19T16:07:26.862Z] Warning: overwriting stash ‘coverage-report’ [2021-03-19T16:07:27.530Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:07:28.686Z] ---> job-cost.sh [2021-03-19T16:07:28.686Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5FjP [2021-03-19T16:08:01.162Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-19T16:08:06.287Z] lf-activate-venv(): INFO: Adding /tmp/venv-knvx/bin to PATH [2021-03-19T16:08:06.287Z] INFO: No Stack... [2021-03-19T16:08:06.287Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-19T16:08:06.287Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T16:08:06.636Z] + cat /w/workspace/app-functions-sdk-go/197/archives/cost.csv [2021-03-19T16:08:06.636Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T16:08:06.745Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [2021-03-19T16:08:06.752Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] did not exist. Created. [2021-03-19T16:08:06.752Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T16:08:07.207Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-19T16:08:07.429Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T16:08:07.444Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-19T16:08:40.531Z] lf-activate-venv(): INFO: Adding /tmp/venv-5FjP/bin to PATH [2021-03-19T16:08:40.531Z] INFO: No Stack... [2021-03-19T16:08:40.531Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T16:08:40.531Z] INFO: Archiving Costs [Pipeline] sh [2021-03-19T16:08:40.862Z] + cat /w/workspace/app-functions-sdk-go/197/archives/cost.csv [2021-03-19T16:08:40.862Z] + cut -d, -f6 [Pipeline] lock [2021-03-19T16:08:40.988Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [2021-03-19T16:08:41.006Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] did not exist. Created. [2021-03-19T16:08:41.006Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T16:08:41.634Z] /w/workspace/app-functions-sdk-go/197@tmp/durable-763fb140/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-19T16:08:42.138Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-19T16:08:42.286Z] Warning: overwriting stash ‘stack-cost’ [2021-03-19T16:08:42.428Z] Stashed 1 file(s) [Pipeline] } [2021-03-19T16:08:42.439Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-19T16:08:43.747Z] provisioning config files... [2021-03-19T16:08:43.762Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3672795834323476874tmp [Pipeline] { [Pipeline] sh [2021-03-19T16:08:44.158Z] + set +x [2021-03-19T16:08:44.159Z] + curl -s https://codecov.io/bash [2021-03-19T16:08:44.159Z] + bash -s -- [2021-03-19T16:08:44.420Z] [2021-03-19T16:08:44.420Z] _____ _ [2021-03-19T16:08:44.420Z] / ____| | | [2021-03-19T16:08:44.420Z] | | ___ __| | ___ ___ _____ __ [2021-03-19T16:08:44.420Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-19T16:08:44.420Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-19T16:08:44.420Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-19T16:08:44.420Z] Bash-20210309-2b87ace [2021-03-19T16:08:44.420Z] [2021-03-19T16:08:44.420Z] [2021-03-19T16:08:44.420Z] ==> git version 2.24.3 found [2021-03-19T16:08:44.420Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-19T16:08:44.420Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-19T16:08:44.420Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-19T16:08:44.420Z] ==> Jenkins CI detected. [2021-03-19T16:08:44.420Z] project root: . [2021-03-19T16:08:44.421Z] --> token set from env [2021-03-19T16:08:44.421Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-19T16:08:44.421Z] ==> Running gcov in . (disable via -X gcov) [2021-03-19T16:08:44.421Z] ==> Python coveragepy not found [2021-03-19T16:08:44.421Z] ==> Searching for coverage reports in: [2021-03-19T16:08:44.421Z] + . [2021-03-19T16:08:44.421Z] -> Found 2 reports [2021-03-19T16:08:44.421Z] ==> Detecting git/mercurial file structure [2021-03-19T16:08:44.421Z] ==> Reading reports [2021-03-19T16:08:44.421Z] + ./app-service-template/coverage.out bytes=400 [2021-03-19T16:08:44.421Z] + ./coverage.out bytes=85560 [2021-03-19T16:08:44.421Z] ==> Appending adjustments [2021-03-19T16:08:44.421Z] https://docs.codecov.io/docs/fixing-reports [2021-03-19T16:08:44.996Z] + Found adjustments [2021-03-19T16:08:44.996Z] ==> Gzipping contents [2021-03-19T16:08:44.996Z] 16K /tmp/codecov.fNpKq5.gz [2021-03-19T16:08:44.996Z] ==> Uploading reports [2021-03-19T16:08:44.996Z] url: https://codecov.io [2021-03-19T16:08:44.996Z] query: branch=master&commit=f69f49597da150ce93c9eb1ee6e50bc5240f0ee6&build=197&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F197%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T16:08:44.996Z] -> Pinging Codecov [2021-03-19T16:08:44.996Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=f69f49597da150ce93c9eb1ee6e50bc5240f0ee6&build=197&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F197%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-19T16:08:45.573Z] -> Uploading to [2021-03-19T16:08:45.573Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-19/3D8B5DFFC46A037C893635FACE044666/f69f49597da150ce93c9eb1ee6e50bc5240f0ee6/a063744f-0331-4b1e-ad55-6905d8bca6fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T160845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a597bcbf1c48acc70153a9d15f3061c0629e10cefefdef38f55035dea9dcc501 [2021-03-19T16:08:45.573Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T16:08:45.573Z] Dload Upload Total Spent Left Speed [2021-03-19T16:08:45.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14900 0 0 100 14900 0 35054 --:--:-- --:--:-- --:--:-- 35058 [2021-03-19T16:08:45.835Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] } [2021-03-19T16:08:45.853Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-19T16:08:47.039Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-19T16:08:47.094Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:08:47.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T16:08:47.469Z] [2021-03-19T16:08:47.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:08:47.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T16:08:47.826Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-19T16:08:47.826Z] 188c0c94c7c5: Pulling fs layer [2021-03-19T16:08:47.826Z] 0ef7d3d256c8: Pulling fs layer [2021-03-19T16:08:47.826Z] de9db76c5a1d: Pulling fs layer [2021-03-19T16:08:47.826Z] 0eba1c9be4d2: Pulling fs layer [2021-03-19T16:08:47.826Z] 0d57e429df01: Pulling fs layer [2021-03-19T16:08:47.826Z] 4e4be7b47b0d: Pulling fs layer [2021-03-19T16:08:47.826Z] e1f770b5df2f: Pulling fs layer [2021-03-19T16:08:47.826Z] 85a0685a4137: Pulling fs layer [2021-03-19T16:08:47.826Z] 4e4be7b47b0d: Waiting [2021-03-19T16:08:47.826Z] e1f770b5df2f: Waiting [2021-03-19T16:08:47.826Z] 85a0685a4137: Waiting [2021-03-19T16:08:47.826Z] 0d57e429df01: Waiting [2021-03-19T16:08:47.826Z] de9db76c5a1d: Verifying Checksum [2021-03-19T16:08:47.826Z] de9db76c5a1d: Download complete [2021-03-19T16:08:47.826Z] 0ef7d3d256c8: Verifying Checksum [2021-03-19T16:08:47.826Z] 0ef7d3d256c8: Download complete [2021-03-19T16:08:47.826Z] 0d57e429df01: Verifying Checksum [2021-03-19T16:08:47.826Z] 0d57e429df01: Download complete [2021-03-19T16:08:47.826Z] 4e4be7b47b0d: Verifying Checksum [2021-03-19T16:08:47.826Z] 4e4be7b47b0d: Download complete [2021-03-19T16:08:47.826Z] 188c0c94c7c5: Download complete [2021-03-19T16:08:48.409Z] 188c0c94c7c5: Pull complete [2021-03-19T16:08:48.675Z] 0ef7d3d256c8: Pull complete [2021-03-19T16:08:48.937Z] de9db76c5a1d: Pull complete [2021-03-19T16:08:49.895Z] e1f770b5df2f: Verifying Checksum [2021-03-19T16:08:49.895Z] e1f770b5df2f: Download complete [2021-03-19T16:08:51.845Z] 85a0685a4137: Verifying Checksum [2021-03-19T16:08:51.845Z] 0eba1c9be4d2: Verifying Checksum [2021-03-19T16:08:51.845Z] 0eba1c9be4d2: Download complete [2021-03-19T16:08:58.466Z] 0eba1c9be4d2: Pull complete [2021-03-19T16:08:58.466Z] 0d57e429df01: Pull complete [2021-03-19T16:08:58.466Z] 4e4be7b47b0d: Pull complete [2021-03-19T16:09:05.101Z] e1f770b5df2f: Pull complete [2021-03-19T16:09:11.753Z] 85a0685a4137: Pull complete [2021-03-19T16:09:11.753Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-19T16:09:11.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-19T16:09:11.753Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-19T16:09:12.042Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:09:12.104Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-19T16:09:13.363Z] $ docker top df62375f1346da3a6191cbfc03f0a5c75ccda26f9056ad660f01df82ae0a215b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-19T16:09:13.598Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-19T16:09:13.903Z] + set -o pipefail [2021-03-19T16:09:13.903Z] + snyk monitor '--org=edgex-jenkins' [2021-03-19T16:09:23.943Z] [2021-03-19T16:09:23.943Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-19T16:09:23.943Z] [2021-03-19T16:09:23.943Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/9e63836f-1677-4ffd-ae1e-ae47e6fda729 [2021-03-19T16:09:23.943Z] [2021-03-19T16:09:23.943Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-19T16:09:23.943Z] [2021-03-19T16:09:23.943Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-19T16:09:23.943Z] [2021-03-19T16:09:23.943Z] [Pipeline] } [2021-03-19T16:09:23.960Z] $ docker stop --time=1 df62375f1346da3a6191cbfc03f0a5c75ccda26f9056ad660f01df82ae0a215b [2021-03-19T16:09:27.182Z] $ docker rm -f df62375f1346da3a6191cbfc03f0a5c75ccda26f9056ad660f01df82ae0a215b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-19T16:09:28.418Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T16:09:28.470Z] provisioning config files... [2021-03-19T16:09:28.480Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6471782273160940935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:09:28.855Z] --> edgex-publish-swagger.sh [2021-03-19T16:09:28.855Z] === Publish openapi/v2 API === [2021-03-19T16:09:28.855Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-19T16:09:28.855Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-19T16:09:28.855Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-19T16:09:28.855Z] Dload Upload Total Spent Left Speed [2021-03-19T16:09:30.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10170 0:00:01 0:00:01 --:--:-- 10180 100 13052 0 0 100 13052 0 9121 0:00:01 0:00:01 --:--:-- 9127 [2021-03-19T16:09:30.246Z] [2021-03-19T16:09:30.246Z] [Pipeline] } [2021-03-19T16:09:30.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-19T16:09:31.285Z] + git log --format=format:%s -1 f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:09:31.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T16:09:31.601Z] . [Pipeline] withDockerContainer [2021-03-19T16:09:31.701Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:09:31.751Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T16:09:32.752Z] $ docker top 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T16:09:33.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T16:09:33.176Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T16:09:33.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T16:09:33.474Z] $ docker exec 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d ssh-agent [2021-03-19T16:09:33.653Z] SSH_AUTH_SOCK=/tmp/ssh-UyKKnhvwVTKg/agent.12 [2021-03-19T16:09:33.653Z] SSH_AGENT_PID=18 [2021-03-19T16:09:33.662Z] Running ssh-add (command line suppressed) [2021-03-19T16:09:33.802Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8359761134931046674.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8359761134931046674.key) [2021-03-19T16:09:33.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T16:09:34.220Z] + git semver tag [2021-03-19T16:09:34.220Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T16:09:34.220Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T16:09:34.220Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T16:09:34.221Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T16:09:34.221Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T16:09:34.221Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T16:09:34.221Z] # $SEMVER_BRANCH = master [2021-03-19T16:09:34.221Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-19T16:09:34.221Z] # f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 HEAD [2021-03-19T16:09:34.485Z] # -> Force: false [2021-03-19T16:09:34.485Z] # cdaf5a20e6df84dea81a8819d92dec7c5b3eabb3 refs/tags/v2.0.0-dev.30 [Pipeline] } [2021-03-19T16:09:34.500Z] $ docker exec --env ******** --env ******** 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d ssh-agent -k [2021-03-19T16:09:34.631Z] unset SSH_AUTH_SOCK; [2021-03-19T16:09:34.632Z] unset SSH_AGENT_PID; [2021-03-19T16:09:34.632Z] echo Agent pid 18 killed; [2021-03-19T16:09:34.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T16:09:35.174Z] + git semver [Pipeline] } [2021-03-19T16:09:35.194Z] $ docker stop --time=1 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d [2021-03-19T16:09:36.563Z] $ docker rm -f 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:09:37.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T16:09:37.187Z] [2021-03-19T16:09:37.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:09:37.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T16:09:37.540Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-19T16:09:37.540Z] ab5ef0e58194: Pulling fs layer [2021-03-19T16:09:37.540Z] 9712f1f96733: Pulling fs layer [2021-03-19T16:09:37.540Z] 63f879dbbcfc: Pulling fs layer [2021-03-19T16:09:37.540Z] 0d9ebad4ef96: Pulling fs layer [2021-03-19T16:09:37.540Z] e9a5061849ea: Pulling fs layer [2021-03-19T16:09:37.540Z] d747dcd14b5f: Pulling fs layer [2021-03-19T16:09:37.540Z] 2de7ff778b66: Pulling fs layer [2021-03-19T16:09:37.540Z] 0d9ebad4ef96: Waiting [2021-03-19T16:09:37.540Z] e9a5061849ea: Waiting [2021-03-19T16:09:37.540Z] d747dcd14b5f: Waiting [2021-03-19T16:09:37.540Z] 2de7ff778b66: Waiting [2021-03-19T16:09:37.540Z] 9712f1f96733: Verifying Checksum [2021-03-19T16:09:37.540Z] 9712f1f96733: Download complete [2021-03-19T16:09:38.493Z] 63f879dbbcfc: Verifying Checksum [2021-03-19T16:09:38.493Z] 63f879dbbcfc: Download complete [2021-03-19T16:09:38.921Z] e9a5061849ea: Verifying Checksum [2021-03-19T16:09:38.921Z] d747dcd14b5f: Verifying Checksum [2021-03-19T16:09:38.921Z] d747dcd14b5f: Download complete [2021-03-19T16:09:39.334Z] 2de7ff778b66: Verifying Checksum [2021-03-19T16:09:39.334Z] 2de7ff778b66: Download complete [2021-03-19T16:09:40.038Z] 0d9ebad4ef96: Verifying Checksum [2021-03-19T16:09:40.038Z] 0d9ebad4ef96: Download complete [2021-03-19T16:09:40.038Z] ab5ef0e58194: Download complete [2021-03-19T16:09:45.407Z] ab5ef0e58194: Pull complete [2021-03-19T16:09:45.407Z] 9712f1f96733: Pull complete [2021-03-19T16:09:47.342Z] 63f879dbbcfc: Pull complete [2021-03-19T16:09:53.974Z] 0d9ebad4ef96: Pull complete [2021-03-19T16:09:57.290Z] e9a5061849ea: Pull complete [2021-03-19T16:09:57.290Z] d747dcd14b5f: Pull complete [2021-03-19T16:09:58.699Z] 2de7ff778b66: Pull complete [2021-03-19T16:09:58.699Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-19T16:09:58.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-19T16:09:58.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-19T16:09:58.931Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:09:58.984Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-19T16:10:02.475Z] $ docker top 7ed833c043df740ad65e07f6ff39e4da3b544df1d45b6c96f5f6e72fbfe460d1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-19T16:10:02.781Z] provisioning config files... [2021-03-19T16:10:02.792Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7394272850859124215tmp [2021-03-19T16:10:02.808Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4675691999755119502tmp [2021-03-19T16:10:02.824Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3311587751692454549tmp [Pipeline] { [Pipeline] echo [2021-03-19T16:10:02.882Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:10:03.191Z] ---> sigul-configuration.sh [2021-03-19T16:10:03.191Z] gpg: directory `/root/.gnupg' created [2021-03-19T16:10:03.191Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-19T16:10:03.191Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-19T16:10:03.191Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-19T16:10:03.191Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-19T16:10:03.191Z] gpg: CAST5 encrypted data [2021-03-19T16:10:03.453Z] gpg: encrypted with 1 passphrase [2021-03-19T16:10:03.453Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-19T16:10:03.759Z] + mkdir /home/jenkins [2021-03-19T16:10:03.759Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-19T16:10:04.065Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-19T16:10:04.079Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:10:04.381Z] ---> sigul-install.sh [2021-03-19T16:10:12.563Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-19T16:10:12.871Z] + git tag --list [2021-03-19T16:10:12.871Z] v0.1.0 [2021-03-19T16:10:12.871Z] v0.1.1 [2021-03-19T16:10:12.871Z] v1.0.0 [2021-03-19T16:10:12.871Z] v1.1.0 [2021-03-19T16:10:12.871Z] v1.2.0 [2021-03-19T16:10:12.871Z] v1.3.0 [2021-03-19T16:10:12.871Z] v1.3.1 [2021-03-19T16:10:12.871Z] v1.3.1-dev.1 [2021-03-19T16:10:12.871Z] v1.3.2-dev.1 [2021-03-19T16:10:12.871Z] v2.0.0-dev.1 [2021-03-19T16:10:12.871Z] v2.0.0-dev.10 [2021-03-19T16:10:12.871Z] v2.0.0-dev.11 [2021-03-19T16:10:12.871Z] v2.0.0-dev.12 [2021-03-19T16:10:12.871Z] v2.0.0-dev.13 [2021-03-19T16:10:12.871Z] v2.0.0-dev.14 [2021-03-19T16:10:12.871Z] v2.0.0-dev.15 [2021-03-19T16:10:12.871Z] v2.0.0-dev.16 [2021-03-19T16:10:12.871Z] v2.0.0-dev.17 [2021-03-19T16:10:12.871Z] v2.0.0-dev.18 [2021-03-19T16:10:12.871Z] v2.0.0-dev.19 [2021-03-19T16:10:12.871Z] v2.0.0-dev.2 [2021-03-19T16:10:12.871Z] v2.0.0-dev.20 [2021-03-19T16:10:12.871Z] v2.0.0-dev.21 [2021-03-19T16:10:12.871Z] v2.0.0-dev.22 [2021-03-19T16:10:12.871Z] v2.0.0-dev.23 [2021-03-19T16:10:12.871Z] v2.0.0-dev.24 [2021-03-19T16:10:12.871Z] v2.0.0-dev.25 [2021-03-19T16:10:12.871Z] v2.0.0-dev.26 [2021-03-19T16:10:12.871Z] v2.0.0-dev.27 [2021-03-19T16:10:12.871Z] v2.0.0-dev.28 [2021-03-19T16:10:12.871Z] v2.0.0-dev.29 [2021-03-19T16:10:12.871Z] v2.0.0-dev.3 [2021-03-19T16:10:12.871Z] v2.0.0-dev.30 [2021-03-19T16:10:12.871Z] v2.0.0-dev.4 [2021-03-19T16:10:12.871Z] v2.0.0-dev.5 [2021-03-19T16:10:12.871Z] v2.0.0-dev.6 [2021-03-19T16:10:12.871Z] v2.0.0-dev.7 [2021-03-19T16:10:12.871Z] v2.0.0-dev.8 [2021-03-19T16:10:12.871Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-19T16:10:13.183Z] + lftools sign git-tag v2.0.0-dev.30 [2021-03-19T16:10:14.575Z] Signing Git tag with Sigul... [2021-03-19T16:10:14.575Z] Signing v2.0.0-dev.30 [Pipeline] echo [2021-03-19T16:10:15.536Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:10:15.852Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-19T16:10:15.864Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-19T16:10:15.966Z] $ docker stop --time=1 7ed833c043df740ad65e07f6ff39e4da3b544df1d45b6c96f5f6e72fbfe460d1 [2021-03-19T16:10:18.036Z] $ docker rm -f 7ed833c043df740ad65e07f6ff39e4da3b544df1d45b6c96f5f6e72fbfe460d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:10:18.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T16:10:18.968Z] . [Pipeline] withDockerContainer [2021-03-19T16:10:19.081Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:10:19.132Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T16:10:19.964Z] $ docker top 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T16:10:20.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T16:10:20.335Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T16:10:20.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T16:10:20.576Z] $ docker exec 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e ssh-agent [2021-03-19T16:10:20.811Z] SSH_AUTH_SOCK=/tmp/ssh-FhUqoZvIaPfg/agent.12 [2021-03-19T16:10:20.811Z] SSH_AGENT_PID=17 [2021-03-19T16:10:20.820Z] Running ssh-add (command line suppressed) [2021-03-19T16:10:20.990Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5331716659273300641.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5331716659273300641.key) [2021-03-19T16:10:21.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T16:10:21.397Z] + git semver bump pre [2021-03-19T16:10:21.397Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T16:10:21.397Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T16:10:21.397Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T16:10:21.397Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T16:10:21.397Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T16:10:21.397Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T16:10:21.397Z] # $SEMVER_BRANCH = master [2021-03-19T16:10:21.397Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-19T16:10:21.397Z] 2.0.0-dev.31 [Pipeline] } [2021-03-19T16:10:21.411Z] $ docker exec --env ******** --env ******** 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e ssh-agent -k [2021-03-19T16:10:21.540Z] unset SSH_AUTH_SOCK; [2021-03-19T16:10:21.542Z] unset SSH_AGENT_PID; [2021-03-19T16:10:21.542Z] echo Agent pid 17 killed; [2021-03-19T16:10:21.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T16:10:22.071Z] + git semver [Pipeline] } [2021-03-19T16:10:22.090Z] $ docker stop --time=1 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e [2021-03-19T16:10:23.470Z] $ docker rm -f 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:10:24.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-19T16:10:24.045Z] . [Pipeline] withDockerContainer [2021-03-19T16:10:24.157Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:10:24.213Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-19T16:10:25.145Z] $ docker top 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-19T16:10:25.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-19T16:10:25.532Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-19T16:10:25.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-19T16:10:25.785Z] $ docker exec 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f ssh-agent [2021-03-19T16:10:25.975Z] SSH_AUTH_SOCK=/tmp/ssh-Z18P1tbzJam9/agent.13 [2021-03-19T16:10:25.975Z] SSH_AGENT_PID=18 [2021-03-19T16:10:25.984Z] Running ssh-add (command line suppressed) [2021-03-19T16:10:26.115Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6509115833582029987.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6509115833582029987.key) [2021-03-19T16:10:26.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-19T16:10:26.577Z] + git semver push [2021-03-19T16:10:26.577Z] # -> Open(): unable to determine branch for HEAD [2021-03-19T16:10:26.577Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-19T16:10:26.577Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T16:10:26.577Z] # $SEMVER_REMOTE_NAME = origin [2021-03-19T16:10:26.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-19T16:10:26.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-19T16:10:26.577Z] # $SEMVER_BRANCH = master [2021-03-19T16:10:26.577Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-19T16:10:30.837Z] $ docker exec --env ******** --env ******** 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f ssh-agent -k [2021-03-19T16:10:30.963Z] unset SSH_AUTH_SOCK; [2021-03-19T16:10:30.966Z] unset SSH_AGENT_PID; [2021-03-19T16:10:30.966Z] echo Agent pid 18 killed; [2021-03-19T16:10:31.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-19T16:10:31.594Z] + git semver [Pipeline] } [2021-03-19T16:10:31.682Z] $ docker stop --time=1 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f [2021-03-19T16:10:33.063Z] $ docker rm -f 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:10:34.551Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:10:35.124Z] ---> package-listing.sh [2021-03-19T16:10:35.124Z] ++ facter osfamily [2021-03-19T16:10:35.124Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-19T16:10:35.124Z] + OS_FAMILY=redhat [2021-03-19T16:10:35.124Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-19T16:10:35.124Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-19T16:10:35.124Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-19T16:10:35.124Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-19T16:10:35.124Z] + PACKAGES=/tmp/packages_start.txt [2021-03-19T16:10:35.124Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-19T16:10:35.124Z] + PACKAGES=/tmp/packages_end.txt [2021-03-19T16:10:35.124Z] + case "${OS_FAMILY}" in [2021-03-19T16:10:35.124Z] + rpm -qa [2021-03-19T16:10:35.124Z] + sort [2021-03-19T16:10:40.456Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-19T16:10:40.456Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-19T16:10:40.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-19T16:10:40.456Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-19T16:10:40.456Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-19T16:10:40.456Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-03-19T16:10:40.470Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-19T16:10:40.779Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:10:41.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T16:10:41.094Z] [2021-03-19T16:10:41.095Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-19T16:10:41.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T16:10:41.475Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-19T16:10:41.475Z] df20fa9351a1: Pulling fs layer [2021-03-19T16:10:41.475Z] 36b3adc4ff6f: Pulling fs layer [2021-03-19T16:10:41.475Z] 8ad3a11d3b57: Pulling fs layer [2021-03-19T16:10:41.475Z] 46f8f816bc3b: Pulling fs layer [2021-03-19T16:10:41.475Z] 93b61091891f: Pulling fs layer [2021-03-19T16:10:41.475Z] 93b9cdb0e59b: Pulling fs layer [2021-03-19T16:10:41.475Z] 5e14af77c1be: Pulling fs layer [2021-03-19T16:10:41.475Z] 01666e4c0597: Pulling fs layer [2021-03-19T16:10:41.475Z] aa168da1d23b: Pulling fs layer [2021-03-19T16:10:41.475Z] 46f8f816bc3b: Waiting [2021-03-19T16:10:41.475Z] 93b61091891f: Waiting [2021-03-19T16:10:41.475Z] 93b9cdb0e59b: Waiting [2021-03-19T16:10:41.475Z] 5e14af77c1be: Waiting [2021-03-19T16:10:41.475Z] 01666e4c0597: Waiting [2021-03-19T16:10:41.475Z] aa168da1d23b: Waiting [2021-03-19T16:10:41.475Z] 36b3adc4ff6f: Verifying Checksum [2021-03-19T16:10:41.475Z] 36b3adc4ff6f: Download complete [2021-03-19T16:10:41.475Z] 46f8f816bc3b: Verifying Checksum [2021-03-19T16:10:41.475Z] 46f8f816bc3b: Download complete [2021-03-19T16:10:41.475Z] df20fa9351a1: Verifying Checksum [2021-03-19T16:10:41.748Z] 93b9cdb0e59b: Verifying Checksum [2021-03-19T16:10:41.748Z] 93b9cdb0e59b: Download complete [2021-03-19T16:10:41.748Z] 5e14af77c1be: Verifying Checksum [2021-03-19T16:10:41.748Z] 5e14af77c1be: Download complete [2021-03-19T16:10:41.748Z] 01666e4c0597: Download complete [2021-03-19T16:10:41.748Z] 93b61091891f: Verifying Checksum [2021-03-19T16:10:41.748Z] 93b61091891f: Download complete [2021-03-19T16:10:42.010Z] df20fa9351a1: Pull complete [2021-03-19T16:10:42.273Z] 36b3adc4ff6f: Pull complete [2021-03-19T16:10:42.273Z] 8ad3a11d3b57: Verifying Checksum [2021-03-19T16:10:42.273Z] 8ad3a11d3b57: Download complete [2021-03-19T16:10:43.226Z] 8ad3a11d3b57: Pull complete [2021-03-19T16:10:43.490Z] 46f8f816bc3b: Pull complete [2021-03-19T16:10:44.073Z] aa168da1d23b: Verifying Checksum [2021-03-19T16:10:44.073Z] aa168da1d23b: Download complete [2021-03-19T16:10:44.339Z] 93b61091891f: Pull complete [2021-03-19T16:10:44.339Z] 93b9cdb0e59b: Pull complete [2021-03-19T16:10:44.602Z] 5e14af77c1be: Pull complete [2021-03-19T16:10:44.602Z] 01666e4c0597: Pull complete [2021-03-19T16:10:54.663Z] aa168da1d23b: Pull complete [2021-03-19T16:10:54.663Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-19T16:10:54.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-19T16:10:54.663Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-19T16:10:54.814Z] prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container [2021-03-19T16:10:54.869Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-19T16:10:57.767Z] $ docker top 748c1f4777ae81133a8e39fcbc35251251456aab5809f2a58261934f0c0d1d52 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-19T16:10:58.402Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-19T16:10:58.704Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-19T16:10:59.008Z] + ls /var/log/sa-host [2021-03-19T16:10:59.008Z] + sadf -c /var/log/sa-host/sa19 [2021-03-19T16:10:59.008Z] file_magic: OK [2021-03-19T16:10:59.008Z] HZ: Using current value: 100 [2021-03-19T16:10:59.008Z] file_header: OK [2021-03-19T16:10:59.008Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-19T16:10:59.008Z] Statistics: [2021-03-19T16:10:59.008Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-19T16:10:59.008Z] File successfully converted to sysstat format version 12.2.1 [2021-03-19T16:10:59.008Z] + sadf -c /var/log/sa-host/sa23 [2021-03-19T16:10:59.008Z] file_magic: OK [2021-03-19T16:10:59.008Z] HZ: Using current value: 100 [2021-03-19T16:10:59.008Z] file_header: OK [2021-03-19T16:10:59.008Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-19T16:10:59.008Z] Statistics: [2021-03-19T16:10:59.008Z] Hnuu...uuuununununu... [2021-03-19T16:10:59.008Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-19T16:10:59.270Z] provisioning config files... [2021-03-19T16:10:59.286Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8755118145803755360tmp [Pipeline] { [Pipeline] echo [2021-03-19T16:10:59.365Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:10:59.665Z] ---> create-netrc.sh [Pipeline] } [2021-03-19T16:10:59.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-19T16:10:59.765Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:11:00.066Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-19T16:11:00.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:11:00.379Z] ---> sudo-logs.sh [2021-03-19T16:11:00.379Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-19T16:11:00.450Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:11:00.757Z] ---> job-cost.sh [2021-03-19T16:11:00.757Z] lf-activate-venv: SKIPPING [2021-03-19T16:11:00.757Z] DEBUG: total: 0.029999999329447746 [2021-03-19T16:11:00.757Z] INFO: Retrieving Stack Cost... [2021-03-19T16:11:02.152Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-19T16:11:02.415Z] INFO: Archiving Costs [Pipeline] echo [2021-03-19T16:11:02.433Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-19T16:11:02.739Z] ---> logs-deploy.sh [2021-03-19T16:11:02.739Z] lf-activate-venv: SKIPPING [2021-03-19T16:11:02.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/197 [2021-03-19T16:11:02.739Z] INFO: archiving workspace using pattern(s): [2021-03-19T16:11:04.680Z] Archives upload complete. [2021-03-19T16:11:04.680Z] INFO: archiving logs to Nexus