Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 80392469d13108544d30315506c63890ba703a25 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30366 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 80392469d13108544d30315506c63890ba703a25 (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80392469d13108544d30315506c63890ba703a25 # timeout=10 Commit message: "refactor: Remove unneeded call to validate CBOR encoded Event request (#746)" > git rev-list --no-walk 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-18T21:58:12.370Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-18T21:58:12.737Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-18T21:58:12.899Z] ========================================================= [2021-03-18T21:58:12.899Z] EdgeX Global Pipelines Version Info [2021-03-18T21:58:12.899Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-18T21:58:14.412Z] ------------------- [2021-03-18T21:58:14.412Z] stable info: [2021-03-18T21:58:14.412Z] ------------------- [2021-03-18T21:58:14.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-18T21:58:14.412Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T21:58:14.412Z] Message: update stable to v1.0.186 [2021-03-18T21:58:15.366Z] ------------------- [2021-03-18T21:58:15.366Z] experimental info: [2021-03-18T21:58:15.366Z] ------------------- [2021-03-18T21:58:15.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-18T21:58:15.367Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T21:58:15.367Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-18T21:58:15.652Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-18T21:58:15.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-18T21:58:15.859Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-18T21:58:15.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-18T21:58:16.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-18T21:58:16.212Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-18T21:58:16.317Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-18T21:58:16.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-18T21:58:16.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-18T21:58:16.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-18T21:58:16.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-18T21:58:16.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-18T21:58:16.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-18T21:58:17.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-18T21:58:17.166Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T21:58:17.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T21:58:17.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T21:58:17.449Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T21:58:17.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-18T21:58:17.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-18T21:58:17.788Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-18T21:58:17.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-18T21:58:18.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-18T21:58:18.155Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-18T21:58:18.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-18T21:58:18.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-18T21:58:18.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-18T21:58:18.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-18T21:58:18.635Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-18T21:58:18.723Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80392469d13108544d30315506c63890ba703a25 [Pipeline] echo [2021-03-18T21:58:18.810Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8039246 [Pipeline] echo [2021-03-18T21:58:18.897Z] [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-18T21:58:19.622Z] + git log --format=format:%s -1 80392469d13108544d30315506c63890ba703a25 [Pipeline] echo [2021-03-18T21:58:19.688Z] GIT_COMMIT: 80392469d13108544d30315506c63890ba703a25, Commit Message: refactor: Remove unneeded call to validate CBOR encoded Event request (#746) [Pipeline] echo [2021-03-18T21:58:19.737Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-18T21:58:20.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T21:58:21.021Z] [2021-03-18T21:58:21.021Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T21:58:21.387Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T21:58:21.653Z] latest: Pulling from edgex-devops/git-semver [2021-03-18T21:58:21.653Z] 31603596830f: Pulling fs layer [2021-03-18T21:58:21.653Z] 2a8b12db71e7: Pulling fs layer [2021-03-18T21:58:21.653Z] 6ca5941a6612: Pulling fs layer [2021-03-18T21:58:21.653Z] ecc8261a40a4: Pulling fs layer [2021-03-18T21:58:21.653Z] ecc8261a40a4: Waiting [2021-03-18T21:58:21.653Z] 2a8b12db71e7: Verifying Checksum [2021-03-18T21:58:21.653Z] 2a8b12db71e7: Download complete [2021-03-18T21:58:21.922Z] 31603596830f: Verifying Checksum [2021-03-18T21:58:21.922Z] 31603596830f: Download complete [2021-03-18T21:58:21.922Z] ecc8261a40a4: Verifying Checksum [2021-03-18T21:58:21.922Z] ecc8261a40a4: Download complete [2021-03-18T21:58:22.189Z] 6ca5941a6612: Verifying Checksum [2021-03-18T21:58:22.189Z] 6ca5941a6612: Download complete [2021-03-18T21:58:22.189Z] 31603596830f: Pull complete [2021-03-18T21:58:22.450Z] 2a8b12db71e7: Pull complete [2021-03-18T21:58:23.035Z] 6ca5941a6612: Pull complete [2021-03-18T21:58:23.300Z] ecc8261a40a4: Pull complete [2021-03-18T21:58:23.300Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-18T21:58:23.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T21:58:23.300Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-18T21:58:23.402Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T21:58:23.447Z] $ 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-18T21:58:25.624Z] $ docker top 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T21:58:26.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T21:58:26.022Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T21:58:26.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T21:58:26.254Z] $ docker exec 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 ssh-agent [2021-03-18T21:58:26.449Z] SSH_AUTH_SOCK=/tmp/ssh-O5cLeE6BCLUk/agent.11 [2021-03-18T21:58:26.449Z] SSH_AGENT_PID=16 [2021-03-18T21:58:26.460Z] Running ssh-add (command line suppressed) [2021-03-18T21:58:26.577Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7056313738319612039.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7056313738319612039.key) [2021-03-18T21:58:26.629Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T21:58:26.991Z] + git tag --points-at HEAD [Pipeline] } [2021-03-18T21:58:27.015Z] $ docker exec --env ******** --env ******** 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 ssh-agent -k [2021-03-18T21:58:27.127Z] unset SSH_AUTH_SOCK; [2021-03-18T21:58:27.127Z] unset SSH_AGENT_PID; [2021-03-18T21:58:27.127Z] echo Agent pid 16 killed; [2021-03-18T21:58:27.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-18T21:58:27.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T21:58:27.317Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T21:58:27.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T21:58:27.479Z] $ docker exec 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 ssh-agent [2021-03-18T21:58:27.808Z] SSH_AUTH_SOCK=/tmp/ssh-zEOpkXyP4JKf/agent.44 [2021-03-18T21:58:27.808Z] SSH_AGENT_PID=49 [2021-03-18T21:58:27.816Z] Running ssh-add (command line suppressed) [2021-03-18T21:58:27.942Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_735018562715614668.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_735018562715614668.key) [2021-03-18T21:58:27.996Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T21:58:28.333Z] + git semver init [2021-03-18T21:58:28.333Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T21:58:28.333Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T21:58:28.333Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T21:58:28.333Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T21:58:28.333Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T21:58:28.333Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T21:58:28.333Z] # $SEMVER_BRANCH = master [2021-03-18T21:58:28.333Z] # $SEMVER_TEMP = /tmp/semver-324545593 [2021-03-18T21:58:28.333Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-18T21:58:30.905Z] # '/tmp/semver-324545593' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-18T21:58:30.905Z] # -> Force: false [2021-03-18T21:58:30.905Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-18T21:58:30.921Z] $ docker exec --env ******** --env ******** 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 ssh-agent -k [2021-03-18T21:58:31.050Z] unset SSH_AUTH_SOCK; [2021-03-18T21:58:31.051Z] unset SSH_AGENT_PID; [2021-03-18T21:58:31.051Z] echo Agent pid 49 killed; [2021-03-18T21:58:31.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T21:58:31.604Z] + git semver [Pipeline] } [2021-03-18T21:58:31.623Z] $ docker stop --time=1 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 [2021-03-18T21:58:33.083Z] $ docker rm -f 3f16cf7af64041138de2e337f77037a98e452280a99fe2f653698e4fbdae2a98 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T21:58:33.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-18T21:58:34.026Z] Stashed 1 file(s) [Pipeline] echo [2021-03-18T21:58:34.029Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.29 [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-18T21:58:49.578Z] Still waiting to schedule task [2021-03-18T21:58:49.578Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30366’ [2021-03-18T21:58:49.580Z] Still waiting to schedule task [2021-03-18T21:58:49.580Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-18T22:00:26.436Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30367 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-18T22:00:26.514Z] Running in /w/workspace/app-functions-sdk-go/196 [Pipeline] { [Pipeline] checkout [2021-03-18T22:00:31.731Z] using credential edgex-jenkins-ssh [2021-03-18T22:00:31.786Z] Cloning the remote Git repository [2021-03-18T22:00:31.855Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T22:00:31.965Z] > git init /w/workspace/app-functions-sdk-go/196 # timeout=10 [2021-03-18T22:00:32.028Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T22:00:32.029Z] > git --version # timeout=10 [2021-03-18T22:00:32.044Z] > git --version # 'git version 2.17.1' [2021-03-18T22:00:32.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T22:00:32.125Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T22:00:35.322Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T22:00:35.342Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T22:00:35.363Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T22:00:35.394Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T22:00:35.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T22:00:35.406Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T22:00:35.889Z] Checking out Revision 80392469d13108544d30315506c63890ba703a25 (master) [2021-03-18T22:00:35.921Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T22:00:35.936Z] > git checkout -f 80392469d13108544d30315506c63890ba703a25 # timeout=10 [2021-03-18T22:00:40.210Z] Commit message: "refactor: Remove unneeded call to validate CBOR encoded Event request (#746)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T22:00:42.031Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-18T22:00:42.434Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T22:00:42.780Z] + + sudo servicetrue docker [2021-03-18T22:00:42.780Z] restart [Pipeline] unstash [Pipeline] echo [2021-03-18T22:00:45.802Z] ========================================================= [2021-03-18T22:00:45.802Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-18T22:00:45.802Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:00:46.185Z] + 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-18T22:00:47.177Z] Sending build context to Docker daemon 19.37MB [2021-03-18T22:00:47.177Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T22:00:47.177Z] Step 2/8 : FROM ${BASE} [2021-03-18T22:00:47.454Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-18T22:00:47.454Z] 5f621e34cdf4: Pulling fs layer [2021-03-18T22:00:47.732Z] a4357932f1b6: Pulling fs layer [2021-03-18T22:00:47.732Z] 18c013af1878: Pulling fs layer [2021-03-18T22:00:47.732Z] 00ac8860ef70: Pulling fs layer [2021-03-18T22:00:47.732Z] 63d7cb157983: Pulling fs layer [2021-03-18T22:00:47.732Z] b116817d02f9: Pulling fs layer [2021-03-18T22:00:47.732Z] 745a02a5169b: Pulling fs layer [2021-03-18T22:00:47.732Z] 63d7cb157983: Waiting [2021-03-18T22:00:47.732Z] b116817d02f9: Waiting [2021-03-18T22:00:47.732Z] 745a02a5169b: Waiting [2021-03-18T22:00:47.732Z] 00ac8860ef70: Waiting [2021-03-18T22:00:47.732Z] 18c013af1878: Download complete [2021-03-18T22:00:47.732Z] a4357932f1b6: Verifying Checksum [2021-03-18T22:00:47.732Z] a4357932f1b6: Download complete [2021-03-18T22:00:47.732Z] 63d7cb157983: Verifying Checksum [2021-03-18T22:00:47.732Z] 63d7cb157983: Download complete [2021-03-18T22:00:47.732Z] b116817d02f9: Verifying Checksum [2021-03-18T22:00:47.732Z] b116817d02f9: Download complete [2021-03-18T22:00:47.732Z] 5f621e34cdf4: Verifying Checksum [2021-03-18T22:00:47.732Z] 5f621e34cdf4: Download complete [2021-03-18T22:00:48.337Z] 5f621e34cdf4: Pull complete [2021-03-18T22:00:48.939Z] a4357932f1b6: Pull complete [2021-03-18T22:00:49.541Z] 18c013af1878: Pull complete [2021-03-18T22:00:49.817Z] 745a02a5169b: Download complete [2021-03-18T22:00:51.260Z] 00ac8860ef70: Verifying Checksum [2021-03-18T22:00:51.260Z] 00ac8860ef70: Download complete [2021-03-18T22:01:01.429Z] 00ac8860ef70: Pull complete [2021-03-18T22:01:01.429Z] 63d7cb157983: Pull complete [2021-03-18T22:01:02.035Z] b116817d02f9: Pull complete [2021-03-18T22:01:06.353Z] 745a02a5169b: Pull complete [2021-03-18T22:01:06.353Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-18T22:01:06.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-18T22:01:06.353Z] ---> b7e6874047d6 [2021-03-18T22:01:06.353Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-18T22:01:06.353Z] 20.10.0: Pulling from library/docker [2021-03-18T22:01:06.353Z] a3cc7d3b244e: Pulling fs layer [2021-03-18T22:01:06.353Z] 02a3295e0d61: Pulling fs layer [2021-03-18T22:01:06.353Z] 0f4f2e6d8100: Pulling fs layer [2021-03-18T22:01:06.353Z] 330b718f631f: Pulling fs layer [2021-03-18T22:01:06.353Z] a93816041522: Pulling fs layer [2021-03-18T22:01:06.353Z] bdb6da89ff94: Pulling fs layer [2021-03-18T22:01:06.353Z] 2a70c0c122f4: Pulling fs layer [2021-03-18T22:01:06.353Z] 330b718f631f: Waiting [2021-03-18T22:01:06.353Z] a93816041522: Waiting [2021-03-18T22:01:06.353Z] bdb6da89ff94: Waiting [2021-03-18T22:01:06.353Z] 2a70c0c122f4: Waiting [2021-03-18T22:01:06.353Z] 0f4f2e6d8100: Verifying Checksum [2021-03-18T22:01:06.353Z] 0f4f2e6d8100: Download complete [2021-03-18T22:01:06.353Z] a3cc7d3b244e: Verifying Checksum [2021-03-18T22:01:06.353Z] a3cc7d3b244e: Download complete [2021-03-18T22:01:06.353Z] 02a3295e0d61: Verifying Checksum [2021-03-18T22:01:06.353Z] 02a3295e0d61: Download complete [2021-03-18T22:01:06.353Z] a93816041522: Download complete [2021-03-18T22:01:06.353Z] bdb6da89ff94: Download complete [2021-03-18T22:01:06.353Z] 2a70c0c122f4: Verifying Checksum [2021-03-18T22:01:06.353Z] 2a70c0c122f4: Download complete [2021-03-18T22:01:06.627Z] a3cc7d3b244e: Pull complete [2021-03-18T22:01:07.227Z] 02a3295e0d61: Pull complete [2021-03-18T22:01:07.500Z] 330b718f631f: Verifying Checksum [2021-03-18T22:01:07.500Z] 330b718f631f: Download complete [2021-03-18T22:01:07.787Z] 0f4f2e6d8100: Pull complete [2021-03-18T22:01:12.101Z] 330b718f631f: Pull complete [2021-03-18T22:01:12.101Z] a93816041522: Pull complete [2021-03-18T22:01:12.101Z] bdb6da89ff94: Pull complete [2021-03-18T22:01:12.376Z] 2a70c0c122f4: Pull complete [2021-03-18T22:01:12.376Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-18T22:01:12.376Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-18T22:01:19.158Z] ---> fac03de7bd12 [2021-03-18T22:01:19.158Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-18T22:01:19.158Z] ---> Running in 54f7d83bff62 [2021-03-18T22:01:19.158Z] Removing intermediate container 54f7d83bff62 [2021-03-18T22:01:19.158Z] ---> 293215ca1b92 [2021-03-18T22:01:19.158Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-18T22:01:19.158Z] ---> Running in b7c55c88d261 [2021-03-18T22:01:20.144Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T22:01:21.124Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T22:01:21.717Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-18T22:01:21.717Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-18T22:01:21.987Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-18T22:01:21.987Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-18T22:01:22.259Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-18T22:01:22.259Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T22:01:22.259Z] OK: 144 MiB in 44 packages [2021-03-18T22:01:23.695Z] Removing intermediate container b7c55c88d261 [2021-03-18T22:01:23.695Z] ---> a11355c994b7 [2021-03-18T22:01:23.695Z] Step 6/8 : WORKDIR /build [2021-03-18T22:01:23.695Z] ---> Running in e75a631e4023 [2021-03-18T22:01:24.290Z] Removing intermediate container e75a631e4023 [2021-03-18T22:01:24.290Z] ---> 9997be793302 [2021-03-18T22:01:24.290Z] Step 7/8 : COPY go.mod . [2021-03-18T22:01:24.890Z] ---> 4170ab439650 [2021-03-18T22:01:24.890Z] Step 8/8 : RUN go mod download [2021-03-18T22:01:24.890Z] ---> Running in f945963f0fd8 [2021-03-18T22:01:51.671Z] Removing intermediate container f945963f0fd8 [2021-03-18T22:01:51.671Z] ---> 24aa6d7b07b5 [2021-03-18T22:01:51.671Z] Successfully built 24aa6d7b07b5 [2021-03-18T22:01:51.671Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:01:52.016Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T22:01:52.016Z] . [Pipeline] withDockerContainer [2021-03-18T22:01:52.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-30367 does not seem to be running inside a container [2021-03-18T22:01:52.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/196 -v /w/workspace/app-functions-sdk-go/196:/w/workspace/app-functions-sdk-go/196:rw,z -v /w/workspace/app-functions-sdk-go/196@tmp:/w/workspace/app-functions-sdk-go/196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T22:01:53.957Z] $ docker top 68a0393b9747aecd059683dcb217f401814d0b7e2eea104a3a08a641a9b8f03e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T22:01:54.963Z] + go version [2021-03-18T22:01:54.963Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-18T22:01:55.012Z] $ docker stop --time=1 68a0393b9747aecd059683dcb217f401814d0b7e2eea104a3a08a641a9b8f03e [2021-03-18T22:01:56.963Z] $ docker rm -f 68a0393b9747aecd059683dcb217f401814d0b7e2eea104a3a08a641a9b8f03e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:01:57.992Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T22:01:57.992Z] . [Pipeline] withDockerContainer [2021-03-18T22:01:58.258Z] prd-ubuntu18.04-docker-arm64-4c-16g-30367 does not seem to be running inside a container [2021-03-18T22:01:58.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/196 -v /w/workspace/app-functions-sdk-go/196:/w/workspace/app-functions-sdk-go/196:rw,z -v /w/workspace/app-functions-sdk-go/196@tmp:/w/workspace/app-functions-sdk-go/196@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T22:01:59.851Z] $ docker top 75bc6d2b9a466ae271dc72dc9545485b719f1cccbf43862c8815aa59a2768124 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T22:02:00.847Z] + make test [2021-03-18T22:02:00.847Z] make -C ./app-service-template build [2021-03-18T22:02:00.847Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:02:00.847Z] 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-18T22:02:21.082Z] Running on prd-centos7-docker-4c-2g-30368 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-18T22:02:21.183Z] Running in /w/workspace/app-functions-sdk-go/196 [Pipeline] { [Pipeline] checkout [2021-03-18T22:02:28.939Z] using credential edgex-jenkins-ssh [2021-03-18T22:02:28.998Z] Cloning the remote Git repository [2021-03-18T22:02:29.091Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T22:02:29.188Z] > git init /w/workspace/app-functions-sdk-go/196 # timeout=10 [2021-03-18T22:02:29.527Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T22:02:29.528Z] > git --version # timeout=10 [2021-03-18T22:02:29.537Z] > git --version # 'git version 2.24.3' [2021-03-18T22:02:29.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T22:02:29.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T22:02:33.236Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:02:33.236Z] make -C ./app-service-template test [2021-03-18T22:02:33.236Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:02:33.236Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-18T22:02:35.432Z] Checking out Revision 80392469d13108544d30315506c63890ba703a25 (master) [2021-03-18T22:02:34.457Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T22:02:34.636Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T22:02:34.771Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T22:02:34.845Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T22:02:34.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T22:02:34.853Z] > 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-18T22:02:35.464Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T22:02:35.498Z] > git checkout -f 80392469d13108544d30315506c63890ba703a25 # timeout=10 [2021-03-18T22:02:39.869Z] Commit message: "refactor: Remove unneeded call to validate CBOR encoded Event request (#746)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T22:02:42.158Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-18T22:02:42.699Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T22:02:43.149Z] + sudo service docker restart [2021-03-18T22:02:43.149Z] + true [2021-03-18T22:02:43.149Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-18T22:02:45.375Z] ========================================================= [2021-03-18T22:02:45.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-18T22:02:45.375Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:02:45.773Z] + 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-18T22:02:47.849Z] Sending build context to Docker daemon 19.37MB [2021-03-18T22:02:47.849Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T22:02:47.849Z] Step 2/8 : FROM ${BASE} [2021-03-18T22:02:47.849Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-18T22:02:47.849Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T22:02:47.849Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T22:02:47.849Z] de9db76c5a1d: Pulling fs layer [2021-03-18T22:02:47.849Z] bca2f99d35d6: Pulling fs layer [2021-03-18T22:02:47.849Z] 93359f2a8cfa: Pulling fs layer [2021-03-18T22:02:47.849Z] 7c6f9722023f: Pulling fs layer [2021-03-18T22:02:47.849Z] a35cf1a2eb13: Pulling fs layer [2021-03-18T22:02:47.849Z] 93359f2a8cfa: Waiting [2021-03-18T22:02:47.849Z] bca2f99d35d6: Waiting [2021-03-18T22:02:47.849Z] 7c6f9722023f: Waiting [2021-03-18T22:02:47.849Z] a35cf1a2eb13: Waiting [2021-03-18T22:02:47.849Z] de9db76c5a1d: Verifying Checksum [2021-03-18T22:02:47.849Z] de9db76c5a1d: Download complete [2021-03-18T22:02:47.849Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T22:02:47.849Z] 0ef7d3d256c8: Download complete [2021-03-18T22:02:47.849Z] 93359f2a8cfa: Verifying Checksum [2021-03-18T22:02:47.849Z] 93359f2a8cfa: Download complete [2021-03-18T22:02:48.129Z] 7c6f9722023f: Verifying Checksum [2021-03-18T22:02:48.129Z] 7c6f9722023f: Download complete [2021-03-18T22:02:48.129Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T22:02:48.129Z] 188c0c94c7c5: Download complete [2021-03-18T22:02:48.399Z] 188c0c94c7c5: Pull complete [2021-03-18T22:02:48.680Z] 0ef7d3d256c8: Pull complete [2021-03-18T22:02:48.958Z] de9db76c5a1d: Pull complete [2021-03-18T22:02:51.623Z] a35cf1a2eb13: Verifying Checksum [2021-03-18T22:02:51.623Z] a35cf1a2eb13: Download complete [2021-03-18T22:02:52.627Z] bca2f99d35d6: Verifying Checksum [2021-03-18T22:02:52.627Z] bca2f99d35d6: Download complete [2021-03-18T22:02:55.460Z] ok new-app-service 0.033s coverage: 89.5% of statements [2021-03-18T22:02:57.442Z] ok new-app-service/functions 0.031s [2021-03-18T22:02:57.442Z] CGO_ENABLED=1 go vet ./... [2021-03-18T22:03:07.633Z] gofmt -l . [2021-03-18T22:03:07.633Z] [ "`gofmt -l .`" = "" ] [2021-03-18T22:03:07.633Z] ./bin/test-go-mod-tidy.sh [2021-03-18T22:03:07.633Z] ./bin/test-attribution-txt.sh [2021-03-18T22:03:08.635Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:03:08.635Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-18T22:03:09.615Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-18T22:03:11.431Z] bca2f99d35d6: Pull complete [2021-03-18T22:03:11.431Z] 93359f2a8cfa: Pull complete [2021-03-18T22:03:11.431Z] 7c6f9722023f: Pull complete [2021-03-18T22:03:19.801Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.110s coverage: 56.1% of statements [2021-03-18T22:03:19.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.047s coverage: 92.5% of statements [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-18T22:03:19.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.108s coverage: 61.5% of statements [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-18T22:03:19.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.057s [2021-03-18T22:03:19.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.126s coverage: 75.4% of statements [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-18T22:03:19.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.0% of statements [2021-03-18T22:03:19.802Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T22:03:19.802Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.040s coverage: 10.5% of statements [2021-03-18T22:03:19.875Z] a35cf1a2eb13: Pull complete [2021-03-18T22:03:19.875Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-18T22:03:19.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-18T22:03:19.876Z] ---> a62c8e92a672 [2021-03-18T22:03:19.876Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-18T22:03:19.876Z] 20.10.0: Pulling from library/docker [2021-03-18T22:03:19.876Z] 05e7bc50f07f: Pulling fs layer [2021-03-18T22:03:19.876Z] 6db28d0fdbf6: Pulling fs layer [2021-03-18T22:03:19.876Z] 292df0bc6bf3: Pulling fs layer [2021-03-18T22:03:19.876Z] 2e060f4bd70b: Pulling fs layer [2021-03-18T22:03:19.876Z] 80e8d568a223: Pulling fs layer [2021-03-18T22:03:19.876Z] 8dc6ef1a942a: Pulling fs layer [2021-03-18T22:03:19.876Z] 2312dd95470a: Pulling fs layer [2021-03-18T22:03:19.876Z] 80e8d568a223: Waiting [2021-03-18T22:03:19.876Z] 8dc6ef1a942a: Waiting [2021-03-18T22:03:19.876Z] 2312dd95470a: Waiting [2021-03-18T22:03:19.876Z] 2e060f4bd70b: Waiting [2021-03-18T22:03:19.876Z] 292df0bc6bf3: Verifying Checksum [2021-03-18T22:03:19.876Z] 292df0bc6bf3: Download complete [2021-03-18T22:03:19.876Z] 6db28d0fdbf6: Verifying Checksum [2021-03-18T22:03:19.876Z] 6db28d0fdbf6: Download complete [2021-03-18T22:03:19.876Z] 05e7bc50f07f: Verifying Checksum [2021-03-18T22:03:19.876Z] 05e7bc50f07f: Download complete [2021-03-18T22:03:19.876Z] 80e8d568a223: Verifying Checksum [2021-03-18T22:03:19.876Z] 80e8d568a223: Download complete [2021-03-18T22:03:20.173Z] 8dc6ef1a942a: Verifying Checksum [2021-03-18T22:03:20.173Z] 8dc6ef1a942a: Download complete [2021-03-18T22:03:20.173Z] 2312dd95470a: Verifying Checksum [2021-03-18T22:03:20.173Z] 2312dd95470a: Download complete [2021-03-18T22:03:20.783Z] 05e7bc50f07f: Pull complete [2021-03-18T22:03:21.401Z] 6db28d0fdbf6: Pull complete [2021-03-18T22:03:21.672Z] 292df0bc6bf3: Pull complete [2021-03-18T22:03:21.672Z] 2e060f4bd70b: Verifying Checksum [2021-03-18T22:03:21.672Z] 2e060f4bd70b: Download complete [2021-03-18T22:03:25.228Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.816s coverage: 78.4% of statements [2021-03-18T22:03:25.228Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-18T22:03:25.228Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.045s coverage: 20.0% of statements [2021-03-18T22:03:25.228Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.036s coverage: 27.3% of statements [2021-03-18T22:03:25.228Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-18T22:03:25.228Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-18T22:03:25.228Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.050s coverage: 71.7% of statements [2021-03-18T22:03:30.048Z] 2e060f4bd70b: Pull complete [2021-03-18T22:03:30.048Z] 80e8d568a223: Pull complete [2021-03-18T22:03:30.048Z] 8dc6ef1a942a: Pull complete [2021-03-18T22:03:30.445Z] 2312dd95470a: Pull complete [2021-03-18T22:03:30.733Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-18T22:03:31.056Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-18T22:03:34.924Z] ---> 630f678e2ec1 [2021-03-18T22:03:34.924Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-18T22:03:34.924Z] ---> Running in 6dde8db67ce4 [2021-03-18T22:03:35.197Z] Removing intermediate container 6dde8db67ce4 [2021-03-18T22:03:35.198Z] ---> f6492a53047e [2021-03-18T22:03:35.198Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-18T22:03:35.473Z] ---> Running in 102dbfe28283 [2021-03-18T22:03:37.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T22:03:37.855Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T22:03:38.983Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-18T22:03:38.983Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-18T22:03:38.983Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-18T22:03:39.282Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-18T22:03:39.282Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-18T22:03:39.563Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T22:03:39.563Z] OK: 167 MiB in 44 packages [2021-03-18T22:03:41.976Z] Removing intermediate container 102dbfe28283 [2021-03-18T22:03:41.976Z] ---> 1d73d96ceedb [2021-03-18T22:03:41.976Z] Step 6/8 : WORKDIR /build [2021-03-18T22:03:42.331Z] ---> Running in 084c32046f5c [2021-03-18T22:03:43.011Z] Removing intermediate container 084c32046f5c [2021-03-18T22:03:43.011Z] ---> a9703c2092d9 [2021-03-18T22:03:43.011Z] Step 7/8 : COPY go.mod . [2021-03-18T22:03:43.621Z] ---> b9cafd5b96d8 [2021-03-18T22:03:43.621Z] Step 8/8 : RUN go mod download [2021-03-18T22:03:43.892Z] ---> Running in ccd7bf67d18a [2021-03-18T22:03:52.062Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements [2021-03-18T22:03:52.063Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.024s coverage: 94.4% of statements [2021-03-18T22:03:52.063Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-18T22:03:53.505Z] gofmt -l . [2021-03-18T22:03:54.094Z] [ "`gofmt -l .`" = "" ] [2021-03-18T22:03:54.366Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T22:03:55.032Z] $ docker stop --time=1 75bc6d2b9a466ae271dc72dc9545485b719f1cccbf43862c8815aa59a2768124 [2021-03-18T22:03:56.977Z] $ docker rm -f 75bc6d2b9a466ae271dc72dc9545485b719f1cccbf43862c8815aa59a2768124 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T22:03:57.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T22:03:58.800Z] 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-18T22:04:00.094Z] ---> job-cost.sh [2021-03-18T22:04:00.094Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-d2te [2021-03-18T22:04:23.275Z] Removing intermediate container ccd7bf67d18a [2021-03-18T22:04:23.275Z] ---> 37baf92a6e64 [2021-03-18T22:04:23.275Z] Successfully built 37baf92a6e64 [2021-03-18T22:04:23.275Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:04:23.675Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T22:04:24.283Z] . [Pipeline] withDockerContainer [2021-03-18T22:04:24.503Z] prd-centos7-docker-4c-2g-30368 does not seem to be running inside a container [2021-03-18T22:04:24.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/196 -v /w/workspace/app-functions-sdk-go/196:/w/workspace/app-functions-sdk-go/196:rw,z -v /w/workspace/app-functions-sdk-go/196@tmp:/w/workspace/app-functions-sdk-go/196@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-18T22:04:26.807Z] $ docker top 7be232af47759d9af65a983221ce26d657f940da6fb3f3d058fd5705a7c46674 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T22:04:27.867Z] + go version [2021-03-18T22:04:28.153Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-18T22:04:28.190Z] $ docker stop --time=1 7be232af47759d9af65a983221ce26d657f940da6fb3f3d058fd5705a7c46674 [2021-03-18T22:04:30.551Z] $ docker rm -f 7be232af47759d9af65a983221ce26d657f940da6fb3f3d058fd5705a7c46674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:04:32.443Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T22:04:32.443Z] . [Pipeline] withDockerContainer [2021-03-18T22:04:32.921Z] prd-centos7-docker-4c-2g-30368 does not seem to be running inside a container [2021-03-18T22:04:33.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/196 -v /w/workspace/app-functions-sdk-go/196:/w/workspace/app-functions-sdk-go/196:rw,z -v /w/workspace/app-functions-sdk-go/196@tmp:/w/workspace/app-functions-sdk-go/196@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-18T22:04:35.522Z] $ docker top 62395233aebdcd35207bfd9763804492feadc78ebbad1b6b67200532e3bbf388 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T22:04:37.231Z] + make test [2021-03-18T22:04:37.231Z] make -C ./app-service-template build [2021-03-18T22:04:37.231Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:04:37.552Z] 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-18T22:04:39.055Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T22:05:18.964Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:05:18.964Z] make -C ./app-service-template test [2021-03-18T22:05:18.964Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:05:18.964Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-18T22:05:42.281Z] ok new-app-service 0.091s coverage: 89.5% of statements [2021-03-18T22:05:42.281Z] ok new-app-service/functions 0.059s [2021-03-18T22:05:42.281Z] CGO_ENABLED=1 go vet ./... [2021-03-18T22:05:52.959Z] gofmt -l . [2021-03-18T22:05:52.959Z] [ "`gofmt -l .`" = "" ] [2021-03-18T22:05:52.959Z] ./bin/test-go-mod-tidy.sh [2021-03-18T22:05:55.021Z] ./bin/test-attribution-txt.sh [2021-03-18T22:05:56.495Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/196/app-service-template' [2021-03-18T22:05:56.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-18T22:05:58.191Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-18T22:06:00.771Z] lf-activate-venv(): INFO: Adding /tmp/venv-d2te/bin to PATH [2021-03-18T22:06:00.771Z] INFO: No Stack... [2021-03-18T22:06:00.771Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-18T22:06:01.040Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T22:06:01.383Z] + cut -d, -f6 [2021-03-18T22:06:01.383Z] + cat /w/workspace/app-functions-sdk-go/196/archives/cost.csv [Pipeline] lock [2021-03-18T22:06:01.500Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] [2021-03-18T22:06:01.513Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] did not exist. Created. [2021-03-18T22:06:01.514Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T22:06:02.023Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-18T22:06:02.213Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T22:06:02.229Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-18T22:06:05.316Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.125s coverage: 56.1% of statements [2021-03-18T22:06:05.316Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.088s coverage: 92.5% of statements [2021-03-18T22:06:05.317Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-18T22:06:05.317Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.306s coverage: 61.5% of statements [2021-03-18T22:06:05.317Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-18T22:06:05.317Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.060s [2021-03-18T22:06:05.617Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.058s coverage: 75.4% of statements [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-18T22:06:05.617Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.011s coverage: 97.0% of statements [2021-03-18T22:06:05.617Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T22:06:05.913Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.011s coverage: 10.5% of statements [2021-03-18T22:06:11.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.861s coverage: 78.4% of statements [2021-03-18T22:06:11.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-18T22:06:11.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 20.0% of statements [2021-03-18T22:06:11.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.024s coverage: 27.3% of statements [2021-03-18T22:06:11.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-18T22:06:11.442Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-18T22:06:11.442Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.018s coverage: 71.7% of statements [2021-03-18T22:06:38.236Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.046s coverage: 81.9% of statements [2021-03-18T22:06:38.236Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-03-18T22:06:38.236Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-18T22:06:38.517Z] gofmt -l . [2021-03-18T22:06:39.196Z] [ "`gofmt -l .`" = "" ] [2021-03-18T22:06:39.539Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T22:06:40.227Z] $ docker stop --time=1 62395233aebdcd35207bfd9763804492feadc78ebbad1b6b67200532e3bbf388 [2021-03-18T22:06:42.982Z] $ docker rm -f 62395233aebdcd35207bfd9763804492feadc78ebbad1b6b67200532e3bbf388 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T22:06:43.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T22:06:43.972Z] Warning: overwriting stash ‘coverage-report’ [2021-03-18T22:06:44.864Z] 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-18T22:06:46.414Z] ---> job-cost.sh [2021-03-18T22:06:46.414Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-HrYK [2021-03-18T22:07:19.764Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T22:08:06.912Z] lf-activate-venv(): INFO: Adding /tmp/venv-HrYK/bin to PATH [2021-03-18T22:08:06.912Z] INFO: No Stack... [2021-03-18T22:08:06.912Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T22:08:06.912Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T22:08:07.399Z] + cut -d, -f6 [2021-03-18T22:08:07.399Z] + cat /w/workspace/app-functions-sdk-go/196/archives/cost.csv [Pipeline] lock [2021-03-18T22:08:07.609Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] [2021-03-18T22:08:07.618Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] did not exist. Created. [2021-03-18T22:08:07.618Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-196-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T22:08:08.117Z] /w/workspace/app-functions-sdk-go/196@tmp/durable-5bfaaede/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-03-18T22:08:08.514Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-18T22:08:08.605Z] Warning: overwriting stash ‘stack-cost’ [2021-03-18T22:08:08.800Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T22:08:08.814Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-196-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-18T22:08:10.401Z] provisioning config files... [2021-03-18T22:08:10.420Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4169426044892486931tmp [Pipeline] { [Pipeline] sh [2021-03-18T22:08:10.827Z] + set +x [2021-03-18T22:08:10.828Z] + curl -s https://codecov.io/bash [2021-03-18T22:08:10.828Z] + bash -s -- [2021-03-18T22:08:11.090Z] [2021-03-18T22:08:11.090Z] _____ _ [2021-03-18T22:08:11.090Z] / ____| | | [2021-03-18T22:08:11.090Z] | | ___ __| | ___ ___ _____ __ [2021-03-18T22:08:11.090Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-18T22:08:11.090Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-18T22:08:11.090Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-18T22:08:11.090Z] Bash-20210309-2b87ace [2021-03-18T22:08:11.090Z] [2021-03-18T22:08:11.090Z] [2021-03-18T22:08:11.090Z] ==> git version 2.24.3 found [2021-03-18T22:08:11.090Z] ==> 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-18T22:08:11.090Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-18T22:08:11.090Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-18T22:08:11.090Z] ==> Jenkins CI detected. [2021-03-18T22:08:11.090Z] project root: . [2021-03-18T22:08:11.090Z] --> token set from env [2021-03-18T22:08:11.090Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-18T22:08:11.090Z] ==> Running gcov in . (disable via -X gcov) [2021-03-18T22:08:11.090Z] ==> Python coveragepy not found [2021-03-18T22:08:11.090Z] ==> Searching for coverage reports in: [2021-03-18T22:08:11.090Z] + . [2021-03-18T22:08:11.090Z] -> Found 2 reports [2021-03-18T22:08:11.090Z] ==> Detecting git/mercurial file structure [2021-03-18T22:08:11.090Z] ==> Reading reports [2021-03-18T22:08:11.090Z] + ./app-service-template/coverage.out bytes=400 [2021-03-18T22:08:11.090Z] + ./coverage.out bytes=85560 [2021-03-18T22:08:11.090Z] ==> Appending adjustments [2021-03-18T22:08:11.090Z] https://docs.codecov.io/docs/fixing-reports [2021-03-18T22:08:11.666Z] + Found adjustments [2021-03-18T22:08:11.666Z] ==> Gzipping contents [2021-03-18T22:08:11.666Z] 16K /tmp/codecov.iVy4ZU.gz [2021-03-18T22:08:11.666Z] ==> Uploading reports [2021-03-18T22:08:11.666Z] url: https://codecov.io [2021-03-18T22:08:11.666Z] query: branch=master&commit=80392469d13108544d30315506c63890ba703a25&build=196&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F196%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-18T22:08:11.666Z] -> Pinging Codecov [2021-03-18T22:08:11.666Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=80392469d13108544d30315506c63890ba703a25&build=196&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F196%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-18T22:08:11.928Z] -> Uploading to [2021-03-18T22:08:11.928Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-18/3D8B5DFFC46A037C893635FACE044666/80392469d13108544d30315506c63890ba703a25/8e52ff4c-b4bf-43d5-9e47-01140c0ee9fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T220811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30afa7734d68c4d66265ef240536797ca13d3605ab074388fdfd337e1b26db95 [2021-03-18T22:08:11.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T22:08:11.928Z] Dload Upload Total Spent Left Speed [2021-03-18T22:08:12.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14900 0 0 100 14900 0 36386 --:--:-- --:--:-- --:--:-- 36430 [2021-03-18T22:08:12.506Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/80392469d13108544d30315506c63890ba703a25 [Pipeline] } [2021-03-18T22:08:12.516Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-18T22:08:13.427Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-18T22:08:13.487Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:08:13.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T22:08:13.830Z] [2021-03-18T22:08:13.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:08:14.198Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T22:08:14.198Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-18T22:08:14.198Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T22:08:14.198Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T22:08:14.198Z] de9db76c5a1d: Pulling fs layer [2021-03-18T22:08:14.198Z] 0eba1c9be4d2: Pulling fs layer [2021-03-18T22:08:14.198Z] 0d57e429df01: Pulling fs layer [2021-03-18T22:08:14.198Z] 4e4be7b47b0d: Pulling fs layer [2021-03-18T22:08:14.198Z] e1f770b5df2f: Pulling fs layer [2021-03-18T22:08:14.198Z] 85a0685a4137: Pulling fs layer [2021-03-18T22:08:14.198Z] 0eba1c9be4d2: Waiting [2021-03-18T22:08:14.198Z] 0d57e429df01: Waiting [2021-03-18T22:08:14.198Z] 4e4be7b47b0d: Waiting [2021-03-18T22:08:14.198Z] e1f770b5df2f: Waiting [2021-03-18T22:08:14.198Z] 85a0685a4137: Waiting [2021-03-18T22:08:14.199Z] de9db76c5a1d: Download complete [2021-03-18T22:08:14.199Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T22:08:14.199Z] 0ef7d3d256c8: Download complete [2021-03-18T22:08:14.199Z] 0d57e429df01: Download complete [2021-03-18T22:08:14.199Z] 4e4be7b47b0d: Verifying Checksum [2021-03-18T22:08:14.199Z] 4e4be7b47b0d: Download complete [2021-03-18T22:08:14.199Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T22:08:14.199Z] 188c0c94c7c5: Download complete [2021-03-18T22:08:14.774Z] 188c0c94c7c5: Pull complete [2021-03-18T22:08:15.036Z] 0ef7d3d256c8: Pull complete [2021-03-18T22:08:15.298Z] de9db76c5a1d: Pull complete [2021-03-18T22:08:16.253Z] e1f770b5df2f: Verifying Checksum [2021-03-18T22:08:16.253Z] e1f770b5df2f: Download complete [2021-03-18T22:08:17.656Z] 0eba1c9be4d2: Verifying Checksum [2021-03-18T22:08:17.656Z] 0eba1c9be4d2: Download complete [2021-03-18T22:08:18.235Z] 85a0685a4137: Verifying Checksum [2021-03-18T22:08:18.235Z] 85a0685a4137: Download complete [2021-03-18T22:08:24.848Z] 0eba1c9be4d2: Pull complete [2021-03-18T22:08:24.848Z] 0d57e429df01: Pull complete [2021-03-18T22:08:24.848Z] 4e4be7b47b0d: Pull complete [2021-03-18T22:08:25.806Z] e1f770b5df2f: Pull complete [2021-03-18T22:08:33.985Z] 85a0685a4137: Pull complete [2021-03-18T22:08:33.985Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-18T22:08:33.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T22:08:33.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-18T22:08:34.190Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T22:08:34.250Z] $ 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-18T22:08:35.313Z] $ docker top 501e13d6de7eecf19c3f0269215361169f021a82068af5465a17a9cd97511efd -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-18T22:08:35.563Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-18T22:08:35.860Z] + set -o pipefail [2021-03-18T22:08:35.860Z] + snyk monitor '--org=edgex-jenkins' [2021-03-18T22:08:48.115Z] [2021-03-18T22:08:48.115Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-18T22:08:48.115Z] [2021-03-18T22:08:48.115Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/3bcc46c7-cf5b-42e1-9fc8-9b6343aa3332 [2021-03-18T22:08:48.115Z] [2021-03-18T22:08:48.115Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-18T22:08:48.115Z] [2021-03-18T22:08:48.115Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-18T22:08:48.115Z] [2021-03-18T22:08:48.115Z] [Pipeline] } [2021-03-18T22:08:48.129Z] $ docker stop --time=1 501e13d6de7eecf19c3f0269215361169f021a82068af5465a17a9cd97511efd [2021-03-18T22:08:51.311Z] $ docker rm -f 501e13d6de7eecf19c3f0269215361169f021a82068af5465a17a9cd97511efd [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-18T22:08:52.496Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T22:08:52.551Z] provisioning config files... [2021-03-18T22:08:52.571Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3661073814030719186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:08:52.944Z] --> edgex-publish-swagger.sh [2021-03-18T22:08:52.944Z] === Publish openapi/v2 API === [2021-03-18T22:08:52.944Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-18T22:08:52.944Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-18T22:08:52.944Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T22:08:52.944Z] Dload Upload Total Spent Left Speed [2021-03-18T22:08:53.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11759 0:00:01 0:00:01 --:--:-- 11769 100 13052 0 0 100 13052 0 11757 0:00:01 0:00:01 --:--:-- 11769 [2021-03-18T22:08:53.891Z] [2021-03-18T22:08:53.891Z] [Pipeline] } [2021-03-18T22:08:53.900Z] 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-18T22:08:54.825Z] + git log --format=format:%s -1 80392469d13108544d30315506c63890ba703a25 [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:08:55.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T22:08:55.135Z] . [Pipeline] withDockerContainer [2021-03-18T22:08:55.233Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T22:08:55.279Z] $ 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-18T22:08:56.019Z] $ docker top 63349438c93e80a93c51d69cce7d249d985c7fa8e0569e76d9ef79ee4a34acdd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T22:08:56.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T22:08:56.361Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T22:08:56.580Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T22:08:56.583Z] $ docker exec 63349438c93e80a93c51d69cce7d249d985c7fa8e0569e76d9ef79ee4a34acdd ssh-agent [2021-03-18T22:08:56.756Z] SSH_AUTH_SOCK=/tmp/ssh-RyJZkUFNyFdJ/agent.12 [2021-03-18T22:08:56.756Z] SSH_AGENT_PID=17 [2021-03-18T22:08:56.763Z] Running ssh-add (command line suppressed) [2021-03-18T22:08:56.892Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3556754957327290957.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3556754957327290957.key) [2021-03-18T22:08:56.952Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T22:08:57.293Z] + git semver tag [2021-03-18T22:08:57.293Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T22:08:57.293Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T22:08:57.293Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T22:08:57.293Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T22:08:57.293Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T22:08:57.293Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T22:08:57.293Z] # $SEMVER_BRANCH = master [2021-03-18T22:08:57.293Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-18T22:08:57.293Z] # 80392469d13108544d30315506c63890ba703a25 HEAD [2021-03-18T22:08:57.293Z] # -> Force: false [2021-03-18T22:08:57.293Z] # d8c287318b50fe8b3214b5823bf5a41a779f23ef refs/tags/v2.0.0-dev.29 [Pipeline] } [2021-03-18T22:08:57.306Z] $ docker exec --env ******** --env ******** 63349438c93e80a93c51d69cce7d249d985c7fa8e0569e76d9ef79ee4a34acdd ssh-agent -k [2021-03-18T22:08:57.416Z] unset SSH_AUTH_SOCK; [2021-03-18T22:08:57.417Z] unset SSH_AGENT_PID; [2021-03-18T22:08:57.417Z] echo Agent pid 17 killed; [2021-03-18T22:08:57.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T22:08:57.947Z] + git semver [Pipeline] } [2021-03-18T22:08:57.965Z] $ docker stop --time=1 63349438c93e80a93c51d69cce7d249d985c7fa8e0569e76d9ef79ee4a34acdd [2021-03-18T22:08:59.304Z] $ docker rm -f 63349438c93e80a93c51d69cce7d249d985c7fa8e0569e76d9ef79ee4a34acdd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:08:59.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T22:08:59.963Z] [2021-03-18T22:08:59.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:09:00.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T22:09:00.347Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-18T22:09:00.347Z] ab5ef0e58194: Pulling fs layer [2021-03-18T22:09:00.347Z] 9712f1f96733: Pulling fs layer [2021-03-18T22:09:00.347Z] 63f879dbbcfc: Pulling fs layer [2021-03-18T22:09:00.347Z] 0d9ebad4ef96: Pulling fs layer [2021-03-18T22:09:00.347Z] e9a5061849ea: Pulling fs layer [2021-03-18T22:09:00.347Z] d747dcd14b5f: Pulling fs layer [2021-03-18T22:09:00.347Z] 2de7ff778b66: Pulling fs layer [2021-03-18T22:09:00.347Z] e9a5061849ea: Waiting [2021-03-18T22:09:00.347Z] d747dcd14b5f: Waiting [2021-03-18T22:09:00.347Z] 2de7ff778b66: Waiting [2021-03-18T22:09:00.347Z] 0d9ebad4ef96: Waiting [2021-03-18T22:09:00.348Z] 9712f1f96733: Verifying Checksum [2021-03-18T22:09:00.348Z] 9712f1f96733: Download complete [2021-03-18T22:09:01.749Z] 63f879dbbcfc: Verifying Checksum [2021-03-18T22:09:01.749Z] 63f879dbbcfc: Download complete [2021-03-18T22:09:01.749Z] e9a5061849ea: Verifying Checksum [2021-03-18T22:09:01.749Z] e9a5061849ea: Download complete [2021-03-18T22:09:01.749Z] d747dcd14b5f: Verifying Checksum [2021-03-18T22:09:01.749Z] d747dcd14b5f: Download complete [2021-03-18T22:09:02.330Z] 2de7ff778b66: Verifying Checksum [2021-03-18T22:09:02.330Z] 2de7ff778b66: Download complete [2021-03-18T22:09:02.592Z] 0d9ebad4ef96: Verifying Checksum [2021-03-18T22:09:02.592Z] 0d9ebad4ef96: Download complete [2021-03-18T22:09:02.592Z] ab5ef0e58194: Download complete [2021-03-18T22:09:06.824Z] ab5ef0e58194: Pull complete [2021-03-18T22:09:06.824Z] 9712f1f96733: Pull complete [2021-03-18T22:09:09.388Z] 63f879dbbcfc: Pull complete [2021-03-18T22:09:16.126Z] 0d9ebad4ef96: Pull complete [2021-03-18T22:09:17.098Z] e9a5061849ea: Pull complete [2021-03-18T22:09:17.098Z] d747dcd14b5f: Pull complete [2021-03-18T22:09:19.020Z] 2de7ff778b66: Pull complete [2021-03-18T22:09:19.020Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-18T22:09:19.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T22:09:19.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-18T22:09:19.197Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T22:09:19.238Z] $ 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-18T22:09:23.301Z] $ docker top 27ce550878b925533147ebf65bdf0585466be1a4959ca52b710bcaf059deae21 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-18T22:09:23.672Z] provisioning config files... [2021-03-18T22:09:23.724Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config9067952441341230757tmp [2021-03-18T22:09:23.739Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1212244514770071787tmp [2021-03-18T22:09:23.755Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3560207560859293923tmp [Pipeline] { [Pipeline] echo [2021-03-18T22:09:23.818Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:09:24.116Z] ---> sigul-configuration.sh [2021-03-18T22:09:24.116Z] gpg: directory `/root/.gnupg' created [2021-03-18T22:09:24.116Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-18T22:09:24.116Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-18T22:09:24.116Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-18T22:09:24.116Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-18T22:09:24.116Z] gpg: CAST5 encrypted data [2021-03-18T22:09:24.379Z] gpg: encrypted with 1 passphrase [2021-03-18T22:09:24.379Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-18T22:09:24.683Z] + mkdir /home/jenkins [2021-03-18T22:09:24.683Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-18T22:09:24.984Z] + 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-18T22:09:24.995Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:09:25.293Z] ---> sigul-install.sh [2021-03-18T22:09:35.318Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-18T22:09:35.622Z] + git tag --list [2021-03-18T22:09:35.622Z] v0.1.0 [2021-03-18T22:09:35.622Z] v0.1.1 [2021-03-18T22:09:35.622Z] v1.0.0 [2021-03-18T22:09:35.622Z] v1.1.0 [2021-03-18T22:09:35.622Z] v1.2.0 [2021-03-18T22:09:35.622Z] v1.3.0 [2021-03-18T22:09:35.622Z] v1.3.1 [2021-03-18T22:09:35.622Z] v1.3.1-dev.1 [2021-03-18T22:09:35.622Z] v1.3.2-dev.1 [2021-03-18T22:09:35.622Z] v2.0.0-dev.1 [2021-03-18T22:09:35.622Z] v2.0.0-dev.10 [2021-03-18T22:09:35.622Z] v2.0.0-dev.11 [2021-03-18T22:09:35.622Z] v2.0.0-dev.12 [2021-03-18T22:09:35.622Z] v2.0.0-dev.13 [2021-03-18T22:09:35.622Z] v2.0.0-dev.14 [2021-03-18T22:09:35.622Z] v2.0.0-dev.15 [2021-03-18T22:09:35.622Z] v2.0.0-dev.16 [2021-03-18T22:09:35.622Z] v2.0.0-dev.17 [2021-03-18T22:09:35.622Z] v2.0.0-dev.18 [2021-03-18T22:09:35.622Z] v2.0.0-dev.19 [2021-03-18T22:09:35.622Z] v2.0.0-dev.2 [2021-03-18T22:09:35.622Z] v2.0.0-dev.20 [2021-03-18T22:09:35.622Z] v2.0.0-dev.21 [2021-03-18T22:09:35.622Z] v2.0.0-dev.22 [2021-03-18T22:09:35.622Z] v2.0.0-dev.23 [2021-03-18T22:09:35.622Z] v2.0.0-dev.24 [2021-03-18T22:09:35.622Z] v2.0.0-dev.25 [2021-03-18T22:09:35.622Z] v2.0.0-dev.26 [2021-03-18T22:09:35.622Z] v2.0.0-dev.27 [2021-03-18T22:09:35.622Z] v2.0.0-dev.28 [2021-03-18T22:09:35.622Z] v2.0.0-dev.29 [2021-03-18T22:09:35.622Z] v2.0.0-dev.3 [2021-03-18T22:09:35.622Z] v2.0.0-dev.4 [2021-03-18T22:09:35.622Z] v2.0.0-dev.5 [2021-03-18T22:09:35.622Z] v2.0.0-dev.6 [2021-03-18T22:09:35.622Z] v2.0.0-dev.7 [2021-03-18T22:09:35.622Z] v2.0.0-dev.8 [2021-03-18T22:09:35.622Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-18T22:09:35.920Z] + lftools sign git-tag v2.0.0-dev.29 [2021-03-18T22:09:37.310Z] Signing Git tag with Sigul... [2021-03-18T22:09:37.310Z] Signing v2.0.0-dev.29 [Pipeline] echo [2021-03-18T22:09:38.268Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:09:38.568Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-18T22:09:38.577Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-18T22:09:38.675Z] $ docker stop --time=1 27ce550878b925533147ebf65bdf0585466be1a4959ca52b710bcaf059deae21 [2021-03-18T22:09:40.832Z] $ docker rm -f 27ce550878b925533147ebf65bdf0585466be1a4959ca52b710bcaf059deae21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:09:41.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T22:09:41.806Z] . [Pipeline] withDockerContainer [2021-03-18T22:09:41.906Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T22:09:41.952Z] $ 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-18T22:09:42.628Z] $ docker top bebcca0cb922f937c3e008d3ea3aeb429376aa0f4059d14ed974ec3b0db28e4e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T22:09:42.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T22:09:42.945Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T22:09:43.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T22:09:43.143Z] $ docker exec bebcca0cb922f937c3e008d3ea3aeb429376aa0f4059d14ed974ec3b0db28e4e ssh-agent [2021-03-18T22:09:43.325Z] SSH_AUTH_SOCK=/tmp/ssh-COXwP1dkRyKR/agent.12 [2021-03-18T22:09:43.325Z] SSH_AGENT_PID=17 [2021-03-18T22:09:43.331Z] Running ssh-add (command line suppressed) [2021-03-18T22:09:43.453Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_133701165028234887.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_133701165028234887.key) [2021-03-18T22:09:43.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T22:09:43.866Z] + git semver bump pre [2021-03-18T22:09:43.866Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T22:09:43.866Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T22:09:43.866Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T22:09:43.866Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T22:09:43.866Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T22:09:43.866Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T22:09:43.866Z] # $SEMVER_BRANCH = master [2021-03-18T22:09:43.866Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-18T22:09:43.866Z] 2.0.0-dev.30 [Pipeline] } [2021-03-18T22:09:43.881Z] $ docker exec --env ******** --env ******** bebcca0cb922f937c3e008d3ea3aeb429376aa0f4059d14ed974ec3b0db28e4e ssh-agent -k [2021-03-18T22:09:43.997Z] unset SSH_AUTH_SOCK; [2021-03-18T22:09:43.997Z] unset SSH_AGENT_PID; [2021-03-18T22:09:43.997Z] echo Agent pid 17 killed; [2021-03-18T22:09:44.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T22:09:44.509Z] + git semver [Pipeline] } [2021-03-18T22:09:44.525Z] $ docker stop --time=1 bebcca0cb922f937c3e008d3ea3aeb429376aa0f4059d14ed974ec3b0db28e4e [2021-03-18T22:09:45.871Z] $ docker rm -f bebcca0cb922f937c3e008d3ea3aeb429376aa0f4059d14ed974ec3b0db28e4e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:09:46.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T22:09:46.393Z] . [Pipeline] withDockerContainer [2021-03-18T22:09:46.490Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T22:09:46.533Z] $ 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-18T22:09:47.112Z] $ docker top 1605f7193924d70dfee7ffa7ee3cc28721188d03e5a69e4e421ab737089e7ba8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T22:09:47.416Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T22:09:47.416Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T22:09:47.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T22:09:47.606Z] $ docker exec 1605f7193924d70dfee7ffa7ee3cc28721188d03e5a69e4e421ab737089e7ba8 ssh-agent [2021-03-18T22:09:47.800Z] SSH_AUTH_SOCK=/tmp/ssh-uVKlA5ETH1Xf/agent.12 [2021-03-18T22:09:47.800Z] SSH_AGENT_PID=17 [2021-03-18T22:09:47.807Z] Running ssh-add (command line suppressed) [2021-03-18T22:09:47.957Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5370009474266751052.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5370009474266751052.key) [2021-03-18T22:09:48.016Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T22:09:48.379Z] + git semver push [2021-03-18T22:09:48.379Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T22:09:48.379Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T22:09:48.379Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T22:09:48.379Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T22:09:48.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T22:09:48.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T22:09:48.379Z] # $SEMVER_BRANCH = master [2021-03-18T22:09:48.379Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-18T22:09:52.607Z] $ docker exec --env ******** --env ******** 1605f7193924d70dfee7ffa7ee3cc28721188d03e5a69e4e421ab737089e7ba8 ssh-agent -k [2021-03-18T22:09:52.730Z] unset SSH_AUTH_SOCK; [2021-03-18T22:09:52.731Z] unset SSH_AGENT_PID; [2021-03-18T22:09:52.731Z] echo Agent pid 17 killed; [2021-03-18T22:09:52.786Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T22:09:53.248Z] + git semver [Pipeline] } [2021-03-18T22:09:53.265Z] $ docker stop --time=1 1605f7193924d70dfee7ffa7ee3cc28721188d03e5a69e4e421ab737089e7ba8 [2021-03-18T22:09:54.604Z] $ docker rm -f 1605f7193924d70dfee7ffa7ee3cc28721188d03e5a69e4e421ab737089e7ba8 [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-18T22:09:56.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:09:56.839Z] ---> package-listing.sh [2021-03-18T22:09:56.840Z] ++ facter osfamily [2021-03-18T22:09:56.840Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-18T22:09:56.840Z] + OS_FAMILY=redhat [2021-03-18T22:09:56.840Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T22:09:56.840Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-18T22:09:56.840Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-18T22:09:56.840Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-18T22:09:56.840Z] + PACKAGES=/tmp/packages_start.txt [2021-03-18T22:09:56.840Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-18T22:09:56.840Z] + PACKAGES=/tmp/packages_end.txt [2021-03-18T22:09:56.840Z] + case "${OS_FAMILY}" in [2021-03-18T22:09:56.840Z] + rpm -qa [2021-03-18T22:09:56.840Z] + sort [2021-03-18T22:10:03.576Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-18T22:10:03.576Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-18T22:10:03.576Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-18T22:10:03.576Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-18T22:10:03.576Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-18T22:10:03.576Z] + 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-18T22:10:03.591Z] 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-18T22:10:03.891Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:10:04.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T22:10:04.202Z] [2021-03-18T22:10:04.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-18T22:10:04.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T22:10:04.558Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-18T22:10:04.558Z] df20fa9351a1: Pulling fs layer [2021-03-18T22:10:04.558Z] 36b3adc4ff6f: Pulling fs layer [2021-03-18T22:10:04.558Z] 8ad3a11d3b57: Pulling fs layer [2021-03-18T22:10:04.558Z] 46f8f816bc3b: Pulling fs layer [2021-03-18T22:10:04.558Z] 93b61091891f: Pulling fs layer [2021-03-18T22:10:04.558Z] 93b9cdb0e59b: Pulling fs layer [2021-03-18T22:10:04.558Z] 5e14af77c1be: Pulling fs layer [2021-03-18T22:10:04.558Z] 01666e4c0597: Pulling fs layer [2021-03-18T22:10:04.558Z] aa168da1d23b: Pulling fs layer [2021-03-18T22:10:04.558Z] 93b9cdb0e59b: Waiting [2021-03-18T22:10:04.558Z] 5e14af77c1be: Waiting [2021-03-18T22:10:04.558Z] 01666e4c0597: Waiting [2021-03-18T22:10:04.558Z] aa168da1d23b: Waiting [2021-03-18T22:10:04.558Z] 46f8f816bc3b: Waiting [2021-03-18T22:10:04.558Z] 93b61091891f: Waiting [2021-03-18T22:10:04.558Z] 36b3adc4ff6f: Verifying Checksum [2021-03-18T22:10:04.558Z] 36b3adc4ff6f: Download complete [2021-03-18T22:10:04.558Z] 46f8f816bc3b: Verifying Checksum [2021-03-18T22:10:04.558Z] 46f8f816bc3b: Download complete [2021-03-18T22:10:04.558Z] df20fa9351a1: Verifying Checksum [2021-03-18T22:10:04.820Z] 93b9cdb0e59b: Verifying Checksum [2021-03-18T22:10:04.820Z] 93b9cdb0e59b: Download complete [2021-03-18T22:10:04.820Z] 93b61091891f: Verifying Checksum [2021-03-18T22:10:04.820Z] 93b61091891f: Download complete [2021-03-18T22:10:04.820Z] 5e14af77c1be: Download complete [2021-03-18T22:10:04.820Z] 01666e4c0597: Verifying Checksum [2021-03-18T22:10:04.820Z] 01666e4c0597: Download complete [2021-03-18T22:10:04.820Z] 8ad3a11d3b57: Verifying Checksum [2021-03-18T22:10:04.820Z] 8ad3a11d3b57: Download complete [2021-03-18T22:10:05.087Z] df20fa9351a1: Pull complete [2021-03-18T22:10:05.351Z] 36b3adc4ff6f: Pull complete [2021-03-18T22:10:06.755Z] aa168da1d23b: Verifying Checksum [2021-03-18T22:10:06.755Z] aa168da1d23b: Download complete [2021-03-18T22:10:06.755Z] 8ad3a11d3b57: Pull complete [2021-03-18T22:10:07.017Z] 46f8f816bc3b: Pull complete [2021-03-18T22:10:07.595Z] 93b61091891f: Pull complete [2021-03-18T22:10:07.595Z] 93b9cdb0e59b: Pull complete [2021-03-18T22:10:07.858Z] 5e14af77c1be: Pull complete [2021-03-18T22:10:07.858Z] 01666e4c0597: Pull complete [2021-03-18T22:10:14.475Z] aa168da1d23b: Pull complete [2021-03-18T22:10:14.475Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-18T22:10:14.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T22:10:14.475Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-18T22:10:14.656Z] prd-centos7-docker-4c-2g-30366 does not seem to be running inside a container [2021-03-18T22:10:14.700Z] $ 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-18T22:10:17.777Z] $ docker top 97fa3f2a8b72799a2f96155b249000c8b7b652688c41b27a49c79799d95bf514 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T22:10:18.331Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-18T22:10:18.630Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-18T22:10:18.947Z] + ls /var/log/sa-host [2021-03-18T22:10:18.947Z] + sadf -c /var/log/sa-host/sa18 [2021-03-18T22:10:18.947Z] file_magic: OK [2021-03-18T22:10:18.947Z] HZ: Using current value: 100 [2021-03-18T22:10:18.947Z] file_header: OK [2021-03-18T22:10:18.947Z] 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-18T22:10:18.947Z] Statistics: [2021-03-18T22:10:18.947Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-18T22:10:18.947Z] File successfully converted to sysstat format version 12.2.1 [2021-03-18T22:10:18.947Z] + sadf -c /var/log/sa-host/sa23 [2021-03-18T22:10:18.947Z] file_magic: OK [2021-03-18T22:10:18.947Z] HZ: Using current value: 100 [2021-03-18T22:10:18.947Z] file_header: OK [2021-03-18T22:10:18.947Z] 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-18T22:10:18.947Z] Statistics: [2021-03-18T22:10:18.947Z] Hnuu...uuuununununu... [2021-03-18T22:10:18.947Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T22:10:19.587Z] provisioning config files... [2021-03-18T22:10:19.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config589632338282071556tmp [Pipeline] { [Pipeline] echo [2021-03-18T22:10:19.676Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:10:19.971Z] ---> create-netrc.sh [Pipeline] } [2021-03-18T22:10:19.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-18T22:10:20.111Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:10:20.409Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-18T22:10:20.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:10:20.716Z] ---> sudo-logs.sh [2021-03-18T22:10:20.716Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-18T22:10:20.781Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:10:21.073Z] ---> job-cost.sh [2021-03-18T22:10:21.073Z] lf-activate-venv: SKIPPING [2021-03-18T22:10:21.073Z] DEBUG: total: 0.029999999329447746 [2021-03-18T22:10:21.073Z] INFO: Retrieving Stack Cost... [2021-03-18T22:10:22.019Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T22:10:22.282Z] INFO: Archiving Costs [Pipeline] echo [2021-03-18T22:10:22.296Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T22:10:22.592Z] ---> logs-deploy.sh [2021-03-18T22:10:22.593Z] lf-activate-venv: SKIPPING [2021-03-18T22:10:22.593Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/196 [2021-03-18T22:10:22.593Z] INFO: archiving workspace using pattern(s): [2021-03-18T22:10:23.984Z] Archives upload complete. [2021-03-18T22:10:24.246Z] INFO: archiving logs to Nexus