Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-31388 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 # timeout=10 Commit message: "feat: Add GetAppSetting convenience API (#761)" > git rev-list --no-walk 80a7af3f70910015b8ff19dafd094aaacdf0707c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-25T16:39:28.904Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-25T16:39:29.217Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-25T16:39:29.335Z] ========================================================= [2021-03-25T16:39:29.335Z] EdgeX Global Pipelines Version Info [2021-03-25T16:39:29.335Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:39:30.836Z] ------------------- [2021-03-25T16:39:30.836Z] stable info: [2021-03-25T16:39:30.836Z] ------------------- [2021-03-25T16:39:30.836Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-25T16:39:30.836Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-25T16:39:30.836Z] Message: update stable to v1.0.186 [2021-03-25T16:39:31.783Z] ------------------- [2021-03-25T16:39:31.783Z] experimental info: [2021-03-25T16:39:31.783Z] ------------------- [2021-03-25T16:39:31.783Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-25T16:39:31.783Z] Commit SHA: 606c6f769ab3e61af702b3bd2da8ca6cacc01659 [2021-03-25T16:39:31.783Z] Message: update experimental to v1.0.187 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-25T16:39:32.108Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-25T16:39:32.207Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-25T16:39:32.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-25T16:39:32.410Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-25T16:39:32.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-25T16:39:32.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-25T16:39:32.716Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-25T16:39:32.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-25T16:39:32.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-25T16:39:33.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-25T16:39:33.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-25T16:39:33.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-25T16:39:33.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-25T16:39:33.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-25T16:39:33.630Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T16:39:33.730Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T16:39:33.836Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T16:39:33.988Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-25T16:39:34.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-25T16:39:34.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-25T16:39:34.298Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-25T16:39:34.391Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-25T16:39:34.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-25T16:39:34.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-25T16:39:34.686Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-25T16:39:34.855Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-25T16:39:34.947Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-25T16:39:35.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-25T16:39:35.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-25T16:39:35.264Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 [Pipeline] echo [2021-03-25T16:39:35.356Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7158bb1 [Pipeline] echo [2021-03-25T16:39:35.466Z] [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-25T16:39:36.176Z] + git log --format=format:%s -1 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 [Pipeline] echo [2021-03-25T16:39:36.240Z] GIT_COMMIT: 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58, Commit Message: feat: Add GetAppSetting convenience API (#761) [Pipeline] echo [2021-03-25T16:39:36.293Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:39:37.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T16:39:37.558Z] [2021-03-25T16:39:37.558Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:39:37.915Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T16:39:38.179Z] latest: Pulling from edgex-devops/git-semver [2021-03-25T16:39:38.179Z] 31603596830f: Pulling fs layer [2021-03-25T16:39:38.179Z] 2a8b12db71e7: Pulling fs layer [2021-03-25T16:39:38.179Z] 6ca5941a6612: Pulling fs layer [2021-03-25T16:39:38.179Z] ecc8261a40a4: Pulling fs layer [2021-03-25T16:39:38.179Z] ecc8261a40a4: Waiting [2021-03-25T16:39:38.179Z] 2a8b12db71e7: Download complete [2021-03-25T16:39:38.179Z] 31603596830f: Download complete [2021-03-25T16:39:38.447Z] ecc8261a40a4: Verifying Checksum [2021-03-25T16:39:38.447Z] ecc8261a40a4: Download complete [2021-03-25T16:39:38.447Z] 6ca5941a6612: Verifying Checksum [2021-03-25T16:39:38.447Z] 6ca5941a6612: Download complete [2021-03-25T16:39:38.709Z] 31603596830f: Pull complete [2021-03-25T16:39:38.709Z] 2a8b12db71e7: Pull complete [2021-03-25T16:39:40.131Z] 6ca5941a6612: Pull complete [2021-03-25T16:39:40.131Z] ecc8261a40a4: Pull complete [2021-03-25T16:39:40.395Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-25T16:39:40.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T16:39:40.395Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-25T16:39:40.528Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:39:40.582Z] $ 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-25T16:39:42.429Z] $ docker top 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T16:39:42.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T16:39:42.900Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T16:39:43.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T16:39:43.139Z] $ docker exec 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba ssh-agent [2021-03-25T16:39:43.317Z] SSH_AUTH_SOCK=/tmp/ssh-FYKcxQHebgNu/agent.12 [2021-03-25T16:39:43.317Z] SSH_AGENT_PID=17 [2021-03-25T16:39:43.329Z] Running ssh-add (command line suppressed) [2021-03-25T16:39:43.462Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8462464598237930583.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8462464598237930583.key) [2021-03-25T16:39:43.516Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T16:39:43.858Z] + git tag --points-at HEAD [Pipeline] } [2021-03-25T16:39:43.979Z] $ docker exec --env ******** --env ******** 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba ssh-agent -k [2021-03-25T16:39:44.152Z] unset SSH_AUTH_SOCK; [2021-03-25T16:39:44.152Z] unset SSH_AGENT_PID; [2021-03-25T16:39:44.152Z] echo Agent pid 17 killed; [2021-03-25T16:39:44.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-25T16:39:44.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T16:39:44.351Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T16:39:44.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T16:39:44.543Z] $ docker exec 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba ssh-agent [2021-03-25T16:39:44.718Z] SSH_AUTH_SOCK=/tmp/ssh-wllfNPN7ZRg6/agent.46 [2021-03-25T16:39:44.718Z] SSH_AGENT_PID=51 [2021-03-25T16:39:44.725Z] Running ssh-add (command line suppressed) [2021-03-25T16:39:44.858Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6599501263009676591.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6599501263009676591.key) [2021-03-25T16:39:44.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T16:39:45.254Z] + git semver init [2021-03-25T16:39:45.254Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T16:39:45.254Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T16:39:45.254Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T16:39:45.254Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T16:39:45.254Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T16:39:45.254Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T16:39:45.254Z] # $SEMVER_BRANCH = master [2021-03-25T16:39:45.254Z] # $SEMVER_TEMP = /tmp/semver-775479326 [2021-03-25T16:39:45.254Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-25T16:39:47.815Z] # '/tmp/semver-775479326' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-25T16:39:48.079Z] # -> Force: false [2021-03-25T16:39:48.079Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-25T16:39:48.094Z] $ docker exec --env ******** --env ******** 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba ssh-agent -k [2021-03-25T16:39:48.219Z] unset SSH_AUTH_SOCK; [2021-03-25T16:39:48.220Z] unset SSH_AGENT_PID; [2021-03-25T16:39:48.220Z] echo Agent pid 51 killed; [2021-03-25T16:39:48.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T16:39:48.763Z] + git semver [Pipeline] } [2021-03-25T16:39:48.782Z] $ docker stop --time=1 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba [2021-03-25T16:39:50.305Z] $ docker rm -f 351bbf8967e64f9681f0c91158fb44a8f5ab24cfcda35158421bac181c79c4ba [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T16:39:50.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-25T16:39:51.298Z] Stashed 1 file(s) [Pipeline] echo [2021-03-25T16:39:51.302Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.33 [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-25T16:40:06.819Z] Still waiting to schedule task [2021-03-25T16:40:06.819Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31388’ [2021-03-25T16:40:06.822Z] Still waiting to schedule task [2021-03-25T16:40:06.822Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-25T16:41:49.782Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31389 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-25T16:41:49.899Z] Running in /w/workspace/app-functions-sdk-go/202 [Pipeline] { [Pipeline] checkout [2021-03-25T16:41:54.970Z] using credential edgex-jenkins-ssh [2021-03-25T16:41:55.033Z] Cloning the remote Git repository [2021-03-25T16:41:55.096Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T16:41:55.206Z] > git init /w/workspace/app-functions-sdk-go/202 # timeout=10 [2021-03-25T16:41:55.274Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T16:41:55.275Z] > git --version # timeout=10 [2021-03-25T16:41:55.295Z] > git --version # 'git version 2.17.1' [2021-03-25T16:41:55.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T16:41:55.394Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T16:41:58.598Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T16:41:58.623Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T16:41:58.647Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T16:41:58.681Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T16:41:58.681Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T16:41:58.699Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-25T16:41:59.203Z] Checking out Revision 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 (master) [2021-03-25T16:41:59.220Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T16:41:59.238Z] > git checkout -f 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 # timeout=10 [2021-03-25T16:42:03.585Z] Commit message: "feat: Add GetAppSetting convenience API (#761)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T16:42:05.450Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-25T16:42:05.857Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T16:42:06.197Z] + sudo service docker restart [2021-03-25T16:42:06.197Z] + true [Pipeline] unstash [Pipeline] echo [2021-03-25T16:42:09.191Z] ========================================================= [2021-03-25T16:42:09.191Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-25T16:42:09.191Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:42:09.647Z] + 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-25T16:42:11.092Z] Sending build context to Docker daemon 19.43MB [2021-03-25T16:42:11.092Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T16:42:11.092Z] Step 2/8 : FROM ${BASE} [2021-03-25T16:42:11.371Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-25T16:42:11.371Z] 5f621e34cdf4: Pulling fs layer [2021-03-25T16:42:11.371Z] a4357932f1b6: Pulling fs layer [2021-03-25T16:42:11.371Z] 18c013af1878: Pulling fs layer [2021-03-25T16:42:11.371Z] 00ac8860ef70: Pulling fs layer [2021-03-25T16:42:11.371Z] 63d7cb157983: Pulling fs layer [2021-03-25T16:42:11.371Z] b116817d02f9: Pulling fs layer [2021-03-25T16:42:11.371Z] 745a02a5169b: Pulling fs layer [2021-03-25T16:42:11.371Z] 00ac8860ef70: Waiting [2021-03-25T16:42:11.371Z] 63d7cb157983: Waiting [2021-03-25T16:42:11.371Z] 745a02a5169b: Waiting [2021-03-25T16:42:11.371Z] 18c013af1878: Verifying Checksum [2021-03-25T16:42:11.371Z] 18c013af1878: Download complete [2021-03-25T16:42:11.371Z] a4357932f1b6: Verifying Checksum [2021-03-25T16:42:11.371Z] a4357932f1b6: Download complete [2021-03-25T16:42:11.371Z] 63d7cb157983: Verifying Checksum [2021-03-25T16:42:11.371Z] 63d7cb157983: Download complete [2021-03-25T16:42:11.643Z] b116817d02f9: Verifying Checksum [2021-03-25T16:42:11.643Z] b116817d02f9: Download complete [2021-03-25T16:42:11.643Z] 5f621e34cdf4: Verifying Checksum [2021-03-25T16:42:11.643Z] 5f621e34cdf4: Download complete [2021-03-25T16:42:12.245Z] 5f621e34cdf4: Pull complete [2021-03-25T16:42:12.850Z] a4357932f1b6: Pull complete [2021-03-25T16:42:13.449Z] 18c013af1878: Pull complete [2021-03-25T16:42:14.050Z] 745a02a5169b: Verifying Checksum [2021-03-25T16:42:14.051Z] 745a02a5169b: Download complete [2021-03-25T16:42:15.030Z] 00ac8860ef70: Verifying Checksum [2021-03-25T16:42:15.030Z] 00ac8860ef70: Download complete [2021-03-25T16:42:25.065Z] Running on prd-centos7-docker-4c-2g-31390 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-25T16:42:25.121Z] Running in /w/workspace/app-functions-sdk-go/202 [Pipeline] { [Pipeline] checkout [2021-03-25T16:42:27.472Z] 00ac8860ef70: Pull complete [2021-03-25T16:42:27.472Z] 63d7cb157983: Pull complete [2021-03-25T16:42:27.472Z] b116817d02f9: Pull complete [2021-03-25T16:42:27.489Z] using credential edgex-jenkins-ssh [2021-03-25T16:42:27.543Z] Cloning the remote Git repository [2021-03-25T16:42:27.593Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T16:42:27.678Z] > git init /w/workspace/app-functions-sdk-go/202 # timeout=10 [2021-03-25T16:42:27.735Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T16:42:27.736Z] > git --version # timeout=10 [2021-03-25T16:42:27.749Z] > git --version # 'git version 2.24.3' [2021-03-25T16:42:27.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T16:42:27.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T16:42:29.770Z] Checking out Revision 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 (master) [2021-03-25T16:42:29.392Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T16:42:29.406Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-25T16:42:29.420Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-25T16:42:29.434Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-25T16:42:29.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-25T16:42:29.441Z] > 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-25T16:42:29.777Z] > git config core.sparsecheckout # timeout=10 [2021-03-25T16:42:29.782Z] > git checkout -f 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 # timeout=10 [2021-03-25T16:42:30.100Z] 745a02a5169b: Pull complete [2021-03-25T16:42:30.100Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-25T16:42:30.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-25T16:42:30.100Z] ---> b7e6874047d6 [2021-03-25T16:42:30.100Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-25T16:42:30.100Z] 20.10.0: Pulling from library/docker [2021-03-25T16:42:30.100Z] a3cc7d3b244e: Pulling fs layer [2021-03-25T16:42:30.100Z] 02a3295e0d61: Pulling fs layer [2021-03-25T16:42:30.100Z] 0f4f2e6d8100: Pulling fs layer [2021-03-25T16:42:30.100Z] 330b718f631f: Pulling fs layer [2021-03-25T16:42:30.100Z] a93816041522: Pulling fs layer [2021-03-25T16:42:30.100Z] 330b718f631f: Waiting [2021-03-25T16:42:30.100Z] bdb6da89ff94: Pulling fs layer [2021-03-25T16:42:30.100Z] 2a70c0c122f4: Pulling fs layer [2021-03-25T16:42:30.100Z] 2a70c0c122f4: Waiting [2021-03-25T16:42:30.100Z] bdb6da89ff94: Waiting [2021-03-25T16:42:30.100Z] 0f4f2e6d8100: Verifying Checksum [2021-03-25T16:42:30.100Z] 0f4f2e6d8100: Download complete [2021-03-25T16:42:30.100Z] 02a3295e0d61: Download complete [2021-03-25T16:42:30.100Z] a93816041522: Verifying Checksum [2021-03-25T16:42:30.100Z] a93816041522: Download complete [2021-03-25T16:42:30.100Z] a3cc7d3b244e: Verifying Checksum [2021-03-25T16:42:30.100Z] a3cc7d3b244e: Download complete [2021-03-25T16:42:30.100Z] bdb6da89ff94: Download complete [2021-03-25T16:42:30.377Z] 2a70c0c122f4: Verifying Checksum [2021-03-25T16:42:30.377Z] 2a70c0c122f4: Download complete [2021-03-25T16:42:30.987Z] a3cc7d3b244e: Pull complete [2021-03-25T16:42:31.596Z] 02a3295e0d61: Pull complete [2021-03-25T16:42:31.867Z] 0f4f2e6d8100: Pull complete [2021-03-25T16:42:31.867Z] 330b718f631f: Verifying Checksum [2021-03-25T16:42:31.867Z] 330b718f631f: Download complete [2021-03-25T16:42:33.373Z] Commit message: "feat: Add GetAppSetting convenience API (#761)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-25T16:42:34.684Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-25T16:42:35.016Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-25T16:42:35.318Z] + sudo service docker restart [2021-03-25T16:42:35.318Z] + true [2021-03-25T16:42:35.318Z] Redirecting to /bin/systemctl restart docker.service [2021-03-25T16:42:36.179Z] 330b718f631f: Pull complete [2021-03-25T16:42:36.179Z] a93816041522: Pull complete [Pipeline] unstash [Pipeline] echo [2021-03-25T16:42:36.445Z] ========================================================= [2021-03-25T16:42:36.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-25T16:42:36.445Z] ========================================================= [2021-03-25T16:42:36.466Z] bdb6da89ff94: Pull complete [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:42:36.741Z] 2a70c0c122f4: Pull complete [2021-03-25T16:42:36.741Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-25T16:42:36.741Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-25T16:42:36.800Z] + 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-25T16:42:37.379Z] Sending build context to Docker daemon 19.43MB [2021-03-25T16:42:37.379Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-25T16:42:37.379Z] Step 2/8 : FROM ${BASE} [2021-03-25T16:42:37.379Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-25T16:42:37.379Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T16:42:37.379Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T16:42:37.379Z] de9db76c5a1d: Pulling fs layer [2021-03-25T16:42:37.379Z] bca2f99d35d6: Pulling fs layer [2021-03-25T16:42:37.379Z] 93359f2a8cfa: Pulling fs layer [2021-03-25T16:42:37.379Z] 7c6f9722023f: Pulling fs layer [2021-03-25T16:42:37.379Z] a35cf1a2eb13: Pulling fs layer [2021-03-25T16:42:37.379Z] 93359f2a8cfa: Waiting [2021-03-25T16:42:37.379Z] 7c6f9722023f: Waiting [2021-03-25T16:42:37.379Z] a35cf1a2eb13: Waiting [2021-03-25T16:42:37.379Z] bca2f99d35d6: Waiting [2021-03-25T16:42:37.379Z] de9db76c5a1d: Verifying Checksum [2021-03-25T16:42:37.379Z] de9db76c5a1d: Download complete [2021-03-25T16:42:37.643Z] 0ef7d3d256c8: Verifying Checksum [2021-03-25T16:42:37.643Z] 0ef7d3d256c8: Download complete [2021-03-25T16:42:37.643Z] 93359f2a8cfa: Verifying Checksum [2021-03-25T16:42:37.643Z] 93359f2a8cfa: Download complete [2021-03-25T16:42:37.643Z] 7c6f9722023f: Verifying Checksum [2021-03-25T16:42:37.643Z] 7c6f9722023f: Download complete [2021-03-25T16:42:37.643Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T16:42:37.643Z] 188c0c94c7c5: Download complete [2021-03-25T16:42:37.907Z] 188c0c94c7c5: Pull complete [2021-03-25T16:42:38.172Z] 0ef7d3d256c8: Pull complete [2021-03-25T16:42:38.172Z] de9db76c5a1d: Pull complete [2021-03-25T16:42:39.566Z] a35cf1a2eb13: Verifying Checksum [2021-03-25T16:42:39.566Z] a35cf1a2eb13: Download complete [2021-03-25T16:42:40.146Z] bca2f99d35d6: Verifying Checksum [2021-03-25T16:42:40.146Z] bca2f99d35d6: Download complete [2021-03-25T16:42:43.520Z] ---> 166624f305b0 [2021-03-25T16:42:43.520Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-25T16:42:43.520Z] ---> Running in cc4767ddb509 [2021-03-25T16:42:43.520Z] Removing intermediate container cc4767ddb509 [2021-03-25T16:42:43.520Z] ---> 125f53804d6d [2021-03-25T16:42:43.520Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-25T16:42:43.799Z] ---> Running in add68ef07220 [2021-03-25T16:42:45.244Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-25T16:42:45.458Z] bca2f99d35d6: Pull complete [2021-03-25T16:42:45.458Z] 93359f2a8cfa: Pull complete [2021-03-25T16:42:45.458Z] 7c6f9722023f: Pull complete [2021-03-25T16:42:45.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-25T16:42:46.425Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-25T16:42:46.425Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-25T16:42:46.425Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-25T16:42:46.697Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-25T16:42:46.697Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-25T16:42:46.971Z] Executing busybox-1.31.1-r19.trigger [2021-03-25T16:42:46.971Z] OK: 144 MiB in 44 packages [2021-03-25T16:42:48.408Z] Removing intermediate container add68ef07220 [2021-03-25T16:42:48.408Z] ---> 04c100a4d30e [2021-03-25T16:42:48.408Z] Step 6/8 : WORKDIR /build [2021-03-25T16:42:48.408Z] ---> Running in c8250d839fcc [2021-03-25T16:42:48.682Z] Removing intermediate container c8250d839fcc [2021-03-25T16:42:48.682Z] ---> 71fcfd05a9cb [2021-03-25T16:42:48.682Z] Step 7/8 : COPY go.mod . [2021-03-25T16:42:49.276Z] ---> 9a7009b18e64 [2021-03-25T16:42:49.276Z] Step 8/8 : RUN go mod download [2021-03-25T16:42:49.551Z] ---> Running in 5c62a9bb0cc2 [2021-03-25T16:42:49.688Z] a35cf1a2eb13: Pull complete [2021-03-25T16:42:49.688Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-25T16:42:49.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-25T16:42:49.688Z] ---> a62c8e92a672 [2021-03-25T16:42:49.688Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-25T16:42:49.952Z] 20.10.0: Pulling from library/docker [2021-03-25T16:42:49.952Z] 05e7bc50f07f: Pulling fs layer [2021-03-25T16:42:49.952Z] 6db28d0fdbf6: Pulling fs layer [2021-03-25T16:42:49.952Z] 292df0bc6bf3: Pulling fs layer [2021-03-25T16:42:49.952Z] 2e060f4bd70b: Pulling fs layer [2021-03-25T16:42:49.952Z] 80e8d568a223: Pulling fs layer [2021-03-25T16:42:49.953Z] 8dc6ef1a942a: Pulling fs layer [2021-03-25T16:42:49.953Z] 2312dd95470a: Pulling fs layer [2021-03-25T16:42:49.953Z] 2e060f4bd70b: Waiting [2021-03-25T16:42:49.953Z] 80e8d568a223: Waiting [2021-03-25T16:42:49.953Z] 8dc6ef1a942a: Waiting [2021-03-25T16:42:49.953Z] 2312dd95470a: Waiting [2021-03-25T16:42:49.953Z] 292df0bc6bf3: Verifying Checksum [2021-03-25T16:42:49.953Z] 292df0bc6bf3: Download complete [2021-03-25T16:42:49.953Z] 05e7bc50f07f: Verifying Checksum [2021-03-25T16:42:49.953Z] 05e7bc50f07f: Download complete [2021-03-25T16:42:49.953Z] 6db28d0fdbf6: Verifying Checksum [2021-03-25T16:42:49.953Z] 6db28d0fdbf6: Download complete [2021-03-25T16:42:50.215Z] 80e8d568a223: Verifying Checksum [2021-03-25T16:42:50.216Z] 80e8d568a223: Download complete [2021-03-25T16:42:50.216Z] 8dc6ef1a942a: Download complete [2021-03-25T16:42:50.216Z] 2312dd95470a: Verifying Checksum [2021-03-25T16:42:50.216Z] 2312dd95470a: Download complete [2021-03-25T16:42:50.486Z] 05e7bc50f07f: Pull complete [2021-03-25T16:42:50.751Z] 6db28d0fdbf6: Pull complete [2021-03-25T16:42:50.751Z] 292df0bc6bf3: Pull complete [2021-03-25T16:42:51.329Z] 2e060f4bd70b: Verifying Checksum [2021-03-25T16:42:51.329Z] 2e060f4bd70b: Download complete [2021-03-25T16:42:53.891Z] 2e060f4bd70b: Pull complete [2021-03-25T16:42:53.891Z] 80e8d568a223: Pull complete [2021-03-25T16:42:54.152Z] 8dc6ef1a942a: Pull complete [2021-03-25T16:42:54.152Z] 2312dd95470a: Pull complete [2021-03-25T16:42:54.152Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-25T16:42:54.152Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-25T16:42:56.075Z] ---> e05249e11829 [2021-03-25T16:42:56.075Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-25T16:42:56.075Z] ---> Running in 4c8cc3a788a5 [2021-03-25T16:42:56.075Z] Removing intermediate container 4c8cc3a788a5 [2021-03-25T16:42:56.075Z] ---> 89efbe4c1764 [2021-03-25T16:42:56.075Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-25T16:42:56.075Z] ---> Running in 447227cb3c33 [2021-03-25T16:42:56.658Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-25T16:42:57.232Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-25T16:42:57.803Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-25T16:42:58.375Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-25T16:42:58.375Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-25T16:42:58.375Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-25T16:42:58.642Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-25T16:42:58.642Z] Executing busybox-1.31.1-r19.trigger [2021-03-25T16:42:58.642Z] OK: 167 MiB in 44 packages [2021-03-25T16:42:59.217Z] Removing intermediate container 447227cb3c33 [2021-03-25T16:42:59.217Z] ---> 3a406d0bfd28 [2021-03-25T16:42:59.217Z] Step 6/8 : WORKDIR /build [2021-03-25T16:42:59.481Z] ---> Running in a72b1aa3ad03 [2021-03-25T16:42:59.481Z] Removing intermediate container a72b1aa3ad03 [2021-03-25T16:42:59.481Z] ---> ae27736e3e9b [2021-03-25T16:42:59.481Z] Step 7/8 : COPY go.mod . [2021-03-25T16:42:59.744Z] ---> 49ce77e07986 [2021-03-25T16:42:59.744Z] Step 8/8 : RUN go mod download [2021-03-25T16:42:59.744Z] ---> Running in 58cc06f57881 [2021-03-25T16:43:16.340Z] Removing intermediate container 5c62a9bb0cc2 [2021-03-25T16:43:16.340Z] ---> 8c80c3bdfc14 [2021-03-25T16:43:16.340Z] Successfully built 8c80c3bdfc14 [2021-03-25T16:43:16.340Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:43:16.689Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T16:43:16.689Z] . [Pipeline] withDockerContainer [2021-03-25T16:43:16.940Z] prd-ubuntu18.04-docker-arm64-4c-16g-31389 does not seem to be running inside a container [2021-03-25T16:43:17.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/202 -v /w/workspace/app-functions-sdk-go/202:/w/workspace/app-functions-sdk-go/202:rw,z -v /w/workspace/app-functions-sdk-go/202@tmp:/w/workspace/app-functions-sdk-go/202@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-25T16:43:18.484Z] $ docker top c5a1dede1c5114055282a7b02e86ac3c59b383a84f8f6c7ca57cc52c1aff6308 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T16:43:19.519Z] + go version [2021-03-25T16:43:19.519Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-25T16:43:19.539Z] $ docker stop --time=1 c5a1dede1c5114055282a7b02e86ac3c59b383a84f8f6c7ca57cc52c1aff6308 [2021-03-25T16:43:21.491Z] $ docker rm -f c5a1dede1c5114055282a7b02e86ac3c59b383a84f8f6c7ca57cc52c1aff6308 [2021-03-25T16:43:21.765Z] Removing intermediate container 58cc06f57881 [2021-03-25T16:43:21.766Z] ---> 9de5f64307f4 [2021-03-25T16:43:21.766Z] Successfully built 9de5f64307f4 [2021-03-25T16:43:21.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:43:22.311Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T16:43:22.311Z] . [Pipeline] withDockerContainer [2021-03-25T16:43:22.497Z] + docker inspect -f . ci-base-image-arm64 [2021-03-25T16:43:22.497Z] . [2021-03-25T16:43:22.584Z] prd-centos7-docker-4c-2g-31390 does not seem to be running inside a container [2021-03-25T16:43:22.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/202 -v /w/workspace/app-functions-sdk-go/202:/w/workspace/app-functions-sdk-go/202:rw,z -v /w/workspace/app-functions-sdk-go/202@tmp:/w/workspace/app-functions-sdk-go/202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-25T16:43:23.823Z] $ docker top 7fd3c876687511c8593eb5ae2495eabbd5ef1259680d18fe02e878ea51418e0e -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-25T16:43:24.262Z] prd-ubuntu18.04-docker-arm64-4c-16g-31389 does not seem to be running inside a container [2021-03-25T16:43:24.342Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/202 -v /w/workspace/app-functions-sdk-go/202:/w/workspace/app-functions-sdk-go/202:rw,z -v /w/workspace/app-functions-sdk-go/202@tmp:/w/workspace/app-functions-sdk-go/202@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-25T16:43:25.838Z] $ docker top 692b9828247664876a80d3a1a1856ed9661da2c3ec1fbec88d6b308127b4d5c8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-25T16:43:26.545Z] + go version [2021-03-25T16:43:26.545Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-25T16:43:26.559Z] $ docker stop --time=1 7fd3c876687511c8593eb5ae2495eabbd5ef1259680d18fe02e878ea51418e0e [2021-03-25T16:43:26.931Z] + make test [2021-03-25T16:43:26.931Z] make -C ./app-service-template build [2021-03-25T16:43:26.931Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:26.931Z] 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-25T16:43:27.873Z] $ docker rm -f 7fd3c876687511c8593eb5ae2495eabbd5ef1259680d18fe02e878ea51418e0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:43:28.707Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-25T16:43:28.707Z] . [Pipeline] withDockerContainer [2021-03-25T16:43:28.803Z] prd-centos7-docker-4c-2g-31390 does not seem to be running inside a container [2021-03-25T16:43:28.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/202 -v /w/workspace/app-functions-sdk-go/202:/w/workspace/app-functions-sdk-go/202:rw,z -v /w/workspace/app-functions-sdk-go/202@tmp:/w/workspace/app-functions-sdk-go/202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-25T16:43:29.493Z] $ docker top fa3f49975bfe17a1268dc65deb216cc6f2cb8e7aa634a87af0ecb7bae5285ede -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T16:43:29.966Z] + make test [2021-03-25T16:43:29.966Z] make -C ./app-service-template build [2021-03-25T16:43:29.966Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:29.966Z] 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-25T16:43:42.294Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:42.294Z] make -C ./app-service-template test [2021-03-25T16:43:42.294Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:42.294Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-25T16:43:50.862Z] ok new-app-service 0.015s coverage: 47.8% of statements [2021-03-25T16:43:50.862Z] ? new-app-service/config [no test files] [2021-03-25T16:43:50.862Z] ok new-app-service/functions 0.010s [2021-03-25T16:43:50.862Z] CGO_ENABLED=1 go vet ./... [2021-03-25T16:43:53.455Z] gofmt -l . [2021-03-25T16:43:53.455Z] [ "`gofmt -l .`" = "" ] [2021-03-25T16:43:53.455Z] ./bin/test-go-mod-tidy.sh [2021-03-25T16:43:54.040Z] ./bin/test-attribution-txt.sh [2021-03-25T16:43:54.621Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:54.621Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-25T16:43:55.204Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-25T16:43:57.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.015s coverage: 55.9% of statements [2021-03-25T16:43:57.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.051s coverage: 92.5% of statements [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-25T16:43:57.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.033s coverage: 61.5% of statements [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-25T16:43:57.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.047s [2021-03-25T16:43:57.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.029s coverage: 75.4% of statements [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-25T16:43:57.790Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.0% of statements [2021-03-25T16:43:57.790Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-25T16:43:58.063Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.020s coverage: 10.5% of statements [2021-03-25T16:43:59.307Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:59.307Z] make -C ./app-service-template test [2021-03-25T16:43:59.307Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:43:59.307Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-25T16:44:02.288Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.733s coverage: 78.4% of statements [2021-03-25T16:44:02.288Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-25T16:44:02.288Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 20.0% of statements [2021-03-25T16:44:02.288Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.023s coverage: 27.3% of statements [2021-03-25T16:44:02.288Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-25T16:44:02.288Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-25T16:44:02.288Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.010s coverage: 71.7% of statements [2021-03-25T16:44:26.158Z] ok new-app-service 0.034s coverage: 47.8% of statements [2021-03-25T16:44:26.158Z] ? new-app-service/config [no test files] [2021-03-25T16:44:26.158Z] ok new-app-service/functions 0.029s [2021-03-25T16:44:26.158Z] CGO_ENABLED=1 go vet ./... [2021-03-25T16:44:28.871Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.029s coverage: 81.9% of statements [2021-03-25T16:44:28.871Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.008s coverage: 94.4% of statements [2021-03-25T16:44:28.871Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-25T16:44:28.871Z] gofmt -l . [2021-03-25T16:44:28.871Z] [ "`gofmt -l .`" = "" ] [2021-03-25T16:44:28.871Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-25T16:44:28.888Z] $ docker stop --time=1 fa3f49975bfe17a1268dc65deb216cc6f2cb8e7aa634a87af0ecb7bae5285ede [2021-03-25T16:44:30.452Z] $ docker rm -f fa3f49975bfe17a1268dc65deb216cc6f2cb8e7aa634a87af0ecb7bae5285ede [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T16:44:31.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-25T16:44:31.445Z] 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-25T16:44:32.799Z] ---> job-cost.sh [2021-03-25T16:44:32.799Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-svFO [2021-03-25T16:44:34.464Z] gofmt -l . [2021-03-25T16:44:34.464Z] [ "`gofmt -l .`" = "" ] [2021-03-25T16:44:34.464Z] ./bin/test-go-mod-tidy.sh [2021-03-25T16:44:34.464Z] ./bin/test-attribution-txt.sh [2021-03-25T16:44:35.059Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/202/app-service-template' [2021-03-25T16:44:35.059Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-25T16:44:36.521Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-25T16:44:46.709Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.100s coverage: 55.9% of statements [2021-03-25T16:44:46.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.032s coverage: 92.5% of statements [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-25T16:44:46.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.064s coverage: 61.5% of statements [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-25T16:44:46.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.022s [2021-03-25T16:44:46.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.086s coverage: 75.4% of statements [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-25T16:44:46.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.038s coverage: 97.0% of statements [2021-03-25T16:44:46.710Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-25T16:44:46.710Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 10.5% of statements [2021-03-25T16:44:47.717Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T16:44:51.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.812s coverage: 78.4% of statements [2021-03-25T16:44:51.038Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-25T16:44:51.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 20.0% of statements [2021-03-25T16:44:51.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.076s coverage: 27.3% of statements [2021-03-25T16:44:51.038Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-25T16:44:51.038Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-25T16:44:51.038Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.038s coverage: 71.7% of statements [2021-03-25T16:45:14.309Z] lf-activate-venv(): INFO: Adding /tmp/venv-svFO/bin to PATH [2021-03-25T16:45:14.309Z] INFO: No Stack... [2021-03-25T16:45:14.309Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T16:45:14.309Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T16:45:14.618Z] + cut -d, -f6 [2021-03-25T16:45:14.619Z] + cat /w/workspace/app-functions-sdk-go/202/archives/cost.csv [Pipeline] lock [2021-03-25T16:45:14.697Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] [2021-03-25T16:45:14.709Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] did not exist. Created. [2021-03-25T16:45:14.710Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T16:45:15.126Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-25T16:45:15.213Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T16:45:15.226Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-25T16:45:17.911Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.079s coverage: 81.9% of statements [2021-03-25T16:45:17.911Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements [2021-03-25T16:45:17.911Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-25T16:45:20.545Z] gofmt -l . [2021-03-25T16:45:20.818Z] [ "`gofmt -l .`" = "" ] [2021-03-25T16:45:21.092Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-25T16:45:21.703Z] $ docker stop --time=1 692b9828247664876a80d3a1a1856ed9661da2c3ec1fbec88d6b308127b4d5c8 [2021-03-25T16:45:23.674Z] $ docker rm -f 692b9828247664876a80d3a1a1856ed9661da2c3ec1fbec88d6b308127b4d5c8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-25T16:45:24.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-25T16:45:24.699Z] Warning: overwriting stash ‘coverage-report’ [2021-03-25T16:45:25.426Z] 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-25T16:45:26.398Z] ---> job-cost.sh [2021-03-25T16:45:26.398Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zYJa [2021-03-25T16:46:05.352Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-25T16:47:27.085Z] lf-activate-venv(): INFO: Adding /tmp/venv-zYJa/bin to PATH [2021-03-25T16:47:27.085Z] INFO: No Stack... [2021-03-25T16:47:27.085Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-25T16:47:27.358Z] INFO: Archiving Costs [Pipeline] sh [2021-03-25T16:47:27.706Z] + cat /w/workspace/app-functions-sdk-go/202/archives/cost.csv [2021-03-25T16:47:27.706Z] + cut -d, -f6 [Pipeline] lock [2021-03-25T16:47:27.833Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] [2021-03-25T16:47:27.841Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] did not exist. Created. [2021-03-25T16:47:27.841Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-202-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-25T16:47:28.298Z] /w/workspace/app-functions-sdk-go/202@tmp/durable-fc6ebcf7/script.sh: 1: /w/workspace/app-functions-sdk-go/202@tmp/durable-fc6ebcf7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-25T16:47:28.647Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-25T16:47:28.716Z] Warning: overwriting stash ‘stack-cost’ [2021-03-25T16:47:28.874Z] Stashed 1 file(s) [Pipeline] } [2021-03-25T16:47:28.885Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-202-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-25T16:47:30.315Z] provisioning config files... [2021-03-25T16:47:30.329Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3980764667180536555tmp [Pipeline] { [Pipeline] sh [2021-03-25T16:47:30.748Z] + set +x [2021-03-25T16:47:30.748Z] + curl -s https://codecov.io/bash [2021-03-25T16:47:30.748Z] + bash -s -- [2021-03-25T16:47:31.011Z] [2021-03-25T16:47:31.011Z] _____ _ [2021-03-25T16:47:31.011Z] / ____| | | [2021-03-25T16:47:31.011Z] | | ___ __| | ___ ___ _____ __ [2021-03-25T16:47:31.011Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-25T16:47:31.011Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-25T16:47:31.011Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-25T16:47:31.011Z] Bash-20210309-2b87ace [2021-03-25T16:47:31.011Z] [2021-03-25T16:47:31.011Z] [2021-03-25T16:47:31.011Z] ==> git version 2.24.3 found [2021-03-25T16:47:31.011Z] ==> 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-25T16:47:31.011Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-25T16:47:31.011Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-25T16:47:31.011Z] ==> Jenkins CI detected. [2021-03-25T16:47:31.011Z] project root: . [2021-03-25T16:47:31.011Z] --> token set from env [2021-03-25T16:47:31.011Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-25T16:47:31.011Z] ==> Running gcov in . (disable via -X gcov) [2021-03-25T16:47:31.011Z] ==> Python coveragepy not found [2021-03-25T16:47:31.011Z] ==> Searching for coverage reports in: [2021-03-25T16:47:31.011Z] + . [2021-03-25T16:47:31.011Z] -> Found 2 reports [2021-03-25T16:47:31.011Z] ==> Detecting git/mercurial file structure [2021-03-25T16:47:31.011Z] ==> Reading reports [2021-03-25T16:47:31.011Z] + ./app-service-template/coverage.out bytes=1055 [2021-03-25T16:47:31.011Z] + ./coverage.out bytes=86539 [2021-03-25T16:47:31.011Z] ==> Appending adjustments [2021-03-25T16:47:31.011Z] https://docs.codecov.io/docs/fixing-reports [2021-03-25T16:47:31.587Z] + Found adjustments [2021-03-25T16:47:31.587Z] ==> Gzipping contents [2021-03-25T16:47:31.587Z] 16K /tmp/codecov.Dkt6fM.gz [2021-03-25T16:47:31.587Z] ==> Uploading reports [2021-03-25T16:47:31.587Z] url: https://codecov.io [2021-03-25T16:47:31.587Z] query: branch=master&commit=7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F202%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-25T16:47:31.587Z] -> Pinging Codecov [2021-03-25T16:47:31.587Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58&build=202&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F202%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-25T16:47:32.163Z] -> Uploading to [2021-03-25T16:47:32.163Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-25/3D8B5DFFC46A037C893635FACE044666/7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58/79fb35b9-8377-4d6c-8e88-dfe6345d3961.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210325T164731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3677f1b3baf41b74cbecbcc1dfcd4a7150a90cdc89dbaaddfbbf84bcd8892600 [2021-03-25T16:47:32.164Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-25T16:47:32.164Z] Dload Upload Total Spent Left Speed [2021-03-25T16:47:32.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15259 0 0 100 15259 0 29578 --:--:-- --:--:-- --:--:-- 29629 [2021-03-25T16:47:32.425Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 [Pipeline] } [2021-03-25T16:47:32.436Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-25T16:47:33.411Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-25T16:47:33.464Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:47:33.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-25T16:47:33.850Z] [2021-03-25T16:47:33.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:47:34.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-25T16:47:34.234Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-25T16:47:34.234Z] 188c0c94c7c5: Pulling fs layer [2021-03-25T16:47:34.234Z] 0ef7d3d256c8: Pulling fs layer [2021-03-25T16:47:34.234Z] de9db76c5a1d: Pulling fs layer [2021-03-25T16:47:34.234Z] 0eba1c9be4d2: Pulling fs layer [2021-03-25T16:47:34.234Z] 0d57e429df01: Pulling fs layer [2021-03-25T16:47:34.234Z] 4e4be7b47b0d: Pulling fs layer [2021-03-25T16:47:34.234Z] e1f770b5df2f: Pulling fs layer [2021-03-25T16:47:34.234Z] 85a0685a4137: Pulling fs layer [2021-03-25T16:47:34.234Z] 0d57e429df01: Waiting [2021-03-25T16:47:34.234Z] 4e4be7b47b0d: Waiting [2021-03-25T16:47:34.234Z] e1f770b5df2f: Waiting [2021-03-25T16:47:34.234Z] 85a0685a4137: Waiting [2021-03-25T16:47:34.234Z] 0eba1c9be4d2: Waiting [2021-03-25T16:47:34.234Z] de9db76c5a1d: Verifying Checksum [2021-03-25T16:47:34.234Z] de9db76c5a1d: Download complete [2021-03-25T16:47:34.234Z] 0ef7d3d256c8: Verifying Checksum [2021-03-25T16:47:34.234Z] 0ef7d3d256c8: Download complete [2021-03-25T16:47:34.234Z] 0d57e429df01: Verifying Checksum [2021-03-25T16:47:34.234Z] 0d57e429df01: Download complete [2021-03-25T16:47:34.234Z] 4e4be7b47b0d: Verifying Checksum [2021-03-25T16:47:34.234Z] 4e4be7b47b0d: Download complete [2021-03-25T16:47:34.234Z] 188c0c94c7c5: Verifying Checksum [2021-03-25T16:47:34.234Z] 188c0c94c7c5: Download complete [2021-03-25T16:47:34.816Z] 188c0c94c7c5: Pull complete [2021-03-25T16:47:34.816Z] 0ef7d3d256c8: Pull complete [2021-03-25T16:47:35.079Z] de9db76c5a1d: Pull complete [2021-03-25T16:47:36.479Z] e1f770b5df2f: Verifying Checksum [2021-03-25T16:47:36.479Z] e1f770b5df2f: Download complete [2021-03-25T16:47:39.063Z] 85a0685a4137: Verifying Checksum [2021-03-25T16:47:39.063Z] 85a0685a4137: Download complete [2021-03-25T16:47:39.064Z] 0eba1c9be4d2: Download complete [2021-03-25T16:47:44.398Z] 0eba1c9be4d2: Pull complete [2021-03-25T16:47:44.398Z] 0d57e429df01: Pull complete [2021-03-25T16:47:44.398Z] 4e4be7b47b0d: Pull complete [2021-03-25T16:47:46.960Z] e1f770b5df2f: Pull complete [2021-03-25T16:47:55.149Z] 85a0685a4137: Pull complete [2021-03-25T16:47:55.150Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-25T16:47:55.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-25T16:47:55.150Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-25T16:47:55.398Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:47:55.450Z] $ 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-25T16:47:56.500Z] $ docker top 567f8c3a6ad1923db45a661d34a91c0ec2d7e22cf4c3b7682d5fe98d38fcdd70 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-25T16:47:56.756Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-25T16:47:57.056Z] + set -o pipefail [2021-03-25T16:47:57.056Z] + snyk monitor '--org=edgex-jenkins' [2021-03-25T16:48:07.097Z] [2021-03-25T16:48:07.097Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-25T16:48:07.097Z] [2021-03-25T16:48:07.097Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/6a867d97-6344-4597-81cb-4280e3027605 [2021-03-25T16:48:07.097Z] [2021-03-25T16:48:07.097Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-25T16:48:07.097Z] [2021-03-25T16:48:07.097Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-25T16:48:07.097Z] [2021-03-25T16:48:07.097Z] [Pipeline] } [2021-03-25T16:48:07.112Z] $ docker stop --time=1 567f8c3a6ad1923db45a661d34a91c0ec2d7e22cf4c3b7682d5fe98d38fcdd70 [2021-03-25T16:48:09.922Z] $ docker rm -f 567f8c3a6ad1923db45a661d34a91c0ec2d7e22cf4c3b7682d5fe98d38fcdd70 [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-25T16:48:11.696Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T16:48:11.747Z] provisioning config files... [2021-03-25T16:48:11.759Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3706368607022403475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:48:12.163Z] --> edgex-publish-swagger.sh [2021-03-25T16:48:12.163Z] === Publish openapi/v2 API === [2021-03-25T16:48:12.163Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-25T16:48:12.163Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-25T16:48:12.163Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-25T16:48:12.163Z] Dload Upload Total Spent Left Speed [2021-03-25T16:48:13.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10468 0:00:01 0:00:01 --:--:-- 10483 100 13052 0 0 100 13052 0 10467 0:00:01 0:00:01 --:--:-- 10475 [2021-03-25T16:48:13.564Z] [2021-03-25T16:48:13.564Z] [Pipeline] } [2021-03-25T16:48:13.578Z] 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-25T16:48:14.446Z] + git log --format=format:%s -1 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:48:14.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T16:48:14.825Z] . [Pipeline] withDockerContainer [2021-03-25T16:48:14.993Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:48:15.047Z] $ 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-25T16:48:16.176Z] $ docker top f1edf5e69f80aa0f380749040ae4f9a4caa81f775255e9cd1c079b493951437c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T16:48:16.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T16:48:16.557Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T16:48:16.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T16:48:16.836Z] $ docker exec f1edf5e69f80aa0f380749040ae4f9a4caa81f775255e9cd1c079b493951437c ssh-agent [2021-03-25T16:48:17.028Z] SSH_AUTH_SOCK=/tmp/ssh-e6dYLqQBwo3v/agent.12 [2021-03-25T16:48:17.028Z] SSH_AGENT_PID=18 [2021-03-25T16:48:17.035Z] Running ssh-add (command line suppressed) [2021-03-25T16:48:17.183Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7692964991882144686.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7692964991882144686.key) [2021-03-25T16:48:17.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T16:48:17.582Z] + git semver tag [2021-03-25T16:48:17.582Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T16:48:17.582Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T16:48:17.582Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T16:48:17.582Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T16:48:17.582Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T16:48:17.582Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T16:48:17.582Z] # $SEMVER_BRANCH = master [2021-03-25T16:48:17.582Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-25T16:48:17.582Z] # 7158bb1ca313e630b30c79f7ef3d5e60e0d8ca58 HEAD [2021-03-25T16:48:17.847Z] # -> Force: false [2021-03-25T16:48:17.847Z] # 8cb7104a163c3a578d94281711fb82c6310f56dc refs/tags/v2.0.0-dev.33 [Pipeline] } [2021-03-25T16:48:17.860Z] $ docker exec --env ******** --env ******** f1edf5e69f80aa0f380749040ae4f9a4caa81f775255e9cd1c079b493951437c ssh-agent -k [2021-03-25T16:48:17.994Z] unset SSH_AUTH_SOCK; [2021-03-25T16:48:17.994Z] unset SSH_AGENT_PID; [2021-03-25T16:48:17.994Z] echo Agent pid 18 killed; [2021-03-25T16:48:18.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T16:48:18.516Z] + git semver [Pipeline] } [2021-03-25T16:48:18.535Z] $ docker stop --time=1 f1edf5e69f80aa0f380749040ae4f9a4caa81f775255e9cd1c079b493951437c [2021-03-25T16:48:19.905Z] $ docker rm -f f1edf5e69f80aa0f380749040ae4f9a4caa81f775255e9cd1c079b493951437c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:48:20.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-25T16:48:20.520Z] [2021-03-25T16:48:20.520Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:48:20.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-25T16:48:20.870Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-25T16:48:20.870Z] ab5ef0e58194: Pulling fs layer [2021-03-25T16:48:20.870Z] 9712f1f96733: Pulling fs layer [2021-03-25T16:48:20.870Z] 63f879dbbcfc: Pulling fs layer [2021-03-25T16:48:20.870Z] 0d9ebad4ef96: Pulling fs layer [2021-03-25T16:48:20.870Z] e9a5061849ea: Pulling fs layer [2021-03-25T16:48:20.870Z] d747dcd14b5f: Pulling fs layer [2021-03-25T16:48:20.870Z] 2de7ff778b66: Pulling fs layer [2021-03-25T16:48:20.870Z] 0d9ebad4ef96: Waiting [2021-03-25T16:48:20.870Z] e9a5061849ea: Waiting [2021-03-25T16:48:20.870Z] d747dcd14b5f: Waiting [2021-03-25T16:48:20.870Z] 2de7ff778b66: Waiting [2021-03-25T16:48:20.870Z] 9712f1f96733: Verifying Checksum [2021-03-25T16:48:20.870Z] 9712f1f96733: Download complete [2021-03-25T16:48:23.448Z] 63f879dbbcfc: Verifying Checksum [2021-03-25T16:48:23.448Z] 63f879dbbcfc: Download complete [2021-03-25T16:48:23.448Z] e9a5061849ea: Verifying Checksum [2021-03-25T16:48:23.448Z] e9a5061849ea: Download complete [2021-03-25T16:48:23.448Z] d747dcd14b5f: Verifying Checksum [2021-03-25T16:48:23.448Z] d747dcd14b5f: Download complete [2021-03-25T16:48:23.448Z] 2de7ff778b66: Verifying Checksum [2021-03-25T16:48:23.448Z] 2de7ff778b66: Download complete [2021-03-25T16:48:23.448Z] 0d9ebad4ef96: Verifying Checksum [2021-03-25T16:48:23.448Z] 0d9ebad4ef96: Download complete [2021-03-25T16:48:23.711Z] ab5ef0e58194: Verifying Checksum [2021-03-25T16:48:23.711Z] ab5ef0e58194: Download complete [2021-03-25T16:48:27.960Z] ab5ef0e58194: Pull complete [2021-03-25T16:48:28.225Z] 9712f1f96733: Pull complete [2021-03-25T16:48:31.552Z] 63f879dbbcfc: Pull complete [2021-03-25T16:48:38.368Z] 0d9ebad4ef96: Pull complete [2021-03-25T16:48:39.767Z] e9a5061849ea: Pull complete [2021-03-25T16:48:40.033Z] d747dcd14b5f: Pull complete [2021-03-25T16:48:43.361Z] 2de7ff778b66: Pull complete [2021-03-25T16:48:43.361Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-25T16:48:43.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-25T16:48:43.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-25T16:48:43.609Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:48:43.659Z] $ 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-25T16:48:47.437Z] $ docker top f444a43bcf22d3cf4e88e66b04dd26893be6b9db8a8b083d35063ae640adb9ce -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-25T16:48:47.789Z] provisioning config files... [2021-03-25T16:48:47.802Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5954453862127751585tmp [2021-03-25T16:48:47.821Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1332427179064243464tmp [2021-03-25T16:48:47.842Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8916677579666032331tmp [Pipeline] { [Pipeline] echo [2021-03-25T16:48:47.897Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:48:48.199Z] ---> sigul-configuration.sh [2021-03-25T16:48:48.199Z] gpg: directory `/root/.gnupg' created [2021-03-25T16:48:48.199Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-25T16:48:48.199Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-25T16:48:48.199Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-25T16:48:48.199Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-25T16:48:48.199Z] gpg: CAST5 encrypted data [2021-03-25T16:48:48.462Z] gpg: encrypted with 1 passphrase [2021-03-25T16:48:48.462Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-25T16:48:48.766Z] + mkdir /home/jenkins [2021-03-25T16:48:48.766Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-25T16:48:49.068Z] + 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-25T16:48:49.079Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:48:49.377Z] ---> sigul-install.sh [2021-03-25T16:48:55.984Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-25T16:48:56.284Z] + git tag --list [2021-03-25T16:48:56.284Z] v0.1.0 [2021-03-25T16:48:56.284Z] v0.1.1 [2021-03-25T16:48:56.284Z] v1.0.0 [2021-03-25T16:48:56.284Z] v1.1.0 [2021-03-25T16:48:56.284Z] v1.2.0 [2021-03-25T16:48:56.284Z] v1.3.0 [2021-03-25T16:48:56.284Z] v1.3.1 [2021-03-25T16:48:56.284Z] v1.3.1-dev.1 [2021-03-25T16:48:56.284Z] v1.3.2-dev.1 [2021-03-25T16:48:56.284Z] v2.0.0-dev.1 [2021-03-25T16:48:56.284Z] v2.0.0-dev.10 [2021-03-25T16:48:56.284Z] v2.0.0-dev.11 [2021-03-25T16:48:56.284Z] v2.0.0-dev.12 [2021-03-25T16:48:56.284Z] v2.0.0-dev.13 [2021-03-25T16:48:56.284Z] v2.0.0-dev.14 [2021-03-25T16:48:56.284Z] v2.0.0-dev.15 [2021-03-25T16:48:56.284Z] v2.0.0-dev.16 [2021-03-25T16:48:56.284Z] v2.0.0-dev.17 [2021-03-25T16:48:56.284Z] v2.0.0-dev.18 [2021-03-25T16:48:56.284Z] v2.0.0-dev.19 [2021-03-25T16:48:56.284Z] v2.0.0-dev.2 [2021-03-25T16:48:56.284Z] v2.0.0-dev.20 [2021-03-25T16:48:56.284Z] v2.0.0-dev.21 [2021-03-25T16:48:56.284Z] v2.0.0-dev.22 [2021-03-25T16:48:56.284Z] v2.0.0-dev.23 [2021-03-25T16:48:56.284Z] v2.0.0-dev.24 [2021-03-25T16:48:56.284Z] v2.0.0-dev.25 [2021-03-25T16:48:56.284Z] v2.0.0-dev.26 [2021-03-25T16:48:56.284Z] v2.0.0-dev.27 [2021-03-25T16:48:56.285Z] v2.0.0-dev.28 [2021-03-25T16:48:56.285Z] v2.0.0-dev.29 [2021-03-25T16:48:56.285Z] v2.0.0-dev.3 [2021-03-25T16:48:56.285Z] v2.0.0-dev.30 [2021-03-25T16:48:56.285Z] v2.0.0-dev.31 [2021-03-25T16:48:56.285Z] v2.0.0-dev.32 [2021-03-25T16:48:56.285Z] v2.0.0-dev.33 [2021-03-25T16:48:56.285Z] v2.0.0-dev.4 [2021-03-25T16:48:56.285Z] v2.0.0-dev.5 [2021-03-25T16:48:56.285Z] v2.0.0-dev.6 [2021-03-25T16:48:56.285Z] v2.0.0-dev.7 [2021-03-25T16:48:56.285Z] v2.0.0-dev.8 [2021-03-25T16:48:56.285Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-25T16:48:56.585Z] + lftools sign git-tag v2.0.0-dev.33 [2021-03-25T16:48:57.978Z] Signing Git tag with Sigul... [2021-03-25T16:48:57.978Z] Signing v2.0.0-dev.33 [Pipeline] echo [2021-03-25T16:48:58.936Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:48:59.235Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-25T16:48:59.245Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-25T16:48:59.335Z] $ docker stop --time=1 f444a43bcf22d3cf4e88e66b04dd26893be6b9db8a8b083d35063ae640adb9ce [2021-03-25T16:49:01.468Z] $ docker rm -f f444a43bcf22d3cf4e88e66b04dd26893be6b9db8a8b083d35063ae640adb9ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:49:02.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T16:49:02.432Z] . [Pipeline] withDockerContainer [2021-03-25T16:49:02.545Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:49:02.589Z] $ 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-25T16:49:03.703Z] $ docker top 40ef4b6603c09acc6fc13de52f8c9c8fee031c6ffcc4c76c585959ae9a39f720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T16:49:04.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T16:49:04.137Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T16:49:04.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T16:49:04.437Z] $ docker exec 40ef4b6603c09acc6fc13de52f8c9c8fee031c6ffcc4c76c585959ae9a39f720 ssh-agent [2021-03-25T16:49:04.637Z] SSH_AUTH_SOCK=/tmp/ssh-ajQkOMpSLGzm/agent.11 [2021-03-25T16:49:04.637Z] SSH_AGENT_PID=16 [2021-03-25T16:49:04.645Z] Running ssh-add (command line suppressed) [2021-03-25T16:49:04.798Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6239530774915074642.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6239530774915074642.key) [2021-03-25T16:49:04.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T16:49:05.230Z] + git semver bump pre [2021-03-25T16:49:05.230Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T16:49:05.230Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T16:49:05.230Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T16:49:05.230Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T16:49:05.230Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T16:49:05.230Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T16:49:05.230Z] # $SEMVER_BRANCH = master [2021-03-25T16:49:05.230Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-25T16:49:05.230Z] 2.0.0-dev.34 [Pipeline] } [2021-03-25T16:49:05.244Z] $ docker exec --env ******** --env ******** 40ef4b6603c09acc6fc13de52f8c9c8fee031c6ffcc4c76c585959ae9a39f720 ssh-agent -k [2021-03-25T16:49:05.391Z] unset SSH_AUTH_SOCK; [2021-03-25T16:49:05.391Z] unset SSH_AGENT_PID; [2021-03-25T16:49:05.391Z] echo Agent pid 16 killed; [2021-03-25T16:49:05.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T16:49:05.916Z] + git semver [Pipeline] } [2021-03-25T16:49:05.934Z] $ docker stop --time=1 40ef4b6603c09acc6fc13de52f8c9c8fee031c6ffcc4c76c585959ae9a39f720 [2021-03-25T16:49:07.362Z] $ docker rm -f 40ef4b6603c09acc6fc13de52f8c9c8fee031c6ffcc4c76c585959ae9a39f720 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:49:07.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-25T16:49:07.895Z] . [Pipeline] withDockerContainer [2021-03-25T16:49:08.003Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:49:08.050Z] $ 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-25T16:49:08.744Z] $ docker top bdfcc8e3d74e4dfeee8ed11349547d0ac957e192c1c351f7f1bc213f8ee46536 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-25T16:49:09.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-25T16:49:09.051Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-25T16:49:09.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-25T16:49:09.300Z] $ docker exec bdfcc8e3d74e4dfeee8ed11349547d0ac957e192c1c351f7f1bc213f8ee46536 ssh-agent [2021-03-25T16:49:09.514Z] SSH_AUTH_SOCK=/tmp/ssh-qUEpE5U5VIlb/agent.11 [2021-03-25T16:49:09.514Z] SSH_AGENT_PID=17 [2021-03-25T16:49:09.521Z] Running ssh-add (command line suppressed) [2021-03-25T16:49:09.685Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7689931184562539672.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7689931184562539672.key) [2021-03-25T16:49:09.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-25T16:49:10.116Z] + git semver push [2021-03-25T16:49:10.116Z] # -> Open(): unable to determine branch for HEAD [2021-03-25T16:49:10.116Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-25T16:49:10.116Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T16:49:10.116Z] # $SEMVER_REMOTE_NAME = origin [2021-03-25T16:49:10.116Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-25T16:49:10.116Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-25T16:49:10.116Z] # $SEMVER_BRANCH = master [2021-03-25T16:49:10.116Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-25T16:49:14.356Z] $ docker exec --env ******** --env ******** bdfcc8e3d74e4dfeee8ed11349547d0ac957e192c1c351f7f1bc213f8ee46536 ssh-agent -k [2021-03-25T16:49:14.497Z] unset SSH_AUTH_SOCK; [2021-03-25T16:49:14.499Z] unset SSH_AGENT_PID; [2021-03-25T16:49:14.499Z] echo Agent pid 17 killed; [2021-03-25T16:49:14.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-25T16:49:15.053Z] + git semver [Pipeline] } [2021-03-25T16:49:15.070Z] $ docker stop --time=1 bdfcc8e3d74e4dfeee8ed11349547d0ac957e192c1c351f7f1bc213f8ee46536 [2021-03-25T16:49:16.445Z] $ docker rm -f bdfcc8e3d74e4dfeee8ed11349547d0ac957e192c1c351f7f1bc213f8ee46536 [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-25T16:49:17.992Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:49:18.564Z] ---> package-listing.sh [2021-03-25T16:49:18.564Z] ++ facter osfamily [2021-03-25T16:49:18.564Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-25T16:49:18.564Z] + OS_FAMILY=redhat [2021-03-25T16:49:18.564Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-25T16:49:18.564Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-25T16:49:18.564Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-25T16:49:18.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-25T16:49:18.564Z] + PACKAGES=/tmp/packages_start.txt [2021-03-25T16:49:18.564Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-25T16:49:18.564Z] + PACKAGES=/tmp/packages_end.txt [2021-03-25T16:49:18.564Z] + case "${OS_FAMILY}" in [2021-03-25T16:49:18.564Z] + rpm -qa [2021-03-25T16:49:18.564Z] + sort [2021-03-25T16:49:24.003Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-25T16:49:24.003Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-25T16:49:24.003Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-25T16:49:24.003Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-25T16:49:24.003Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-25T16:49:24.003Z] + 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-25T16:49:24.017Z] 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-25T16:49:24.330Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:49:24.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T16:49:24.644Z] [2021-03-25T16:49:24.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-25T16:49:24.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T16:49:24.996Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-25T16:49:24.996Z] df20fa9351a1: Pulling fs layer [2021-03-25T16:49:24.996Z] 36b3adc4ff6f: Pulling fs layer [2021-03-25T16:49:24.996Z] 8ad3a11d3b57: Pulling fs layer [2021-03-25T16:49:24.996Z] 46f8f816bc3b: Pulling fs layer [2021-03-25T16:49:24.996Z] 93b61091891f: Pulling fs layer [2021-03-25T16:49:24.996Z] 93b9cdb0e59b: Pulling fs layer [2021-03-25T16:49:24.996Z] 5e14af77c1be: Pulling fs layer [2021-03-25T16:49:24.996Z] 01666e4c0597: Pulling fs layer [2021-03-25T16:49:24.996Z] aa168da1d23b: Pulling fs layer [2021-03-25T16:49:24.996Z] 93b9cdb0e59b: Waiting [2021-03-25T16:49:24.996Z] 5e14af77c1be: Waiting [2021-03-25T16:49:24.996Z] 01666e4c0597: Waiting [2021-03-25T16:49:24.996Z] aa168da1d23b: Waiting [2021-03-25T16:49:24.996Z] 46f8f816bc3b: Waiting [2021-03-25T16:49:24.996Z] 93b61091891f: Waiting [2021-03-25T16:49:24.996Z] 36b3adc4ff6f: Verifying Checksum [2021-03-25T16:49:24.996Z] 36b3adc4ff6f: Download complete [2021-03-25T16:49:24.996Z] 46f8f816bc3b: Verifying Checksum [2021-03-25T16:49:24.996Z] 46f8f816bc3b: Download complete [2021-03-25T16:49:24.996Z] df20fa9351a1: Download complete [2021-03-25T16:49:25.260Z] 93b9cdb0e59b: Verifying Checksum [2021-03-25T16:49:25.260Z] 93b9cdb0e59b: Download complete [2021-03-25T16:49:25.260Z] 93b61091891f: Verifying Checksum [2021-03-25T16:49:25.260Z] 93b61091891f: Download complete [2021-03-25T16:49:25.260Z] 5e14af77c1be: Download complete [2021-03-25T16:49:25.260Z] 01666e4c0597: Verifying Checksum [2021-03-25T16:49:25.260Z] 01666e4c0597: Download complete [2021-03-25T16:49:25.523Z] df20fa9351a1: Pull complete [2021-03-25T16:49:25.523Z] 8ad3a11d3b57: Verifying Checksum [2021-03-25T16:49:25.523Z] 8ad3a11d3b57: Download complete [2021-03-25T16:49:25.789Z] 36b3adc4ff6f: Pull complete [2021-03-25T16:49:27.205Z] 8ad3a11d3b57: Pull complete [2021-03-25T16:49:27.205Z] 46f8f816bc3b: Pull complete [2021-03-25T16:49:27.794Z] aa168da1d23b: Verifying Checksum [2021-03-25T16:49:27.794Z] aa168da1d23b: Download complete [2021-03-25T16:49:28.057Z] 93b61091891f: Pull complete [2021-03-25T16:49:28.057Z] 93b9cdb0e59b: Pull complete [2021-03-25T16:49:28.321Z] 5e14af77c1be: Pull complete [2021-03-25T16:49:28.321Z] 01666e4c0597: Pull complete [2021-03-25T16:49:36.494Z] aa168da1d23b: Pull complete [2021-03-25T16:49:36.494Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-25T16:49:36.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-25T16:49:36.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-25T16:49:36.632Z] prd-centos7-docker-4c-2g-31388 does not seem to be running inside a container [2021-03-25T16:49:36.679Z] $ 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-25T16:49:39.567Z] $ docker top fdbe534351e6f534c8fa100bdab7c338e21c39a533582f3008113a87ad2789d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-25T16:49:40.204Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-25T16:49:40.505Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-25T16:49:40.805Z] + ls /var/log/sa-host [2021-03-25T16:49:40.805Z] + sadf -c /var/log/sa-host/sa23 [2021-03-25T16:49:40.805Z] file_magic: OK [2021-03-25T16:49:40.805Z] HZ: Using current value: 100 [2021-03-25T16:49:40.805Z] file_header: OK [2021-03-25T16:49:40.805Z] 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-25T16:49:40.805Z] Statistics: [2021-03-25T16:49:40.805Z] Hnuu...uuuununununu... [2021-03-25T16:49:40.805Z] File successfully converted to sysstat format version 12.2.1 [2021-03-25T16:49:40.805Z] + sadf -c /var/log/sa-host/sa25 [2021-03-25T16:49:40.805Z] file_magic: OK [2021-03-25T16:49:40.805Z] HZ: Using current value: 100 [2021-03-25T16:49:40.805Z] file_header: OK [2021-03-25T16:49:40.805Z] 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-25T16:49:40.805Z] Statistics: [2021-03-25T16:49:40.805Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-25T16:49:40.805Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-25T16:49:41.382Z] provisioning config files... [2021-03-25T16:49:41.400Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5378791112320429510tmp [Pipeline] { [Pipeline] echo [2021-03-25T16:49:41.480Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:49:41.775Z] ---> create-netrc.sh [Pipeline] } [2021-03-25T16:49:41.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-25T16:49:41.958Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:49:42.256Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-25T16:49:42.269Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:49:42.620Z] ---> sudo-logs.sh [2021-03-25T16:49:42.620Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-25T16:49:42.702Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:49:43.016Z] ---> job-cost.sh [2021-03-25T16:49:43.016Z] lf-activate-venv: SKIPPING [2021-03-25T16:49:43.016Z] DEBUG: total: 0.20999999344348907 [2021-03-25T16:49:43.016Z] INFO: Retrieving Stack Cost... [2021-03-25T16:49:44.409Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-25T16:49:44.672Z] INFO: Archiving Costs [Pipeline] echo [2021-03-25T16:49:44.686Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-25T16:49:44.986Z] ---> logs-deploy.sh [2021-03-25T16:49:44.986Z] lf-activate-venv: SKIPPING [2021-03-25T16:49:44.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/202 [2021-03-25T16:49:44.986Z] INFO: archiving workspace using pattern(s): [2021-03-25T16:49:46.911Z] Archives upload complete. [2021-03-25T16:49:46.911Z] INFO: archiving logs to Nexus