Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bacc8bdf9074b154c54986d9e77de2634ac23145 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1927 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 bacc8bdf9074b154c54986d9e77de2634ac23145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#806)" > git rev-list --no-walk 8a711e40b4eb359375697d12aa3d2cafe0f8211a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T23:54:16.967Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T23:54:17.073Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T23:54:17.103Z] ========================================================= [2021-04-26T23:54:17.104Z] EdgeX Global Pipelines Version Info [2021-04-26T23:54:17.104Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:54:18.654Z] ------------------- [2021-04-26T23:54:18.654Z] stable info: [2021-04-26T23:54:18.654Z] ------------------- [2021-04-26T23:54:18.654Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T23:54:18.654Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T23:54:18.654Z] Message: update stable to v1.0.186 [2021-04-26T23:54:19.602Z] ------------------- [2021-04-26T23:54:19.602Z] experimental info: [2021-04-26T23:54:19.602Z] ------------------- [2021-04-26T23:54:19.602Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T23:54:19.602Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T23:54:19.602Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T23:54:19.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-26T23:54:19.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-26T23:54:19.780Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T23:54:19.803Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T23:54:19.826Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T23:54:19.849Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T23:54:19.871Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T23:54:19.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T23:54:19.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-26T23:54:19.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T23:54:19.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T23:54:19.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-26T23:54:20.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T23:54:20.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T23:54:20.053Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:54:20.093Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:54:20.118Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:54:20.148Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:54:20.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T23:54:20.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T23:54:20.226Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T23:54:20.271Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-26T23:54:20.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T23:54:20.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T23:54:20.340Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-26T23:54:20.363Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T23:54:20.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-26T23:54:20.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-26T23:54:20.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-26T23:54:20.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bacc8bdf9074b154c54986d9e77de2634ac23145 [Pipeline] echo [2021-04-26T23:54:20.480Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bacc8bd [Pipeline] echo [2021-04-26T23:54:20.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T23:54:20.928Z] + git log --format=format:%s -1 bacc8bdf9074b154c54986d9e77de2634ac23145 [Pipeline] echo [2021-04-26T23:54:21.011Z] GIT_COMMIT: bacc8bdf9074b154c54986d9e77de2634ac23145, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#806) [Pipeline] echo [2021-04-26T23:54:21.024Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:54:21.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:54:22.217Z] [2021-04-26T23:54:22.217Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:54:22.539Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:54:22.539Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T23:54:22.539Z] 31603596830f: Pulling fs layer [2021-04-26T23:54:22.539Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T23:54:22.539Z] 6ca5941a6612: Pulling fs layer [2021-04-26T23:54:22.539Z] ecc8261a40a4: Pulling fs layer [2021-04-26T23:54:22.539Z] ecc8261a40a4: Waiting [2021-04-26T23:54:22.539Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T23:54:22.539Z] 2a8b12db71e7: Download complete [2021-04-26T23:54:22.801Z] 31603596830f: Verifying Checksum [2021-04-26T23:54:22.801Z] 31603596830f: Download complete [2021-04-26T23:54:22.801Z] 6ca5941a6612: Verifying Checksum [2021-04-26T23:54:22.801Z] 6ca5941a6612: Download complete [2021-04-26T23:54:22.801Z] ecc8261a40a4: Verifying Checksum [2021-04-26T23:54:22.801Z] ecc8261a40a4: Download complete [2021-04-26T23:54:23.070Z] 31603596830f: Pull complete [2021-04-26T23:54:23.338Z] 2a8b12db71e7: Pull complete [2021-04-26T23:54:24.293Z] 6ca5941a6612: Pull complete [2021-04-26T23:54:24.557Z] ecc8261a40a4: Pull complete [2021-04-26T23:54:24.557Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T23:54:24.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:54:24.557Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T23:54:24.705Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-26T23:54:24.768Z] $ 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-04-26T23:54:26.835Z] $ docker top 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T23:54:26.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:54:26.993Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:54:27.229Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:54:27.234Z] $ docker exec 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd ssh-agent [2021-04-26T23:54:27.417Z] SSH_AUTH_SOCK=/tmp/ssh-mL1Ybz3clCai/agent.12 [2021-04-26T23:54:27.417Z] SSH_AGENT_PID=17 [2021-04-26T23:54:27.428Z] Running ssh-add (command line suppressed) [2021-04-26T23:54:27.559Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2202668241755525391.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2202668241755525391.key) [2021-04-26T23:54:27.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:54:27.919Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T23:54:27.942Z] $ docker exec --env ******** --env ******** 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd ssh-agent -k [2021-04-26T23:54:28.061Z] unset SSH_AUTH_SOCK; [2021-04-26T23:54:28.061Z] unset SSH_AGENT_PID; [2021-04-26T23:54:28.061Z] echo Agent pid 17 killed; [2021-04-26T23:54:28.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T23:54:28.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:54:28.148Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:54:28.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:54:28.330Z] $ docker exec 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd ssh-agent [2021-04-26T23:54:28.497Z] SSH_AUTH_SOCK=/tmp/ssh-RW9XAzsmZHMj/agent.45 [2021-04-26T23:54:28.497Z] SSH_AGENT_PID=51 [2021-04-26T23:54:28.505Z] Running ssh-add (command line suppressed) [2021-04-26T23:54:28.635Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5139678119532439308.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5139678119532439308.key) [2021-04-26T23:54:28.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:54:28.994Z] + git semver init [2021-04-26T23:54:28.994Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T23:54:28.994Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-26T23:54:28.994Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-26T23:54:28.994Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T23:54:28.994Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T23:54:28.994Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T23:54:28.994Z] # $SEMVER_BRANCH = master [2021-04-26T23:54:28.994Z] # $SEMVER_TEMP = /tmp/semver-054831343 [2021-04-26T23:54:28.994Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-26T23:54:32.317Z] # '/tmp/semver-054831343' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-26T23:54:32.317Z] # -> Force: false [2021-04-26T23:54:32.317Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-26T23:54:32.332Z] $ docker exec --env ******** --env ******** 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd ssh-agent -k [2021-04-26T23:54:32.480Z] unset SSH_AUTH_SOCK; [2021-04-26T23:54:32.481Z] unset SSH_AGENT_PID; [2021-04-26T23:54:32.481Z] echo Agent pid 51 killed; [2021-04-26T23:54:32.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T23:54:32.877Z] + git semver [Pipeline] } [2021-04-26T23:54:32.898Z] $ docker stop --time=1 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd [2021-04-26T23:54:34.349Z] $ docker rm -f 450fb33ca54905fc17a2d7f44b8acc6fd8d9557970ce44a9ddab7814cd8ef0cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T23:54:34.822Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T23:54:35.193Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T23:54:35.197Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.48 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-26T23:54:50.382Z] Still waiting to schedule task [2021-04-26T23:54:50.382Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-26T23:54:50.385Z] Still waiting to schedule task [2021-04-26T23:54:50.385Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-26T23:56:36.090Z] Running on prd-centos7-docker-4c-2g-1929 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-26T23:56:36.110Z] Running in /w/workspace/app-functions-sdk-go/218 [Pipeline] { [Pipeline] checkout [2021-04-26T23:56:38.876Z] using credential edgex-jenkins-ssh [2021-04-26T23:56:38.892Z] Cloning the remote Git repository [2021-04-26T23:56:38.706Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:56:38.780Z] > git init /w/workspace/app-functions-sdk-go/218 # timeout=10 [2021-04-26T23:56:38.850Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:56:38.850Z] > git --version # timeout=10 [2021-04-26T23:56:38.858Z] > git --version # 'git version 2.24.3' [2021-04-26T23:56:38.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:56:38.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:56:41.047Z] Checking out Revision bacc8bdf9074b154c54986d9e77de2634ac23145 (master) [2021-04-26T23:56:40.542Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:56:40.556Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:56:40.572Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:56:40.586Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:56:40.586Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:56:40.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T23:56:41.021Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T23:56:41.026Z] > git checkout -f bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 [2021-04-26T23:56:44.675Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#806)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T23:56:45.882Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:56:46.218Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:56:46.523Z] + sudo service docker restart [2021-04-26T23:56:46.523Z] + true [2021-04-26T23:56:46.523Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-26T23:56:48.058Z] ========================================================= [2021-04-26T23:56:48.058Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T23:56:48.058Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:56:48.373Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-26T23:56:48.949Z] Sending build context to Docker daemon 19.5MB [2021-04-26T23:56:48.949Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T23:56:48.949Z] Step 2/8 : FROM ${BASE} [2021-04-26T23:56:49.215Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T23:56:49.215Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T23:56:49.215Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T23:56:49.215Z] de9db76c5a1d: Pulling fs layer [2021-04-26T23:56:49.215Z] bca2f99d35d6: Pulling fs layer [2021-04-26T23:56:49.215Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T23:56:49.215Z] 7c6f9722023f: Pulling fs layer [2021-04-26T23:56:49.215Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T23:56:49.215Z] 93359f2a8cfa: Waiting [2021-04-26T23:56:49.215Z] 7c6f9722023f: Waiting [2021-04-26T23:56:49.215Z] bca2f99d35d6: Waiting [2021-04-26T23:56:49.215Z] a35cf1a2eb13: Waiting [2021-04-26T23:56:49.215Z] de9db76c5a1d: Verifying Checksum [2021-04-26T23:56:49.215Z] de9db76c5a1d: Download complete [2021-04-26T23:56:49.215Z] 0ef7d3d256c8: Verifying Checksum [2021-04-26T23:56:49.215Z] 0ef7d3d256c8: Download complete [2021-04-26T23:56:49.215Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T23:56:49.215Z] 93359f2a8cfa: Download complete [2021-04-26T23:56:49.215Z] 7c6f9722023f: Verifying Checksum [2021-04-26T23:56:49.215Z] 7c6f9722023f: Download complete [2021-04-26T23:56:49.215Z] 188c0c94c7c5: Download complete [2021-04-26T23:56:49.483Z] 188c0c94c7c5: Pull complete [2021-04-26T23:56:49.746Z] 0ef7d3d256c8: Pull complete [2021-04-26T23:56:50.012Z] de9db76c5a1d: Pull complete [2021-04-26T23:56:50.978Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T23:56:50.978Z] a35cf1a2eb13: Download complete [2021-04-26T23:56:51.561Z] bca2f99d35d6: Verifying Checksum [2021-04-26T23:56:51.561Z] bca2f99d35d6: Download complete [2021-04-26T23:56:56.895Z] bca2f99d35d6: Pull complete [2021-04-26T23:56:56.895Z] 93359f2a8cfa: Pull complete [2021-04-26T23:56:56.895Z] 7c6f9722023f: Pull complete [2021-04-26T23:57:05.086Z] a35cf1a2eb13: Pull complete [2021-04-26T23:57:05.086Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T23:57:05.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T23:57:05.086Z] ---> a62c8e92a672 [2021-04-26T23:57:05.086Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-26T23:57:05.086Z] 20.10.0: Pulling from library/docker [2021-04-26T23:57:05.086Z] 05e7bc50f07f: Pulling fs layer [2021-04-26T23:57:05.086Z] 6db28d0fdbf6: Pulling fs layer [2021-04-26T23:57:05.086Z] 292df0bc6bf3: Pulling fs layer [2021-04-26T23:57:05.086Z] 2e060f4bd70b: Pulling fs layer [2021-04-26T23:57:05.086Z] 80e8d568a223: Pulling fs layer [2021-04-26T23:57:05.086Z] 8dc6ef1a942a: Pulling fs layer [2021-04-26T23:57:05.086Z] 2312dd95470a: Pulling fs layer [2021-04-26T23:57:05.086Z] 2e060f4bd70b: Waiting [2021-04-26T23:57:05.086Z] 80e8d568a223: Waiting [2021-04-26T23:57:05.086Z] 8dc6ef1a942a: Waiting [2021-04-26T23:57:05.086Z] 2312dd95470a: Waiting [2021-04-26T23:57:05.086Z] 292df0bc6bf3: Download complete [2021-04-26T23:57:05.086Z] 6db28d0fdbf6: Verifying Checksum [2021-04-26T23:57:05.086Z] 6db28d0fdbf6: Download complete [2021-04-26T23:57:05.086Z] 80e8d568a223: Download complete [2021-04-26T23:57:05.086Z] 8dc6ef1a942a: Verifying Checksum [2021-04-26T23:57:05.086Z] 8dc6ef1a942a: Download complete [2021-04-26T23:57:05.086Z] 05e7bc50f07f: Verifying Checksum [2021-04-26T23:57:05.086Z] 05e7bc50f07f: Download complete [2021-04-26T23:57:05.086Z] 2312dd95470a: Verifying Checksum [2021-04-26T23:57:05.086Z] 2312dd95470a: Download complete [2021-04-26T23:57:05.086Z] 05e7bc50f07f: Pull complete [2021-04-26T23:57:05.357Z] 6db28d0fdbf6: Pull complete [2021-04-26T23:57:05.622Z] 292df0bc6bf3: Pull complete [2021-04-26T23:57:05.622Z] 2e060f4bd70b: Verifying Checksum [2021-04-26T23:57:05.622Z] 2e060f4bd70b: Download complete [2021-04-26T23:57:08.193Z] 2e060f4bd70b: Pull complete [2021-04-26T23:57:08.457Z] 80e8d568a223: Pull complete [2021-04-26T23:57:08.457Z] 8dc6ef1a942a: Pull complete [2021-04-26T23:57:08.722Z] 2312dd95470a: Pull complete [2021-04-26T23:57:08.722Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-26T23:57:08.722Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-26T23:57:10.125Z] ---> 8209100ae286 [2021-04-26T23:57:10.125Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T23:57:10.125Z] ---> Running in a10559dfe9b2 [2021-04-26T23:57:10.392Z] Removing intermediate container a10559dfe9b2 [2021-04-26T23:57:10.392Z] ---> f26679059bc2 [2021-04-26T23:57:10.393Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-26T23:57:10.393Z] ---> Running in 50fef6b62978 [2021-04-26T23:57:11.344Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T23:57:11.922Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T23:57:12.186Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-26T23:57:12.449Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-26T23:57:12.449Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-26T23:57:12.713Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-26T23:57:12.713Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-26T23:57:12.713Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T23:57:12.713Z] OK: 167 MiB in 44 packages [2021-04-26T23:57:13.665Z] Removing intermediate container 50fef6b62978 [2021-04-26T23:57:13.665Z] ---> cf12d269568a [2021-04-26T23:57:13.665Z] Step 6/8 : WORKDIR /build [2021-04-26T23:57:13.665Z] ---> Running in 075e6777cc38 [2021-04-26T23:57:13.665Z] Removing intermediate container 075e6777cc38 [2021-04-26T23:57:13.665Z] ---> f1a03eea9628 [2021-04-26T23:57:13.665Z] Step 7/8 : COPY go.mod . [2021-04-26T23:57:13.932Z] ---> 539904fd9825 [2021-04-26T23:57:13.932Z] Step 8/8 : RUN go mod download [2021-04-26T23:57:13.932Z] ---> Running in db144316e122 [2021-04-26T23:57:35.970Z] Removing intermediate container db144316e122 [2021-04-26T23:57:35.970Z] ---> 0bd23fe79358 [2021-04-26T23:57:35.970Z] Successfully built 0bd23fe79358 [2021-04-26T23:57:35.970Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:57:36.295Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T23:57:36.295Z] . [Pipeline] withDockerContainer [2021-04-26T23:57:36.438Z] prd-centos7-docker-4c-2g-1929 does not seem to be running inside a container [2021-04-26T23:57:36.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/218 -v /w/workspace/app-functions-sdk-go/218:/w/workspace/app-functions-sdk-go/218:rw,z -v /w/workspace/app-functions-sdk-go/218@tmp:/w/workspace/app-functions-sdk-go/218@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-04-26T23:57:37.408Z] $ docker top e48ca199743db5990135b8267b92b267a58f3734199ae0a18ad09b69c470ac26 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:57:37.913Z] + go version [2021-04-26T23:57:37.913Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T23:57:37.929Z] $ docker stop --time=1 e48ca199743db5990135b8267b92b267a58f3734199ae0a18ad09b69c470ac26 [2021-04-26T23:57:39.341Z] $ docker rm -f e48ca199743db5990135b8267b92b267a58f3734199ae0a18ad09b69c470ac26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:57:39.868Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T23:57:39.868Z] . [Pipeline] withDockerContainer [2021-04-26T23:57:39.968Z] prd-centos7-docker-4c-2g-1929 does not seem to be running inside a container [2021-04-26T23:57:40.015Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/218 -v /w/workspace/app-functions-sdk-go/218:/w/workspace/app-functions-sdk-go/218:rw,z -v /w/workspace/app-functions-sdk-go/218@tmp:/w/workspace/app-functions-sdk-go/218@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-04-26T23:57:40.844Z] $ docker top 707c9dc6184f9a9d2a92bd58fc8138e40c9ddf0a7a662563bd76504637585738 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:57:41.280Z] + make test [2021-04-26T23:57:41.280Z] make -C ./app-service-template build [2021-04-26T23:57:41.280Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-26T23:57:41.280Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-04-26T23:57:56.329Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-26T23:57:56.330Z] make -C ./app-service-template test [2021-04-26T23:57:56.330Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-26T23:57:56.330Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-26T23:58:04.121Z] ok new-app-service 0.020s coverage: 47.8% of statements [2021-04-26T23:58:04.121Z] ? new-app-service/config [no test files] [2021-04-26T23:58:04.121Z] ok new-app-service/functions 0.011s [2021-04-26T23:58:04.121Z] CGO_ENABLED=1 go vet ./... [2021-04-26T23:58:07.493Z] gofmt -l . [2021-04-26T23:58:07.493Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:58:07.493Z] ./bin/test-go-mod-tidy.sh [2021-04-26T23:58:07.759Z] ./bin/test-attribution-txt.sh [2021-04-26T23:58:08.344Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-26T23:58:08.344Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-26T23:58:08.934Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-26T23:58:11.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.025s coverage: 55.8% of statements [2021-04-26T23:58:11.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.025s coverage: 92.5% of statements [2021-04-26T23:58:11.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-26T23:58:11.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.042s coverage: 61.5% of statements [2021-04-26T23:58:11.561Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-26T23:58:11.561Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.014s [2021-04-26T23:58:11.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.042s coverage: 75.4% of statements [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-26T23:58:11.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.013s coverage: 97.0% of statements [2021-04-26T23:58:11.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T23:58:12.118Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.046s coverage: 10.5% of statements [2021-04-26T23:58:16.384Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.748s coverage: 78.4% of statements [2021-04-26T23:58:16.384Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-26T23:58:16.384Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.024s coverage: 18.4% of statements [2021-04-26T23:58:16.384Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.025s coverage: 27.3% of statements [2021-04-26T23:58:16.384Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-26T23:58:16.384Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-26T23:58:16.385Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.019s coverage: 71.7% of statements [2021-04-26T23:58:43.001Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements [2021-04-26T23:58:43.001Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.010s coverage: 94.4% of statements [2021-04-26T23:58:43.001Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-26T23:58:43.001Z] gofmt -l . [2021-04-26T23:58:43.001Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:58:43.002Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T23:58:43.020Z] $ docker stop --time=1 707c9dc6184f9a9d2a92bd58fc8138e40c9ddf0a7a662563bd76504637585738 [2021-04-26T23:58:44.672Z] $ docker rm -f 707c9dc6184f9a9d2a92bd58fc8138e40c9ddf0a7a662563bd76504637585738 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T23:58:45.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T23:58:45.620Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:58:46.387Z] ---> job-cost.sh [2021-04-26T23:58:46.387Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kTII [2021-04-26T23:59:01.339Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T23:59:28.019Z] lf-activate-venv(): INFO: Adding /tmp/venv-kTII/bin to PATH [2021-04-26T23:59:28.019Z] INFO: No Stack... [2021-04-26T23:59:28.975Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T23:59:29.923Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T23:59:30.233Z] + cut -d, -f6 [2021-04-26T23:59:30.233Z] + cat /w/workspace/app-functions-sdk-go/218/archives/cost.csv [Pipeline] lock [2021-04-26T23:59:30.317Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] [2021-04-26T23:59:30.330Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] did not exist. Created. [2021-04-26T23:59:30.330Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T23:59:30.660Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T23:59:30.797Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T23:59:30.812Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T23:59:33.586Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1930 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-26T23:59:33.605Z] Running in /w/workspace/app-functions-sdk-go/218 [Pipeline] { [Pipeline] checkout [2021-04-26T23:59:39.349Z] using credential edgex-jenkins-ssh [2021-04-26T23:59:39.373Z] Cloning the remote Git repository [2021-04-26T23:59:39.420Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:59:39.526Z] > git init /w/workspace/app-functions-sdk-go/218 # timeout=10 [2021-04-26T23:59:39.615Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:59:39.616Z] > git --version # timeout=10 [2021-04-26T23:59:39.630Z] > git --version # 'git version 2.17.1' [2021-04-26T23:59:39.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:59:39.689Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:59:43.302Z] Checking out Revision bacc8bdf9074b154c54986d9e77de2634ac23145 (master) [2021-04-26T23:59:42.717Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:59:42.742Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:59:42.768Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:59:42.797Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:59:42.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:59:42.810Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T23:59:43.316Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T23:59:43.335Z] > git checkout -f bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 [2021-04-26T23:59:47.565Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#806)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T23:59:48.950Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:59:49.367Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:59:49.703Z] + true [2021-04-26T23:59:49.703Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-04-26T23:59:52.599Z] ========================================================= [2021-04-26T23:59:52.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T23:59:52.599Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:59:52.942Z] + 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-04-26T23:59:53.928Z] Sending build context to Docker daemon 19.47MB [2021-04-26T23:59:53.928Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T23:59:53.928Z] Step 2/8 : FROM ${BASE} [2021-04-26T23:59:54.528Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T23:59:54.528Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T23:59:54.528Z] a4357932f1b6: Pulling fs layer [2021-04-26T23:59:54.528Z] 18c013af1878: Pulling fs layer [2021-04-26T23:59:54.528Z] 00ac8860ef70: Pulling fs layer [2021-04-26T23:59:54.528Z] 63d7cb157983: Pulling fs layer [2021-04-26T23:59:54.528Z] b116817d02f9: Pulling fs layer [2021-04-26T23:59:54.528Z] 745a02a5169b: Pulling fs layer [2021-04-26T23:59:54.528Z] 63d7cb157983: Waiting [2021-04-26T23:59:54.528Z] 745a02a5169b: Waiting [2021-04-26T23:59:54.528Z] 00ac8860ef70: Waiting [2021-04-26T23:59:54.528Z] 18c013af1878: Verifying Checksum [2021-04-26T23:59:54.528Z] 18c013af1878: Download complete [2021-04-26T23:59:54.528Z] a4357932f1b6: Verifying Checksum [2021-04-26T23:59:54.528Z] a4357932f1b6: Download complete [2021-04-26T23:59:54.528Z] 63d7cb157983: Verifying Checksum [2021-04-26T23:59:54.528Z] 63d7cb157983: Download complete [2021-04-26T23:59:54.528Z] b116817d02f9: Verifying Checksum [2021-04-26T23:59:54.528Z] b116817d02f9: Download complete [2021-04-26T23:59:54.528Z] 5f621e34cdf4: Download complete [2021-04-26T23:59:55.133Z] 5f621e34cdf4: Pull complete [2021-04-26T23:59:55.733Z] a4357932f1b6: Pull complete [2021-04-26T23:59:56.007Z] 18c013af1878: Pull complete [2021-04-26T23:59:56.605Z] 745a02a5169b: Verifying Checksum [2021-04-26T23:59:56.605Z] 745a02a5169b: Download complete [2021-04-26T23:59:58.050Z] 00ac8860ef70: Verifying Checksum [2021-04-26T23:59:58.050Z] 00ac8860ef70: Download complete [2021-04-27T00:00:08.237Z] 00ac8860ef70: Pull complete [2021-04-27T00:00:08.511Z] 63d7cb157983: Pull complete [2021-04-27T00:00:09.116Z] b116817d02f9: Pull complete [2021-04-27T00:00:13.465Z] 745a02a5169b: Pull complete [2021-04-27T00:00:13.465Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-27T00:00:13.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-27T00:00:13.465Z] ---> b7e6874047d6 [2021-04-27T00:00:13.465Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-27T00:00:13.465Z] 20.10.0: Pulling from library/docker [2021-04-27T00:00:13.465Z] a3cc7d3b244e: Pulling fs layer [2021-04-27T00:00:13.465Z] 02a3295e0d61: Pulling fs layer [2021-04-27T00:00:13.465Z] 0f4f2e6d8100: Pulling fs layer [2021-04-27T00:00:13.465Z] 330b718f631f: Pulling fs layer [2021-04-27T00:00:13.465Z] a93816041522: Pulling fs layer [2021-04-27T00:00:13.465Z] bdb6da89ff94: Pulling fs layer [2021-04-27T00:00:13.465Z] 2a70c0c122f4: Pulling fs layer [2021-04-27T00:00:13.465Z] 330b718f631f: Waiting [2021-04-27T00:00:13.465Z] a93816041522: Waiting [2021-04-27T00:00:13.465Z] bdb6da89ff94: Waiting [2021-04-27T00:00:13.465Z] 2a70c0c122f4: Waiting [2021-04-27T00:00:13.465Z] 0f4f2e6d8100: Verifying Checksum [2021-04-27T00:00:13.465Z] 0f4f2e6d8100: Download complete [2021-04-27T00:00:13.465Z] a3cc7d3b244e: Verifying Checksum [2021-04-27T00:00:13.465Z] a3cc7d3b244e: Download complete [2021-04-27T00:00:13.465Z] a93816041522: Verifying Checksum [2021-04-27T00:00:13.465Z] a93816041522: Download complete [2021-04-27T00:00:13.465Z] 02a3295e0d61: Verifying Checksum [2021-04-27T00:00:13.465Z] 02a3295e0d61: Download complete [2021-04-27T00:00:13.465Z] 2a70c0c122f4: Verifying Checksum [2021-04-27T00:00:13.465Z] 2a70c0c122f4: Download complete [2021-04-27T00:00:14.065Z] a3cc7d3b244e: Pull complete [2021-04-27T00:00:14.666Z] 02a3295e0d61: Pull complete [2021-04-27T00:00:14.941Z] 330b718f631f: Verifying Checksum [2021-04-27T00:00:14.941Z] 330b718f631f: Download complete [2021-04-27T00:00:14.941Z] 0f4f2e6d8100: Pull complete [2021-04-27T00:00:18.318Z] 330b718f631f: Pull complete [2021-04-27T00:00:18.318Z] a93816041522: Pull complete [2021-04-27T00:00:18.595Z] bdb6da89ff94: Pull complete [2021-04-27T00:00:18.869Z] 2a70c0c122f4: Pull complete [2021-04-27T00:00:18.869Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-27T00:00:19.145Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-27T00:00:25.892Z] ---> 97bd283b6eea [2021-04-27T00:00:25.892Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-27T00:00:25.892Z] ---> Running in 98ff125d28b5 [2021-04-27T00:00:25.892Z] Removing intermediate container 98ff125d28b5 [2021-04-27T00:00:25.892Z] ---> 93c4edb58087 [2021-04-27T00:00:25.892Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-27T00:00:25.892Z] ---> Running in ea90ffaf9f31 [2021-04-27T00:00:26.902Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-27T00:00:27.496Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-27T00:00:28.488Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-27T00:00:28.488Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-27T00:00:28.488Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-27T00:00:28.488Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-27T00:00:28.760Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-27T00:00:28.760Z] Executing busybox-1.31.1-r19.trigger [2021-04-27T00:00:28.760Z] OK: 144 MiB in 44 packages [2021-04-27T00:00:30.213Z] Removing intermediate container ea90ffaf9f31 [2021-04-27T00:00:30.213Z] ---> 0ee137384d6b [2021-04-27T00:00:30.213Z] Step 6/8 : WORKDIR /build [2021-04-27T00:00:30.486Z] ---> Running in cf01e81dafaf [2021-04-27T00:00:30.760Z] Removing intermediate container cf01e81dafaf [2021-04-27T00:00:30.760Z] ---> aeb389e3cf33 [2021-04-27T00:00:30.760Z] Step 7/8 : COPY go.mod . [2021-04-27T00:00:31.355Z] ---> cbb49e4d86f9 [2021-04-27T00:00:31.355Z] Step 8/8 : RUN go mod download [2021-04-27T00:00:31.626Z] ---> Running in afa2047298ce [2021-04-27T00:00:58.439Z] Removing intermediate container afa2047298ce [2021-04-27T00:00:58.439Z] ---> a0f193e3bd72 [2021-04-27T00:00:58.439Z] Successfully built a0f193e3bd72 [2021-04-27T00:00:58.439Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:00:58.786Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T00:00:58.786Z] . [Pipeline] withDockerContainer [2021-04-27T00:00:59.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-1930 does not seem to be running inside a container [2021-04-27T00:00:59.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/218 -v /w/workspace/app-functions-sdk-go/218:/w/workspace/app-functions-sdk-go/218:rw,z -v /w/workspace/app-functions-sdk-go/218@tmp:/w/workspace/app-functions-sdk-go/218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-27T00:01:00.649Z] $ docker top 0ca96fca8340c18f2f707aee2dc026362e58ff577b5dcebfc10f0c588ac14de3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T00:01:01.610Z] + go version [2021-04-27T00:01:01.610Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-27T00:01:01.634Z] $ docker stop --time=1 0ca96fca8340c18f2f707aee2dc026362e58ff577b5dcebfc10f0c588ac14de3 [2021-04-27T00:01:03.642Z] $ docker rm -f 0ca96fca8340c18f2f707aee2dc026362e58ff577b5dcebfc10f0c588ac14de3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:01:04.318Z] + docker inspect -f . ci-base-image-arm64 [2021-04-27T00:01:04.318Z] . [Pipeline] withDockerContainer [2021-04-27T00:01:04.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-1930 does not seem to be running inside a container [2021-04-27T00:01:04.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/218 -v /w/workspace/app-functions-sdk-go/218:/w/workspace/app-functions-sdk-go/218:rw,z -v /w/workspace/app-functions-sdk-go/218@tmp:/w/workspace/app-functions-sdk-go/218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-27T00:01:06.186Z] $ docker top 33e25dab2e3a0d394f8c40469ee1f7371405a867b23d31880661c0b64d184339 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T00:01:07.127Z] + make test [2021-04-27T00:01:07.127Z] make -C ./app-service-template build [2021-04-27T00:01:07.127Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-27T00:01:07.127Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-04-27T00:01:46.164Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-27T00:01:46.164Z] make -C ./app-service-template test [2021-04-27T00:01:46.164Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-27T00:01:46.164Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-27T00:02:04.530Z] ok new-app-service 0.037s coverage: 47.8% of statements [2021-04-27T00:02:04.530Z] ? new-app-service/config [no test files] [2021-04-27T00:02:05.962Z] ok new-app-service/functions 0.029s [2021-04-27T00:02:06.236Z] CGO_ENABLED=1 go vet ./... [2021-04-27T00:02:16.395Z] gofmt -l . [2021-04-27T00:02:16.395Z] [ "`gofmt -l .`" = "" ] [2021-04-27T00:02:16.395Z] ./bin/test-go-mod-tidy.sh [2021-04-27T00:02:16.674Z] ./bin/test-attribution-txt.sh [2021-04-27T00:02:18.138Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/218/app-service-template' [2021-04-27T00:02:18.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-27T00:02:19.582Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-27T00:02:27.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.094s coverage: 55.8% of statements [2021-04-27T00:02:27.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.045s coverage: 92.5% of statements [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-27T00:02:27.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.090s coverage: 61.5% of statements [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-27T00:02:27.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.044s [2021-04-27T00:02:27.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.073s coverage: 75.4% of statements [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-27T00:02:27.902Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.033s coverage: 97.0% of statements [2021-04-27T00:02:27.902Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-27T00:02:28.502Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.037s coverage: 10.5% of statements [2021-04-27T00:02:35.239Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.824s coverage: 78.4% of statements [2021-04-27T00:02:35.239Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-27T00:02:35.239Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 18.4% of statements [2021-04-27T00:02:35.239Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements [2021-04-27T00:02:35.239Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-27T00:02:35.239Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-27T00:02:35.239Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.037s coverage: 71.7% of statements [2021-04-27T00:03:02.008Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.080s coverage: 81.9% of statements [2021-04-27T00:03:02.008Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements [2021-04-27T00:03:02.008Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-27T00:03:04.006Z] gofmt -l . [2021-04-27T00:03:04.279Z] [ "`gofmt -l .`" = "" ] [2021-04-27T00:03:04.552Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-27T00:03:05.171Z] $ docker stop --time=1 33e25dab2e3a0d394f8c40469ee1f7371405a867b23d31880661c0b64d184339 [2021-04-27T00:03:07.230Z] $ docker rm -f 33e25dab2e3a0d394f8c40469ee1f7371405a867b23d31880661c0b64d184339 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-27T00:03:08.079Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-27T00:03:08.112Z] Warning: overwriting stash ‘coverage-report’ [2021-04-27T00:03:09.206Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:03:09.813Z] ---> job-cost.sh [2021-04-27T00:03:09.813Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OEEw [2021-04-27T00:03:48.830Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-27T00:05:10.545Z] lf-activate-venv(): INFO: Adding /tmp/venv-OEEw/bin to PATH [2021-04-27T00:05:10.545Z] INFO: No Stack... [2021-04-27T00:05:10.545Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-27T00:05:10.545Z] INFO: Archiving Costs [Pipeline] sh [2021-04-27T00:05:10.882Z] + cat /w/workspace/app-functions-sdk-go/218/archives/cost.csv [2021-04-27T00:05:10.882Z] + cut -d, -f6 [Pipeline] lock [2021-04-27T00:05:10.993Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] [2021-04-27T00:05:11.006Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] did not exist. Created. [2021-04-27T00:05:11.007Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T00:05:11.391Z] /w/workspace/app-functions-sdk-go/218@tmp/durable-aa5ac64c/script.sh: 1: /w/workspace/app-functions-sdk-go/218@tmp/durable-aa5ac64c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-27T00:05:11.731Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-27T00:05:11.751Z] Warning: overwriting stash ‘stack-cost’ [2021-04-27T00:05:11.903Z] Stashed 1 file(s) [Pipeline] } [2021-04-27T00:05:11.916Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-218-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-27T00:05:12.462Z] provisioning config files... [2021-04-27T00:05:12.475Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4296809149152983922tmp [Pipeline] { [Pipeline] sh [2021-04-27T00:05:12.796Z] + set +x [2021-04-27T00:05:12.796Z] + curl -s https://codecov.io/bash [2021-04-27T00:05:12.796Z] + bash -s -- [2021-04-27T00:05:13.061Z] [2021-04-27T00:05:13.061Z] _____ _ [2021-04-27T00:05:13.061Z] / ____| | | [2021-04-27T00:05:13.061Z] | | ___ __| | ___ ___ _____ __ [2021-04-27T00:05:13.061Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-27T00:05:13.061Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-27T00:05:13.061Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-27T00:05:13.061Z] Bash-1.0.2 [2021-04-27T00:05:13.061Z] [2021-04-27T00:05:13.061Z] [2021-04-27T00:05:13.061Z] ==> git version 2.24.3 found [2021-04-27T00:05:13.061Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-27T00:05:13.061Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-27T00:05:13.061Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-27T00:05:13.061Z] ==> Jenkins CI detected. [2021-04-27T00:05:13.061Z] project root: . [2021-04-27T00:05:13.061Z] --> token set from env [2021-04-27T00:05:13.061Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-27T00:05:13.061Z] ==> Running gcov in . (disable via -X gcov) [2021-04-27T00:05:13.061Z] ==> Python coveragepy not found [2021-04-27T00:05:13.061Z] ==> Searching for coverage reports in: [2021-04-27T00:05:13.061Z] + . [2021-04-27T00:05:13.061Z] -> Found 2 reports [2021-04-27T00:05:13.061Z] ==> Detecting git/mercurial file structure [2021-04-27T00:05:13.061Z] ==> Reading reports [2021-04-27T00:05:13.061Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-27T00:05:13.061Z] + ./coverage.out bytes=86827 [2021-04-27T00:05:13.061Z] ==> Appending adjustments [2021-04-27T00:05:13.061Z] https://docs.codecov.io/docs/fixing-reports [2021-04-27T00:05:13.641Z] + Found adjustments [2021-04-27T00:05:13.641Z] ==> Gzipping contents [2021-04-27T00:05:13.641Z] 16K /tmp/codecov.dHeLWD.gz [2021-04-27T00:05:13.641Z] ==> Uploading reports [2021-04-27T00:05:13.641Z] url: https://codecov.io [2021-04-27T00:05:13.641Z] query: branch=master&commit=bacc8bdf9074b154c54986d9e77de2634ac23145&build=218&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F218%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-27T00:05:13.641Z] -> Pinging Codecov [2021-04-27T00:05:13.641Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=bacc8bdf9074b154c54986d9e77de2634ac23145&build=218&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F218%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-27T00:05:14.216Z] -> Uploading to [2021-04-27T00:05:14.216Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-27/3D8B5DFFC46A037C893635FACE044666/bacc8bdf9074b154c54986d9e77de2634ac23145/5e5b0f53-8b04-41b5-9c69-5c0a3aee1865.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T000514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=34a14243959ce514cc18ee8384fc797924debb45c356b9a912843aaaf5467215 [2021-04-27T00:05:14.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-27T00:05:14.216Z] Dload Upload Total Spent Left Speed [2021-04-27T00:05:14.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15291 0 0 100 15291 0 33307 --:--:-- --:--:-- --:--:-- 33313 100 15291 0 0 100 15291 0 33294 --:--:-- --:--:-- --:--:-- 33241 [2021-04-27T00:05:14.791Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/bacc8bdf9074b154c54986d9e77de2634ac23145 [Pipeline] } [2021-04-27T00:05:14.802Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-27T00:05:15.459Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-27T00:05:15.492Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:05:15.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-27T00:05:15.810Z] [2021-04-27T00:05:15.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:05:16.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-27T00:05:16.148Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-27T00:05:16.148Z] 188c0c94c7c5: Pulling fs layer [2021-04-27T00:05:16.148Z] 0ef7d3d256c8: Pulling fs layer [2021-04-27T00:05:16.148Z] de9db76c5a1d: Pulling fs layer [2021-04-27T00:05:16.148Z] 0eba1c9be4d2: Pulling fs layer [2021-04-27T00:05:16.148Z] 0d57e429df01: Pulling fs layer [2021-04-27T00:05:16.148Z] 4e4be7b47b0d: Pulling fs layer [2021-04-27T00:05:16.148Z] e1f770b5df2f: Pulling fs layer [2021-04-27T00:05:16.148Z] 85a0685a4137: Pulling fs layer [2021-04-27T00:05:16.148Z] 0eba1c9be4d2: Waiting [2021-04-27T00:05:16.148Z] 4e4be7b47b0d: Waiting [2021-04-27T00:05:16.148Z] e1f770b5df2f: Waiting [2021-04-27T00:05:16.148Z] 0d57e429df01: Waiting [2021-04-27T00:05:16.148Z] 85a0685a4137: Waiting [2021-04-27T00:05:16.148Z] 0ef7d3d256c8: Verifying Checksum [2021-04-27T00:05:16.148Z] 0ef7d3d256c8: Download complete [2021-04-27T00:05:16.148Z] 0d57e429df01: Download complete [2021-04-27T00:05:16.148Z] 4e4be7b47b0d: Verifying Checksum [2021-04-27T00:05:16.148Z] 4e4be7b47b0d: Download complete [2021-04-27T00:05:16.148Z] 188c0c94c7c5: Verifying Checksum [2021-04-27T00:05:16.148Z] 188c0c94c7c5: Download complete [2021-04-27T00:05:16.731Z] 188c0c94c7c5: Pull complete [2021-04-27T00:05:16.731Z] 0ef7d3d256c8: Pull complete [2021-04-27T00:05:16.996Z] de9db76c5a1d: Pull complete [2021-04-27T00:05:17.575Z] e1f770b5df2f: Verifying Checksum [2021-04-27T00:05:17.575Z] e1f770b5df2f: Download complete [2021-04-27T00:05:19.636Z] 0eba1c9be4d2: Verifying Checksum [2021-04-27T00:05:19.636Z] 0eba1c9be4d2: Download complete [2021-04-27T00:05:19.636Z] 85a0685a4137: Verifying Checksum [2021-04-27T00:05:19.636Z] 85a0685a4137: Download complete [2021-04-27T00:05:26.322Z] 0eba1c9be4d2: Pull complete [2021-04-27T00:05:26.322Z] 0d57e429df01: Pull complete [2021-04-27T00:05:26.322Z] 4e4be7b47b0d: Pull complete [2021-04-27T00:05:28.256Z] e1f770b5df2f: Pull complete [2021-04-27T00:05:36.463Z] 85a0685a4137: Pull complete [2021-04-27T00:05:36.463Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-27T00:05:36.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-27T00:05:36.463Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-27T00:05:36.729Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-27T00:05:36.780Z] $ 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-04-27T00:05:37.984Z] $ docker top a7785aa9d3bb9154941d76bf29d3d53eb2edb756813984f5ba7f27497d785738 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-27T00:05:38.137Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-27T00:05:38.436Z] + set -o pipefail [2021-04-27T00:05:38.436Z] + snyk monitor '--org=edgex-jenkins' [2021-04-27T00:05:46.616Z] [2021-04-27T00:05:46.616Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-27T00:05:46.616Z] [2021-04-27T00:05:46.616Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/1143d2d8-1053-410d-b908-406b7e13e112 [2021-04-27T00:05:46.616Z] [2021-04-27T00:05:46.616Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-27T00:05:46.616Z] [2021-04-27T00:05:46.616Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-27T00:05:46.616Z] [2021-04-27T00:05:47.564Z] [Pipeline] } [2021-04-27T00:05:47.583Z] $ docker stop --time=1 a7785aa9d3bb9154941d76bf29d3d53eb2edb756813984f5ba7f27497d785738 [2021-04-27T00:05:51.076Z] $ docker rm -f a7785aa9d3bb9154941d76bf29d3d53eb2edb756813984f5ba7f27497d785738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-04-27T00:05:52.063Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-27T00:05:52.085Z] provisioning config files... [2021-04-27T00:05:52.096Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5999750467360523003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:05:52.413Z] --> edgex-publish-swagger.sh [2021-04-27T00:05:52.413Z] === Publish openapi/v2 API === [2021-04-27T00:05:52.413Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-27T00:05:52.413Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-27T00:05:52.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-27T00:05:52.413Z] Dload Upload Total Spent Left Speed [2021-04-27T00:05:53.621Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 12835 0:00:01 0:00:01 --:--:-- 12846 [2021-04-27T00:05:53.621Z] [2021-04-27T00:05:53.621Z] [Pipeline] } [2021-04-27T00:05:53.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-27T00:05:54.111Z] + git log --format=format:%s -1 bacc8bdf9074b154c54986d9e77de2634ac23145 [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:05:54.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T00:05:54.424Z] . [Pipeline] withDockerContainer [2021-04-27T00:05:54.537Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-27T00:05:54.585Z] $ 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-04-27T00:05:55.425Z] $ docker top 2c973eaf67b3728a839366f3e5087e924cea814f4f47eb0cc3667f7d00075ba6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T00:05:55.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T00:05:55.623Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T00:05:55.854Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T00:05:55.858Z] $ docker exec 2c973eaf67b3728a839366f3e5087e924cea814f4f47eb0cc3667f7d00075ba6 ssh-agent [2021-04-27T00:05:56.056Z] SSH_AUTH_SOCK=/tmp/ssh-E6v56Ioxsnp5/agent.11 [2021-04-27T00:05:56.056Z] SSH_AGENT_PID=16 [2021-04-27T00:05:56.062Z] Running ssh-add (command line suppressed) [2021-04-27T00:05:56.194Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5226228824834645811.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5226228824834645811.key) [2021-04-27T00:05:56.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T00:05:56.555Z] + git semver tag [2021-04-27T00:05:56.555Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T00:05:56.555Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-27T00:05:56.555Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-27T00:05:56.555Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T00:05:56.555Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T00:05:56.555Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T00:05:56.555Z] # $SEMVER_BRANCH = master [2021-04-27T00:05:56.555Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-27T00:05:56.555Z] # bacc8bdf9074b154c54986d9e77de2634ac23145 HEAD [2021-04-27T00:05:56.818Z] # -> Force: false [2021-04-27T00:05:56.818Z] # 4dd4a28925df785a5910714877876e7b367d6713 refs/tags/v2.0.0-dev.48 [Pipeline] } [2021-04-27T00:05:56.832Z] $ docker exec --env ******** --env ******** 2c973eaf67b3728a839366f3e5087e924cea814f4f47eb0cc3667f7d00075ba6 ssh-agent -k [2021-04-27T00:05:56.976Z] unset SSH_AUTH_SOCK; [2021-04-27T00:05:56.977Z] unset SSH_AGENT_PID; [2021-04-27T00:05:56.977Z] echo Agent pid 16 killed; [2021-04-27T00:05:57.038Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T00:05:57.374Z] + git semver [Pipeline] } [2021-04-27T00:05:57.394Z] $ docker stop --time=1 2c973eaf67b3728a839366f3e5087e924cea814f4f47eb0cc3667f7d00075ba6 [2021-04-27T00:05:58.788Z] $ docker rm -f 2c973eaf67b3728a839366f3e5087e924cea814f4f47eb0cc3667f7d00075ba6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:05:59.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-27T00:05:59.329Z] [2021-04-27T00:05:59.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:05:59.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-27T00:05:59.646Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-27T00:05:59.646Z] ab5ef0e58194: Pulling fs layer [2021-04-27T00:05:59.646Z] 9712f1f96733: Pulling fs layer [2021-04-27T00:05:59.646Z] 63f879dbbcfc: Pulling fs layer [2021-04-27T00:05:59.646Z] 0d9ebad4ef96: Pulling fs layer [2021-04-27T00:05:59.646Z] e9a5061849ea: Pulling fs layer [2021-04-27T00:05:59.646Z] d747dcd14b5f: Pulling fs layer [2021-04-27T00:05:59.646Z] 2de7ff778b66: Pulling fs layer [2021-04-27T00:05:59.646Z] e9a5061849ea: Waiting [2021-04-27T00:05:59.646Z] d747dcd14b5f: Waiting [2021-04-27T00:05:59.646Z] 2de7ff778b66: Waiting [2021-04-27T00:05:59.646Z] 0d9ebad4ef96: Waiting [2021-04-27T00:05:59.646Z] 9712f1f96733: Verifying Checksum [2021-04-27T00:05:59.646Z] 9712f1f96733: Download complete [2021-04-27T00:06:01.056Z] 63f879dbbcfc: Verifying Checksum [2021-04-27T00:06:01.056Z] 63f879dbbcfc: Download complete [2021-04-27T00:06:01.322Z] e9a5061849ea: Verifying Checksum [2021-04-27T00:06:01.322Z] e9a5061849ea: Download complete [2021-04-27T00:06:01.322Z] d747dcd14b5f: Verifying Checksum [2021-04-27T00:06:01.322Z] d747dcd14b5f: Download complete [2021-04-27T00:06:01.585Z] 0d9ebad4ef96: Verifying Checksum [2021-04-27T00:06:01.585Z] 0d9ebad4ef96: Download complete [2021-04-27T00:06:01.585Z] 2de7ff778b66: Verifying Checksum [2021-04-27T00:06:01.585Z] 2de7ff778b66: Download complete [2021-04-27T00:06:01.849Z] ab5ef0e58194: Download complete [2021-04-27T00:06:07.186Z] ab5ef0e58194: Pull complete [2021-04-27T00:06:07.186Z] 9712f1f96733: Pull complete [2021-04-27T00:06:09.756Z] 63f879dbbcfc: Pull complete [2021-04-27T00:06:16.415Z] 0d9ebad4ef96: Pull complete [2021-04-27T00:06:17.813Z] e9a5061849ea: Pull complete [2021-04-27T00:06:17.813Z] d747dcd14b5f: Pull complete [2021-04-27T00:06:20.390Z] 2de7ff778b66: Pull complete [2021-04-27T00:06:20.390Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-27T00:06:20.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-27T00:06:20.390Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-27T00:06:20.612Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-27T00:06:20.663Z] $ 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-04-27T00:06:24.748Z] $ docker top 00f4f850523a6e2f439bc433ba3337a1ddc84522cf5a4e17e1039b7b46bce417 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-27T00:06:24.983Z] provisioning config files... [2021-04-27T00:06:24.994Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7264720398357466254tmp [2021-04-27T00:06:25.011Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2226890011893413978tmp [2021-04-27T00:06:25.029Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6791426477526715706tmp [Pipeline] { [Pipeline] echo [2021-04-27T00:06:25.052Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:06:25.358Z] ---> sigul-configuration.sh [2021-04-27T00:06:25.358Z] gpg: directory `/root/.gnupg' created [2021-04-27T00:06:25.358Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-27T00:06:25.358Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-27T00:06:25.358Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-27T00:06:25.358Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-27T00:06:25.358Z] gpg: CAST5 encrypted data [2021-04-27T00:06:25.620Z] gpg: encrypted with 1 passphrase [2021-04-27T00:06:25.621Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-27T00:06:25.925Z] + mkdir /home/jenkins [2021-04-27T00:06:25.925Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-27T00:06:26.225Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-04-27T00:06:26.256Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:06:26.556Z] ---> sigul-install.sh [2021-04-27T00:06:33.169Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-27T00:06:33.486Z] + git tag --list [2021-04-27T00:06:33.486Z] v0.1.0 [2021-04-27T00:06:33.486Z] v0.1.1 [2021-04-27T00:06:33.486Z] v1.0.0 [2021-04-27T00:06:33.486Z] v1.1.0 [2021-04-27T00:06:33.486Z] v1.2.0 [2021-04-27T00:06:33.486Z] v1.3.0 [2021-04-27T00:06:33.486Z] v1.3.1 [2021-04-27T00:06:33.486Z] v1.3.1-dev.1 [2021-04-27T00:06:33.486Z] v1.3.2-dev.1 [2021-04-27T00:06:33.486Z] v2.0.0-dev.1 [2021-04-27T00:06:33.486Z] v2.0.0-dev.10 [2021-04-27T00:06:33.486Z] v2.0.0-dev.11 [2021-04-27T00:06:33.486Z] v2.0.0-dev.12 [2021-04-27T00:06:33.486Z] v2.0.0-dev.13 [2021-04-27T00:06:33.486Z] v2.0.0-dev.14 [2021-04-27T00:06:33.486Z] v2.0.0-dev.15 [2021-04-27T00:06:33.486Z] v2.0.0-dev.16 [2021-04-27T00:06:33.486Z] v2.0.0-dev.17 [2021-04-27T00:06:33.486Z] v2.0.0-dev.18 [2021-04-27T00:06:33.486Z] v2.0.0-dev.19 [2021-04-27T00:06:33.486Z] v2.0.0-dev.2 [2021-04-27T00:06:33.486Z] v2.0.0-dev.20 [2021-04-27T00:06:33.486Z] v2.0.0-dev.21 [2021-04-27T00:06:33.486Z] v2.0.0-dev.22 [2021-04-27T00:06:33.486Z] v2.0.0-dev.23 [2021-04-27T00:06:33.486Z] v2.0.0-dev.24 [2021-04-27T00:06:33.486Z] v2.0.0-dev.25 [2021-04-27T00:06:33.486Z] v2.0.0-dev.26 [2021-04-27T00:06:33.486Z] v2.0.0-dev.27 [2021-04-27T00:06:33.486Z] v2.0.0-dev.28 [2021-04-27T00:06:33.486Z] v2.0.0-dev.29 [2021-04-27T00:06:33.486Z] v2.0.0-dev.3 [2021-04-27T00:06:33.486Z] v2.0.0-dev.30 [2021-04-27T00:06:33.486Z] v2.0.0-dev.31 [2021-04-27T00:06:33.486Z] v2.0.0-dev.32 [2021-04-27T00:06:33.486Z] v2.0.0-dev.33 [2021-04-27T00:06:33.486Z] v2.0.0-dev.34 [2021-04-27T00:06:33.486Z] v2.0.0-dev.35 [2021-04-27T00:06:33.486Z] v2.0.0-dev.36 [2021-04-27T00:06:33.486Z] v2.0.0-dev.37 [2021-04-27T00:06:33.486Z] v2.0.0-dev.38 [2021-04-27T00:06:33.486Z] v2.0.0-dev.39 [2021-04-27T00:06:33.486Z] v2.0.0-dev.4 [2021-04-27T00:06:33.486Z] v2.0.0-dev.40 [2021-04-27T00:06:33.486Z] v2.0.0-dev.41 [2021-04-27T00:06:33.486Z] v2.0.0-dev.42 [2021-04-27T00:06:33.486Z] v2.0.0-dev.43 [2021-04-27T00:06:33.486Z] v2.0.0-dev.44 [2021-04-27T00:06:33.486Z] v2.0.0-dev.45 [2021-04-27T00:06:33.486Z] v2.0.0-dev.46 [2021-04-27T00:06:33.486Z] v2.0.0-dev.47 [2021-04-27T00:06:33.486Z] v2.0.0-dev.48 [2021-04-27T00:06:33.486Z] v2.0.0-dev.5 [2021-04-27T00:06:33.486Z] v2.0.0-dev.6 [2021-04-27T00:06:33.486Z] v2.0.0-dev.7 [2021-04-27T00:06:33.486Z] v2.0.0-dev.8 [2021-04-27T00:06:33.486Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-27T00:06:33.787Z] + lftools sign git-tag v2.0.0-dev.48 [2021-04-27T00:06:35.181Z] Signing Git tag with Sigul... [2021-04-27T00:06:35.181Z] Signing v2.0.0-dev.48 [Pipeline] echo [2021-04-27T00:06:36.585Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:06:36.888Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-27T00:06:36.898Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-27T00:06:36.929Z] $ docker stop --time=1 00f4f850523a6e2f439bc433ba3337a1ddc84522cf5a4e17e1039b7b46bce417 [2021-04-27T00:06:39.148Z] $ docker rm -f 00f4f850523a6e2f439bc433ba3337a1ddc84522cf5a4e17e1039b7b46bce417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:06:39.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T00:06:39.751Z] . [Pipeline] withDockerContainer [2021-04-27T00:06:39.868Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-27T00:06:39.916Z] $ 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-04-27T00:06:40.658Z] $ docker top 22062663de209a88ff2302f9e0ea83bb5884addb72e186e7ab6293c7652cad34 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T00:06:40.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T00:06:40.822Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T00:06:41.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T00:06:41.040Z] $ docker exec 22062663de209a88ff2302f9e0ea83bb5884addb72e186e7ab6293c7652cad34 ssh-agent [2021-04-27T00:06:41.235Z] SSH_AUTH_SOCK=/tmp/ssh-umFksKJutPVM/agent.11 [2021-04-27T00:06:41.235Z] SSH_AGENT_PID=16 [2021-04-27T00:06:41.242Z] Running ssh-add (command line suppressed) [2021-04-27T00:06:41.398Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1389216267609016595.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1389216267609016595.key) [2021-04-27T00:06:41.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T00:06:41.770Z] + git semver bump pre [2021-04-27T00:06:41.770Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T00:06:41.770Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-27T00:06:41.770Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-27T00:06:41.770Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T00:06:41.770Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T00:06:41.770Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T00:06:41.770Z] # $SEMVER_BRANCH = master [2021-04-27T00:06:41.770Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-27T00:06:41.770Z] 2.0.0-dev.49 [Pipeline] } [2021-04-27T00:06:41.783Z] $ docker exec --env ******** --env ******** 22062663de209a88ff2302f9e0ea83bb5884addb72e186e7ab6293c7652cad34 ssh-agent -k [2021-04-27T00:06:41.913Z] unset SSH_AUTH_SOCK; [2021-04-27T00:06:41.913Z] unset SSH_AGENT_PID; [2021-04-27T00:06:41.913Z] echo Agent pid 16 killed; [2021-04-27T00:06:41.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T00:06:42.305Z] + git semver [Pipeline] } [2021-04-27T00:06:42.324Z] $ docker stop --time=1 22062663de209a88ff2302f9e0ea83bb5884addb72e186e7ab6293c7652cad34 [2021-04-27T00:06:43.756Z] $ docker rm -f 22062663de209a88ff2302f9e0ea83bb5884addb72e186e7ab6293c7652cad34 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:06:44.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-27T00:06:44.269Z] . [Pipeline] withDockerContainer [2021-04-27T00:06:44.369Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-27T00:06:44.417Z] $ 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-04-27T00:06:45.272Z] $ docker top 0f3ccdf6c3ddbf5395de8c4fd327e531afb0e08c8be3246c883af1229d348884 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-27T00:06:45.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-27T00:06:45.469Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-27T00:06:45.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-27T00:06:45.713Z] $ docker exec 0f3ccdf6c3ddbf5395de8c4fd327e531afb0e08c8be3246c883af1229d348884 ssh-agent [2021-04-27T00:06:45.899Z] SSH_AUTH_SOCK=/tmp/ssh-O3dxUHiNtuf7/agent.11 [2021-04-27T00:06:45.899Z] SSH_AGENT_PID=16 [2021-04-27T00:06:45.907Z] Running ssh-add (command line suppressed) [2021-04-27T00:06:46.048Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1079135134212607069.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1079135134212607069.key) [2021-04-27T00:06:46.117Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-27T00:06:46.424Z] + git semver push [2021-04-27T00:06:46.424Z] # -> Open(): unable to determine branch for HEAD [2021-04-27T00:06:46.424Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-27T00:06:46.424Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-27T00:06:46.424Z] # $SEMVER_REMOTE_NAME = origin [2021-04-27T00:06:46.424Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-27T00:06:46.424Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-27T00:06:46.424Z] # $SEMVER_BRANCH = master [2021-04-27T00:06:46.424Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-27T00:06:51.740Z] $ docker exec --env ******** --env ******** 0f3ccdf6c3ddbf5395de8c4fd327e531afb0e08c8be3246c883af1229d348884 ssh-agent -k [2021-04-27T00:06:51.868Z] unset SSH_AUTH_SOCK; [2021-04-27T00:06:51.869Z] unset SSH_AGENT_PID; [2021-04-27T00:06:51.869Z] echo Agent pid 16 killed; [2021-04-27T00:06:51.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-27T00:06:52.259Z] + git semver [Pipeline] } [2021-04-27T00:06:52.277Z] $ docker stop --time=1 0f3ccdf6c3ddbf5395de8c4fd327e531afb0e08c8be3246c883af1229d348884 [2021-04-27T00:06:53.654Z] $ docker rm -f 0f3ccdf6c3ddbf5395de8c4fd327e531afb0e08c8be3246c883af1229d348884 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:06:54.719Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:06:55.297Z] ---> package-listing.sh [2021-04-27T00:06:55.297Z] ++ facter osfamily [2021-04-27T00:06:55.297Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-27T00:06:55.297Z] + OS_FAMILY=redhat [2021-04-27T00:06:55.297Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-27T00:06:55.297Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-27T00:06:55.297Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-27T00:06:55.298Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-27T00:06:55.298Z] + PACKAGES=/tmp/packages_start.txt [2021-04-27T00:06:55.298Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-27T00:06:55.298Z] + PACKAGES=/tmp/packages_end.txt [2021-04-27T00:06:55.298Z] + case "${OS_FAMILY}" in [2021-04-27T00:06:55.298Z] + rpm -qa [2021-04-27T00:06:55.298Z] + sort [2021-04-27T00:07:00.628Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-27T00:07:00.628Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-27T00:07:00.628Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-27T00:07:00.628Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-27T00:07:00.628Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-27T00:07:00.628Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-04-27T00:07:00.643Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-27T00:07:00.943Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:07:01.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T00:07:01.253Z] [2021-04-27T00:07:01.253Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-27T00:07:01.578Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T00:07:01.578Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-27T00:07:01.578Z] df20fa9351a1: Pulling fs layer [2021-04-27T00:07:01.578Z] 36b3adc4ff6f: Pulling fs layer [2021-04-27T00:07:01.578Z] 8ad3a11d3b57: Pulling fs layer [2021-04-27T00:07:01.578Z] 46f8f816bc3b: Pulling fs layer [2021-04-27T00:07:01.578Z] 93b61091891f: Pulling fs layer [2021-04-27T00:07:01.578Z] 93b9cdb0e59b: Pulling fs layer [2021-04-27T00:07:01.578Z] 5e14af77c1be: Pulling fs layer [2021-04-27T00:07:01.578Z] 01666e4c0597: Pulling fs layer [2021-04-27T00:07:01.578Z] aa168da1d23b: Pulling fs layer [2021-04-27T00:07:01.578Z] 46f8f816bc3b: Waiting [2021-04-27T00:07:01.578Z] 93b61091891f: Waiting [2021-04-27T00:07:01.578Z] 93b9cdb0e59b: Waiting [2021-04-27T00:07:01.578Z] 5e14af77c1be: Waiting [2021-04-27T00:07:01.578Z] 01666e4c0597: Waiting [2021-04-27T00:07:01.578Z] aa168da1d23b: Waiting [2021-04-27T00:07:01.578Z] 36b3adc4ff6f: Verifying Checksum [2021-04-27T00:07:01.578Z] 36b3adc4ff6f: Download complete [2021-04-27T00:07:01.578Z] 46f8f816bc3b: Verifying Checksum [2021-04-27T00:07:01.578Z] 46f8f816bc3b: Download complete [2021-04-27T00:07:01.578Z] df20fa9351a1: Verifying Checksum [2021-04-27T00:07:01.578Z] df20fa9351a1: Download complete [2021-04-27T00:07:01.578Z] 93b9cdb0e59b: Verifying Checksum [2021-04-27T00:07:01.578Z] 93b9cdb0e59b: Download complete [2021-04-27T00:07:01.578Z] 5e14af77c1be: Download complete [2021-04-27T00:07:01.843Z] 01666e4c0597: Verifying Checksum [2021-04-27T00:07:01.843Z] 01666e4c0597: Download complete [2021-04-27T00:07:01.843Z] 93b61091891f: Verifying Checksum [2021-04-27T00:07:01.843Z] 93b61091891f: Download complete [2021-04-27T00:07:01.844Z] 8ad3a11d3b57: Verifying Checksum [2021-04-27T00:07:01.844Z] 8ad3a11d3b57: Download complete [2021-04-27T00:07:02.427Z] df20fa9351a1: Pull complete [2021-04-27T00:07:02.691Z] 36b3adc4ff6f: Pull complete [2021-04-27T00:07:04.104Z] aa168da1d23b: Verifying Checksum [2021-04-27T00:07:04.104Z] aa168da1d23b: Download complete [2021-04-27T00:07:04.372Z] 8ad3a11d3b57: Pull complete [2021-04-27T00:07:04.635Z] 46f8f816bc3b: Pull complete [2021-04-27T00:07:04.899Z] 93b61091891f: Pull complete [2021-04-27T00:07:05.162Z] 93b9cdb0e59b: Pull complete [2021-04-27T00:07:05.162Z] 5e14af77c1be: Pull complete [2021-04-27T00:07:05.739Z] 01666e4c0597: Pull complete [2021-04-27T00:07:13.964Z] aa168da1d23b: Pull complete [2021-04-27T00:07:13.964Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-27T00:07:13.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-27T00:07:13.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-27T00:07:14.179Z] prd-centos7-docker-4c-2g-1927 does not seem to be running inside a container [2021-04-27T00:07:14.238Z] $ 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-04-27T00:07:17.547Z] $ docker top cb740be010c5c73b4e114bae9e95bf425b9659d77e6f2d557803f210ab4bd7c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-27T00:07:17.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-27T00:07:18.279Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-27T00:07:18.578Z] + ls /var/log/sa-host [2021-04-27T00:07:18.578Z] + sadf -c /var/log/sa-host/sa23 [2021-04-27T00:07:18.578Z] file_magic: OK [2021-04-27T00:07:18.578Z] HZ: Using current value: 100 [2021-04-27T00:07:18.578Z] file_header: OK [2021-04-27T00:07:18.578Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-27T00:07:18.578Z] Statistics: [2021-04-27T00:07:18.578Z] Hnuu...uuuununununu... [2021-04-27T00:07:18.578Z] File successfully converted to sysstat format version 12.2.1 [2021-04-27T00:07:18.578Z] + sadf -c /var/log/sa-host/sa26 [2021-04-27T00:07:18.578Z] file_magic: OK [2021-04-27T00:07:18.578Z] HZ: Using current value: 100 [2021-04-27T00:07:18.579Z] file_header: OK [2021-04-27T00:07:18.579Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-27T00:07:18.579Z] Statistics: [2021-04-27T00:07:18.579Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-27T00:07:18.579Z] File successfully converted to sysstat format version 12.2.1 [2021-04-27T00:07:18.579Z] + sadf -c /var/log/sa-host/sa27 [2021-04-27T00:07:18.579Z] file_magic: OK [2021-04-27T00:07:18.579Z] HZ: Using current value: 100 [2021-04-27T00:07:18.579Z] file_header: OK [2021-04-27T00:07:18.579Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-27T00:07:18.579Z] Statistics: [2021-04-27T00:07:18.579Z] Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-27T00:07:18.579Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-27T00:07:19.229Z] provisioning config files... [2021-04-27T00:07:19.245Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4989179129563208427tmp [Pipeline] { [Pipeline] echo [2021-04-27T00:07:19.270Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:07:19.568Z] ---> create-netrc.sh [Pipeline] } [2021-04-27T00:07:19.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-27T00:07:19.605Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:07:19.910Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-27T00:07:19.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:07:20.292Z] ---> sudo-logs.sh [2021-04-27T00:07:20.292Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-27T00:07:20.333Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:07:20.670Z] ---> job-cost.sh [2021-04-27T00:07:20.670Z] lf-activate-venv: SKIPPING [2021-04-27T00:07:20.670Z] DEBUG: total: 0.20999999344348907 [2021-04-27T00:07:20.670Z] INFO: Retrieving Stack Cost... [2021-04-27T00:07:23.243Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-27T00:07:23.243Z] INFO: Archiving Costs [Pipeline] echo [2021-04-27T00:07:23.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-27T00:07:23.581Z] ---> logs-deploy.sh [2021-04-27T00:07:23.581Z] lf-activate-venv: SKIPPING [2021-04-27T00:07:23.581Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/218 [2021-04-27T00:07:23.581Z] INFO: archiving workspace using pattern(s): [2021-04-27T00:07:25.509Z] Archives upload complete. [2021-04-27T00:07:25.509Z] INFO: archiving logs to Nexus