Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d68305261b009470d1fda9feae14a96618a86fbb 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 Running on prd-centos7-docker-4c-2g-31885 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 d68305261b009470d1fda9feae14a96618a86fbb (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 d68305261b009470d1fda9feae14a96618a86fbb # timeout=10 Commit message: "refactor: Update code for Created & Modified removed from Event DTO (#771)" > git rev-list --no-walk ad2f1fe6acc66b103c8c90fa1bbf9f81aefbb6bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-29T22:56:14.658Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-29T22:56:14.926Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-29T22:56:15.039Z] ========================================================= [2021-03-29T22:56:15.039Z] EdgeX Global Pipelines Version Info [2021-03-29T22:56:15.039Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-29T22:56:16.515Z] ------------------- [2021-03-29T22:56:16.515Z] stable info: [2021-03-29T22:56:16.515Z] ------------------- [2021-03-29T22:56:16.515Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-29T22:56:16.515Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-29T22:56:16.515Z] Message: update stable to v1.0.186 [2021-03-29T22:56:17.460Z] ------------------- [2021-03-29T22:56:17.460Z] experimental info: [2021-03-29T22:56:17.460Z] ------------------- [2021-03-29T22:56:17.460Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-29T22:56:17.460Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-29T22:56:17.460Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-29T22:56:17.718Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-29T22:56:17.813Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-29T22:56:17.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-29T22:56:18.028Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-29T22:56:18.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-29T22:56:18.203Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-29T22:56:18.287Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-29T22:56:18.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-29T22:56:18.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-29T22:56:18.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-29T22:56:18.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-29T22:56:18.789Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-29T22:56:18.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-29T22:56:19.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-29T22:56:19.172Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T22:56:19.293Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T22:56:19.396Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T22:56:19.533Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-29T22:56:19.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-29T22:56:19.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-29T22:56:19.802Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-29T22:56:19.886Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-29T22:56:19.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-29T22:56:20.063Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-29T22:56:20.266Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-29T22:56:20.391Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-29T22:56:20.527Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-29T22:56:20.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-29T22:56:20.722Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-29T22:56:20.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d68305261b009470d1fda9feae14a96618a86fbb [Pipeline] echo [2021-03-29T22:56:21.003Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d683052 [Pipeline] echo [2021-03-29T22:56:21.113Z] [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-29T22:56:21.786Z] + git log --format=format:%s -1 d68305261b009470d1fda9feae14a96618a86fbb [Pipeline] echo [2021-03-29T22:56:21.860Z] GIT_COMMIT: d68305261b009470d1fda9feae14a96618a86fbb, Commit Message: refactor: Update code for Created & Modified removed from Event DTO (#771) [Pipeline] echo [2021-03-29T22:56:21.908Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-29T22:56:22.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T22:56:22.791Z] [2021-03-29T22:56:22.791Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T22:56:23.144Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T22:56:23.144Z] latest: Pulling from edgex-devops/git-semver [2021-03-29T22:56:23.144Z] 31603596830f: Pulling fs layer [2021-03-29T22:56:23.144Z] 2a8b12db71e7: Pulling fs layer [2021-03-29T22:56:23.144Z] 6ca5941a6612: Pulling fs layer [2021-03-29T22:56:23.144Z] ecc8261a40a4: Pulling fs layer [2021-03-29T22:56:23.144Z] 2a8b12db71e7: Verifying Checksum [2021-03-29T22:56:23.144Z] 2a8b12db71e7: Download complete [2021-03-29T22:56:23.406Z] 31603596830f: Verifying Checksum [2021-03-29T22:56:23.406Z] 31603596830f: Download complete [2021-03-29T22:56:23.406Z] 6ca5941a6612: Verifying Checksum [2021-03-29T22:56:23.406Z] 6ca5941a6612: Download complete [2021-03-29T22:56:23.406Z] ecc8261a40a4: Verifying Checksum [2021-03-29T22:56:23.406Z] ecc8261a40a4: Download complete [2021-03-29T22:56:23.671Z] 31603596830f: Pull complete [2021-03-29T22:56:23.937Z] 2a8b12db71e7: Pull complete [2021-03-29T22:56:24.514Z] 6ca5941a6612: Pull complete [2021-03-29T22:56:24.775Z] ecc8261a40a4: Pull complete [2021-03-29T22:56:24.775Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-29T22:56:25.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T22:56:25.037Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-29T22:56:25.151Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T22:56:25.197Z] $ 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-29T22:56:27.089Z] $ docker top 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T22:56:27.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T22:56:27.483Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T22:56:27.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T22:56:27.719Z] $ docker exec 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a ssh-agent [2021-03-29T22:56:27.928Z] SSH_AUTH_SOCK=/tmp/ssh-FXMfM57arq8D/agent.12 [2021-03-29T22:56:27.928Z] SSH_AGENT_PID=18 [2021-03-29T22:56:27.939Z] Running ssh-add (command line suppressed) [2021-03-29T22:56:28.051Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3571373257728191573.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3571373257728191573.key) [2021-03-29T22:56:28.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T22:56:28.462Z] + git tag --points-at HEAD [Pipeline] } [2021-03-29T22:56:28.485Z] $ docker exec --env ******** --env ******** 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a ssh-agent -k [2021-03-29T22:56:28.599Z] unset SSH_AUTH_SOCK; [2021-03-29T22:56:28.599Z] unset SSH_AGENT_PID; [2021-03-29T22:56:28.599Z] echo Agent pid 18 killed; [2021-03-29T22:56:28.651Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-29T22:56:28.799Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T22:56:28.799Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T22:56:28.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T22:56:28.970Z] $ docker exec 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a ssh-agent [2021-03-29T22:56:29.134Z] SSH_AUTH_SOCK=/tmp/ssh-tiwbMcGgFKwU/agent.48 [2021-03-29T22:56:29.134Z] SSH_AGENT_PID=53 [2021-03-29T22:56:29.141Z] Running ssh-add (command line suppressed) [2021-03-29T22:56:29.268Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2824285250494848355.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2824285250494848355.key) [2021-03-29T22:56:29.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T22:56:29.649Z] + git semver init [2021-03-29T22:56:29.649Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T22:56:29.649Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-29T22:56:29.649Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-29T22:56:29.649Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T22:56:29.649Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T22:56:29.649Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T22:56:29.649Z] # $SEMVER_BRANCH = master [2021-03-29T22:56:29.649Z] # $SEMVER_TEMP = /tmp/semver-226934359 [2021-03-29T22:56:29.649Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-29T22:56:32.214Z] # '/tmp/semver-226934359' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-29T22:56:32.476Z] # -> Force: false [2021-03-29T22:56:32.476Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-29T22:56:32.487Z] $ docker exec --env ******** --env ******** 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a ssh-agent -k [2021-03-29T22:56:32.632Z] unset SSH_AUTH_SOCK; [2021-03-29T22:56:32.633Z] unset SSH_AGENT_PID; [2021-03-29T22:56:32.633Z] echo Agent pid 53 killed; [2021-03-29T22:56:32.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T22:56:33.176Z] + git semver [Pipeline] } [2021-03-29T22:56:33.192Z] $ docker stop --time=1 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a [2021-03-29T22:56:34.703Z] $ docker rm -f 481b9f4b84e5eec475422dc1385bff9ce9929a369c53c45e154a61caac34fa0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T22:56:35.190Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-29T22:56:35.796Z] Stashed 1 file(s) [Pipeline] echo [2021-03-29T22:56:35.799Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.36 [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-29T22:56:51.277Z] Still waiting to schedule task [2021-03-29T22:56:51.277Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-29T22:56:51.279Z] Still waiting to schedule task [2021-03-29T22:56:51.279Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-29T23:01:41.396Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31892 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-29T23:01:41.456Z] Running in /w/workspace/app-functions-sdk-go/205 [Pipeline] { [Pipeline] checkout [2021-03-29T23:01:46.477Z] using credential edgex-jenkins-ssh [2021-03-29T23:01:46.535Z] Cloning the remote Git repository [2021-03-29T23:01:46.588Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-29T23:01:46.727Z] > git init /w/workspace/app-functions-sdk-go/205 # timeout=10 [2021-03-29T23:01:46.821Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-29T23:01:46.821Z] > git --version # timeout=10 [2021-03-29T23:01:46.845Z] > git --version # 'git version 2.17.1' [2021-03-29T23:01:46.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T23:01:46.900Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T23:01:50.138Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-29T23:01:50.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T23:01:50.195Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-29T23:01:50.231Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-29T23:01:50.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T23:01:50.243Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-29T23:01:50.777Z] Checking out Revision d68305261b009470d1fda9feae14a96618a86fbb (master) [2021-03-29T23:01:50.798Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T23:01:50.819Z] > git checkout -f d68305261b009470d1fda9feae14a96618a86fbb # timeout=10 [2021-03-29T23:01:55.386Z] Commit message: "refactor: Update code for Created & Modified removed from Event DTO (#771)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T23:01:57.064Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-29T23:01:57.462Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T23:01:57.810Z] + true [2021-03-29T23:01:57.810Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-29T23:02:00.777Z] ========================================================= [2021-03-29T23:02:00.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-29T23:02:00.778Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:02:01.174Z] + 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-29T23:02:02.155Z] Sending build context to Docker daemon 19.41MB [2021-03-29T23:02:02.155Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T23:02:02.155Z] Step 2/8 : FROM ${BASE} [2021-03-29T23:02:02.428Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-29T23:02:02.428Z] 5f621e34cdf4: Pulling fs layer [2021-03-29T23:02:02.428Z] a4357932f1b6: Pulling fs layer [2021-03-29T23:02:02.428Z] 18c013af1878: Pulling fs layer [2021-03-29T23:02:02.428Z] 00ac8860ef70: Pulling fs layer [2021-03-29T23:02:02.428Z] 63d7cb157983: Pulling fs layer [2021-03-29T23:02:02.428Z] b116817d02f9: Pulling fs layer [2021-03-29T23:02:02.428Z] 745a02a5169b: Pulling fs layer [2021-03-29T23:02:02.428Z] 00ac8860ef70: Waiting [2021-03-29T23:02:02.428Z] 63d7cb157983: Waiting [2021-03-29T23:02:02.428Z] 745a02a5169b: Waiting [2021-03-29T23:02:02.428Z] b116817d02f9: Waiting [2021-03-29T23:02:02.706Z] 18c013af1878: Download complete [2021-03-29T23:02:02.706Z] a4357932f1b6: Verifying Checksum [2021-03-29T23:02:02.706Z] a4357932f1b6: Download complete [2021-03-29T23:02:02.706Z] 63d7cb157983: Verifying Checksum [2021-03-29T23:02:02.706Z] 63d7cb157983: Download complete [2021-03-29T23:02:02.706Z] b116817d02f9: Verifying Checksum [2021-03-29T23:02:02.706Z] b116817d02f9: Download complete [2021-03-29T23:02:02.706Z] 5f621e34cdf4: Verifying Checksum [2021-03-29T23:02:02.706Z] 5f621e34cdf4: Download complete [2021-03-29T23:02:03.305Z] 5f621e34cdf4: Pull complete [2021-03-29T23:02:03.908Z] a4357932f1b6: Pull complete [2021-03-29T23:02:04.192Z] 18c013af1878: Pull complete [2021-03-29T23:02:04.790Z] 745a02a5169b: Verifying Checksum [2021-03-29T23:02:04.790Z] 745a02a5169b: Download complete [2021-03-29T23:02:06.226Z] 00ac8860ef70: Verifying Checksum [2021-03-29T23:02:06.226Z] 00ac8860ef70: Download complete [2021-03-29T23:02:16.404Z] 00ac8860ef70: Pull complete [2021-03-29T23:02:16.404Z] 63d7cb157983: Pull complete [2021-03-29T23:02:16.679Z] b116817d02f9: Pull complete [2021-03-29T23:02:21.015Z] 745a02a5169b: Pull complete [2021-03-29T23:02:21.015Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-29T23:02:21.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-29T23:02:21.015Z] ---> b7e6874047d6 [2021-03-29T23:02:21.015Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-29T23:02:21.015Z] 20.10.0: Pulling from library/docker [2021-03-29T23:02:21.015Z] a3cc7d3b244e: Pulling fs layer [2021-03-29T23:02:21.015Z] 02a3295e0d61: Pulling fs layer [2021-03-29T23:02:21.015Z] 0f4f2e6d8100: Pulling fs layer [2021-03-29T23:02:21.015Z] 330b718f631f: Pulling fs layer [2021-03-29T23:02:21.015Z] a93816041522: Pulling fs layer [2021-03-29T23:02:21.015Z] bdb6da89ff94: Pulling fs layer [2021-03-29T23:02:21.015Z] 2a70c0c122f4: Pulling fs layer [2021-03-29T23:02:21.015Z] a93816041522: Waiting [2021-03-29T23:02:21.015Z] 330b718f631f: Waiting [2021-03-29T23:02:21.015Z] bdb6da89ff94: Waiting [2021-03-29T23:02:21.015Z] 2a70c0c122f4: Waiting [2021-03-29T23:02:21.015Z] 0f4f2e6d8100: Download complete [2021-03-29T23:02:21.015Z] 02a3295e0d61: Download complete [2021-03-29T23:02:21.015Z] a93816041522: Verifying Checksum [2021-03-29T23:02:21.015Z] a93816041522: Download complete [2021-03-29T23:02:21.015Z] a3cc7d3b244e: Verifying Checksum [2021-03-29T23:02:21.015Z] a3cc7d3b244e: Download complete [2021-03-29T23:02:21.015Z] bdb6da89ff94: Verifying Checksum [2021-03-29T23:02:21.015Z] bdb6da89ff94: Download complete [2021-03-29T23:02:21.015Z] 2a70c0c122f4: Download complete [2021-03-29T23:02:21.292Z] a3cc7d3b244e: Pull complete [2021-03-29T23:02:21.888Z] 02a3295e0d61: Pull complete [2021-03-29T23:02:22.481Z] 0f4f2e6d8100: Pull complete [2021-03-29T23:02:22.481Z] 330b718f631f: Verifying Checksum [2021-03-29T23:02:22.481Z] 330b718f631f: Download complete [2021-03-29T23:02:26.803Z] 330b718f631f: Pull complete [2021-03-29T23:02:26.803Z] a93816041522: Pull complete [2021-03-29T23:02:26.803Z] bdb6da89ff94: Pull complete [2021-03-29T23:02:27.398Z] 2a70c0c122f4: Pull complete [2021-03-29T23:02:27.398Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-29T23:02:27.398Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-29T23:02:34.104Z] ---> 3d766f297bbb [2021-03-29T23:02:34.104Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-29T23:02:34.104Z] ---> Running in 3ce34e05ecef [2021-03-29T23:02:34.104Z] Removing intermediate container 3ce34e05ecef [2021-03-29T23:02:34.104Z] ---> 21f4255d4c6e [2021-03-29T23:02:34.104Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-29T23:02:34.377Z] ---> Running in 2733bf30c8b8 [2021-03-29T23:02:35.376Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-29T23:02:36.415Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-29T23:02:37.008Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-29T23:02:37.008Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-29T23:02:37.284Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-29T23:02:37.284Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-29T23:02:37.284Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-29T23:02:37.430Z] Running on prd-centos7-docker-4c-2g-31893 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-29T23:02:37.488Z] Running in /w/workspace/app-functions-sdk-go/205 [Pipeline] { [2021-03-29T23:02:37.557Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T23:02:37.557Z] OK: 144 MiB in 44 packages [Pipeline] checkout [2021-03-29T23:02:39.539Z] Removing intermediate container 2733bf30c8b8 [2021-03-29T23:02:39.539Z] ---> 4a1b0adba08a [2021-03-29T23:02:39.539Z] Step 6/8 : WORKDIR /build [2021-03-29T23:02:39.539Z] ---> Running in dad6611177d0 [2021-03-29T23:02:39.815Z] Removing intermediate container dad6611177d0 [2021-03-29T23:02:39.815Z] ---> 446a01c28833 [2021-03-29T23:02:39.815Z] Step 7/8 : COPY go.mod . [2021-03-29T23:02:39.871Z] using credential edgex-jenkins-ssh [2021-03-29T23:02:39.928Z] Cloning the remote Git repository [2021-03-29T23:02:40.794Z] ---> 9eac12446b69 [2021-03-29T23:02:40.794Z] Step 8/8 : RUN go mod download [2021-03-29T23:02:40.794Z] ---> Running in f822fbaf00f4 [2021-03-29T23:02:39.959Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-29T23:02:40.028Z] > git init /w/workspace/app-functions-sdk-go/205 # timeout=10 [2021-03-29T23:02:40.086Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-29T23:02:40.086Z] > git --version # timeout=10 [2021-03-29T23:02:40.093Z] > git --version # 'git version 2.24.3' [2021-03-29T23:02:40.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T23:02:40.170Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T23:02:42.107Z] Checking out Revision d68305261b009470d1fda9feae14a96618a86fbb (master) [2021-03-29T23:02:41.672Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-29T23:02:41.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-29T23:02:41.690Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-29T23:02:41.702Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-29T23:02:41.703Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-29T23:02:41.707Z] > 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-29T23:02:42.113Z] > git config core.sparsecheckout # timeout=10 [2021-03-29T23:02:42.119Z] > git checkout -f d68305261b009470d1fda9feae14a96618a86fbb # timeout=10 [2021-03-29T23:02:45.753Z] Commit message: "refactor: Update code for Created & Modified removed from Event DTO (#771)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-29T23:02:47.014Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-29T23:02:47.342Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-29T23:02:47.645Z] + sudo service docker restart [2021-03-29T23:02:47.645Z] + true [2021-03-29T23:02:47.645Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-29T23:02:49.260Z] ========================================================= [2021-03-29T23:02:49.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-29T23:02:49.260Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:02:49.619Z] + 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-29T23:02:50.194Z] Sending build context to Docker daemon 19.41MB [2021-03-29T23:02:50.194Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-29T23:02:50.194Z] Step 2/8 : FROM ${BASE} [2021-03-29T23:02:50.194Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-29T23:02:50.194Z] 188c0c94c7c5: Pulling fs layer [2021-03-29T23:02:50.194Z] 0ef7d3d256c8: Pulling fs layer [2021-03-29T23:02:50.194Z] de9db76c5a1d: Pulling fs layer [2021-03-29T23:02:50.194Z] bca2f99d35d6: Pulling fs layer [2021-03-29T23:02:50.194Z] 93359f2a8cfa: Pulling fs layer [2021-03-29T23:02:50.194Z] 7c6f9722023f: Pulling fs layer [2021-03-29T23:02:50.194Z] a35cf1a2eb13: Pulling fs layer [2021-03-29T23:02:50.194Z] 93359f2a8cfa: Waiting [2021-03-29T23:02:50.194Z] 7c6f9722023f: Waiting [2021-03-29T23:02:50.194Z] a35cf1a2eb13: Waiting [2021-03-29T23:02:50.194Z] bca2f99d35d6: Waiting [2021-03-29T23:02:50.194Z] de9db76c5a1d: Verifying Checksum [2021-03-29T23:02:50.194Z] de9db76c5a1d: Download complete [2021-03-29T23:02:50.194Z] 0ef7d3d256c8: Verifying Checksum [2021-03-29T23:02:50.194Z] 0ef7d3d256c8: Download complete [2021-03-29T23:02:50.194Z] 93359f2a8cfa: Download complete [2021-03-29T23:02:50.468Z] 7c6f9722023f: Download complete [2021-03-29T23:02:50.468Z] 188c0c94c7c5: Verifying Checksum [2021-03-29T23:02:50.468Z] 188c0c94c7c5: Download complete [2021-03-29T23:02:50.743Z] 188c0c94c7c5: Pull complete [2021-03-29T23:02:51.007Z] 0ef7d3d256c8: Pull complete [2021-03-29T23:02:51.007Z] de9db76c5a1d: Pull complete [2021-03-29T23:02:51.965Z] a35cf1a2eb13: Verifying Checksum [2021-03-29T23:02:51.965Z] a35cf1a2eb13: Download complete [2021-03-29T23:02:52.920Z] bca2f99d35d6: Verifying Checksum [2021-03-29T23:02:52.920Z] bca2f99d35d6: Download complete [2021-03-29T23:02:58.310Z] bca2f99d35d6: Pull complete [2021-03-29T23:02:58.310Z] 93359f2a8cfa: Pull complete [2021-03-29T23:02:58.310Z] 7c6f9722023f: Pull complete [2021-03-29T23:03:06.492Z] a35cf1a2eb13: Pull complete [2021-03-29T23:03:06.492Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-29T23:03:06.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-29T23:03:06.492Z] ---> a62c8e92a672 [2021-03-29T23:03:06.492Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-29T23:03:06.492Z] 20.10.0: Pulling from library/docker [2021-03-29T23:03:06.492Z] 05e7bc50f07f: Pulling fs layer [2021-03-29T23:03:06.492Z] 6db28d0fdbf6: Pulling fs layer [2021-03-29T23:03:06.492Z] 292df0bc6bf3: Pulling fs layer [2021-03-29T23:03:06.492Z] 2e060f4bd70b: Pulling fs layer [2021-03-29T23:03:06.492Z] 80e8d568a223: Pulling fs layer [2021-03-29T23:03:06.492Z] 8dc6ef1a942a: Pulling fs layer [2021-03-29T23:03:06.492Z] 2312dd95470a: Pulling fs layer [2021-03-29T23:03:06.492Z] 2e060f4bd70b: Waiting [2021-03-29T23:03:06.492Z] 80e8d568a223: Waiting [2021-03-29T23:03:06.492Z] 8dc6ef1a942a: Waiting [2021-03-29T23:03:06.492Z] 2312dd95470a: Waiting [2021-03-29T23:03:06.492Z] 292df0bc6bf3: Verifying Checksum [2021-03-29T23:03:06.492Z] 292df0bc6bf3: Download complete [2021-03-29T23:03:06.492Z] 6db28d0fdbf6: Verifying Checksum [2021-03-29T23:03:06.492Z] 6db28d0fdbf6: Download complete [2021-03-29T23:03:06.492Z] 80e8d568a223: Verifying Checksum [2021-03-29T23:03:06.492Z] 80e8d568a223: Download complete [2021-03-29T23:03:06.492Z] 05e7bc50f07f: Verifying Checksum [2021-03-29T23:03:06.492Z] 05e7bc50f07f: Download complete [2021-03-29T23:03:06.492Z] 8dc6ef1a942a: Verifying Checksum [2021-03-29T23:03:06.492Z] 8dc6ef1a942a: Download complete [2021-03-29T23:03:06.492Z] 2312dd95470a: Verifying Checksum [2021-03-29T23:03:06.492Z] 2312dd95470a: Download complete [2021-03-29T23:03:06.492Z] 05e7bc50f07f: Pull complete [2021-03-29T23:03:06.492Z] 6db28d0fdbf6: Pull complete [2021-03-29T23:03:06.492Z] 292df0bc6bf3: Pull complete [2021-03-29T23:03:06.492Z] 2e060f4bd70b: Verifying Checksum [2021-03-29T23:03:06.492Z] 2e060f4bd70b: Download complete [2021-03-29T23:03:07.622Z] Removing intermediate container f822fbaf00f4 [2021-03-29T23:03:07.622Z] ---> 66ee5edbabc3 [2021-03-29T23:03:07.622Z] Successfully built 66ee5edbabc3 [2021-03-29T23:03:07.622Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:03:07.974Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T23:03:07.974Z] . [Pipeline] withDockerContainer [2021-03-29T23:03:08.248Z] prd-ubuntu18.04-docker-arm64-4c-16g-31892 does not seem to be running inside a container [2021-03-29T23:03:08.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/205 -v /w/workspace/app-functions-sdk-go/205:/w/workspace/app-functions-sdk-go/205:rw,z -v /w/workspace/app-functions-sdk-go/205@tmp:/w/workspace/app-functions-sdk-go/205@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-29T23:03:09.060Z] 2e060f4bd70b: Pull complete [2021-03-29T23:03:09.323Z] 80e8d568a223: Pull complete [2021-03-29T23:03:09.323Z] 8dc6ef1a942a: Pull complete [2021-03-29T23:03:09.585Z] 2312dd95470a: Pull complete [2021-03-29T23:03:09.585Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-29T23:03:09.585Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-29T23:03:09.855Z] $ docker top e99486eb8d37817fd31944434762c1f30c3808df839f0f19b2e409e2648ea77a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T23:03:10.910Z] + go version [2021-03-29T23:03:10.910Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-29T23:03:10.932Z] $ docker stop --time=1 e99486eb8d37817fd31944434762c1f30c3808df839f0f19b2e409e2648ea77a [2021-03-29T23:03:10.982Z] ---> e6aa22a6d723 [2021-03-29T23:03:10.982Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-29T23:03:10.982Z] ---> Running in e371f9c8b7db [2021-03-29T23:03:11.245Z] Removing intermediate container e371f9c8b7db [2021-03-29T23:03:11.245Z] ---> e3573faff8c2 [2021-03-29T23:03:11.245Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-29T23:03:11.245Z] ---> Running in ce4638a557ad [2021-03-29T23:03:11.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-29T23:03:12.790Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-29T23:03:12.870Z] $ docker rm -f e99486eb8d37817fd31944434762c1f30c3808df839f0f19b2e409e2648ea77a [2021-03-29T23:03:13.059Z] (1/5) Installing libsodium (1.0.18-r0) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-03-29T23:03:13.323Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-29T23:03:13.323Z] (3/5) Installing pkgconf (1.7.2-r0) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:03:13.629Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-29T23:03:13.629Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-29T23:03:13.629Z] Executing busybox-1.31.1-r19.trigger [2021-03-29T23:03:13.629Z] OK: 167 MiB in 44 packages [2021-03-29T23:03:13.935Z] + docker inspect -f . ci-base-image-arm64 [2021-03-29T23:03:13.935Z] . [Pipeline] withDockerContainer [2021-03-29T23:03:14.195Z] prd-ubuntu18.04-docker-arm64-4c-16g-31892 does not seem to be running inside a container [2021-03-29T23:03:14.205Z] Removing intermediate container ce4638a557ad [2021-03-29T23:03:14.205Z] ---> cc6f282886ea [2021-03-29T23:03:14.205Z] Step 6/8 : WORKDIR /build [2021-03-29T23:03:14.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/205 -v /w/workspace/app-functions-sdk-go/205:/w/workspace/app-functions-sdk-go/205:rw,z -v /w/workspace/app-functions-sdk-go/205@tmp:/w/workspace/app-functions-sdk-go/205@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-29T23:03:14.466Z] ---> Running in 29bba52e8951 [2021-03-29T23:03:14.466Z] Removing intermediate container 29bba52e8951 [2021-03-29T23:03:14.466Z] ---> 74dfcdbd0f84 [2021-03-29T23:03:14.466Z] Step 7/8 : COPY go.mod . [2021-03-29T23:03:14.731Z] ---> 721cc5021da4 [2021-03-29T23:03:14.731Z] Step 8/8 : RUN go mod download [2021-03-29T23:03:14.731Z] ---> Running in b3fba7e99a7f [2021-03-29T23:03:15.775Z] $ docker top 45fda8cfe878dea26ec30193d90d1d3391e4e9d06e2bdb5db1c30262f0b3f588 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T23:03:16.823Z] + make test [2021-03-29T23:03:16.823Z] make -C ./app-service-template build [2021-03-29T23:03:16.823Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:03:16.823Z] 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-29T23:03:36.770Z] Removing intermediate container b3fba7e99a7f [2021-03-29T23:03:36.770Z] ---> 926163f834ae [2021-03-29T23:03:36.770Z] Successfully built 926163f834ae [2021-03-29T23:03:36.770Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:03:37.082Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T23:03:37.082Z] . [Pipeline] withDockerContainer [2021-03-29T23:03:37.362Z] prd-centos7-docker-4c-2g-31893 does not seem to be running inside a container [2021-03-29T23:03:37.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/205 -v /w/workspace/app-functions-sdk-go/205:/w/workspace/app-functions-sdk-go/205:rw,z -v /w/workspace/app-functions-sdk-go/205@tmp:/w/workspace/app-functions-sdk-go/205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T23:03:38.369Z] $ docker top b060338e0bf226b32547a76c7bb68e5600c824370e400a56bf96e0000b9a6261 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T23:03:38.945Z] + go version [2021-03-29T23:03:38.945Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-29T23:03:38.958Z] $ docker stop --time=1 b060338e0bf226b32547a76c7bb68e5600c824370e400a56bf96e0000b9a6261 [2021-03-29T23:03:40.331Z] $ docker rm -f b060338e0bf226b32547a76c7bb68e5600c824370e400a56bf96e0000b9a6261 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:03:41.292Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-29T23:03:41.292Z] . [Pipeline] withDockerContainer [2021-03-29T23:03:41.389Z] prd-centos7-docker-4c-2g-31893 does not seem to be running inside a container [2021-03-29T23:03:41.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/205 -v /w/workspace/app-functions-sdk-go/205:/w/workspace/app-functions-sdk-go/205:rw,z -v /w/workspace/app-functions-sdk-go/205@tmp:/w/workspace/app-functions-sdk-go/205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-29T23:03:42.141Z] $ docker top 441db80844a6443f45633f87c25d7dec40f5233765825b9490bd309ae3ed2be4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T23:03:42.638Z] + make test [2021-03-29T23:03:42.638Z] make -C ./app-service-template build [2021-03-29T23:03:42.638Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:03:42.638Z] 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-29T23:03:49.194Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:03:49.194Z] make -C ./app-service-template test [2021-03-29T23:03:49.194Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:03:49.194Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-29T23:03:57.651Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:03:57.651Z] make -C ./app-service-template test [2021-03-29T23:03:57.651Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:03:57.651Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-29T23:04:03.020Z] ok new-app-service 0.016s coverage: 47.8% of statements [2021-03-29T23:04:03.020Z] ? new-app-service/config [no test files] [2021-03-29T23:04:03.597Z] ok new-app-service/functions 0.010s [2021-03-29T23:04:03.598Z] CGO_ENABLED=1 go vet ./... [2021-03-29T23:04:06.935Z] gofmt -l . [2021-03-29T23:04:06.935Z] [ "`gofmt -l .`" = "" ] [2021-03-29T23:04:06.935Z] ./bin/test-go-mod-tidy.sh [2021-03-29T23:04:07.195Z] ./bin/test-attribution-txt.sh [2021-03-29T23:04:07.772Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:04:07.772Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-29T23:04:08.349Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-29T23:04:10.322Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.017s coverage: 55.8% of statements [2021-03-29T23:04:10.322Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.016s coverage: 92.5% of statements [2021-03-29T23:04:10.322Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-29T23:04:10.322Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.059s coverage: 61.5% of statements [2021-03-29T23:04:10.322Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-29T23:04:10.322Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.023s [2021-03-29T23:04:10.587Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.035s coverage: 75.4% of statements [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-29T23:04:10.587Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.0% of statements [2021-03-29T23:04:10.587Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-29T23:04:10.864Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.026s coverage: 10.5% of statements [2021-03-29T23:04:16.017Z] ok new-app-service 0.034s coverage: 47.8% of statements [2021-03-29T23:04:16.017Z] ? new-app-service/config [no test files] [2021-03-29T23:04:16.017Z] ok new-app-service/functions 0.027s [2021-03-29T23:04:16.017Z] CGO_ENABLED=1 go vet ./... [2021-03-29T23:04:16.184Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.737s coverage: 78.4% of statements [2021-03-29T23:04:16.184Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-29T23:04:16.184Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.013s coverage: 20.0% of statements [2021-03-29T23:04:16.184Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.012s coverage: 27.3% of statements [2021-03-29T23:04:16.184Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-29T23:04:16.184Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-29T23:04:16.184Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.009s coverage: 71.7% of statements [2021-03-29T23:04:22.755Z] gofmt -l . [2021-03-29T23:04:22.755Z] [ "`gofmt -l .`" = "" ] [2021-03-29T23:04:22.755Z] ./bin/test-go-mod-tidy.sh [2021-03-29T23:04:23.355Z] ./bin/test-attribution-txt.sh [2021-03-29T23:04:24.786Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/205/app-service-template' [2021-03-29T23:04:24.786Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-29T23:04:26.223Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.076s coverage: 55.8% of statements [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.035s coverage: 92.5% of statements [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.054s coverage: 61.5% of statements [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.032s [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.089s coverage: 75.4% of statements [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.021s coverage: 97.0% of statements [2021-03-29T23:04:36.406Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-29T23:04:36.406Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.031s coverage: 10.5% of statements [2021-03-29T23:04:40.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.826s coverage: 78.4% of statements [2021-03-29T23:04:40.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-29T23:04:40.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.037s coverage: 20.0% of statements [2021-03-29T23:04:40.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.031s coverage: 27.3% of statements [2021-03-29T23:04:40.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-29T23:04:40.735Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-29T23:04:40.735Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.080s coverage: 71.7% of statements [2021-03-29T23:04:43.616Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.040s coverage: 81.9% of statements [2021-03-29T23:04:43.616Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-03-29T23:04:43.616Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-29T23:04:43.616Z] gofmt -l . [2021-03-29T23:04:43.616Z] [ "`gofmt -l .`" = "" ] [2021-03-29T23:04:43.616Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-29T23:04:43.632Z] $ docker stop --time=1 441db80844a6443f45633f87c25d7dec40f5233765825b9490bd309ae3ed2be4 [2021-03-29T23:04:45.182Z] $ docker rm -f 441db80844a6443f45633f87c25d7dec40f5233765825b9490bd309ae3ed2be4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T23:04:45.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T23:04:46.197Z] 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-29T23:04:47.325Z] ---> job-cost.sh [2021-03-29T23:04:47.325Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ucqS [2021-03-29T23:05:02.250Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T23:05:08.419Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.079s coverage: 81.9% of statements [2021-03-29T23:05:08.419Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements [2021-03-29T23:05:08.419Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-29T23:05:10.403Z] gofmt -l . [2021-03-29T23:05:10.674Z] [ "`gofmt -l .`" = "" ] [2021-03-29T23:05:11.271Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-29T23:05:11.888Z] $ docker stop --time=1 45fda8cfe878dea26ec30193d90d1d3391e4e9d06e2bdb5db1c30262f0b3f588 [2021-03-29T23:05:13.911Z] $ docker rm -f 45fda8cfe878dea26ec30193d90d1d3391e4e9d06e2bdb5db1c30262f0b3f588 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-29T23:05:14.881Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-29T23:05:14.904Z] Warning: overwriting stash ‘coverage-report’ [2021-03-29T23:05:15.738Z] 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-29T23:05:16.659Z] ---> job-cost.sh [2021-03-29T23:05:16.659Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VxUm [2021-03-29T23:05:28.890Z] lf-activate-venv(): INFO: Adding /tmp/venv-ucqS/bin to PATH [2021-03-29T23:05:28.890Z] INFO: No Stack... [2021-03-29T23:05:28.890Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T23:05:28.890Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T23:05:29.199Z] + cat /w/workspace/app-functions-sdk-go/205/archives/cost.csv [2021-03-29T23:05:29.199Z] + cut -d, -f6 [Pipeline] lock [2021-03-29T23:05:29.278Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] [2021-03-29T23:05:29.297Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] did not exist. Created. [2021-03-29T23:05:29.297Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T23:05:29.689Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-29T23:05:29.846Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T23:05:29.858Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-29T23:05:55.673Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-29T23:07:17.400Z] lf-activate-venv(): INFO: Adding /tmp/venv-VxUm/bin to PATH [2021-03-29T23:07:17.400Z] INFO: No Stack... [2021-03-29T23:07:17.988Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-29T23:07:18.578Z] INFO: Archiving Costs [Pipeline] sh [2021-03-29T23:07:18.912Z] + cut -d, -f6+ cat /w/workspace/app-functions-sdk-go/205/archives/cost.csv [2021-03-29T23:07:18.912Z] [Pipeline] lock [2021-03-29T23:07:19.024Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] [2021-03-29T23:07:19.034Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] did not exist. Created. [2021-03-29T23:07:19.034Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-205-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-29T23:07:19.469Z] /w/workspace/app-functions-sdk-go/205@tmp/durable-7e6d8f79/script.sh: 1: /w/workspace/app-functions-sdk-go/205@tmp/durable-7e6d8f79/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-29T23:07:19.813Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-29T23:07:19.832Z] Warning: overwriting stash ‘stack-cost’ [2021-03-29T23:07:19.990Z] Stashed 1 file(s) [Pipeline] } [2021-03-29T23:07:20.005Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-205-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-29T23:07:21.264Z] provisioning config files... [2021-03-29T23:07:21.296Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1853597301948681580tmp [Pipeline] { [Pipeline] sh [2021-03-29T23:07:21.692Z] + set +x [2021-03-29T23:07:21.692Z] + curl -s https://codecov.io/bash [2021-03-29T23:07:21.692Z] + bash -s -- [2021-03-29T23:07:21.692Z] [2021-03-29T23:07:21.692Z] _____ _ [2021-03-29T23:07:21.692Z] / ____| | | [2021-03-29T23:07:21.692Z] | | ___ __| | ___ ___ _____ __ [2021-03-29T23:07:21.692Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-29T23:07:21.692Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-29T23:07:21.692Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-29T23:07:21.692Z] Bash-20210309-2b87ace [2021-03-29T23:07:21.692Z] [2021-03-29T23:07:21.692Z] [2021-03-29T23:07:21.692Z] ==> git version 2.24.3 found [2021-03-29T23:07:21.692Z] ==> 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-29T23:07:21.692Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-29T23:07:21.692Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-29T23:07:21.954Z] ==> Jenkins CI detected. [2021-03-29T23:07:21.954Z] project root: . [2021-03-29T23:07:21.954Z] --> token set from env [2021-03-29T23:07:21.954Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-29T23:07:21.954Z] ==> Running gcov in . (disable via -X gcov) [2021-03-29T23:07:21.954Z] ==> Python coveragepy not found [2021-03-29T23:07:21.954Z] ==> Searching for coverage reports in: [2021-03-29T23:07:21.954Z] + . [2021-03-29T23:07:21.954Z] -> Found 2 reports [2021-03-29T23:07:21.954Z] ==> Detecting git/mercurial file structure [2021-03-29T23:07:21.954Z] ==> Reading reports [2021-03-29T23:07:21.954Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-29T23:07:21.954Z] + ./coverage.out bytes=86636 [2021-03-29T23:07:21.954Z] ==> Appending adjustments [2021-03-29T23:07:21.954Z] https://docs.codecov.io/docs/fixing-reports [2021-03-29T23:07:22.538Z] + Found adjustments [2021-03-29T23:07:22.538Z] ==> Gzipping contents [2021-03-29T23:07:22.538Z] 16K /tmp/codecov.RCK3Ph.gz [2021-03-29T23:07:22.538Z] ==> Uploading reports [2021-03-29T23:07:22.538Z] url: https://codecov.io [2021-03-29T23:07:22.538Z] query: branch=master&commit=d68305261b009470d1fda9feae14a96618a86fbb&build=205&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F205%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-29T23:07:22.538Z] -> Pinging Codecov [2021-03-29T23:07:22.538Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=d68305261b009470d1fda9feae14a96618a86fbb&build=205&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F205%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-29T23:07:22.800Z] -> Uploading to [2021-03-29T23:07:22.800Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-29/3D8B5DFFC46A037C893635FACE044666/d68305261b009470d1fda9feae14a96618a86fbb/90584938-ed95-453e-9919-d2e5db99844d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210329T230722Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0a5fcc7356857ea9ae3b4339a37389b9eb05efa30f1723b91d18963bd9da5e45 [2021-03-29T23:07:22.800Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-29T23:07:22.800Z] Dload Upload Total Spent Left Speed [2021-03-29T23:07:23.062Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15298 0 0 100 15298 0 38061 --:--:-- --:--:-- --:--:-- 38149 [2021-03-29T23:07:23.062Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/d68305261b009470d1fda9feae14a96618a86fbb [Pipeline] } [2021-03-29T23:07:23.073Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-29T23:07:23.533Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-29T23:07:23.595Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:07:23.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-29T23:07:23.933Z] [2021-03-29T23:07:23.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:07:24.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-29T23:07:24.283Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-29T23:07:24.283Z] 188c0c94c7c5: Pulling fs layer [2021-03-29T23:07:24.283Z] 0ef7d3d256c8: Pulling fs layer [2021-03-29T23:07:24.283Z] de9db76c5a1d: Pulling fs layer [2021-03-29T23:07:24.283Z] 0eba1c9be4d2: Pulling fs layer [2021-03-29T23:07:24.283Z] 0d57e429df01: Pulling fs layer [2021-03-29T23:07:24.283Z] 4e4be7b47b0d: Pulling fs layer [2021-03-29T23:07:24.283Z] e1f770b5df2f: Pulling fs layer [2021-03-29T23:07:24.283Z] 85a0685a4137: Pulling fs layer [2021-03-29T23:07:24.283Z] 0eba1c9be4d2: Waiting [2021-03-29T23:07:24.283Z] 0d57e429df01: Waiting [2021-03-29T23:07:24.283Z] 4e4be7b47b0d: Waiting [2021-03-29T23:07:24.283Z] e1f770b5df2f: Waiting [2021-03-29T23:07:24.283Z] 85a0685a4137: Waiting [2021-03-29T23:07:24.283Z] de9db76c5a1d: Verifying Checksum [2021-03-29T23:07:24.283Z] de9db76c5a1d: Download complete [2021-03-29T23:07:24.283Z] 0ef7d3d256c8: Download complete [2021-03-29T23:07:24.283Z] 0d57e429df01: Download complete [2021-03-29T23:07:24.283Z] 4e4be7b47b0d: Verifying Checksum [2021-03-29T23:07:24.283Z] 4e4be7b47b0d: Download complete [2021-03-29T23:07:24.283Z] 188c0c94c7c5: Verifying Checksum [2021-03-29T23:07:24.861Z] 188c0c94c7c5: Pull complete [2021-03-29T23:07:24.861Z] 0ef7d3d256c8: Pull complete [2021-03-29T23:07:25.124Z] de9db76c5a1d: Pull complete [2021-03-29T23:07:25.707Z] e1f770b5df2f: Verifying Checksum [2021-03-29T23:07:25.707Z] e1f770b5df2f: Download complete [2021-03-29T23:07:27.654Z] 0eba1c9be4d2: Verifying Checksum [2021-03-29T23:07:27.654Z] 0eba1c9be4d2: Download complete [2021-03-29T23:07:28.242Z] 85a0685a4137: Verifying Checksum [2021-03-29T23:07:28.242Z] 85a0685a4137: Download complete [2021-03-29T23:07:33.565Z] 0eba1c9be4d2: Pull complete [2021-03-29T23:07:33.565Z] 0d57e429df01: Pull complete [2021-03-29T23:07:33.565Z] 4e4be7b47b0d: Pull complete [2021-03-29T23:07:34.965Z] e1f770b5df2f: Pull complete [2021-03-29T23:07:43.152Z] 85a0685a4137: Pull complete [2021-03-29T23:07:43.152Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-29T23:07:43.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-29T23:07:43.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-29T23:07:43.367Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T23:07:43.415Z] $ 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-29T23:07:44.513Z] $ docker top 992a63dd32c801dfd1278ecd0e4a79b0fa816578876c4878c38424ce50bd1fc3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-29T23:07:44.746Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-29T23:07:45.044Z] + set -o pipefail [2021-03-29T23:07:45.044Z] + snyk monitor '--org=edgex-jenkins' [2021-03-29T23:07:57.308Z] [2021-03-29T23:07:57.308Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-29T23:07:57.308Z] [2021-03-29T23:07:57.308Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/41b7f642-735f-4bfc-8417-ed4a31a5ef49 [2021-03-29T23:07:57.308Z] [2021-03-29T23:07:57.308Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-29T23:07:57.308Z] [2021-03-29T23:07:57.308Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-29T23:07:57.308Z] [2021-03-29T23:07:58.254Z] [2021-03-29T23:07:58.254Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-03-29T23:07:58.254Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-03-29T23:07:58.271Z] $ docker stop --time=1 992a63dd32c801dfd1278ecd0e4a79b0fa816578876c4878c38424ce50bd1fc3 [2021-03-29T23:08:01.232Z] $ docker rm -f 992a63dd32c801dfd1278ecd0e4a79b0fa816578876c4878c38424ce50bd1fc3 [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-29T23:08:02.517Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-29T23:08:02.617Z] provisioning config files... [2021-03-29T23:08:02.635Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2252241946642791748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:08:03.028Z] --> edgex-publish-swagger.sh [2021-03-29T23:08:03.028Z] === Publish openapi/v2 API === [2021-03-29T23:08:03.028Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-29T23:08:03.028Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-29T23:08:03.028Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-29T23:08:03.028Z] Dload Upload Total Spent Left Speed [2021-03-29T23:08:04.428Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10881 0:00:01 0:00:01 --:--:-- 10885 100 13052 0 0 100 13052 0 10880 0:00:01 0:00:01 --:--:-- 10885 [2021-03-29T23:08:04.428Z] [2021-03-29T23:08:04.428Z] [Pipeline] } [2021-03-29T23:08:04.437Z] 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-29T23:08:05.345Z] + git log --format=format:%s -1 d68305261b009470d1fda9feae14a96618a86fbb [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:08:05.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T23:08:05.661Z] . [Pipeline] withDockerContainer [2021-03-29T23:08:05.804Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T23:08:05.848Z] $ 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-29T23:08:06.750Z] $ docker top e078ebc3121f9a940ce0bd6fb559f37c5e25355519966980b6c407c09405dbf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T23:08:07.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T23:08:07.069Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T23:08:07.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T23:08:07.337Z] $ docker exec e078ebc3121f9a940ce0bd6fb559f37c5e25355519966980b6c407c09405dbf5 ssh-agent [2021-03-29T23:08:07.512Z] SSH_AUTH_SOCK=/tmp/ssh-GCNr8e3yKMnY/agent.11 [2021-03-29T23:08:07.512Z] SSH_AGENT_PID=17 [2021-03-29T23:08:07.519Z] Running ssh-add (command line suppressed) [2021-03-29T23:08:07.651Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2948969045370515297.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2948969045370515297.key) [2021-03-29T23:08:07.705Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T23:08:08.072Z] + git semver tag [2021-03-29T23:08:08.072Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T23:08:08.072Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-29T23:08:08.072Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-29T23:08:08.072Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T23:08:08.072Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T23:08:08.072Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T23:08:08.072Z] # $SEMVER_BRANCH = master [2021-03-29T23:08:08.072Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-29T23:08:08.072Z] # d68305261b009470d1fda9feae14a96618a86fbb HEAD [2021-03-29T23:08:08.333Z] # -> Force: false [2021-03-29T23:08:08.334Z] # 80c8761e1aedcbcee893a98f8dcf93e1be993d81 refs/tags/v2.0.0-dev.36 [Pipeline] } [2021-03-29T23:08:08.345Z] $ docker exec --env ******** --env ******** e078ebc3121f9a940ce0bd6fb559f37c5e25355519966980b6c407c09405dbf5 ssh-agent -k [2021-03-29T23:08:08.467Z] unset SSH_AUTH_SOCK; [2021-03-29T23:08:08.468Z] unset SSH_AGENT_PID; [2021-03-29T23:08:08.468Z] echo Agent pid 17 killed; [2021-03-29T23:08:08.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T23:08:08.980Z] + git semver [Pipeline] } [2021-03-29T23:08:08.996Z] $ docker stop --time=1 e078ebc3121f9a940ce0bd6fb559f37c5e25355519966980b6c407c09405dbf5 [2021-03-29T23:08:10.383Z] $ docker rm -f e078ebc3121f9a940ce0bd6fb559f37c5e25355519966980b6c407c09405dbf5 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:08:11.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-29T23:08:11.165Z] [2021-03-29T23:08:11.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:08:11.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-29T23:08:11.519Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-29T23:08:11.519Z] ab5ef0e58194: Pulling fs layer [2021-03-29T23:08:11.519Z] 9712f1f96733: Pulling fs layer [2021-03-29T23:08:11.519Z] 63f879dbbcfc: Pulling fs layer [2021-03-29T23:08:11.519Z] 0d9ebad4ef96: Pulling fs layer [2021-03-29T23:08:11.519Z] e9a5061849ea: Pulling fs layer [2021-03-29T23:08:11.519Z] d747dcd14b5f: Pulling fs layer [2021-03-29T23:08:11.519Z] 0d9ebad4ef96: Waiting [2021-03-29T23:08:11.519Z] e9a5061849ea: Waiting [2021-03-29T23:08:11.519Z] 2de7ff778b66: Pulling fs layer [2021-03-29T23:08:11.519Z] 2de7ff778b66: Waiting [2021-03-29T23:08:11.519Z] 9712f1f96733: Verifying Checksum [2021-03-29T23:08:11.519Z] 9712f1f96733: Download complete [2021-03-29T23:08:12.916Z] 63f879dbbcfc: Verifying Checksum [2021-03-29T23:08:12.916Z] 63f879dbbcfc: Download complete [2021-03-29T23:08:12.916Z] e9a5061849ea: Verifying Checksum [2021-03-29T23:08:12.916Z] e9a5061849ea: Download complete [2021-03-29T23:08:12.916Z] d747dcd14b5f: Verifying Checksum [2021-03-29T23:08:12.916Z] d747dcd14b5f: Download complete [2021-03-29T23:08:13.183Z] 2de7ff778b66: Verifying Checksum [2021-03-29T23:08:13.183Z] 2de7ff778b66: Download complete [2021-03-29T23:08:13.763Z] 0d9ebad4ef96: Verifying Checksum [2021-03-29T23:08:13.763Z] 0d9ebad4ef96: Download complete [2021-03-29T23:08:14.027Z] ab5ef0e58194: Verifying Checksum [2021-03-29T23:08:14.027Z] ab5ef0e58194: Download complete [2021-03-29T23:08:18.415Z] ab5ef0e58194: Pull complete [2021-03-29T23:08:18.415Z] 9712f1f96733: Pull complete [2021-03-29T23:08:20.337Z] 63f879dbbcfc: Pull complete [2021-03-29T23:08:26.967Z] 0d9ebad4ef96: Pull complete [2021-03-29T23:08:27.918Z] e9a5061849ea: Pull complete [2021-03-29T23:08:27.918Z] d747dcd14b5f: Pull complete [2021-03-29T23:08:30.479Z] 2de7ff778b66: Pull complete [2021-03-29T23:08:30.479Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-29T23:08:30.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-29T23:08:30.479Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-29T23:08:30.680Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T23:08:30.729Z] $ 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-29T23:08:34.594Z] $ docker top 9f3bcfb4192253e9cd658599beddf079df9d6231d3f596fcc62ba4f2e0cfa4d2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-29T23:08:34.898Z] provisioning config files... [2021-03-29T23:08:34.912Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7618368005531512265tmp [2021-03-29T23:08:34.928Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8258892942258932439tmp [2021-03-29T23:08:34.944Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7359694476315010068tmp [Pipeline] { [Pipeline] echo [2021-03-29T23:08:35.004Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:08:35.303Z] ---> sigul-configuration.sh [2021-03-29T23:08:35.303Z] gpg: directory `/root/.gnupg' created [2021-03-29T23:08:35.303Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-29T23:08:35.303Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-29T23:08:35.303Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-29T23:08:35.303Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-29T23:08:35.303Z] gpg: CAST5 encrypted data [2021-03-29T23:08:35.569Z] gpg: encrypted with 1 passphrase [2021-03-29T23:08:35.569Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-29T23:08:35.873Z] + mkdir /home/jenkins [2021-03-29T23:08:35.873Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-29T23:08:36.172Z] + 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-29T23:08:36.185Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:08:36.490Z] ---> sigul-install.sh [2021-03-29T23:08:43.098Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-29T23:08:43.409Z] + git tag --list [2021-03-29T23:08:43.410Z] v0.1.0 [2021-03-29T23:08:43.410Z] v0.1.1 [2021-03-29T23:08:43.410Z] v1.0.0 [2021-03-29T23:08:43.410Z] v1.1.0 [2021-03-29T23:08:43.410Z] v1.2.0 [2021-03-29T23:08:43.410Z] v1.3.0 [2021-03-29T23:08:43.410Z] v1.3.1 [2021-03-29T23:08:43.410Z] v1.3.1-dev.1 [2021-03-29T23:08:43.410Z] v1.3.2-dev.1 [2021-03-29T23:08:43.410Z] v2.0.0-dev.1 [2021-03-29T23:08:43.410Z] v2.0.0-dev.10 [2021-03-29T23:08:43.410Z] v2.0.0-dev.11 [2021-03-29T23:08:43.410Z] v2.0.0-dev.12 [2021-03-29T23:08:43.410Z] v2.0.0-dev.13 [2021-03-29T23:08:43.410Z] v2.0.0-dev.14 [2021-03-29T23:08:43.410Z] v2.0.0-dev.15 [2021-03-29T23:08:43.410Z] v2.0.0-dev.16 [2021-03-29T23:08:43.410Z] v2.0.0-dev.17 [2021-03-29T23:08:43.410Z] v2.0.0-dev.18 [2021-03-29T23:08:43.410Z] v2.0.0-dev.19 [2021-03-29T23:08:43.410Z] v2.0.0-dev.2 [2021-03-29T23:08:43.410Z] v2.0.0-dev.20 [2021-03-29T23:08:43.410Z] v2.0.0-dev.21 [2021-03-29T23:08:43.410Z] v2.0.0-dev.22 [2021-03-29T23:08:43.410Z] v2.0.0-dev.23 [2021-03-29T23:08:43.410Z] v2.0.0-dev.24 [2021-03-29T23:08:43.410Z] v2.0.0-dev.25 [2021-03-29T23:08:43.410Z] v2.0.0-dev.26 [2021-03-29T23:08:43.410Z] v2.0.0-dev.27 [2021-03-29T23:08:43.410Z] v2.0.0-dev.28 [2021-03-29T23:08:43.410Z] v2.0.0-dev.29 [2021-03-29T23:08:43.410Z] v2.0.0-dev.3 [2021-03-29T23:08:43.410Z] v2.0.0-dev.30 [2021-03-29T23:08:43.410Z] v2.0.0-dev.31 [2021-03-29T23:08:43.410Z] v2.0.0-dev.32 [2021-03-29T23:08:43.410Z] v2.0.0-dev.33 [2021-03-29T23:08:43.410Z] v2.0.0-dev.34 [2021-03-29T23:08:43.410Z] v2.0.0-dev.35 [2021-03-29T23:08:43.410Z] v2.0.0-dev.36 [2021-03-29T23:08:43.410Z] v2.0.0-dev.4 [2021-03-29T23:08:43.410Z] v2.0.0-dev.5 [2021-03-29T23:08:43.410Z] v2.0.0-dev.6 [2021-03-29T23:08:43.410Z] v2.0.0-dev.7 [2021-03-29T23:08:43.410Z] v2.0.0-dev.8 [2021-03-29T23:08:43.410Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-29T23:08:43.753Z] + lftools sign git-tag v2.0.0-dev.36 [2021-03-29T23:08:45.141Z] Signing Git tag with Sigul... [2021-03-29T23:08:45.141Z] Signing v2.0.0-dev.36 [Pipeline] echo [2021-03-29T23:08:46.099Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:08:46.396Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-29T23:08:46.405Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-29T23:08:46.498Z] $ docker stop --time=1 9f3bcfb4192253e9cd658599beddf079df9d6231d3f596fcc62ba4f2e0cfa4d2 [2021-03-29T23:08:48.639Z] $ docker rm -f 9f3bcfb4192253e9cd658599beddf079df9d6231d3f596fcc62ba4f2e0cfa4d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:08:49.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T23:08:49.607Z] . [Pipeline] withDockerContainer [2021-03-29T23:08:49.708Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T23:08:49.755Z] $ 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-29T23:08:50.390Z] $ docker top 13a29a84b847068139c4bf417b5145d93b2491cab52029c246dbf416299f56fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T23:08:50.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T23:08:50.724Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T23:08:50.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T23:08:50.913Z] $ docker exec 13a29a84b847068139c4bf417b5145d93b2491cab52029c246dbf416299f56fc ssh-agent [2021-03-29T23:08:51.088Z] SSH_AUTH_SOCK=/tmp/ssh-r3eP51WgyQFv/agent.13 [2021-03-29T23:08:51.088Z] SSH_AGENT_PID=19 [2021-03-29T23:08:51.097Z] Running ssh-add (command line suppressed) [2021-03-29T23:08:51.225Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8005092679983331788.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8005092679983331788.key) [2021-03-29T23:08:51.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T23:08:51.651Z] + git semver bump pre [2021-03-29T23:08:51.652Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T23:08:51.652Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-29T23:08:51.652Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-29T23:08:51.652Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T23:08:51.652Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T23:08:51.652Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T23:08:51.652Z] # $SEMVER_BRANCH = master [2021-03-29T23:08:51.652Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-29T23:08:51.652Z] 2.0.0-dev.37 [Pipeline] } [2021-03-29T23:08:51.663Z] $ docker exec --env ******** --env ******** 13a29a84b847068139c4bf417b5145d93b2491cab52029c246dbf416299f56fc ssh-agent -k [2021-03-29T23:08:51.785Z] unset SSH_AUTH_SOCK; [2021-03-29T23:08:51.785Z] unset SSH_AGENT_PID; [2021-03-29T23:08:51.786Z] echo Agent pid 19 killed; [2021-03-29T23:08:51.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T23:08:52.347Z] + git semver [Pipeline] } [2021-03-29T23:08:52.366Z] $ docker stop --time=1 13a29a84b847068139c4bf417b5145d93b2491cab52029c246dbf416299f56fc [2021-03-29T23:08:53.966Z] $ docker rm -f 13a29a84b847068139c4bf417b5145d93b2491cab52029c246dbf416299f56fc [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:08:54.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-29T23:08:54.574Z] . [Pipeline] withDockerContainer [2021-03-29T23:08:54.669Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T23:08:54.712Z] $ 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-29T23:08:55.339Z] $ docker top bed4600ef4487cd22f8f1f06b4d2771274cad0a83d5b658879167a51a0344cac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-29T23:08:55.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-29T23:08:55.645Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-29T23:08:55.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-29T23:08:55.844Z] $ docker exec bed4600ef4487cd22f8f1f06b4d2771274cad0a83d5b658879167a51a0344cac ssh-agent [2021-03-29T23:08:56.027Z] SSH_AUTH_SOCK=/tmp/ssh-L4qw64YP8jDn/agent.13 [2021-03-29T23:08:56.027Z] SSH_AGENT_PID=19 [2021-03-29T23:08:56.035Z] Running ssh-add (command line suppressed) [2021-03-29T23:08:56.168Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5857950421113473213.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5857950421113473213.key) [2021-03-29T23:08:56.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-29T23:08:56.566Z] + git semver push [2021-03-29T23:08:56.566Z] # -> Open(): unable to determine branch for HEAD [2021-03-29T23:08:56.566Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-29T23:08:56.566Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-29T23:08:56.566Z] # $SEMVER_REMOTE_NAME = origin [2021-03-29T23:08:56.566Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-29T23:08:56.566Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-29T23:08:56.566Z] # $SEMVER_BRANCH = master [2021-03-29T23:08:56.566Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-29T23:09:00.801Z] $ docker exec --env ******** --env ******** bed4600ef4487cd22f8f1f06b4d2771274cad0a83d5b658879167a51a0344cac ssh-agent -k [2021-03-29T23:09:00.981Z] unset SSH_AUTH_SOCK; [2021-03-29T23:09:00.981Z] unset SSH_AGENT_PID; [2021-03-29T23:09:00.981Z] echo Agent pid 19 killed; [2021-03-29T23:09:01.046Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-29T23:09:01.505Z] + git semver [Pipeline] } [2021-03-29T23:09:01.522Z] $ docker stop --time=1 bed4600ef4487cd22f8f1f06b4d2771274cad0a83d5b658879167a51a0344cac [2021-03-29T23:09:02.914Z] $ docker rm -f bed4600ef4487cd22f8f1f06b4d2771274cad0a83d5b658879167a51a0344cac [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-29T23:09:04.294Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:09:04.963Z] ---> package-listing.sh [2021-03-29T23:09:04.963Z] ++ facter osfamily [2021-03-29T23:09:04.963Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-29T23:09:04.963Z] + OS_FAMILY=redhat [2021-03-29T23:09:04.963Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-29T23:09:04.963Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-29T23:09:04.963Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-29T23:09:04.963Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-29T23:09:04.963Z] + PACKAGES=/tmp/packages_start.txt [2021-03-29T23:09:04.963Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-29T23:09:04.963Z] + PACKAGES=/tmp/packages_end.txt [2021-03-29T23:09:04.963Z] + case "${OS_FAMILY}" in [2021-03-29T23:09:04.963Z] + rpm -qa [2021-03-29T23:09:04.963Z] + sort [2021-03-29T23:09:10.275Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-29T23:09:10.275Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-29T23:09:10.275Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-29T23:09:10.275Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-29T23:09:10.275Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-29T23:09:10.275Z] + 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-29T23:09:10.289Z] 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-29T23:09:10.580Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:09:10.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T23:09:10.896Z] [2021-03-29T23:09:10.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-29T23:09:11.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T23:09:11.243Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-29T23:09:11.243Z] df20fa9351a1: Pulling fs layer [2021-03-29T23:09:11.243Z] 36b3adc4ff6f: Pulling fs layer [2021-03-29T23:09:11.243Z] 8ad3a11d3b57: Pulling fs layer [2021-03-29T23:09:11.243Z] 46f8f816bc3b: Pulling fs layer [2021-03-29T23:09:11.243Z] 93b61091891f: Pulling fs layer [2021-03-29T23:09:11.243Z] 93b9cdb0e59b: Pulling fs layer [2021-03-29T23:09:11.243Z] 5e14af77c1be: Pulling fs layer [2021-03-29T23:09:11.243Z] 01666e4c0597: Pulling fs layer [2021-03-29T23:09:11.243Z] aa168da1d23b: Pulling fs layer [2021-03-29T23:09:11.243Z] 93b9cdb0e59b: Waiting [2021-03-29T23:09:11.243Z] 5e14af77c1be: Waiting [2021-03-29T23:09:11.243Z] 46f8f816bc3b: Waiting [2021-03-29T23:09:11.243Z] aa168da1d23b: Waiting [2021-03-29T23:09:11.243Z] 01666e4c0597: Waiting [2021-03-29T23:09:11.243Z] 93b61091891f: Waiting [2021-03-29T23:09:11.243Z] 36b3adc4ff6f: Download complete [2021-03-29T23:09:11.243Z] 46f8f816bc3b: Verifying Checksum [2021-03-29T23:09:11.243Z] 46f8f816bc3b: Download complete [2021-03-29T23:09:11.243Z] df20fa9351a1: Verifying Checksum [2021-03-29T23:09:11.243Z] df20fa9351a1: Download complete [2021-03-29T23:09:11.504Z] 93b9cdb0e59b: Verifying Checksum [2021-03-29T23:09:11.504Z] 93b9cdb0e59b: Download complete [2021-03-29T23:09:11.504Z] 5e14af77c1be: Verifying Checksum [2021-03-29T23:09:11.504Z] 5e14af77c1be: Download complete [2021-03-29T23:09:11.504Z] 93b61091891f: Verifying Checksum [2021-03-29T23:09:11.504Z] 93b61091891f: Download complete [2021-03-29T23:09:11.504Z] 01666e4c0597: Verifying Checksum [2021-03-29T23:09:11.504Z] 01666e4c0597: Download complete [2021-03-29T23:09:11.770Z] 8ad3a11d3b57: Verifying Checksum [2021-03-29T23:09:11.770Z] 8ad3a11d3b57: Download complete [2021-03-29T23:09:12.033Z] df20fa9351a1: Pull complete [2021-03-29T23:09:12.301Z] 36b3adc4ff6f: Pull complete [2021-03-29T23:09:13.706Z] aa168da1d23b: Verifying Checksum [2021-03-29T23:09:13.706Z] aa168da1d23b: Download complete [2021-03-29T23:09:13.967Z] 8ad3a11d3b57: Pull complete [2021-03-29T23:09:13.967Z] 46f8f816bc3b: Pull complete [2021-03-29T23:09:14.546Z] 93b61091891f: Pull complete [2021-03-29T23:09:14.808Z] 93b9cdb0e59b: Pull complete [2021-03-29T23:09:14.808Z] 5e14af77c1be: Pull complete [2021-03-29T23:09:14.808Z] 01666e4c0597: Pull complete [2021-03-29T23:09:22.979Z] aa168da1d23b: Pull complete [2021-03-29T23:09:22.980Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-29T23:09:22.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-29T23:09:22.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-29T23:09:23.141Z] prd-centos7-docker-4c-2g-31885 does not seem to be running inside a container [2021-03-29T23:09:23.186Z] $ 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-29T23:09:26.403Z] $ docker top ef097f5a4f899ee0ecf8c77938ce5b833ca764f33a0b1b0c0d1a2b025c94eb12 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-29T23:09:26.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-29T23:09:27.233Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-29T23:09:27.528Z] + ls /var/log/sa-host [2021-03-29T23:09:27.528Z] + sadf -c /var/log/sa-host/sa23 [2021-03-29T23:09:27.528Z] file_magic: OK [2021-03-29T23:09:27.528Z] HZ: Using current value: 100 [2021-03-29T23:09:27.528Z] file_header: OK [2021-03-29T23:09:27.528Z] 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-29T23:09:27.528Z] Statistics: [2021-03-29T23:09:27.528Z] Hnuu...uuuununununu... [2021-03-29T23:09:27.528Z] File successfully converted to sysstat format version 12.2.1 [2021-03-29T23:09:27.528Z] + sadf -c /var/log/sa-host/sa29 [2021-03-29T23:09:27.528Z] file_magic: OK [2021-03-29T23:09:27.528Z] HZ: Using current value: 100 [2021-03-29T23:09:27.528Z] file_header: OK [2021-03-29T23:09:27.528Z] 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-29T23:09:27.528Z] Statistics: [2021-03-29T23:09:27.528Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-29T23:09:27.528Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-29T23:09:27.759Z] provisioning config files... [2021-03-29T23:09:27.772Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config111055501437496929tmp [Pipeline] { [Pipeline] echo [2021-03-29T23:09:27.874Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:09:28.169Z] ---> create-netrc.sh [Pipeline] } [2021-03-29T23:09:28.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-29T23:09:28.263Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:09:28.556Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-29T23:09:28.567Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:09:28.864Z] ---> sudo-logs.sh [2021-03-29T23:09:28.865Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-29T23:09:28.953Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:09:29.254Z] ---> job-cost.sh [2021-03-29T23:09:29.254Z] lf-activate-venv: SKIPPING [2021-03-29T23:09:29.254Z] DEBUG: total: 0.20999999344348907 [2021-03-29T23:09:29.254Z] INFO: Retrieving Stack Cost... [2021-03-29T23:09:30.643Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-29T23:09:31.216Z] INFO: Archiving Costs [Pipeline] echo [2021-03-29T23:09:31.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-29T23:09:31.524Z] ---> logs-deploy.sh [2021-03-29T23:09:31.525Z] lf-activate-venv: SKIPPING [2021-03-29T23:09:31.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/205 [2021-03-29T23:09:31.525Z] INFO: archiving workspace using pattern(s): [2021-03-29T23:09:33.442Z] Archives upload complete. [2021-03-29T23:09:33.442Z] INFO: archiving logs to Nexus