Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b 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-1894 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#800)" > git rev-list --no-walk 93c26ee21773a08251a9c88cc59f9e9b66bbc9bd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T23:23:04.794Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T23:23:04.907Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T23:23:04.935Z] ========================================================= [2021-04-26T23:23:04.935Z] EdgeX Global Pipelines Version Info [2021-04-26T23:23:04.935Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:23:06.494Z] ------------------- [2021-04-26T23:23:06.494Z] stable info: [2021-04-26T23:23:06.494Z] ------------------- [2021-04-26T23:23:06.494Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T23:23:06.494Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T23:23:06.494Z] Message: update stable to v1.0.186 [2021-04-26T23:23:07.440Z] ------------------- [2021-04-26T23:23:07.440Z] experimental info: [2021-04-26T23:23:07.440Z] ------------------- [2021-04-26T23:23:07.440Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T23:23:07.440Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T23:23:07.440Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T23:23:07.557Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-04-26T23:23:07.591Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-04-26T23:23:07.613Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T23:23:07.636Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T23:23:07.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T23:23:07.683Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T23:23:07.706Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T23:23:07.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T23:23:07.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-04-26T23:23:07.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T23:23:07.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T23:23:07.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-04-26T23:23:07.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T23:23:07.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T23:23:07.916Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:23:07.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:23:07.964Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:23:07.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T23:23:08.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T23:23:08.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T23:23:08.077Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T23:23:08.101Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-04-26T23:23:08.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T23:23:08.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T23:23:08.171Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-04-26T23:23:08.194Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T23:23:08.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-04-26T23:23:08.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-04-26T23:23:08.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-04-26T23:23:08.287Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b [Pipeline] echo [2021-04-26T23:23:08.310Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 013d339 [Pipeline] echo [2021-04-26T23:23:08.333Z] [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:23:08.748Z] + git log --format=format:%s -1 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b [Pipeline] echo [2021-04-26T23:23:08.826Z] GIT_COMMIT: 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#800) [Pipeline] echo [2021-04-26T23:23:08.859Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:23:09.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:23:09.694Z] [2021-04-26T23:23:09.694Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:23:10.020Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:23:10.020Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T23:23:10.020Z] 31603596830f: Pulling fs layer [2021-04-26T23:23:10.020Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T23:23:10.020Z] 6ca5941a6612: Pulling fs layer [2021-04-26T23:23:10.020Z] ecc8261a40a4: Pulling fs layer [2021-04-26T23:23:10.020Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T23:23:10.020Z] 2a8b12db71e7: Download complete [2021-04-26T23:23:10.290Z] 31603596830f: Verifying Checksum [2021-04-26T23:23:10.290Z] 31603596830f: Download complete [2021-04-26T23:23:10.290Z] ecc8261a40a4: Verifying Checksum [2021-04-26T23:23:10.290Z] ecc8261a40a4: Download complete [2021-04-26T23:23:10.290Z] 6ca5941a6612: Verifying Checksum [2021-04-26T23:23:10.290Z] 6ca5941a6612: Download complete [2021-04-26T23:23:10.553Z] 31603596830f: Pull complete [2021-04-26T23:23:10.817Z] 2a8b12db71e7: Pull complete [2021-04-26T23:23:11.392Z] 6ca5941a6612: Pull complete [2021-04-26T23:23:11.658Z] ecc8261a40a4: Pull complete [2021-04-26T23:23:11.658Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T23:23:11.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:23:11.920Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T23:23:12.033Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:23:12.085Z] $ 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:23:14.051Z] $ docker top e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T23:23:14.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:23:14.219Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:23:14.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:23:14.465Z] $ docker exec e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 ssh-agent [2021-04-26T23:23:14.643Z] SSH_AUTH_SOCK=/tmp/ssh-l4vEpa5NQU21/agent.12 [2021-04-26T23:23:14.643Z] SSH_AGENT_PID=17 [2021-04-26T23:23:14.653Z] Running ssh-add (command line suppressed) [2021-04-26T23:23:14.786Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1420733378886757197.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1420733378886757197.key) [2021-04-26T23:23:14.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:23:15.148Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T23:23:15.167Z] $ docker exec --env ******** --env ******** e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 ssh-agent -k [2021-04-26T23:23:15.290Z] unset SSH_AUTH_SOCK; [2021-04-26T23:23:15.291Z] unset SSH_AGENT_PID; [2021-04-26T23:23:15.291Z] echo Agent pid 17 killed; [2021-04-26T23:23:15.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T23:23:15.378Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:23:15.378Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:23:15.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:23:15.575Z] $ docker exec e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 ssh-agent [2021-04-26T23:23:15.745Z] SSH_AUTH_SOCK=/tmp/ssh-qfhOhMZJm5dB/agent.45 [2021-04-26T23:23:15.745Z] SSH_AGENT_PID=51 [2021-04-26T23:23:15.751Z] Running ssh-add (command line suppressed) [2021-04-26T23:23:15.888Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2109306557019820933.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2109306557019820933.key) [2021-04-26T23:23:15.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:23:16.248Z] + git semver init [2021-04-26T23:23:16.248Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T23:23:16.248Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-26T23:23:16.248Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-26T23:23:16.248Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T23:23:16.248Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T23:23:16.248Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T23:23:16.248Z] # $SEMVER_BRANCH = master [2021-04-26T23:23:16.248Z] # $SEMVER_TEMP = /tmp/semver-440782661 [2021-04-26T23:23:16.248Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-04-26T23:23:19.563Z] # '/tmp/semver-440782661' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-04-26T23:23:19.563Z] # -> Force: false [2021-04-26T23:23:19.563Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-26T23:23:19.580Z] $ docker exec --env ******** --env ******** e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 ssh-agent -k [2021-04-26T23:23:19.778Z] unset SSH_AUTH_SOCK; [2021-04-26T23:23:19.779Z] unset SSH_AGENT_PID; [2021-04-26T23:23:19.780Z] echo Agent pid 51 killed; [2021-04-26T23:23:19.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T23:23:20.192Z] + git semver [Pipeline] } [2021-04-26T23:23:20.211Z] $ docker stop --time=1 e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 [2021-04-26T23:23:21.781Z] $ docker rm -f e0a659253dcbc63a312c91bb4437d683a23e1011b0e62b27477a722d385f64f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T23:23:22.216Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T23:23:22.607Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T23:23:22.610Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.47 [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:23:37.800Z] Still waiting to schedule task [2021-04-26T23:23:37.800Z] ‘prd-centos7-docker-4c-2g-1885’ is offline; ‘prd-centos7-docker-4c-2g-1886’ is offline; ‘prd-centos7-docker-4c-2g-1895’ is offline; ‘prd-centos7-docker-4c-2g-1896’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1887’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-1889’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-26T23:23:37.803Z] Still waiting to schedule task [2021-04-26T23:23:37.803Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-26T23:24:36.006Z] Running on prd-centos7-docker-4c-2g-1898 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-26T23:24:36.025Z] Running in /w/workspace/app-functions-sdk-go/216 [Pipeline] { [Pipeline] checkout [2021-04-26T23:24:38.877Z] using credential edgex-jenkins-ssh [2021-04-26T23:24:38.893Z] Cloning the remote Git repository [2021-04-26T23:24:38.470Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:24:38.558Z] > git init /w/workspace/app-functions-sdk-go/216 # timeout=10 [2021-04-26T23:24:38.631Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:24:38.631Z] > git --version # timeout=10 [2021-04-26T23:24:38.639Z] > git --version # 'git version 2.24.3' [2021-04-26T23:24:38.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:24:38.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:24:41.184Z] Checking out Revision 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b (master) [2021-04-26T23:24:40.454Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:24:40.460Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:24:40.475Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:24:40.492Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:24:40.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:24:40.497Z] > 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:24:40.927Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T23:24:40.935Z] > git checkout -f 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b # timeout=10 [2021-04-26T23:24:44.636Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#800)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T23:24:45.721Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:24:46.049Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:24:46.355Z] + sudo service docker restart [2021-04-26T23:24:46.355Z] + true [2021-04-26T23:24:46.355Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-04-26T23:24:47.480Z] ========================================================= [2021-04-26T23:24:47.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T23:24:47.480Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:24:47.798Z] + 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:24:48.375Z] Sending build context to Docker daemon 19.5MB [2021-04-26T23:24:48.375Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T23:24:48.375Z] Step 2/8 : FROM ${BASE} [2021-04-26T23:24:48.640Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T23:24:48.640Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T23:24:48.640Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T23:24:48.640Z] de9db76c5a1d: Pulling fs layer [2021-04-26T23:24:48.640Z] bca2f99d35d6: Pulling fs layer [2021-04-26T23:24:48.640Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T23:24:48.640Z] 7c6f9722023f: Pulling fs layer [2021-04-26T23:24:48.640Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T23:24:48.640Z] 93359f2a8cfa: Waiting [2021-04-26T23:24:48.640Z] 7c6f9722023f: Waiting [2021-04-26T23:24:48.640Z] bca2f99d35d6: Waiting [2021-04-26T23:24:48.640Z] a35cf1a2eb13: Waiting [2021-04-26T23:24:48.640Z] de9db76c5a1d: Download complete [2021-04-26T23:24:48.640Z] 0ef7d3d256c8: Download complete [2021-04-26T23:24:48.640Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T23:24:48.640Z] 93359f2a8cfa: Download complete [2021-04-26T23:24:48.640Z] 7c6f9722023f: Verifying Checksum [2021-04-26T23:24:48.640Z] 7c6f9722023f: Download complete [2021-04-26T23:24:48.640Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T23:24:48.640Z] 188c0c94c7c5: Download complete [2021-04-26T23:24:48.906Z] 188c0c94c7c5: Pull complete [2021-04-26T23:24:49.175Z] 0ef7d3d256c8: Pull complete [2021-04-26T23:24:49.176Z] de9db76c5a1d: Pull complete [2021-04-26T23:24:50.583Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T23:24:50.583Z] a35cf1a2eb13: Download complete [2021-04-26T23:24:50.850Z] bca2f99d35d6: Verifying Checksum [2021-04-26T23:24:50.850Z] bca2f99d35d6: Download complete [2021-04-26T23:24:57.505Z] bca2f99d35d6: Pull complete [2021-04-26T23:24:57.505Z] 93359f2a8cfa: Pull complete [2021-04-26T23:24:57.505Z] 7c6f9722023f: Pull complete [2021-04-26T23:25:01.778Z] a35cf1a2eb13: Pull complete [2021-04-26T23:25:01.778Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T23:25:01.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T23:25:01.778Z] ---> a62c8e92a672 [2021-04-26T23:25:01.778Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-26T23:25:01.778Z] 20.10.0: Pulling from library/docker [2021-04-26T23:25:02.045Z] 05e7bc50f07f: Pulling fs layer [2021-04-26T23:25:02.045Z] 6db28d0fdbf6: Pulling fs layer [2021-04-26T23:25:02.045Z] 292df0bc6bf3: Pulling fs layer [2021-04-26T23:25:02.045Z] 2e060f4bd70b: Pulling fs layer [2021-04-26T23:25:02.045Z] 80e8d568a223: Pulling fs layer [2021-04-26T23:25:02.045Z] 8dc6ef1a942a: Pulling fs layer [2021-04-26T23:25:02.045Z] 2312dd95470a: Pulling fs layer [2021-04-26T23:25:02.045Z] 80e8d568a223: Waiting [2021-04-26T23:25:02.045Z] 8dc6ef1a942a: Waiting [2021-04-26T23:25:02.045Z] 2312dd95470a: Waiting [2021-04-26T23:25:02.045Z] 2e060f4bd70b: Waiting [2021-04-26T23:25:02.045Z] 292df0bc6bf3: Verifying Checksum [2021-04-26T23:25:02.045Z] 292df0bc6bf3: Download complete [2021-04-26T23:25:02.045Z] 05e7bc50f07f: Verifying Checksum [2021-04-26T23:25:02.045Z] 05e7bc50f07f: Download complete [2021-04-26T23:25:02.045Z] 6db28d0fdbf6: Verifying Checksum [2021-04-26T23:25:02.045Z] 6db28d0fdbf6: Download complete [2021-04-26T23:25:02.045Z] 8dc6ef1a942a: Verifying Checksum [2021-04-26T23:25:02.045Z] 8dc6ef1a942a: Download complete [2021-04-26T23:25:02.045Z] 80e8d568a223: Download complete [2021-04-26T23:25:02.045Z] 2312dd95470a: Verifying Checksum [2021-04-26T23:25:02.045Z] 2312dd95470a: Download complete [2021-04-26T23:25:02.628Z] 05e7bc50f07f: Pull complete [2021-04-26T23:25:02.899Z] 6db28d0fdbf6: Pull complete [2021-04-26T23:25:02.899Z] 292df0bc6bf3: Pull complete [2021-04-26T23:25:03.163Z] 2e060f4bd70b: Verifying Checksum [2021-04-26T23:25:03.163Z] 2e060f4bd70b: Download complete [2021-04-26T23:25:06.498Z] 2e060f4bd70b: Pull complete [2021-04-26T23:25:06.498Z] 80e8d568a223: Pull complete [2021-04-26T23:25:06.498Z] 8dc6ef1a942a: Pull complete [2021-04-26T23:25:06.498Z] 2312dd95470a: Pull complete [2021-04-26T23:25:06.498Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-26T23:25:06.498Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-26T23:25:08.432Z] ---> c64f617c3fef [2021-04-26T23:25:08.432Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T23:25:08.432Z] ---> Running in 1ef332f4f714 [2021-04-26T23:25:08.432Z] Removing intermediate container 1ef332f4f714 [2021-04-26T23:25:08.432Z] ---> 70e6d3f569eb [2021-04-26T23:25:08.432Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-26T23:25:08.432Z] ---> Running in c2284bf32f95 [2021-04-26T23:25:09.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T23:25:09.974Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T23:25:10.236Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-26T23:25:10.498Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-26T23:25:10.498Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-26T23:25:10.498Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-26T23:25:10.763Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-26T23:25:10.763Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T23:25:10.763Z] OK: 167 MiB in 44 packages [2021-04-26T23:25:11.711Z] Removing intermediate container c2284bf32f95 [2021-04-26T23:25:11.711Z] ---> 5ef23db8a54f [2021-04-26T23:25:11.711Z] Step 6/8 : WORKDIR /build [2021-04-26T23:25:11.711Z] ---> Running in e888d612db3b [2021-04-26T23:25:11.711Z] Removing intermediate container e888d612db3b [2021-04-26T23:25:11.711Z] ---> ce5e10596be3 [2021-04-26T23:25:11.711Z] Step 7/8 : COPY go.mod . [2021-04-26T23:25:11.973Z] ---> 1fbd2782f403 [2021-04-26T23:25:11.973Z] Step 8/8 : RUN go mod download [2021-04-26T23:25:11.973Z] ---> Running in 80889219a4a0 [2021-04-26T23:25:38.649Z] Removing intermediate container 80889219a4a0 [2021-04-26T23:25:38.649Z] ---> 1c149c14668a [2021-04-26T23:25:38.649Z] Successfully built 1c149c14668a [2021-04-26T23:25:38.649Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:25:38.994Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T23:25:38.995Z] . [Pipeline] withDockerContainer [2021-04-26T23:25:39.158Z] prd-centos7-docker-4c-2g-1898 does not seem to be running inside a container [2021-04-26T23:25:39.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/216 -v /w/workspace/app-functions-sdk-go/216:/w/workspace/app-functions-sdk-go/216:rw,z -v /w/workspace/app-functions-sdk-go/216@tmp:/w/workspace/app-functions-sdk-go/216@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:25:40.328Z] $ docker top d23b80fd8f8ebbffa04d00fa91060d9d3249110b5006ae3df5dd78cc8c89b5a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:25:40.906Z] + go version [2021-04-26T23:25:40.906Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T23:25:40.923Z] $ docker stop --time=1 d23b80fd8f8ebbffa04d00fa91060d9d3249110b5006ae3df5dd78cc8c89b5a6 [2021-04-26T23:25:42.291Z] $ docker rm -f d23b80fd8f8ebbffa04d00fa91060d9d3249110b5006ae3df5dd78cc8c89b5a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:25:42.813Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T23:25:42.813Z] . [Pipeline] withDockerContainer [2021-04-26T23:25:42.920Z] prd-centos7-docker-4c-2g-1898 does not seem to be running inside a container [2021-04-26T23:25:42.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/216 -v /w/workspace/app-functions-sdk-go/216:/w/workspace/app-functions-sdk-go/216:rw,z -v /w/workspace/app-functions-sdk-go/216@tmp:/w/workspace/app-functions-sdk-go/216@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:25:43.777Z] $ docker top 89671569f0af79b8ce013f8a1aaa9aadafc277823dc939cc4d89ddb6337f1db1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:25:44.198Z] + make test [2021-04-26T23:25:44.198Z] make -C ./app-service-template build [2021-04-26T23:25:44.198Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:25:44.198Z] 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:25:59.215Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:25:59.215Z] make -C ./app-service-template test [2021-04-26T23:25:59.215Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:25:59.215Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-26T23:26:06.803Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1899 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-04-26T23:26:06.822Z] Running in /w/workspace/app-functions-sdk-go/216 [Pipeline] { [Pipeline] checkout [2021-04-26T23:26:07.490Z] ok new-app-service 0.028s coverage: 47.8% of statements [2021-04-26T23:26:07.490Z] ? new-app-service/config [no test files] [2021-04-26T23:26:08.069Z] ok new-app-service/functions 0.011s [2021-04-26T23:26:08.069Z] CGO_ENABLED=1 go vet ./... [2021-04-26T23:26:12.347Z] gofmt -l . [2021-04-26T23:26:12.347Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:26:12.347Z] ./bin/test-go-mod-tidy.sh [2021-04-26T23:26:12.347Z] ./bin/test-attribution-txt.sh [2021-04-26T23:26:12.790Z] using credential edgex-jenkins-ssh [2021-04-26T23:26:12.808Z] Cloning the remote Git repository [2021-04-26T23:26:12.924Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:26:12.925Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-26T23:26:12.908Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:26:13.023Z] > git init /w/workspace/app-functions-sdk-go/216 # timeout=10 [2021-04-26T23:26:13.135Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:26:13.136Z] > git --version # timeout=10 [2021-04-26T23:26:13.160Z] > git --version # 'git version 2.17.1' [2021-04-26T23:26:13.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:26:13.225Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:26:13.512Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-26T23:26:16.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.023s coverage: 55.8% of statements [2021-04-26T23:26:16.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.050s coverage: 92.5% of statements [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-26T23:26:16.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.038s coverage: 61.5% of statements [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-26T23:26:16.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.009s [2021-04-26T23:26:16.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.056s coverage: 75.4% of statements [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-26T23:26:16.657Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.006s coverage: 97.0% of statements [2021-04-26T23:26:16.657Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T23:26:16.906Z] Checking out Revision 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b (master) [2021-04-26T23:26:16.980Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.033s coverage: 10.5% of statements [2021-04-26T23:26:16.309Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:26:16.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T23:26:16.362Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-04-26T23:26:16.399Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-04-26T23:26:16.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T23:26:16.416Z] > 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:26:16.936Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T23:26:16.955Z] > git checkout -f 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b # timeout=10 [2021-04-26T23:26:21.240Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 (#800)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T23:26:22.338Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.765s coverage: 78.4% of statements [2021-04-26T23:26:22.338Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-26T23:26:22.338Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 18.4% of statements [2021-04-26T23:26:22.338Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.016s coverage: 27.3% of statements [2021-04-26T23:26:22.339Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-26T23:26:22.339Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-26T23:26:22.339Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.015s coverage: 71.7% of statements [2021-04-26T23:26:22.741Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:26:23.157Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T23:26:23.517Z] + + sudo servicetrue docker [2021-04-26T23:26:23.517Z] restart [Pipeline] unstash [Pipeline] echo [2021-04-26T23:26:26.447Z] ========================================================= [2021-04-26T23:26:26.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T23:26:26.447Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:26:26.792Z] + 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:26:27.770Z] Sending build context to Docker daemon 19.48MB [2021-04-26T23:26:27.770Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T23:26:27.770Z] Step 2/8 : FROM ${BASE} [2021-04-26T23:26:28.365Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T23:26:28.365Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T23:26:28.365Z] a4357932f1b6: Pulling fs layer [2021-04-26T23:26:28.365Z] 18c013af1878: Pulling fs layer [2021-04-26T23:26:28.365Z] 00ac8860ef70: Pulling fs layer [2021-04-26T23:26:28.365Z] 63d7cb157983: Pulling fs layer [2021-04-26T23:26:28.365Z] b116817d02f9: Pulling fs layer [2021-04-26T23:26:28.365Z] 745a02a5169b: Pulling fs layer [2021-04-26T23:26:28.365Z] 63d7cb157983: Waiting [2021-04-26T23:26:28.365Z] b116817d02f9: Waiting [2021-04-26T23:26:28.365Z] 745a02a5169b: Waiting [2021-04-26T23:26:28.365Z] 00ac8860ef70: Waiting [2021-04-26T23:26:28.365Z] 18c013af1878: Verifying Checksum [2021-04-26T23:26:28.365Z] 18c013af1878: Download complete [2021-04-26T23:26:28.365Z] a4357932f1b6: Verifying Checksum [2021-04-26T23:26:28.365Z] a4357932f1b6: Download complete [2021-04-26T23:26:28.365Z] 63d7cb157983: Download complete [2021-04-26T23:26:28.365Z] b116817d02f9: Verifying Checksum [2021-04-26T23:26:28.365Z] b116817d02f9: Download complete [2021-04-26T23:26:28.365Z] 5f621e34cdf4: Download complete [2021-04-26T23:26:28.966Z] 5f621e34cdf4: Pull complete [2021-04-26T23:26:30.055Z] a4357932f1b6: Pull complete [2021-04-26T23:26:30.055Z] 18c013af1878: Pull complete [2021-04-26T23:26:30.657Z] 745a02a5169b: Verifying Checksum [2021-04-26T23:26:30.657Z] 745a02a5169b: Download complete [2021-04-26T23:26:31.638Z] 00ac8860ef70: Verifying Checksum [2021-04-26T23:26:31.638Z] 00ac8860ef70: Download complete [2021-04-26T23:26:41.796Z] 00ac8860ef70: Pull complete [2021-04-26T23:26:41.796Z] 63d7cb157983: Pull complete [2021-04-26T23:26:41.796Z] b116817d02f9: Pull complete [2021-04-26T23:26:45.210Z] 745a02a5169b: Pull complete [2021-04-26T23:26:45.210Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T23:26:45.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T23:26:45.210Z] ---> b7e6874047d6 [2021-04-26T23:26:45.210Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-04-26T23:26:45.210Z] 20.10.0: Pulling from library/docker [2021-04-26T23:26:45.210Z] a3cc7d3b244e: Pulling fs layer [2021-04-26T23:26:45.210Z] 02a3295e0d61: Pulling fs layer [2021-04-26T23:26:45.210Z] 0f4f2e6d8100: Pulling fs layer [2021-04-26T23:26:45.210Z] 330b718f631f: Pulling fs layer [2021-04-26T23:26:45.210Z] a93816041522: Pulling fs layer [2021-04-26T23:26:45.210Z] bdb6da89ff94: Pulling fs layer [2021-04-26T23:26:45.210Z] 2a70c0c122f4: Pulling fs layer [2021-04-26T23:26:45.210Z] 330b718f631f: Waiting [2021-04-26T23:26:45.210Z] a93816041522: Waiting [2021-04-26T23:26:45.210Z] bdb6da89ff94: Waiting [2021-04-26T23:26:45.210Z] 2a70c0c122f4: Waiting [2021-04-26T23:26:45.210Z] 0f4f2e6d8100: Download complete [2021-04-26T23:26:45.210Z] 02a3295e0d61: Verifying Checksum [2021-04-26T23:26:45.210Z] 02a3295e0d61: Download complete [2021-04-26T23:26:45.210Z] a3cc7d3b244e: Download complete [2021-04-26T23:26:45.210Z] a93816041522: Verifying Checksum [2021-04-26T23:26:45.210Z] a93816041522: Download complete [2021-04-26T23:26:45.210Z] 2a70c0c122f4: Verifying Checksum [2021-04-26T23:26:45.210Z] 2a70c0c122f4: Download complete [2021-04-26T23:26:45.210Z] bdb6da89ff94: Verifying Checksum [2021-04-26T23:26:45.210Z] bdb6da89ff94: Download complete [2021-04-26T23:26:45.818Z] a3cc7d3b244e: Pull complete [2021-04-26T23:26:46.813Z] 02a3295e0d61: Pull complete [2021-04-26T23:26:46.813Z] 0f4f2e6d8100: Pull complete [2021-04-26T23:26:46.813Z] 330b718f631f: Verifying Checksum [2021-04-26T23:26:46.813Z] 330b718f631f: Download complete [2021-04-26T23:26:48.967Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.042s coverage: 81.9% of statements [2021-04-26T23:26:48.967Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.013s coverage: 94.4% of statements [2021-04-26T23:26:48.967Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-26T23:26:48.967Z] gofmt -l . [2021-04-26T23:26:48.967Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:26:48.967Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T23:26:48.984Z] $ docker stop --time=1 89671569f0af79b8ce013f8a1aaa9aadafc277823dc939cc4d89ddb6337f1db1 [2021-04-26T23:26:50.217Z] 330b718f631f: Pull complete [2021-04-26T23:26:50.492Z] a93816041522: Pull complete [2021-04-26T23:26:50.661Z] $ docker rm -f 89671569f0af79b8ce013f8a1aaa9aadafc277823dc939cc4d89ddb6337f1db1 [2021-04-26T23:26:50.768Z] bdb6da89ff94: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T23:26:51.045Z] 2a70c0c122f4: Pull complete [2021-04-26T23:26:51.045Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-04-26T23:26:51.045Z] Status: Downloaded newer image for docker:20.10.0 [2021-04-26T23:26:51.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T23:26:51.773Z] 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:26:52.422Z] ---> job-cost.sh [2021-04-26T23:26:52.423Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tAZT [2021-04-26T23:26:57.776Z] ---> 0a8afe9f06b1 [2021-04-26T23:26:57.777Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-04-26T23:26:57.777Z] ---> Running in 3640689c4b4a [2021-04-26T23:26:58.372Z] Removing intermediate container 3640689c4b4a [2021-04-26T23:26:58.372Z] ---> f8e4869f3fab [2021-04-26T23:26:58.372Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-04-26T23:26:58.645Z] ---> Running in 9477ff06817e [2021-04-26T23:27:00.091Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T23:27:00.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T23:27:01.278Z] (1/5) Installing libsodium (1.0.18-r0) [2021-04-26T23:27:01.548Z] (2/5) Installing libzmq (4.3.3-r0) [2021-04-26T23:27:01.548Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-04-26T23:27:01.548Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-04-26T23:27:01.820Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-04-26T23:27:01.820Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T23:27:01.820Z] OK: 144 MiB in 44 packages [2021-04-26T23:27:03.282Z] Removing intermediate container 9477ff06817e [2021-04-26T23:27:03.282Z] ---> df322586ca1f [2021-04-26T23:27:03.282Z] Step 6/8 : WORKDIR /build [2021-04-26T23:27:03.282Z] ---> Running in 3b498e557df8 [2021-04-26T23:27:03.885Z] Removing intermediate container 3b498e557df8 [2021-04-26T23:27:03.885Z] ---> c6b230965710 [2021-04-26T23:27:03.885Z] Step 7/8 : COPY go.mod . [2021-04-26T23:27:04.499Z] ---> 39643b40696f [2021-04-26T23:27:04.499Z] Step 8/8 : RUN go mod download [2021-04-26T23:27:04.775Z] ---> Running in 76b53e04cb0d [2021-04-26T23:27:10.588Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T23:27:31.632Z] Removing intermediate container 76b53e04cb0d [2021-04-26T23:27:31.632Z] ---> 660493d0184e [2021-04-26T23:27:31.632Z] Successfully built 660493d0184e [2021-04-26T23:27:31.632Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:27:32.010Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T23:27:32.010Z] . [Pipeline] withDockerContainer [2021-04-26T23:27:32.288Z] prd-ubuntu18.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2021-04-26T23:27:32.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/216 -v /w/workspace/app-functions-sdk-go/216:/w/workspace/app-functions-sdk-go/216:rw,z -v /w/workspace/app-functions-sdk-go/216@tmp:/w/workspace/app-functions-sdk-go/216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T23:27:34.105Z] $ docker top 274b12ed5e490860ed75e94630992eb8a286fa6751ebfc62c9d0ddc8db49b28f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:27:35.130Z] + go version [2021-04-26T23:27:35.130Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T23:27:35.145Z] $ docker stop --time=1 274b12ed5e490860ed75e94630992eb8a286fa6751ebfc62c9d0ddc8db49b28f [2021-04-26T23:27:37.197Z] $ docker rm -f 274b12ed5e490860ed75e94630992eb8a286fa6751ebfc62c9d0ddc8db49b28f [2021-04-26T23:27:37.246Z] lf-activate-venv(): INFO: Adding /tmp/venv-tAZT/bin to PATH [2021-04-26T23:27:37.246Z] INFO: No Stack... [2021-04-26T23:27:37.246Z] INFO: Retrieving Pricing Info for: v1-standard-2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:27:37.962Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T23:27:37.962Z] . [Pipeline] withDockerContainer [2021-04-26T23:27:38.201Z] INFO: Archiving Costs [2021-04-26T23:27:38.248Z] prd-ubuntu18.04-docker-arm64-4c-16g-1899 does not seem to be running inside a container [2021-04-26T23:27:38.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/216 -v /w/workspace/app-functions-sdk-go/216:/w/workspace/app-functions-sdk-go/216:rw,z -v /w/workspace/app-functions-sdk-go/216@tmp:/w/workspace/app-functions-sdk-go/216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T23:27:39.891Z] $ docker top aff36234fec488b993c23f12310c8817b077d757af3f9393a949797b23cc1f4c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-26T23:27:40.520Z] + cut -d, -f6 [2021-04-26T23:27:40.520Z] + cat /w/workspace/app-functions-sdk-go/216/archives/cost.csv [Pipeline] lock [2021-04-26T23:27:40.636Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] [2021-04-26T23:27:40.649Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] did not exist. Created. [2021-04-26T23:27:40.650Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T23:27:40.929Z] + make test [2021-04-26T23:27:40.929Z] make -C ./app-service-template build [2021-04-26T23:27:40.929Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:27:40.929Z] 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:27:40.993Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T23:27:41.135Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T23:27:41.148Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T23:28:19.959Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:28:19.959Z] make -C ./app-service-template test [2021-04-26T23:28:19.959Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:28:19.959Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-04-26T23:28:42.168Z] ok new-app-service 0.052s coverage: 47.8% of statements [2021-04-26T23:28:42.168Z] ? new-app-service/config [no test files] [2021-04-26T23:28:43.151Z] ok new-app-service/functions 0.028s [2021-04-26T23:28:43.425Z] CGO_ENABLED=1 go vet ./... [2021-04-26T23:28:55.852Z] gofmt -l . [2021-04-26T23:28:55.852Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:28:55.852Z] ./bin/test-go-mod-tidy.sh [2021-04-26T23:28:55.852Z] ./bin/test-attribution-txt.sh [2021-04-26T23:28:56.128Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/216/app-service-template' [2021-04-26T23:28:56.128Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-04-26T23:28:57.562Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.069s coverage: 55.8% of statements [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.043s coverage: 92.5% of statements [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.071s coverage: 61.5% of statements [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.027s [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.061s coverage: 75.4% of statements [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.040s coverage: 97.0% of statements [2021-04-26T23:29:07.754Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T23:29:07.754Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.024s coverage: 10.5% of statements [2021-04-26T23:29:13.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.818s coverage: 78.4% of statements [2021-04-26T23:29:13.198Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-04-26T23:29:13.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.053s coverage: 18.4% of statements [2021-04-26T23:29:13.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.094s coverage: 27.3% of statements [2021-04-26T23:29:13.198Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-04-26T23:29:13.198Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-04-26T23:29:13.198Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.082s coverage: 71.7% of statements [2021-04-26T23:29:40.007Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.086s coverage: 81.9% of statements [2021-04-26T23:29:40.007Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.030s coverage: 94.4% of statements [2021-04-26T23:29:40.007Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-04-26T23:29:42.661Z] gofmt -l . [2021-04-26T23:29:43.258Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:29:43.857Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T23:29:44.458Z] $ docker stop --time=1 aff36234fec488b993c23f12310c8817b077d757af3f9393a949797b23cc1f4c [2021-04-26T23:29:46.736Z] $ docker rm -f aff36234fec488b993c23f12310c8817b077d757af3f9393a949797b23cc1f4c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T23:29:47.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T23:29:47.830Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T23:29:48.976Z] 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-26T23:29:49.526Z] ---> job-cost.sh [2021-04-26T23:29:49.526Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Of9W [2021-04-26T23:30:46.214Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T23:32:22.979Z] lf-activate-venv(): INFO: Adding /tmp/venv-Of9W/bin to PATH [2021-04-26T23:32:22.979Z] INFO: No Stack... [2021-04-26T23:32:22.979Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T23:32:22.979Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T23:32:23.314Z] + cat /w/workspace/app-functions-sdk-go/216/archives/cost.csv [2021-04-26T23:32:23.314Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T23:32:23.427Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] [2021-04-26T23:32:23.440Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] did not exist. Created. [2021-04-26T23:32:23.440Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-216-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T23:32:23.803Z] /w/workspace/app-functions-sdk-go/216@tmp/durable-615e22be/script.sh: 1: /w/workspace/app-functions-sdk-go/216@tmp/durable-615e22be/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T23:32:24.142Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T23:32:24.173Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T23:32:24.330Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T23:32:24.349Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-216-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-26T23:32:24.872Z] provisioning config files... [2021-04-26T23:32:24.886Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config108466565150140318tmp [Pipeline] { [Pipeline] sh [2021-04-26T23:32:25.209Z] + set +x [2021-04-26T23:32:25.209Z] + curl -s https://codecov.io/bash [2021-04-26T23:32:25.209Z] + bash -s -- [2021-04-26T23:32:25.472Z] [2021-04-26T23:32:25.472Z] _____ _ [2021-04-26T23:32:25.472Z] / ____| | | [2021-04-26T23:32:25.472Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T23:32:25.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T23:32:25.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T23:32:25.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T23:32:25.472Z] Bash-1.0.2 [2021-04-26T23:32:25.472Z] [2021-04-26T23:32:25.472Z] [2021-04-26T23:32:25.472Z] ==> git version 2.24.3 found [2021-04-26T23:32:25.472Z] ==> 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-26T23:32:25.472Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T23:32:25.472Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T23:32:25.472Z] ==> Jenkins CI detected. [2021-04-26T23:32:25.472Z] project root: . [2021-04-26T23:32:25.472Z] --> token set from env [2021-04-26T23:32:25.472Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T23:32:25.472Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T23:32:25.472Z] ==> Python coveragepy not found [2021-04-26T23:32:25.472Z] ==> Searching for coverage reports in: [2021-04-26T23:32:25.472Z] + . [2021-04-26T23:32:25.472Z] -> Found 2 reports [2021-04-26T23:32:25.472Z] ==> Detecting git/mercurial file structure [2021-04-26T23:32:25.472Z] ==> Reading reports [2021-04-26T23:32:25.472Z] + ./app-service-template/coverage.out bytes=1055 [2021-04-26T23:32:25.472Z] + ./coverage.out bytes=86827 [2021-04-26T23:32:25.472Z] ==> Appending adjustments [2021-04-26T23:32:25.472Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T23:32:26.048Z] + Found adjustments [2021-04-26T23:32:26.048Z] ==> Gzipping contents [2021-04-26T23:32:26.048Z] 16K /tmp/codecov.qxGVz1.gz [2021-04-26T23:32:26.048Z] ==> Uploading reports [2021-04-26T23:32:26.048Z] url: https://codecov.io [2021-04-26T23:32:26.048Z] query: branch=master&commit=013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b&build=216&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F216%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-26T23:32:26.048Z] -> Pinging Codecov [2021-04-26T23:32:26.048Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b&build=216&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F216%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-04-26T23:32:26.623Z] -> Uploading to [2021-04-26T23:32:26.623Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/3D8B5DFFC46A037C893635FACE044666/013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b/07185a3f-212a-45e0-b611-fc338bbfd396.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T233226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82c5a8ff5221ecf78cac18c8437e2e51c2cabb80ef6b31ab978c14f68e15b0d4 [2021-04-26T23:32:26.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T23:32:26.623Z] Dload Upload Total Spent Left Speed [2021-04-26T23:32:26.902Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15294 0 0 100 15294 0 38115 --:--:-- --:--:-- --:--:-- 38044 100 15294 0 0 100 15294 0 38098 --:--:-- --:--:-- --:--:-- 38044 [2021-04-26T23:32:26.902Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b [Pipeline] } [2021-04-26T23:32:26.913Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-04-26T23:32:27.590Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-04-26T23:32:27.613Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:32:27.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-26T23:32:27.932Z] [2021-04-26T23:32:27.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:32:28.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-26T23:32:28.251Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-04-26T23:32:28.251Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T23:32:28.251Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T23:32:28.251Z] de9db76c5a1d: Pulling fs layer [2021-04-26T23:32:28.251Z] 0eba1c9be4d2: Pulling fs layer [2021-04-26T23:32:28.251Z] 0d57e429df01: Pulling fs layer [2021-04-26T23:32:28.251Z] 4e4be7b47b0d: Pulling fs layer [2021-04-26T23:32:28.251Z] e1f770b5df2f: Pulling fs layer [2021-04-26T23:32:28.251Z] 85a0685a4137: Pulling fs layer [2021-04-26T23:32:28.251Z] 4e4be7b47b0d: Waiting [2021-04-26T23:32:28.251Z] e1f770b5df2f: Waiting [2021-04-26T23:32:28.251Z] 0eba1c9be4d2: Waiting [2021-04-26T23:32:28.251Z] 0d57e429df01: Waiting [2021-04-26T23:32:28.251Z] 85a0685a4137: Waiting [2021-04-26T23:32:28.251Z] de9db76c5a1d: Verifying Checksum [2021-04-26T23:32:28.251Z] de9db76c5a1d: Download complete [2021-04-26T23:32:28.251Z] 0ef7d3d256c8: Verifying Checksum [2021-04-26T23:32:28.251Z] 0ef7d3d256c8: Download complete [2021-04-26T23:32:28.251Z] 0d57e429df01: Verifying Checksum [2021-04-26T23:32:28.251Z] 0d57e429df01: Download complete [2021-04-26T23:32:28.251Z] 4e4be7b47b0d: Verifying Checksum [2021-04-26T23:32:28.251Z] 4e4be7b47b0d: Download complete [2021-04-26T23:32:28.251Z] 188c0c94c7c5: Verifying Checksum [2021-04-26T23:32:28.251Z] 188c0c94c7c5: Download complete [2021-04-26T23:32:28.833Z] 188c0c94c7c5: Pull complete [2021-04-26T23:32:29.098Z] 0ef7d3d256c8: Pull complete [2021-04-26T23:32:29.098Z] e1f770b5df2f: Verifying Checksum [2021-04-26T23:32:29.099Z] e1f770b5df2f: Download complete [2021-04-26T23:32:29.099Z] de9db76c5a1d: Pull complete [2021-04-26T23:32:31.693Z] 0eba1c9be4d2: Verifying Checksum [2021-04-26T23:32:31.693Z] 0eba1c9be4d2: Download complete [2021-04-26T23:32:31.693Z] 85a0685a4137: Download complete [2021-04-26T23:32:37.035Z] 0eba1c9be4d2: Pull complete [2021-04-26T23:32:37.299Z] 0d57e429df01: Pull complete [2021-04-26T23:32:37.299Z] 4e4be7b47b0d: Pull complete [2021-04-26T23:32:43.922Z] e1f770b5df2f: Pull complete [2021-04-26T23:32:50.570Z] 85a0685a4137: Pull complete [2021-04-26T23:32:50.570Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-04-26T23:32:50.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-04-26T23:32:50.570Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-04-26T23:32:50.836Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:32:50.890Z] $ 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-26T23:32:51.987Z] $ docker top 2c1061dbc434c2f9007a65e6f6d563cf762512be83871b069d71f185bc4e9847 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-04-26T23:32:52.129Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-04-26T23:32:52.427Z] + set -o pipefail [2021-04-26T23:32:52.427Z] + snyk monitor '--org=edgex-jenkins' [2021-04-26T23:33:07.378Z] [2021-04-26T23:33:07.378Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-04-26T23:33:07.378Z] [2021-04-26T23:33:07.378Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/12026da7-71c8-488e-b949-11f81ccde207 [2021-04-26T23:33:07.378Z] [2021-04-26T23:33:07.378Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-04-26T23:33:07.378Z] [2021-04-26T23:33:07.378Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-04-26T23:33:07.378Z] [2021-04-26T23:33:08.327Z] [Pipeline] } [2021-04-26T23:33:08.610Z] $ docker stop --time=1 2c1061dbc434c2f9007a65e6f6d563cf762512be83871b069d71f185bc4e9847 [2021-04-26T23:33:11.605Z] $ docker rm -f 2c1061dbc434c2f9007a65e6f6d563cf762512be83871b069d71f185bc4e9847 [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-26T23:33:12.575Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T23:33:12.596Z] provisioning config files... [2021-04-26T23:33:12.614Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6245952436206382584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:33:12.932Z] --> edgex-publish-swagger.sh [2021-04-26T23:33:12.932Z] === Publish openapi/v2 API === [2021-04-26T23:33:12.932Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-04-26T23:33:12.932Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-04-26T23:33:12.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T23:33:12.932Z] Dload Upload Total Spent Left Speed [2021-04-26T23:33:14.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11450 0:00:01 0:00:01 --:--:-- 11459 100 13052 0 0 100 13052 0 11446 0:00:01 0:00:01 --:--:-- 11459 [2021-04-26T23:33:14.143Z] [2021-04-26T23:33:14.143Z] [Pipeline] } [2021-04-26T23:33:14.152Z] 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-26T23:33:14.640Z] + git log --format=format:%s -1 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:33:14.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:33:14.951Z] . [Pipeline] withDockerContainer [2021-04-26T23:33:15.047Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:33:15.095Z] $ 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-26T23:33:15.915Z] $ docker top 068d6ba49b2579ba86e9872d7aaaa5dfedef03e1cb86677adca019a6a9345b5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T23:33:16.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:33:16.130Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:33:16.378Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:33:16.384Z] $ docker exec 068d6ba49b2579ba86e9872d7aaaa5dfedef03e1cb86677adca019a6a9345b5b ssh-agent [2021-04-26T23:33:16.568Z] SSH_AUTH_SOCK=/tmp/ssh-NlRKQz2GYPcR/agent.12 [2021-04-26T23:33:16.568Z] SSH_AGENT_PID=18 [2021-04-26T23:33:16.576Z] Running ssh-add (command line suppressed) [2021-04-26T23:33:16.713Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5609259179543672344.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5609259179543672344.key) [2021-04-26T23:33:16.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:33:17.082Z] + git semver tag [2021-04-26T23:33:17.082Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T23:33:17.082Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-26T23:33:17.082Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-26T23:33:17.082Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T23:33:17.082Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T23:33:17.082Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T23:33:17.082Z] # $SEMVER_BRANCH = master [2021-04-26T23:33:17.082Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-26T23:33:17.082Z] # 013d339d0373e0b6ce9e0dc742c0d23a9d5bbb0b HEAD [2021-04-26T23:33:17.082Z] # -> Force: false [2021-04-26T23:33:17.082Z] # 51df1e447927e7f94c266cb31362fd46527be221 refs/tags/v2.0.0-dev.47 [Pipeline] } [2021-04-26T23:33:17.100Z] $ docker exec --env ******** --env ******** 068d6ba49b2579ba86e9872d7aaaa5dfedef03e1cb86677adca019a6a9345b5b ssh-agent -k [2021-04-26T23:33:17.254Z] unset SSH_AUTH_SOCK; [2021-04-26T23:33:17.255Z] unset SSH_AGENT_PID; [2021-04-26T23:33:17.255Z] echo Agent pid 18 killed; [2021-04-26T23:33:17.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T23:33:17.651Z] + git semver [Pipeline] } [2021-04-26T23:33:17.671Z] $ docker stop --time=1 068d6ba49b2579ba86e9872d7aaaa5dfedef03e1cb86677adca019a6a9345b5b [2021-04-26T23:33:19.064Z] $ docker rm -f 068d6ba49b2579ba86e9872d7aaaa5dfedef03e1cb86677adca019a6a9345b5b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:33:19.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-26T23:33:19.566Z] [2021-04-26T23:33:19.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:33:19.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-26T23:33:19.889Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-04-26T23:33:19.889Z] ab5ef0e58194: Pulling fs layer [2021-04-26T23:33:19.889Z] 9712f1f96733: Pulling fs layer [2021-04-26T23:33:19.889Z] 63f879dbbcfc: Pulling fs layer [2021-04-26T23:33:19.889Z] 0d9ebad4ef96: Pulling fs layer [2021-04-26T23:33:19.889Z] e9a5061849ea: Pulling fs layer [2021-04-26T23:33:19.889Z] d747dcd14b5f: Pulling fs layer [2021-04-26T23:33:19.889Z] 2de7ff778b66: Pulling fs layer [2021-04-26T23:33:19.889Z] e9a5061849ea: Waiting [2021-04-26T23:33:19.889Z] 2de7ff778b66: Waiting [2021-04-26T23:33:19.889Z] d747dcd14b5f: Waiting [2021-04-26T23:33:19.889Z] 9712f1f96733: Verifying Checksum [2021-04-26T23:33:19.889Z] 9712f1f96733: Download complete [2021-04-26T23:33:21.291Z] 63f879dbbcfc: Verifying Checksum [2021-04-26T23:33:21.291Z] 63f879dbbcfc: Download complete [2021-04-26T23:33:21.556Z] e9a5061849ea: Verifying Checksum [2021-04-26T23:33:21.556Z] e9a5061849ea: Download complete [2021-04-26T23:33:21.556Z] d747dcd14b5f: Verifying Checksum [2021-04-26T23:33:21.556Z] d747dcd14b5f: Download complete [2021-04-26T23:33:22.143Z] 2de7ff778b66: Verifying Checksum [2021-04-26T23:33:22.143Z] 2de7ff778b66: Download complete [2021-04-26T23:33:22.408Z] 0d9ebad4ef96: Verifying Checksum [2021-04-26T23:33:22.408Z] 0d9ebad4ef96: Download complete [2021-04-26T23:33:22.408Z] ab5ef0e58194: Verifying Checksum [2021-04-26T23:33:22.408Z] ab5ef0e58194: Download complete [2021-04-26T23:33:26.642Z] ab5ef0e58194: Pull complete [2021-04-26T23:33:26.642Z] 9712f1f96733: Pull complete [2021-04-26T23:33:29.201Z] 63f879dbbcfc: Pull complete [2021-04-26T23:33:35.831Z] 0d9ebad4ef96: Pull complete [2021-04-26T23:33:37.228Z] e9a5061849ea: Pull complete [2021-04-26T23:33:37.228Z] d747dcd14b5f: Pull complete [2021-04-26T23:33:39.795Z] 2de7ff778b66: Pull complete [2021-04-26T23:33:39.795Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-04-26T23:33:39.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-04-26T23:33:39.795Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-04-26T23:33:40.032Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:33:40.099Z] $ 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-26T23:33:44.386Z] $ docker top 78aa6f9939d3487443fab100d35708c6a6cf9c411c5b429a8eb0f8a320f10e89 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-04-26T23:33:44.624Z] provisioning config files... [2021-04-26T23:33:44.639Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4817986464958859526tmp [2021-04-26T23:33:44.661Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config87476574336619869tmp [2021-04-26T23:33:44.680Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2867964204068212517tmp [Pipeline] { [Pipeline] echo [2021-04-26T23:33:44.703Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:33:45.014Z] ---> sigul-configuration.sh [2021-04-26T23:33:45.015Z] gpg: directory `/root/.gnupg' created [2021-04-26T23:33:45.015Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-04-26T23:33:45.015Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-04-26T23:33:45.015Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-04-26T23:33:45.015Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-04-26T23:33:45.015Z] gpg: CAST5 encrypted data [2021-04-26T23:33:45.277Z] gpg: encrypted with 1 passphrase [2021-04-26T23:33:45.277Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-04-26T23:33:45.580Z] + mkdir /home/jenkins [2021-04-26T23:33:45.580Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-04-26T23:33:45.893Z] + 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-26T23:33:45.905Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:33:46.205Z] ---> sigul-install.sh [2021-04-26T23:33:52.813Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-04-26T23:33:53.118Z] + git tag --list [2021-04-26T23:33:53.118Z] v0.1.0 [2021-04-26T23:33:53.118Z] v0.1.1 [2021-04-26T23:33:53.118Z] v1.0.0 [2021-04-26T23:33:53.118Z] v1.1.0 [2021-04-26T23:33:53.118Z] v1.2.0 [2021-04-26T23:33:53.118Z] v1.3.0 [2021-04-26T23:33:53.118Z] v1.3.1 [2021-04-26T23:33:53.118Z] v1.3.1-dev.1 [2021-04-26T23:33:53.118Z] v1.3.2-dev.1 [2021-04-26T23:33:53.118Z] v2.0.0-dev.1 [2021-04-26T23:33:53.118Z] v2.0.0-dev.10 [2021-04-26T23:33:53.118Z] v2.0.0-dev.11 [2021-04-26T23:33:53.118Z] v2.0.0-dev.12 [2021-04-26T23:33:53.118Z] v2.0.0-dev.13 [2021-04-26T23:33:53.118Z] v2.0.0-dev.14 [2021-04-26T23:33:53.118Z] v2.0.0-dev.15 [2021-04-26T23:33:53.118Z] v2.0.0-dev.16 [2021-04-26T23:33:53.118Z] v2.0.0-dev.17 [2021-04-26T23:33:53.118Z] v2.0.0-dev.18 [2021-04-26T23:33:53.118Z] v2.0.0-dev.19 [2021-04-26T23:33:53.118Z] v2.0.0-dev.2 [2021-04-26T23:33:53.118Z] v2.0.0-dev.20 [2021-04-26T23:33:53.118Z] v2.0.0-dev.21 [2021-04-26T23:33:53.118Z] v2.0.0-dev.22 [2021-04-26T23:33:53.118Z] v2.0.0-dev.23 [2021-04-26T23:33:53.118Z] v2.0.0-dev.24 [2021-04-26T23:33:53.118Z] v2.0.0-dev.25 [2021-04-26T23:33:53.118Z] v2.0.0-dev.26 [2021-04-26T23:33:53.118Z] v2.0.0-dev.27 [2021-04-26T23:33:53.118Z] v2.0.0-dev.28 [2021-04-26T23:33:53.118Z] v2.0.0-dev.29 [2021-04-26T23:33:53.118Z] v2.0.0-dev.3 [2021-04-26T23:33:53.118Z] v2.0.0-dev.30 [2021-04-26T23:33:53.118Z] v2.0.0-dev.31 [2021-04-26T23:33:53.118Z] v2.0.0-dev.32 [2021-04-26T23:33:53.118Z] v2.0.0-dev.33 [2021-04-26T23:33:53.118Z] v2.0.0-dev.34 [2021-04-26T23:33:53.118Z] v2.0.0-dev.35 [2021-04-26T23:33:53.118Z] v2.0.0-dev.36 [2021-04-26T23:33:53.118Z] v2.0.0-dev.37 [2021-04-26T23:33:53.118Z] v2.0.0-dev.38 [2021-04-26T23:33:53.118Z] v2.0.0-dev.39 [2021-04-26T23:33:53.118Z] v2.0.0-dev.4 [2021-04-26T23:33:53.118Z] v2.0.0-dev.40 [2021-04-26T23:33:53.118Z] v2.0.0-dev.41 [2021-04-26T23:33:53.118Z] v2.0.0-dev.42 [2021-04-26T23:33:53.118Z] v2.0.0-dev.43 [2021-04-26T23:33:53.118Z] v2.0.0-dev.44 [2021-04-26T23:33:53.118Z] v2.0.0-dev.45 [2021-04-26T23:33:53.118Z] v2.0.0-dev.46 [2021-04-26T23:33:53.118Z] v2.0.0-dev.47 [2021-04-26T23:33:53.118Z] v2.0.0-dev.5 [2021-04-26T23:33:53.118Z] v2.0.0-dev.6 [2021-04-26T23:33:53.118Z] v2.0.0-dev.7 [2021-04-26T23:33:53.118Z] v2.0.0-dev.8 [2021-04-26T23:33:53.118Z] v2.0.0-dev.9 [Pipeline] sh [2021-04-26T23:33:53.420Z] + lftools sign git-tag v2.0.0-dev.47 [2021-04-26T23:33:54.815Z] Signing Git tag with Sigul... [2021-04-26T23:33:54.815Z] Signing v2.0.0-dev.47 [Pipeline] echo [2021-04-26T23:33:56.295Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:33:56.645Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-04-26T23:33:56.654Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-04-26T23:33:56.690Z] $ docker stop --time=1 78aa6f9939d3487443fab100d35708c6a6cf9c411c5b429a8eb0f8a320f10e89 [2021-04-26T23:33:58.919Z] $ docker rm -f 78aa6f9939d3487443fab100d35708c6a6cf9c411c5b429a8eb0f8a320f10e89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:33:59.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:33:59.532Z] . [Pipeline] withDockerContainer [2021-04-26T23:33:59.647Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:33:59.698Z] $ 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-26T23:34:00.626Z] $ docker top 6f4299b49e38688d39701b142a8108c16dd66fe0f3d0c1a08ab885fdbd9e913a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T23:34:00.811Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:34:00.811Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:34:01.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:34:01.061Z] $ docker exec 6f4299b49e38688d39701b142a8108c16dd66fe0f3d0c1a08ab885fdbd9e913a ssh-agent [2021-04-26T23:34:01.280Z] SSH_AUTH_SOCK=/tmp/ssh-ATqAepP3kKNY/agent.12 [2021-04-26T23:34:01.280Z] SSH_AGENT_PID=17 [2021-04-26T23:34:01.305Z] Running ssh-add (command line suppressed) [2021-04-26T23:34:01.479Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3650292076498964109.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3650292076498964109.key) [2021-04-26T23:34:01.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:34:01.854Z] + git semver bump pre [2021-04-26T23:34:01.854Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T23:34:01.854Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-26T23:34:01.854Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-26T23:34:01.854Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T23:34:01.854Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T23:34:01.854Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T23:34:01.854Z] # $SEMVER_BRANCH = master [2021-04-26T23:34:01.854Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-04-26T23:34:01.854Z] 2.0.0-dev.48 [Pipeline] } [2021-04-26T23:34:01.868Z] $ docker exec --env ******** --env ******** 6f4299b49e38688d39701b142a8108c16dd66fe0f3d0c1a08ab885fdbd9e913a ssh-agent -k [2021-04-26T23:34:02.003Z] unset SSH_AUTH_SOCK; [2021-04-26T23:34:02.004Z] unset SSH_AGENT_PID; [2021-04-26T23:34:02.004Z] echo Agent pid 17 killed; [2021-04-26T23:34:02.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T23:34:02.417Z] + git semver [Pipeline] } [2021-04-26T23:34:02.443Z] $ docker stop --time=1 6f4299b49e38688d39701b142a8108c16dd66fe0f3d0c1a08ab885fdbd9e913a [2021-04-26T23:34:03.817Z] $ docker rm -f 6f4299b49e38688d39701b142a8108c16dd66fe0f3d0c1a08ab885fdbd9e913a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:34:04.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T23:34:04.262Z] . [Pipeline] withDockerContainer [2021-04-26T23:34:04.378Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:34:04.428Z] $ 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-26T23:34:05.145Z] $ docker top 65d7731941a1f283d68b86c15f2416fe4f1e822eeb29a60682b2b650067b83c9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T23:34:05.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T23:34:05.324Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T23:34:05.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T23:34:05.545Z] $ docker exec 65d7731941a1f283d68b86c15f2416fe4f1e822eeb29a60682b2b650067b83c9 ssh-agent [2021-04-26T23:34:05.744Z] SSH_AUTH_SOCK=/tmp/ssh-9StUzqOZYjXh/agent.12 [2021-04-26T23:34:05.744Z] SSH_AGENT_PID=17 [2021-04-26T23:34:05.751Z] Running ssh-add (command line suppressed) [2021-04-26T23:34:05.887Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3669360735102311511.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3669360735102311511.key) [2021-04-26T23:34:05.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T23:34:06.265Z] + git semver push [2021-04-26T23:34:06.265Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T23:34:06.265Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-04-26T23:34:06.265Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-04-26T23:34:06.265Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T23:34:06.265Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T23:34:06.265Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T23:34:06.265Z] # $SEMVER_BRANCH = master [2021-04-26T23:34:06.265Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-04-26T23:34:10.505Z] $ docker exec --env ******** --env ******** 65d7731941a1f283d68b86c15f2416fe4f1e822eeb29a60682b2b650067b83c9 ssh-agent -k [2021-04-26T23:34:10.698Z] unset SSH_AUTH_SOCK; [2021-04-26T23:34:10.698Z] unset SSH_AGENT_PID; [2021-04-26T23:34:10.698Z] echo Agent pid 17 killed; [2021-04-26T23:34:10.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T23:34:11.104Z] + git semver [Pipeline] } [2021-04-26T23:34:11.122Z] $ docker stop --time=1 65d7731941a1f283d68b86c15f2416fe4f1e822eeb29a60682b2b650067b83c9 [2021-04-26T23:34:12.510Z] $ docker rm -f 65d7731941a1f283d68b86c15f2416fe4f1e822eeb29a60682b2b650067b83c9 [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-26T23:34:13.456Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:34:14.037Z] ---> package-listing.sh [2021-04-26T23:34:14.037Z] ++ facter osfamily [2021-04-26T23:34:14.037Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T23:34:14.037Z] + OS_FAMILY=redhat [2021-04-26T23:34:14.037Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-04-26T23:34:14.037Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T23:34:14.037Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T23:34:14.037Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T23:34:14.037Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T23:34:14.037Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-26T23:34:14.037Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T23:34:14.037Z] + case "${OS_FAMILY}" in [2021-04-26T23:34:14.037Z] + rpm -qa [2021-04-26T23:34:14.037Z] + sort [2021-04-26T23:34:19.396Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T23:34:19.396Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T23:34:19.396Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T23:34:19.396Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-04-26T23:34:19.396Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-04-26T23:34:19.396Z] + 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-26T23:34:19.410Z] 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-26T23:34:19.705Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:34:20.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T23:34:20.015Z] [2021-04-26T23:34:20.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:34:20.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T23:34:20.357Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T23:34:20.357Z] df20fa9351a1: Pulling fs layer [2021-04-26T23:34:20.357Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T23:34:20.357Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T23:34:20.357Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T23:34:20.357Z] 93b61091891f: Pulling fs layer [2021-04-26T23:34:20.357Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T23:34:20.357Z] 5e14af77c1be: Pulling fs layer [2021-04-26T23:34:20.357Z] 01666e4c0597: Pulling fs layer [2021-04-26T23:34:20.357Z] aa168da1d23b: Pulling fs layer [2021-04-26T23:34:20.357Z] 46f8f816bc3b: Waiting [2021-04-26T23:34:20.357Z] 93b61091891f: Waiting [2021-04-26T23:34:20.357Z] 01666e4c0597: Waiting [2021-04-26T23:34:20.357Z] aa168da1d23b: Waiting [2021-04-26T23:34:20.357Z] 5e14af77c1be: Waiting [2021-04-26T23:34:20.357Z] 93b9cdb0e59b: Waiting [2021-04-26T23:34:20.357Z] 36b3adc4ff6f: Verifying Checksum [2021-04-26T23:34:20.357Z] 36b3adc4ff6f: Download complete [2021-04-26T23:34:20.357Z] 46f8f816bc3b: Download complete [2021-04-26T23:34:20.357Z] df20fa9351a1: Verifying Checksum [2021-04-26T23:34:20.357Z] df20fa9351a1: Download complete [2021-04-26T23:34:20.622Z] 93b9cdb0e59b: Download complete [2021-04-26T23:34:20.623Z] 93b61091891f: Verifying Checksum [2021-04-26T23:34:20.623Z] 93b61091891f: Download complete [2021-04-26T23:34:20.623Z] 5e14af77c1be: Download complete [2021-04-26T23:34:20.623Z] 01666e4c0597: Verifying Checksum [2021-04-26T23:34:20.623Z] 01666e4c0597: Download complete [2021-04-26T23:34:20.623Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T23:34:20.623Z] 8ad3a11d3b57: Download complete [2021-04-26T23:34:20.889Z] df20fa9351a1: Pull complete [2021-04-26T23:34:21.159Z] 36b3adc4ff6f: Pull complete [2021-04-26T23:34:22.136Z] 8ad3a11d3b57: Pull complete [2021-04-26T23:34:22.405Z] 46f8f816bc3b: Pull complete [2021-04-26T23:34:22.678Z] aa168da1d23b: Verifying Checksum [2021-04-26T23:34:22.678Z] aa168da1d23b: Download complete [2021-04-26T23:34:23.255Z] 93b61091891f: Pull complete [2021-04-26T23:34:23.519Z] 93b9cdb0e59b: Pull complete [2021-04-26T23:34:23.519Z] 5e14af77c1be: Pull complete [2021-04-26T23:34:23.794Z] 01666e4c0597: Pull complete [2021-04-26T23:34:32.008Z] aa168da1d23b: Pull complete [2021-04-26T23:34:32.008Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T23:34:32.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T23:34:32.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T23:34:32.209Z] prd-centos7-docker-4c-2g-1894 does not seem to be running inside a container [2021-04-26T23:34:32.261Z] $ 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-26T23:34:35.030Z] $ docker top 485e91f22e1bcd66f186b70c2d802e2f28bb3c322470ee055a88134e1848fe5a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:34:35.479Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T23:34:35.780Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T23:34:36.086Z] + ls /var/log/sa-host [2021-04-26T23:34:36.086Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T23:34:36.086Z] file_magic: OK [2021-04-26T23:34:36.086Z] HZ: Using current value: 100 [2021-04-26T23:34:36.086Z] file_header: OK [2021-04-26T23:34:36.086Z] 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-26T23:34:36.086Z] Statistics: [2021-04-26T23:34:36.086Z] Hnuu...uuuununununu... [2021-04-26T23:34:36.086Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T23:34:36.086Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T23:34:36.086Z] file_magic: OK [2021-04-26T23:34:36.086Z] HZ: Using current value: 100 [2021-04-26T23:34:36.086Z] file_header: OK [2021-04-26T23:34:36.086Z] 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-26T23:34:36.086Z] Statistics: [2021-04-26T23:34:36.086Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T23:34:36.086Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T23:34:36.658Z] provisioning config files... [2021-04-26T23:34:36.692Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1242349817812556146tmp [Pipeline] { [Pipeline] echo [2021-04-26T23:34:36.732Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:34:37.077Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T23:34:37.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T23:34:37.128Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:34:37.457Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T23:34:37.468Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:34:37.768Z] ---> sudo-logs.sh [2021-04-26T23:34:37.768Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T23:34:37.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:34:38.098Z] ---> job-cost.sh [2021-04-26T23:34:38.098Z] lf-activate-venv: SKIPPING [2021-04-26T23:34:38.098Z] DEBUG: total: 0.20999999344348907 [2021-04-26T23:34:38.098Z] INFO: Retrieving Stack Cost... [2021-04-26T23:34:39.045Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T23:34:39.624Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T23:34:39.641Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:34:39.952Z] ---> logs-deploy.sh [2021-04-26T23:34:39.952Z] lf-activate-venv: SKIPPING [2021-04-26T23:34:39.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/216 [2021-04-26T23:34:39.952Z] INFO: archiving workspace using pattern(s): [2021-04-26T23:34:41.875Z] Archives upload complete. [2021-04-26T23:34:41.875Z] INFO: archiving logs to Nexus