Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3a576611bceecf92a14c741c24e2054b0cc47e7a 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 ‘prd-centos7-docker-4c-2g-30320’ Running on prd-centos7-docker-4c-2g-30322 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 3a576611bceecf92a14c741c24e2054b0cc47e7a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 Commit message: "refactor: Rework SDK to use Interfaces and factory methods (#741)" > git rev-list --no-walk 3ee2f0baa2d3a3d98ce4974c8435d92977f8a164 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-18T18:28:50.112Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-18T18:28:50.657Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-18T18:28:50.770Z] ========================================================= [2021-03-18T18:28:50.770Z] EdgeX Global Pipelines Version Info [2021-03-18T18:28:50.770Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:28:52.359Z] ------------------- [2021-03-18T18:28:52.359Z] stable info: [2021-03-18T18:28:52.359Z] ------------------- [2021-03-18T18:28:52.359Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-18T18:28:52.359Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T18:28:52.359Z] Message: update stable to v1.0.186 [2021-03-18T18:28:53.315Z] ------------------- [2021-03-18T18:28:53.315Z] experimental info: [2021-03-18T18:28:53.315Z] ------------------- [2021-03-18T18:28:53.315Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-18T18:28:53.315Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-18T18:28:53.315Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-18T18:28:53.572Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-18T18:28:53.667Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-18T18:28:53.754Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-18T18:28:53.859Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-18T18:28:53.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-18T18:28:54.065Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-18T18:28:54.157Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-18T18:28:54.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-18T18:28:54.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-18T18:28:54.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-18T18:28:54.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-18T18:28:54.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-18T18:28:54.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-18T18:28:54.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-18T18:28:55.104Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T18:28:55.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T18:28:55.323Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T18:28:55.415Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-18T18:28:55.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-18T18:28:55.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-18T18:28:55.810Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-18T18:28:55.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-18T18:28:55.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-18T18:28:56.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-18T18:28:56.195Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-18T18:28:56.279Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-18T18:28:56.367Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-18T18:28:56.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-18T18:28:56.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-18T18:28:56.663Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a576611bceecf92a14c741c24e2054b0cc47e7a [Pipeline] echo [2021-03-18T18:28:56.791Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a57661 [Pipeline] echo [2021-03-18T18:28:56.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T18:28:57.717Z] + git log --format=format:%s -1 3a576611bceecf92a14c741c24e2054b0cc47e7a [Pipeline] echo [2021-03-18T18:28:57.776Z] GIT_COMMIT: 3a576611bceecf92a14c741c24e2054b0cc47e7a, Commit Message: refactor: Rework SDK to use Interfaces and factory methods (#741) [Pipeline] echo [2021-03-18T18:28:57.820Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:28:58.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:28:58.833Z] [2021-03-18T18:28:58.833Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:28:59.194Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:28:59.194Z] latest: Pulling from edgex-devops/git-semver [2021-03-18T18:28:59.194Z] 31603596830f: Pulling fs layer [2021-03-18T18:28:59.194Z] 2a8b12db71e7: Pulling fs layer [2021-03-18T18:28:59.194Z] 6ca5941a6612: Pulling fs layer [2021-03-18T18:28:59.194Z] ecc8261a40a4: Pulling fs layer [2021-03-18T18:28:59.194Z] ecc8261a40a4: Waiting [2021-03-18T18:28:59.194Z] 2a8b12db71e7: Download complete [2021-03-18T18:28:59.455Z] 31603596830f: Verifying Checksum [2021-03-18T18:28:59.455Z] 31603596830f: Download complete [2021-03-18T18:28:59.455Z] ecc8261a40a4: Verifying Checksum [2021-03-18T18:28:59.455Z] ecc8261a40a4: Download complete [2021-03-18T18:28:59.455Z] 6ca5941a6612: Verifying Checksum [2021-03-18T18:28:59.455Z] 6ca5941a6612: Download complete [2021-03-18T18:28:59.717Z] 31603596830f: Pull complete [2021-03-18T18:28:59.717Z] 2a8b12db71e7: Pull complete [2021-03-18T18:29:00.669Z] 6ca5941a6612: Pull complete [2021-03-18T18:29:00.931Z] ecc8261a40a4: Pull complete [2021-03-18T18:29:00.931Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-18T18:29:00.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:29:00.931Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-18T18:29:01.049Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:29:01.097Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:29:02.978Z] $ docker top 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:29:03.272Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:29:03.272Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:29:03.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:29:03.526Z] $ docker exec 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 ssh-agent [2021-03-18T18:29:03.760Z] SSH_AUTH_SOCK=/tmp/ssh-OJ5bRlQLVT9Y/agent.12 [2021-03-18T18:29:03.760Z] SSH_AGENT_PID=17 [2021-03-18T18:29:03.772Z] Running ssh-add (command line suppressed) [2021-03-18T18:29:03.887Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2862318432303583618.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2862318432303583618.key) [2021-03-18T18:29:03.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:29:04.274Z] + git tag --points-at HEAD [Pipeline] } [2021-03-18T18:29:04.293Z] $ docker exec --env ******** --env ******** 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 ssh-agent -k [2021-03-18T18:29:04.405Z] unset SSH_AUTH_SOCK; [2021-03-18T18:29:04.406Z] unset SSH_AGENT_PID; [2021-03-18T18:29:04.406Z] echo Agent pid 17 killed; [2021-03-18T18:29:04.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-18T18:29:04.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:29:04.609Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:29:04.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:29:04.777Z] $ docker exec 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 ssh-agent [2021-03-18T18:29:04.940Z] SSH_AUTH_SOCK=/tmp/ssh-ZtmZqkh6KmhQ/agent.49 [2021-03-18T18:29:04.940Z] SSH_AGENT_PID=54 [2021-03-18T18:29:04.947Z] Running ssh-add (command line suppressed) [2021-03-18T18:29:05.077Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5175916595820396617.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5175916595820396617.key) [2021-03-18T18:29:05.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:29:05.520Z] + git semver init [2021-03-18T18:29:05.520Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:29:05.520Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T18:29:05.520Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T18:29:05.520Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:29:05.520Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:29:05.520Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:29:05.520Z] # $SEMVER_BRANCH = master [2021-03-18T18:29:05.520Z] # $SEMVER_TEMP = /tmp/semver-357654890 [2021-03-18T18:29:05.520Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-18T18:29:08.097Z] # '/tmp/semver-357654890' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-18T18:29:08.097Z] # -> Force: false [2021-03-18T18:29:08.097Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-18T18:29:08.109Z] $ docker exec --env ******** --env ******** 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 ssh-agent -k [2021-03-18T18:29:08.243Z] unset SSH_AUTH_SOCK; [2021-03-18T18:29:08.245Z] unset SSH_AGENT_PID; [2021-03-18T18:29:08.245Z] echo Agent pid 54 killed; [2021-03-18T18:29:08.304Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:29:08.766Z] + git semver [Pipeline] } [2021-03-18T18:29:08.784Z] $ docker stop --time=1 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 [2021-03-18T18:29:10.322Z] $ docker rm -f 88b3f0ae2299b9a0450ece1a1d62f71acc743be98dec4a77d71a2202c7bb4762 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T18:29:10.818Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-18T18:29:11.270Z] Stashed 1 file(s) [Pipeline] echo [2021-03-18T18:29:11.274Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.28 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-18T18:29:26.885Z] Still waiting to schedule task [2021-03-18T18:29:26.885Z] ‘prd-centos7-docker-4c-2g-30323’ is offline; ‘prd-centos7-docker-4c-2g-30324’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-18T18:29:26.889Z] Still waiting to schedule task [2021-03-18T18:29:26.889Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-18T18:31:19.964Z] Running on prd-centos7-docker-4c-2g-30333 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-18T18:31:20.027Z] Running in /w/workspace/app-functions-sdk-go/195 [Pipeline] { [Pipeline] checkout [2021-03-18T18:31:23.044Z] using credential edgex-jenkins-ssh [2021-03-18T18:31:23.103Z] Cloning the remote Git repository [2021-03-18T18:31:23.135Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T18:31:23.212Z] > git init /w/workspace/app-functions-sdk-go/195 # timeout=10 [2021-03-18T18:31:23.278Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T18:31:23.279Z] > git --version # timeout=10 [2021-03-18T18:31:23.289Z] > git --version # 'git version 2.24.3' [2021-03-18T18:31:23.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:31:23.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:31:27.795Z] Checking out Revision 3a576611bceecf92a14c741c24e2054b0cc47e7a (master) [2021-03-18T18:31:27.395Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T18:31:27.401Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:31:27.411Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T18:31:27.435Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T18:31:27.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:31:27.441Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T18:31:27.807Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T18:31:27.814Z] > git checkout -f 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 [2021-03-18T18:31:31.498Z] Commit message: "refactor: Rework SDK to use Interfaces and factory methods (#741)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T18:31:32.889Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:31:33.241Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:31:33.550Z] + sudo service docker restart [2021-03-18T18:31:33.550Z] + true [2021-03-18T18:31:33.550Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-03-18T18:31:35.144Z] ========================================================= [2021-03-18T18:31:35.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-18T18:31:35.144Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:31:35.516Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-18T18:31:36.099Z] Sending build context to Docker daemon 19.37MB [2021-03-18T18:31:36.099Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T18:31:36.099Z] Step 2/8 : FROM ${BASE} [2021-03-18T18:31:36.378Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-18T18:31:36.378Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T18:31:36.378Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T18:31:36.378Z] de9db76c5a1d: Pulling fs layer [2021-03-18T18:31:36.378Z] bca2f99d35d6: Pulling fs layer [2021-03-18T18:31:36.378Z] 93359f2a8cfa: Pulling fs layer [2021-03-18T18:31:36.378Z] 7c6f9722023f: Pulling fs layer [2021-03-18T18:31:36.378Z] a35cf1a2eb13: Pulling fs layer [2021-03-18T18:31:36.378Z] bca2f99d35d6: Waiting [2021-03-18T18:31:36.378Z] 93359f2a8cfa: Waiting [2021-03-18T18:31:36.378Z] 7c6f9722023f: Waiting [2021-03-18T18:31:36.378Z] a35cf1a2eb13: Waiting [2021-03-18T18:31:36.378Z] de9db76c5a1d: Verifying Checksum [2021-03-18T18:31:36.378Z] de9db76c5a1d: Download complete [2021-03-18T18:31:36.378Z] 0ef7d3d256c8: Verifying Checksum [2021-03-18T18:31:36.378Z] 0ef7d3d256c8: Download complete [2021-03-18T18:31:36.378Z] 93359f2a8cfa: Verifying Checksum [2021-03-18T18:31:36.378Z] 93359f2a8cfa: Download complete [2021-03-18T18:31:36.378Z] 7c6f9722023f: Verifying Checksum [2021-03-18T18:31:36.378Z] 7c6f9722023f: Download complete [2021-03-18T18:31:36.378Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T18:31:36.378Z] 188c0c94c7c5: Download complete [2021-03-18T18:31:36.646Z] 188c0c94c7c5: Pull complete [2021-03-18T18:31:36.934Z] 0ef7d3d256c8: Pull complete [2021-03-18T18:31:36.934Z] de9db76c5a1d: Pull complete [2021-03-18T18:31:39.530Z] a35cf1a2eb13: Verifying Checksum [2021-03-18T18:31:39.530Z] a35cf1a2eb13: Download complete [2021-03-18T18:31:40.953Z] bca2f99d35d6: Verifying Checksum [2021-03-18T18:31:40.953Z] bca2f99d35d6: Download complete [2021-03-18T18:31:46.325Z] bca2f99d35d6: Pull complete [2021-03-18T18:31:46.325Z] 93359f2a8cfa: Pull complete [2021-03-18T18:31:46.325Z] 7c6f9722023f: Pull complete [2021-03-18T18:31:54.528Z] a35cf1a2eb13: Pull complete [2021-03-18T18:31:54.528Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-18T18:31:54.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-18T18:31:54.528Z] ---> a62c8e92a672 [2021-03-18T18:31:54.528Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-18T18:31:54.528Z] 20.10.0: Pulling from library/docker [2021-03-18T18:31:54.528Z] 05e7bc50f07f: Pulling fs layer [2021-03-18T18:31:54.528Z] 6db28d0fdbf6: Pulling fs layer [2021-03-18T18:31:54.528Z] 292df0bc6bf3: Pulling fs layer [2021-03-18T18:31:54.528Z] 2e060f4bd70b: Pulling fs layer [2021-03-18T18:31:54.528Z] 80e8d568a223: Pulling fs layer [2021-03-18T18:31:54.528Z] 8dc6ef1a942a: Pulling fs layer [2021-03-18T18:31:54.528Z] 2312dd95470a: Pulling fs layer [2021-03-18T18:31:54.528Z] 2e060f4bd70b: Waiting [2021-03-18T18:31:54.528Z] 80e8d568a223: Waiting [2021-03-18T18:31:54.528Z] 8dc6ef1a942a: Waiting [2021-03-18T18:31:54.528Z] 2312dd95470a: Waiting [2021-03-18T18:31:54.528Z] 292df0bc6bf3: Verifying Checksum [2021-03-18T18:31:54.528Z] 292df0bc6bf3: Download complete [2021-03-18T18:31:54.528Z] 05e7bc50f07f: Verifying Checksum [2021-03-18T18:31:54.528Z] 05e7bc50f07f: Download complete [2021-03-18T18:31:54.528Z] 6db28d0fdbf6: Verifying Checksum [2021-03-18T18:31:54.528Z] 6db28d0fdbf6: Download complete [2021-03-18T18:31:54.528Z] 80e8d568a223: Verifying Checksum [2021-03-18T18:31:54.528Z] 80e8d568a223: Download complete [2021-03-18T18:31:54.528Z] 8dc6ef1a942a: Verifying Checksum [2021-03-18T18:31:54.528Z] 2312dd95470a: Verifying Checksum [2021-03-18T18:31:54.528Z] 2312dd95470a: Download complete [2021-03-18T18:31:54.796Z] 05e7bc50f07f: Pull complete [2021-03-18T18:31:55.392Z] 6db28d0fdbf6: Pull complete [2021-03-18T18:31:55.392Z] 2e060f4bd70b: Verifying Checksum [2021-03-18T18:31:55.392Z] 2e060f4bd70b: Download complete [2021-03-18T18:31:55.661Z] 292df0bc6bf3: Pull complete [2021-03-18T18:31:59.006Z] 2e060f4bd70b: Pull complete [2021-03-18T18:31:59.006Z] 80e8d568a223: Pull complete [2021-03-18T18:31:59.006Z] 8dc6ef1a942a: Pull complete [2021-03-18T18:31:59.270Z] 2312dd95470a: Pull complete [2021-03-18T18:31:59.271Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-18T18:31:59.271Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-18T18:32:00.671Z] ---> edabe453d0f4 [2021-03-18T18:32:00.671Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-18T18:32:00.933Z] ---> Running in f0059e5c2a07 [2021-03-18T18:32:00.933Z] Removing intermediate container f0059e5c2a07 [2021-03-18T18:32:00.933Z] ---> bd4cffd1143e [2021-03-18T18:32:00.933Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-18T18:32:01.198Z] ---> Running in 3cfe3919a64f [2021-03-18T18:32:01.785Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-18T18:32:02.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-18T18:32:02.939Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-18T18:32:02.939Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-18T18:32:03.202Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-18T18:32:03.202Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-18T18:32:03.468Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-18T18:32:03.468Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T18:32:03.468Z] OK: 167 MiB in 44 packages [2021-03-18T18:32:04.046Z] Removing intermediate container 3cfe3919a64f [2021-03-18T18:32:04.046Z] ---> 41427f64ef89 [2021-03-18T18:32:04.046Z] Step 6/8 : WORKDIR /build [2021-03-18T18:32:04.315Z] ---> Running in a50f1708b933 [2021-03-18T18:32:04.315Z] Removing intermediate container a50f1708b933 [2021-03-18T18:32:04.315Z] ---> 4acb972c946b [2021-03-18T18:32:04.315Z] Step 7/8 : COPY go.mod . [2021-03-18T18:32:04.579Z] ---> cd5f853327c7 [2021-03-18T18:32:04.579Z] Step 8/8 : RUN go mod download [2021-03-18T18:32:04.579Z] ---> Running in 2acca645056f [2021-03-18T18:32:15.908Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30335 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-18T18:32:15.967Z] Running in /w/workspace/app-functions-sdk-go/195 [Pipeline] { [Pipeline] checkout [2021-03-18T18:32:20.966Z] using credential edgex-jenkins-ssh [2021-03-18T18:32:21.020Z] Cloning the remote Git repository [2021-03-18T18:32:21.068Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T18:32:21.190Z] > git init /w/workspace/app-functions-sdk-go/195 # timeout=10 [2021-03-18T18:32:21.285Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T18:32:21.285Z] > git --version # timeout=10 [2021-03-18T18:32:21.303Z] > git --version # 'git version 2.17.1' [2021-03-18T18:32:21.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:32:21.357Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:32:24.310Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T18:32:24.333Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-18T18:32:24.369Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-18T18:32:24.410Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-18T18:32:24.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-18T18:32:24.422Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-18T18:32:24.928Z] Checking out Revision 3a576611bceecf92a14c741c24e2054b0cc47e7a (master) [2021-03-18T18:32:24.938Z] > git config core.sparsecheckout # timeout=10 [2021-03-18T18:32:24.961Z] > git checkout -f 3a576611bceecf92a14c741c24e2054b0cc47e7a # timeout=10 [2021-03-18T18:32:29.261Z] Commit message: "refactor: Rework SDK to use Interfaces and factory methods (#741)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-18T18:32:30.892Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:32:31.300Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-18T18:32:31.644Z] + sudo service docker restart [2021-03-18T18:32:31.644Z] + true [2021-03-18T18:32:31.677Z] Removing intermediate container 2acca645056f [2021-03-18T18:32:31.677Z] ---> c5667b8ed637 [2021-03-18T18:32:31.677Z] Successfully built c5667b8ed637 [2021-03-18T18:32:31.677Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:32:32.059Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T18:32:32.059Z] . [Pipeline] withDockerContainer [2021-03-18T18:32:32.293Z] prd-centos7-docker-4c-2g-30333 does not seem to be running inside a container [2021-03-18T18:32:32.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/195 -v /w/workspace/app-functions-sdk-go/195:/w/workspace/app-functions-sdk-go/195:rw,z -v /w/workspace/app-functions-sdk-go/195@tmp:/w/workspace/app-functions-sdk-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-18T18:32:33.195Z] $ docker top 60fb11806f0815dd31cd42b61a9df8f5a7dd45dee496d89890763f65387018bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:32:33.755Z] + go version [2021-03-18T18:32:33.755Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-18T18:32:33.772Z] $ docker stop --time=1 60fb11806f0815dd31cd42b61a9df8f5a7dd45dee496d89890763f65387018bd [2021-03-18T18:32:35.231Z] $ docker rm -f 60fb11806f0815dd31cd42b61a9df8f5a7dd45dee496d89890763f65387018bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] unstash [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] echo [2021-03-18T18:32:35.716Z] ========================================================= [2021-03-18T18:32:35.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-18T18:32:35.716Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:32:36.150Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-18T18:32:36.336Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-18T18:32:36.336Z] . [Pipeline] withDockerContainer [2021-03-18T18:32:36.454Z] prd-centos7-docker-4c-2g-30333 does not seem to be running inside a container [2021-03-18T18:32:36.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/195 -v /w/workspace/app-functions-sdk-go/195:/w/workspace/app-functions-sdk-go/195:rw,z -v /w/workspace/app-functions-sdk-go/195@tmp:/w/workspace/app-functions-sdk-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-18T18:32:37.171Z] Sending build context to Docker daemon 19.37MB [2021-03-18T18:32:37.171Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-18T18:32:37.171Z] Step 2/8 : FROM ${BASE} [2021-03-18T18:32:37.282Z] $ docker top 675ca35083dd0adae903d91c5a8e51453d0e3a98b30d3c1c4f95e7de20b1f67d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:32:37.778Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-18T18:32:37.778Z] 5f621e34cdf4: Pulling fs layer [2021-03-18T18:32:37.778Z] a4357932f1b6: Pulling fs layer [2021-03-18T18:32:37.778Z] 18c013af1878: Pulling fs layer [2021-03-18T18:32:37.778Z] 00ac8860ef70: Pulling fs layer [2021-03-18T18:32:37.778Z] 63d7cb157983: Pulling fs layer [2021-03-18T18:32:37.778Z] b116817d02f9: Pulling fs layer [2021-03-18T18:32:37.778Z] 745a02a5169b: Pulling fs layer [2021-03-18T18:32:37.778Z] 00ac8860ef70: Waiting [2021-03-18T18:32:37.778Z] 63d7cb157983: Waiting [2021-03-18T18:32:37.778Z] b116817d02f9: Waiting [2021-03-18T18:32:37.778Z] 745a02a5169b: Waiting [2021-03-18T18:32:37.778Z] 18c013af1878: Verifying Checksum [2021-03-18T18:32:37.778Z] 18c013af1878: Download complete [2021-03-18T18:32:37.778Z] a4357932f1b6: Download complete [2021-03-18T18:32:37.778Z] 63d7cb157983: Verifying Checksum [2021-03-18T18:32:37.778Z] 63d7cb157983: Download complete [2021-03-18T18:32:37.778Z] b116817d02f9: Download complete [2021-03-18T18:32:37.778Z] 5f621e34cdf4: Verifying Checksum [2021-03-18T18:32:37.778Z] 5f621e34cdf4: Download complete [2021-03-18T18:32:37.796Z] + make test [2021-03-18T18:32:37.796Z] make -C ./app-service-template build [2021-03-18T18:32:37.796Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:32:37.796Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-18T18:32:38.388Z] 5f621e34cdf4: Pull complete [2021-03-18T18:32:38.996Z] a4357932f1b6: Pull complete [2021-03-18T18:32:39.271Z] 18c013af1878: Pull complete [2021-03-18T18:32:40.262Z] 745a02a5169b: Verifying Checksum [2021-03-18T18:32:40.262Z] 745a02a5169b: Download complete [2021-03-18T18:32:41.245Z] 00ac8860ef70: Verifying Checksum [2021-03-18T18:32:41.245Z] 00ac8860ef70: Download complete [2021-03-18T18:32:51.451Z] 00ac8860ef70: Pull complete [2021-03-18T18:32:51.451Z] 63d7cb157983: Pull complete [2021-03-18T18:32:52.048Z] b116817d02f9: Pull complete [2021-03-18T18:32:52.883Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:32:52.884Z] make -C ./app-service-template test [2021-03-18T18:32:52.884Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:32:52.884Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-18T18:32:55.526Z] 745a02a5169b: Pull complete [2021-03-18T18:32:55.526Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-18T18:32:55.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-18T18:32:55.526Z] ---> b7e6874047d6 [2021-03-18T18:32:55.526Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-18T18:32:55.526Z] 20.10.0: Pulling from library/docker [2021-03-18T18:32:55.526Z] a3cc7d3b244e: Pulling fs layer [2021-03-18T18:32:55.526Z] 02a3295e0d61: Pulling fs layer [2021-03-18T18:32:55.526Z] 0f4f2e6d8100: Pulling fs layer [2021-03-18T18:32:55.526Z] 330b718f631f: Pulling fs layer [2021-03-18T18:32:55.526Z] a93816041522: Pulling fs layer [2021-03-18T18:32:55.526Z] bdb6da89ff94: Pulling fs layer [2021-03-18T18:32:55.526Z] 2a70c0c122f4: Pulling fs layer [2021-03-18T18:32:55.526Z] 330b718f631f: Waiting [2021-03-18T18:32:55.526Z] a93816041522: Waiting [2021-03-18T18:32:55.526Z] bdb6da89ff94: Waiting [2021-03-18T18:32:55.526Z] 2a70c0c122f4: Waiting [2021-03-18T18:32:55.526Z] 0f4f2e6d8100: Verifying Checksum [2021-03-18T18:32:55.526Z] 0f4f2e6d8100: Download complete [2021-03-18T18:32:55.801Z] 02a3295e0d61: Verifying Checksum [2021-03-18T18:32:55.801Z] 02a3295e0d61: Download complete [2021-03-18T18:32:55.801Z] a93816041522: Verifying Checksum [2021-03-18T18:32:55.801Z] a93816041522: Download complete [2021-03-18T18:32:55.801Z] bdb6da89ff94: Verifying Checksum [2021-03-18T18:32:55.801Z] bdb6da89ff94: Download complete [2021-03-18T18:32:55.801Z] a3cc7d3b244e: Verifying Checksum [2021-03-18T18:32:55.801Z] a3cc7d3b244e: Download complete [2021-03-18T18:32:55.801Z] 2a70c0c122f4: Verifying Checksum [2021-03-18T18:32:55.801Z] 2a70c0c122f4: Download complete [2021-03-18T18:32:56.410Z] a3cc7d3b244e: Pull complete [2021-03-18T18:32:57.400Z] 02a3295e0d61: Pull complete [2021-03-18T18:32:57.400Z] 330b718f631f: Verifying Checksum [2021-03-18T18:32:57.400Z] 330b718f631f: Download complete [2021-03-18T18:32:57.674Z] 0f4f2e6d8100: Pull complete [2021-03-18T18:33:01.128Z] ok new-app-service 0.018s coverage: 89.5% of statements [2021-03-18T18:33:01.128Z] ok new-app-service/functions 0.020s [2021-03-18T18:33:01.128Z] CGO_ENABLED=1 go vet ./... [2021-03-18T18:33:01.990Z] 330b718f631f: Pull complete [2021-03-18T18:33:01.990Z] a93816041522: Pull complete [2021-03-18T18:33:01.990Z] bdb6da89ff94: Pull complete [2021-03-18T18:33:02.276Z] 2a70c0c122f4: Pull complete [2021-03-18T18:33:02.276Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-18T18:33:02.276Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-18T18:33:04.494Z] gofmt -l . [2021-03-18T18:33:04.494Z] [ "`gofmt -l .`" = "" ] [2021-03-18T18:33:04.494Z] ./bin/test-go-mod-tidy.sh [2021-03-18T18:33:04.762Z] ./bin/test-attribution-txt.sh [2021-03-18T18:33:05.354Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:33:05.354Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-18T18:33:05.942Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-18T18:33:08.556Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.036s coverage: 56.1% of statements [2021-03-18T18:33:08.556Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.013s coverage: 92.5% of statements [2021-03-18T18:33:08.556Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-18T18:33:08.556Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.065s coverage: 61.5% of statements [2021-03-18T18:33:08.556Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-18T18:33:08.556Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.020s [2021-03-18T18:33:08.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.057s coverage: 75.6% of statements [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-18T18:33:08.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.022s coverage: 97.0% of statements [2021-03-18T18:33:08.837Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T18:33:08.837Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements [2021-03-18T18:33:09.004Z] ---> 401163b8c494 [2021-03-18T18:33:09.004Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-18T18:33:09.004Z] ---> Running in ef447f22b07b [2021-03-18T18:33:09.282Z] Removing intermediate container ef447f22b07b [2021-03-18T18:33:09.282Z] ---> 96a6bf0c15f7 [2021-03-18T18:33:09.282Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-18T18:33:09.282Z] ---> Running in a821678113f1 [2021-03-18T18:33:10.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-18T18:33:11.705Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-18T18:33:12.682Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-18T18:33:12.682Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-18T18:33:12.958Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-18T18:33:12.958Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-18T18:33:13.113Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.753s coverage: 78.4% of statements [2021-03-18T18:33:13.113Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-18T18:33:13.114Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.009s coverage: 20.0% of statements [2021-03-18T18:33:13.114Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.015s coverage: 27.3% of statements [2021-03-18T18:33:13.114Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-18T18:33:13.114Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-18T18:33:13.114Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.015s coverage: 71.7% of statements [2021-03-18T18:33:13.230Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-18T18:33:13.230Z] Executing busybox-1.31.1-r19.trigger [2021-03-18T18:33:13.230Z] OK: 144 MiB in 44 packages [2021-03-18T18:33:14.658Z] Removing intermediate container a821678113f1 [2021-03-18T18:33:14.658Z] ---> 51f22a0f7dcc [2021-03-18T18:33:14.658Z] Step 6/8 : WORKDIR /build [2021-03-18T18:33:14.658Z] ---> Running in 52119d7e6aa5 [2021-03-18T18:33:15.251Z] Removing intermediate container 52119d7e6aa5 [2021-03-18T18:33:15.251Z] ---> 9a3d3ac82843 [2021-03-18T18:33:15.251Z] Step 7/8 : COPY go.mod . [2021-03-18T18:33:15.845Z] ---> 5e37688e7e49 [2021-03-18T18:33:15.845Z] Step 8/8 : RUN go mod download [2021-03-18T18:33:15.845Z] ---> Running in 53ece2b4ba99 [2021-03-18T18:33:39.775Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.046s coverage: 81.9% of statements [2021-03-18T18:33:39.776Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements [2021-03-18T18:33:39.776Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-18T18:33:39.776Z] gofmt -l . [2021-03-18T18:33:39.776Z] [ "`gofmt -l .`" = "" ] [2021-03-18T18:33:39.776Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T18:33:39.801Z] $ docker stop --time=1 675ca35083dd0adae903d91c5a8e51453d0e3a98b30d3c1c4f95e7de20b1f67d [2021-03-18T18:33:41.546Z] $ docker rm -f 675ca35083dd0adae903d91c5a8e51453d0e3a98b30d3c1c4f95e7de20b1f67d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T18:33:42.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T18:33:42.632Z] Stashed 2 file(s) [Pipeline] } [2021-03-18T18:33:42.655Z] Removing intermediate container 53ece2b4ba99 [2021-03-18T18:33:42.655Z] ---> 6b608e1dc28f [2021-03-18T18:33:42.655Z] Successfully built 6b608e1dc28f [2021-03-18T18:33:42.655Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-03-18T18:33:43.248Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T18:33:43.248Z] . [Pipeline] // stage [Pipeline] withDockerContainer [2021-03-18T18:33:43.688Z] prd-ubuntu18.04-docker-arm64-4c-16g-30335 does not seem to be running inside a container [2021-03-18T18:33:43.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/195 -v /w/workspace/app-functions-sdk-go/195:/w/workspace/app-functions-sdk-go/195:rw,z -v /w/workspace/app-functions-sdk-go/195@tmp:/w/workspace/app-functions-sdk-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T18:33:45.463Z] $ docker top 2b38620fe8eb3defa7eef42c0073fcdbcc337c07d131d534b95b87b33a587e18 -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:33:46.499Z] + go version [2021-03-18T18:33:46.499Z] go version go1.15.5 linux/arm64 [2021-03-18T18:33:46.506Z] ---> job-cost.sh [2021-03-18T18:33:46.506Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tiFf [Pipeline] } [2021-03-18T18:33:46.518Z] $ docker stop --time=1 2b38620fe8eb3defa7eef42c0073fcdbcc337c07d131d534b95b87b33a587e18 [2021-03-18T18:33:48.483Z] $ docker rm -f 2b38620fe8eb3defa7eef42c0073fcdbcc337c07d131d534b95b87b33a587e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:33:49.572Z] + docker inspect -f . ci-base-image-arm64 [2021-03-18T18:33:49.572Z] . [Pipeline] withDockerContainer [2021-03-18T18:33:49.827Z] prd-ubuntu18.04-docker-arm64-4c-16g-30335 does not seem to be running inside a container [2021-03-18T18:33:49.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/195 -v /w/workspace/app-functions-sdk-go/195:/w/workspace/app-functions-sdk-go/195:rw,z -v /w/workspace/app-functions-sdk-go/195@tmp:/w/workspace/app-functions-sdk-go/195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-18T18:33:51.370Z] $ docker top 2f568b7aef89df47d849435b92a0db4c0d9999ca39dad1ed37a3bf620c51b2c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:33:52.381Z] + make test [2021-03-18T18:33:52.381Z] make -C ./app-service-template build [2021-03-18T18:33:52.381Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:33:52.381Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-03-18T18:34:04.759Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T18:34:31.481Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:34:31.481Z] make -C ./app-service-template test [2021-03-18T18:34:31.481Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:34:31.481Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-18T18:34:36.990Z] lf-activate-venv(): INFO: Adding /tmp/venv-tiFf/bin to PATH [2021-03-18T18:34:36.990Z] INFO: No Stack... [2021-03-18T18:34:36.990Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T18:34:36.990Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T18:34:37.309Z] + cat /w/workspace/app-functions-sdk-go/195/archives/cost.csv [2021-03-18T18:34:37.309Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T18:34:37.398Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] [2021-03-18T18:34:37.410Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] did not exist. Created. [2021-03-18T18:34:37.410Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T18:34:37.804Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-18T18:34:37.983Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T18:34:37.994Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-18T18:34:49.801Z] ok new-app-service 0.035s coverage: 89.5% of statements [2021-03-18T18:34:50.392Z] ok new-app-service/functions 0.027s [2021-03-18T18:34:50.669Z] CGO_ENABLED=1 go vet ./... [2021-03-18T18:35:00.864Z] gofmt -l . [2021-03-18T18:35:00.864Z] [ "`gofmt -l .`" = "" ] [2021-03-18T18:35:00.864Z] ./bin/test-go-mod-tidy.sh [2021-03-18T18:35:00.864Z] ./bin/test-attribution-txt.sh [2021-03-18T18:35:01.928Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/195/app-service-template' [2021-03-18T18:35:01.928Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-18T18:35:03.393Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-18T18:35:11.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.069s coverage: 56.1% of statements [2021-03-18T18:35:11.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.034s coverage: 92.5% of statements [2021-03-18T18:35:11.681Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-18T18:35:11.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.074s coverage: 61.5% of statements [2021-03-18T18:35:11.681Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-18T18:35:11.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.043s [2021-03-18T18:35:11.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.099s coverage: 75.6% of statements [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-18T18:35:11.955Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.039s coverage: 97.0% of statements [2021-03-18T18:35:11.955Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-18T18:35:12.556Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.059s coverage: 10.5% of statements [2021-03-18T18:35:19.284Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.830s coverage: 78.4% of statements [2021-03-18T18:35:19.284Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-18T18:35:19.284Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.029s coverage: 20.0% of statements [2021-03-18T18:35:19.284Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.088s coverage: 27.3% of statements [2021-03-18T18:35:19.284Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] [2021-03-18T18:35:19.284Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] [2021-03-18T18:35:19.284Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.056s coverage: 71.7% of statements [2021-03-18T18:35:46.092Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.088s coverage: 81.9% of statements [2021-03-18T18:35:46.092Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements [2021-03-18T18:35:46.092Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-18T18:35:48.077Z] gofmt -l . [2021-03-18T18:35:48.077Z] [ "`gofmt -l .`" = "" ] [2021-03-18T18:35:48.676Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-18T18:35:49.289Z] $ docker stop --time=1 2f568b7aef89df47d849435b92a0db4c0d9999ca39dad1ed37a3bf620c51b2c7 [2021-03-18T18:35:51.445Z] $ docker rm -f 2f568b7aef89df47d849435b92a0db4c0d9999ca39dad1ed37a3bf620c51b2c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-18T18:35:52.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-18T18:35:52.577Z] Warning: overwriting stash ‘coverage-report’ [2021-03-18T18:35:53.520Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:35:54.415Z] ---> job-cost.sh [2021-03-18T18:35:54.415Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BpMx [2021-03-18T18:36:41.373Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-18T18:38:18.162Z] lf-activate-venv(): INFO: Adding /tmp/venv-BpMx/bin to PATH [2021-03-18T18:38:18.162Z] INFO: No Stack... [2021-03-18T18:38:18.162Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-18T18:38:18.162Z] INFO: Archiving Costs [Pipeline] sh [2021-03-18T18:38:18.524Z] + cat /w/workspace/app-functions-sdk-go/195/archives/cost.csv [2021-03-18T18:38:18.524Z] + cut -d, -f6 [Pipeline] lock [2021-03-18T18:38:18.657Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] [2021-03-18T18:38:18.664Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] did not exist. Created. [2021-03-18T18:38:18.664Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T18:38:19.108Z] /w/workspace/app-functions-sdk-go/195@tmp/durable-84d27514/script.sh: 1: /w/workspace/app-functions-sdk-go/195@tmp/durable-84d27514/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-18T18:38:19.455Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-18T18:38:19.519Z] Warning: overwriting stash ‘stack-cost’ [2021-03-18T18:38:19.676Z] Stashed 1 file(s) [Pipeline] } [2021-03-18T18:38:19.687Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-195-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-18T18:38:21.179Z] provisioning config files... [2021-03-18T18:38:21.196Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8682198242323351986tmp [Pipeline] { [Pipeline] sh [2021-03-18T18:38:21.568Z] + set +x [2021-03-18T18:38:21.568Z] + curl -s https://codecov.io/bash [2021-03-18T18:38:21.568Z] + bash -s -- [2021-03-18T18:38:21.568Z] [2021-03-18T18:38:21.568Z] _____ _ [2021-03-18T18:38:21.568Z] / ____| | | [2021-03-18T18:38:21.568Z] | | ___ __| | ___ ___ _____ __ [2021-03-18T18:38:21.568Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-18T18:38:21.568Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-18T18:38:21.568Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-18T18:38:21.568Z] Bash-20210309-2b87ace [2021-03-18T18:38:21.568Z] [2021-03-18T18:38:21.568Z] [2021-03-18T18:38:21.568Z] ==> git version 2.24.3 found [2021-03-18T18:38:21.568Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-18T18:38:21.568Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-18T18:38:21.568Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-18T18:38:21.568Z] ==> Jenkins CI detected. [2021-03-18T18:38:21.829Z] project root: . [2021-03-18T18:38:21.829Z] --> token set from env [2021-03-18T18:38:21.829Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-18T18:38:21.829Z] ==> Running gcov in . (disable via -X gcov) [2021-03-18T18:38:21.829Z] ==> Python coveragepy not found [2021-03-18T18:38:21.829Z] ==> Searching for coverage reports in: [2021-03-18T18:38:21.829Z] + . [2021-03-18T18:38:21.829Z] -> Found 2 reports [2021-03-18T18:38:21.829Z] ==> Detecting git/mercurial file structure [2021-03-18T18:38:21.829Z] ==> Reading reports [2021-03-18T18:38:21.829Z] + ./app-service-template/coverage.out bytes=400 [2021-03-18T18:38:21.829Z] + ./coverage.out bytes=85746 [2021-03-18T18:38:21.829Z] ==> Appending adjustments [2021-03-18T18:38:21.829Z] https://docs.codecov.io/docs/fixing-reports [2021-03-18T18:38:22.090Z] + Found adjustments [2021-03-18T18:38:22.090Z] ==> Gzipping contents [2021-03-18T18:38:22.090Z] 16K /tmp/codecov.PdHVXu.gz [2021-03-18T18:38:22.090Z] ==> Uploading reports [2021-03-18T18:38:22.090Z] url: https://codecov.io [2021-03-18T18:38:22.090Z] query: branch=master&commit=3a576611bceecf92a14c741c24e2054b0cc47e7a&build=195&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F195%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-18T18:38:22.090Z] -> Pinging Codecov [2021-03-18T18:38:22.090Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=3a576611bceecf92a14c741c24e2054b0cc47e7a&build=195&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F195%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-18T18:38:22.662Z] -> Uploading to [2021-03-18T18:38:22.662Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-18/3D8B5DFFC46A037C893635FACE044666/3a576611bceecf92a14c741c24e2054b0cc47e7a/90de72db-f49c-4228-8f80-70c33cccd31d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210318T183822Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d97a07e6df992aa9e2ef0bda0293a9d93682a82875dee3fbb1d3f4885b3bc5b [2021-03-18T18:38:22.662Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T18:38:22.662Z] Dload Upload Total Spent Left Speed [2021-03-18T18:38:23.236Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14939 0 0 100 14939 0 33834 --:--:-- --:--:-- --:--:-- 33798 100 14939 0 0 100 14939 0 33820 --:--:-- --:--:-- --:--:-- 33798 [2021-03-18T18:38:23.236Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3a576611bceecf92a14c741c24e2054b0cc47e7a [Pipeline] } [2021-03-18T18:38:23.245Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-18T18:38:23.702Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-18T18:38:23.751Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:38:24.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T18:38:24.135Z] [2021-03-18T18:38:24.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:38:24.508Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T18:38:24.509Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-18T18:38:24.509Z] 188c0c94c7c5: Pulling fs layer [2021-03-18T18:38:24.509Z] 0ef7d3d256c8: Pulling fs layer [2021-03-18T18:38:24.509Z] de9db76c5a1d: Pulling fs layer [2021-03-18T18:38:24.509Z] 0eba1c9be4d2: Pulling fs layer [2021-03-18T18:38:24.509Z] 0d57e429df01: Pulling fs layer [2021-03-18T18:38:24.509Z] 4e4be7b47b0d: Pulling fs layer [2021-03-18T18:38:24.509Z] e1f770b5df2f: Pulling fs layer [2021-03-18T18:38:24.509Z] 85a0685a4137: Pulling fs layer [2021-03-18T18:38:24.509Z] 0eba1c9be4d2: Waiting [2021-03-18T18:38:24.509Z] 0d57e429df01: Waiting [2021-03-18T18:38:24.509Z] 4e4be7b47b0d: Waiting [2021-03-18T18:38:24.509Z] e1f770b5df2f: Waiting [2021-03-18T18:38:24.509Z] 85a0685a4137: Waiting [2021-03-18T18:38:24.509Z] de9db76c5a1d: Verifying Checksum [2021-03-18T18:38:24.509Z] de9db76c5a1d: Download complete [2021-03-18T18:38:24.509Z] 0ef7d3d256c8: Download complete [2021-03-18T18:38:24.509Z] 0d57e429df01: Verifying Checksum [2021-03-18T18:38:24.509Z] 0d57e429df01: Download complete [2021-03-18T18:38:24.509Z] 4e4be7b47b0d: Verifying Checksum [2021-03-18T18:38:24.509Z] 4e4be7b47b0d: Download complete [2021-03-18T18:38:24.509Z] 188c0c94c7c5: Verifying Checksum [2021-03-18T18:38:24.509Z] 188c0c94c7c5: Download complete [2021-03-18T18:38:24.774Z] 188c0c94c7c5: Pull complete [2021-03-18T18:38:25.036Z] 0ef7d3d256c8: Pull complete [2021-03-18T18:38:25.036Z] de9db76c5a1d: Pull complete [2021-03-18T18:38:26.424Z] e1f770b5df2f: Download complete [2021-03-18T18:38:28.344Z] 85a0685a4137: Verifying Checksum [2021-03-18T18:38:28.344Z] 85a0685a4137: Download complete [2021-03-18T18:38:28.344Z] 0eba1c9be4d2: Download complete [2021-03-18T18:38:33.666Z] 0eba1c9be4d2: Pull complete [2021-03-18T18:38:33.666Z] 0d57e429df01: Pull complete [2021-03-18T18:38:33.666Z] 4e4be7b47b0d: Pull complete [2021-03-18T18:38:35.603Z] e1f770b5df2f: Pull complete [2021-03-18T18:38:43.753Z] 85a0685a4137: Pull complete [2021-03-18T18:38:43.753Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-18T18:38:43.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-18T18:38:43.753Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-18T18:38:43.889Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:38:43.942Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-18T18:38:44.749Z] $ docker top bc528c6a039a9369191968510d6ed799e5854eb392671f5450f81e229d20e232 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-18T18:38:44.997Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-18T18:38:45.283Z] + set -o pipefail [2021-03-18T18:38:45.283Z] + snyk monitor '--org=edgex-jenkins' [2021-03-18T18:39:00.196Z] [2021-03-18T18:39:00.196Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-18T18:39:00.196Z] [2021-03-18T18:39:00.196Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/55d7b026-38ad-43ec-97e4-e46845b7f189 [2021-03-18T18:39:00.196Z] [2021-03-18T18:39:00.196Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-18T18:39:00.196Z] [2021-03-18T18:39:00.196Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-18T18:39:00.196Z] [2021-03-18T18:39:00.196Z] [Pipeline] } [2021-03-18T18:39:00.213Z] $ docker stop --time=1 bc528c6a039a9369191968510d6ed799e5854eb392671f5450f81e229d20e232 [2021-03-18T18:39:03.392Z] $ docker rm -f bc528c6a039a9369191968510d6ed799e5854eb392671f5450f81e229d20e232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-18T18:39:04.585Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T18:39:04.639Z] provisioning config files... [2021-03-18T18:39:04.650Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config896772987746913876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:39:05.139Z] --> edgex-publish-swagger.sh [2021-03-18T18:39:05.139Z] === Publish openapi/v2 API === [2021-03-18T18:39:05.139Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-18T18:39:05.139Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-18T18:39:05.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-18T18:39:05.139Z] Dload Upload Total Spent Left Speed [2021-03-18T18:39:06.528Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11304 0:00:01 0:00:01 --:--:-- 11320 100 13052 0 0 100 13052 0 11303 0:00:01 0:00:01 --:--:-- 11320 [2021-03-18T18:39:06.528Z] [2021-03-18T18:39:06.528Z] [Pipeline] } [2021-03-18T18:39:06.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-18T18:39:07.568Z] + git log --format=format:%s -1 3a576611bceecf92a14c741c24e2054b0cc47e7a [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:39:07.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:39:07.873Z] . [Pipeline] withDockerContainer [2021-03-18T18:39:07.970Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:39:08.013Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:39:08.682Z] $ docker top e4197c06398aa7e5a34a84369082f01dfce8c429b99646d17024feaf4287f21b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:39:08.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:39:08.953Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:39:09.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:39:09.160Z] $ docker exec e4197c06398aa7e5a34a84369082f01dfce8c429b99646d17024feaf4287f21b ssh-agent [2021-03-18T18:39:09.317Z] SSH_AUTH_SOCK=/tmp/ssh-PYrncLSPe8t8/agent.11 [2021-03-18T18:39:09.318Z] SSH_AGENT_PID=16 [2021-03-18T18:39:09.323Z] Running ssh-add (command line suppressed) [2021-03-18T18:39:09.454Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7347490165355945100.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7347490165355945100.key) [2021-03-18T18:39:09.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:39:09.829Z] + git semver tag [2021-03-18T18:39:09.829Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:39:09.829Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T18:39:09.829Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T18:39:09.829Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:39:09.829Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:39:09.829Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:39:09.829Z] # $SEMVER_BRANCH = master [2021-03-18T18:39:09.829Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-18T18:39:09.829Z] # 3a576611bceecf92a14c741c24e2054b0cc47e7a HEAD [2021-03-18T18:39:09.829Z] # -> Force: false [2021-03-18T18:39:09.829Z] # aa49b7c34a7c753358c9439880b4d157aa6f0d0b refs/tags/v2.0.0-dev.28 [Pipeline] } [2021-03-18T18:39:09.841Z] $ docker exec --env ******** --env ******** e4197c06398aa7e5a34a84369082f01dfce8c429b99646d17024feaf4287f21b ssh-agent -k [2021-03-18T18:39:09.946Z] unset SSH_AUTH_SOCK; [2021-03-18T18:39:09.947Z] unset SSH_AGENT_PID; [2021-03-18T18:39:09.947Z] echo Agent pid 16 killed; [2021-03-18T18:39:09.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:39:10.571Z] + git semver [Pipeline] } [2021-03-18T18:39:10.595Z] $ docker stop --time=1 e4197c06398aa7e5a34a84369082f01dfce8c429b99646d17024feaf4287f21b [2021-03-18T18:39:12.141Z] $ docker rm -f e4197c06398aa7e5a34a84369082f01dfce8c429b99646d17024feaf4287f21b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:39:12.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T18:39:12.734Z] [2021-03-18T18:39:12.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:39:13.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T18:39:13.078Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-18T18:39:13.078Z] ab5ef0e58194: Pulling fs layer [2021-03-18T18:39:13.078Z] 9712f1f96733: Pulling fs layer [2021-03-18T18:39:13.078Z] 63f879dbbcfc: Pulling fs layer [2021-03-18T18:39:13.078Z] 0d9ebad4ef96: Pulling fs layer [2021-03-18T18:39:13.078Z] e9a5061849ea: Pulling fs layer [2021-03-18T18:39:13.078Z] d747dcd14b5f: Pulling fs layer [2021-03-18T18:39:13.078Z] 2de7ff778b66: Pulling fs layer [2021-03-18T18:39:13.078Z] 0d9ebad4ef96: Waiting [2021-03-18T18:39:13.078Z] e9a5061849ea: Waiting [2021-03-18T18:39:13.078Z] d747dcd14b5f: Waiting [2021-03-18T18:39:13.078Z] 2de7ff778b66: Waiting [2021-03-18T18:39:13.078Z] 9712f1f96733: Verifying Checksum [2021-03-18T18:39:13.078Z] 9712f1f96733: Download complete [2021-03-18T18:39:15.049Z] 63f879dbbcfc: Verifying Checksum [2021-03-18T18:39:15.049Z] 63f879dbbcfc: Download complete [2021-03-18T18:39:15.049Z] e9a5061849ea: Verifying Checksum [2021-03-18T18:39:15.049Z] e9a5061849ea: Download complete [2021-03-18T18:39:15.049Z] d747dcd14b5f: Verifying Checksum [2021-03-18T18:39:15.049Z] d747dcd14b5f: Download complete [2021-03-18T18:39:15.049Z] 2de7ff778b66: Verifying Checksum [2021-03-18T18:39:15.049Z] 2de7ff778b66: Download complete [2021-03-18T18:39:15.310Z] 0d9ebad4ef96: Verifying Checksum [2021-03-18T18:39:15.310Z] 0d9ebad4ef96: Download complete [2021-03-18T18:39:15.571Z] ab5ef0e58194: Verifying Checksum [2021-03-18T18:39:15.571Z] ab5ef0e58194: Download complete [2021-03-18T18:39:21.152Z] ab5ef0e58194: Pull complete [2021-03-18T18:39:21.152Z] 9712f1f96733: Pull complete [2021-03-18T18:39:23.069Z] 63f879dbbcfc: Pull complete [2021-03-18T18:39:28.486Z] 0d9ebad4ef96: Pull complete [2021-03-18T18:39:29.879Z] e9a5061849ea: Pull complete [2021-03-18T18:39:29.879Z] d747dcd14b5f: Pull complete [2021-03-18T18:39:32.429Z] 2de7ff778b66: Pull complete [2021-03-18T18:39:32.429Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-18T18:39:32.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-18T18:39:32.429Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-18T18:39:32.554Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:39:32.596Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-18T18:39:36.624Z] $ docker top cfa251a2257345220502df2a892c874baa8af1be09eaffe18320ce94f3d5943f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-18T18:39:36.836Z] provisioning config files... [2021-03-18T18:39:36.844Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1234437802464963811tmp [2021-03-18T18:39:36.858Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config9149425997386084880tmp [2021-03-18T18:39:36.870Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7342055586936528621tmp [Pipeline] { [Pipeline] echo [2021-03-18T18:39:36.931Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:39:37.222Z] ---> sigul-configuration.sh [2021-03-18T18:39:37.222Z] gpg: directory `/root/.gnupg' created [2021-03-18T18:39:37.222Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-18T18:39:37.222Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-18T18:39:37.222Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-18T18:39:37.222Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-18T18:39:37.222Z] gpg: CAST5 encrypted data [2021-03-18T18:39:37.483Z] gpg: encrypted with 1 passphrase [2021-03-18T18:39:37.483Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-18T18:39:37.780Z] + mkdir /home/jenkins [2021-03-18T18:39:37.780Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-18T18:39:38.077Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-18T18:39:38.087Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:39:38.380Z] ---> sigul-install.sh [2021-03-18T18:39:44.963Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-18T18:39:45.257Z] + git tag --list [2021-03-18T18:39:45.258Z] v0.1.0 [2021-03-18T18:39:45.258Z] v0.1.1 [2021-03-18T18:39:45.258Z] v1.0.0 [2021-03-18T18:39:45.258Z] v1.1.0 [2021-03-18T18:39:45.258Z] v1.2.0 [2021-03-18T18:39:45.258Z] v1.3.0 [2021-03-18T18:39:45.258Z] v1.3.1 [2021-03-18T18:39:45.258Z] v1.3.1-dev.1 [2021-03-18T18:39:45.258Z] v1.3.2-dev.1 [2021-03-18T18:39:45.258Z] v2.0.0-dev.1 [2021-03-18T18:39:45.258Z] v2.0.0-dev.10 [2021-03-18T18:39:45.258Z] v2.0.0-dev.11 [2021-03-18T18:39:45.258Z] v2.0.0-dev.12 [2021-03-18T18:39:45.258Z] v2.0.0-dev.13 [2021-03-18T18:39:45.258Z] v2.0.0-dev.14 [2021-03-18T18:39:45.258Z] v2.0.0-dev.15 [2021-03-18T18:39:45.258Z] v2.0.0-dev.16 [2021-03-18T18:39:45.258Z] v2.0.0-dev.17 [2021-03-18T18:39:45.258Z] v2.0.0-dev.18 [2021-03-18T18:39:45.258Z] v2.0.0-dev.19 [2021-03-18T18:39:45.258Z] v2.0.0-dev.2 [2021-03-18T18:39:45.258Z] v2.0.0-dev.20 [2021-03-18T18:39:45.258Z] v2.0.0-dev.21 [2021-03-18T18:39:45.258Z] v2.0.0-dev.22 [2021-03-18T18:39:45.258Z] v2.0.0-dev.23 [2021-03-18T18:39:45.258Z] v2.0.0-dev.24 [2021-03-18T18:39:45.258Z] v2.0.0-dev.25 [2021-03-18T18:39:45.258Z] v2.0.0-dev.26 [2021-03-18T18:39:45.258Z] v2.0.0-dev.27 [2021-03-18T18:39:45.258Z] v2.0.0-dev.28 [2021-03-18T18:39:45.258Z] v2.0.0-dev.3 [2021-03-18T18:39:45.258Z] v2.0.0-dev.4 [2021-03-18T18:39:45.258Z] v2.0.0-dev.5 [2021-03-18T18:39:45.258Z] v2.0.0-dev.6 [2021-03-18T18:39:45.258Z] v2.0.0-dev.7 [2021-03-18T18:39:45.258Z] v2.0.0-dev.8 [2021-03-18T18:39:45.258Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-18T18:39:45.559Z] + lftools sign git-tag v2.0.0-dev.28 [2021-03-18T18:39:46.504Z] Signing Git tag with Sigul... [2021-03-18T18:39:46.504Z] Signing v2.0.0-dev.28 [Pipeline] echo [2021-03-18T18:39:47.467Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:39:47.771Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-18T18:39:47.781Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-18T18:39:47.924Z] $ docker stop --time=1 cfa251a2257345220502df2a892c874baa8af1be09eaffe18320ce94f3d5943f [2021-03-18T18:39:49.889Z] $ docker rm -f cfa251a2257345220502df2a892c874baa8af1be09eaffe18320ce94f3d5943f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:39:50.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:39:50.967Z] . [Pipeline] withDockerContainer [2021-03-18T18:39:51.055Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:39:51.101Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:39:51.712Z] $ docker top 234bdb6af25cecd37c42e9fc591bccaf0027de929e1488c16aa18e5c74868218 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:39:52.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:39:52.011Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:39:52.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:39:52.193Z] $ docker exec 234bdb6af25cecd37c42e9fc591bccaf0027de929e1488c16aa18e5c74868218 ssh-agent [2021-03-18T18:39:52.347Z] SSH_AUTH_SOCK=/tmp/ssh-ENZQthkQS5qA/agent.11 [2021-03-18T18:39:52.347Z] SSH_AGENT_PID=16 [2021-03-18T18:39:52.354Z] Running ssh-add (command line suppressed) [2021-03-18T18:39:52.470Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6090897163892067453.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6090897163892067453.key) [2021-03-18T18:39:52.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:39:52.859Z] + git semver bump pre [2021-03-18T18:39:52.859Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:39:52.859Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T18:39:52.859Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T18:39:52.859Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:39:52.859Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:39:52.859Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:39:52.859Z] # $SEMVER_BRANCH = master [2021-03-18T18:39:52.859Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-18T18:39:52.859Z] 2.0.0-dev.29 [Pipeline] } [2021-03-18T18:39:52.873Z] $ docker exec --env ******** --env ******** 234bdb6af25cecd37c42e9fc591bccaf0027de929e1488c16aa18e5c74868218 ssh-agent -k [2021-03-18T18:39:52.986Z] unset SSH_AUTH_SOCK; [2021-03-18T18:39:52.986Z] unset SSH_AGENT_PID; [2021-03-18T18:39:52.986Z] echo Agent pid 16 killed; [2021-03-18T18:39:53.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:39:53.490Z] + git semver [Pipeline] } [2021-03-18T18:39:53.509Z] $ docker stop --time=1 234bdb6af25cecd37c42e9fc591bccaf0027de929e1488c16aa18e5c74868218 [2021-03-18T18:39:54.838Z] $ docker rm -f 234bdb6af25cecd37c42e9fc591bccaf0027de929e1488c16aa18e5c74868218 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:39:55.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-18T18:39:55.465Z] . [Pipeline] withDockerContainer [2021-03-18T18:39:55.558Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:39:55.601Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-18T18:39:56.173Z] $ docker top 18b9d6df6811f273ec7fb5612692af98bd723007859c7f2bf6212534fd03bdca -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-18T18:39:56.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-18T18:39:56.518Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-18T18:39:56.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-18T18:39:56.703Z] $ docker exec 18b9d6df6811f273ec7fb5612692af98bd723007859c7f2bf6212534fd03bdca ssh-agent [2021-03-18T18:39:56.870Z] SSH_AUTH_SOCK=/tmp/ssh-1ihbVxoDXv53/agent.12 [2021-03-18T18:39:56.870Z] SSH_AGENT_PID=18 [2021-03-18T18:39:56.877Z] Running ssh-add (command line suppressed) [2021-03-18T18:39:57.004Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6306835123523131147.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6306835123523131147.key) [2021-03-18T18:39:57.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-18T18:39:57.409Z] + git semver push [2021-03-18T18:39:57.409Z] # -> Open(): unable to determine branch for HEAD [2021-03-18T18:39:57.409Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-18T18:39:57.409Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T18:39:57.409Z] # $SEMVER_REMOTE_NAME = origin [2021-03-18T18:39:57.409Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-18T18:39:57.409Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-18T18:39:57.409Z] # $SEMVER_BRANCH = master [2021-03-18T18:39:57.409Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-18T18:40:01.643Z] $ docker exec --env ******** --env ******** 18b9d6df6811f273ec7fb5612692af98bd723007859c7f2bf6212534fd03bdca ssh-agent -k [2021-03-18T18:40:01.775Z] unset SSH_AUTH_SOCK; [2021-03-18T18:40:01.775Z] unset SSH_AGENT_PID; [2021-03-18T18:40:01.775Z] echo Agent pid 18 killed; [2021-03-18T18:40:01.825Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-18T18:40:02.308Z] + git semver [Pipeline] } [2021-03-18T18:40:02.326Z] $ docker stop --time=1 18b9d6df6811f273ec7fb5612692af98bd723007859c7f2bf6212534fd03bdca [2021-03-18T18:40:03.677Z] $ docker rm -f 18b9d6df6811f273ec7fb5612692af98bd723007859c7f2bf6212534fd03bdca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:04.987Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:05.587Z] ---> package-listing.sh [2021-03-18T18:40:05.587Z] ++ facter osfamily [2021-03-18T18:40:05.587Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-18T18:40:05.587Z] + OS_FAMILY=redhat [2021-03-18T18:40:05.587Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-18T18:40:05.587Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-18T18:40:05.587Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-18T18:40:05.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-18T18:40:05.587Z] + PACKAGES=/tmp/packages_start.txt [2021-03-18T18:40:05.587Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-18T18:40:05.587Z] + PACKAGES=/tmp/packages_end.txt [2021-03-18T18:40:05.587Z] + case "${OS_FAMILY}" in [2021-03-18T18:40:05.587Z] + rpm -qa [2021-03-18T18:40:05.587Z] + sort [2021-03-18T18:40:10.952Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-18T18:40:10.952Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-18T18:40:10.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-18T18:40:10.952Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-18T18:40:10.952Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-18T18:40:10.952Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_master/archives/ [Pipeline] echo [2021-03-18T18:40:10.971Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-18T18:40:11.271Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:40:11.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T18:40:11.590Z] [2021-03-18T18:40:11.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-18T18:40:11.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T18:40:11.965Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-18T18:40:11.965Z] df20fa9351a1: Pulling fs layer [2021-03-18T18:40:11.965Z] 36b3adc4ff6f: Pulling fs layer [2021-03-18T18:40:11.965Z] 8ad3a11d3b57: Pulling fs layer [2021-03-18T18:40:11.965Z] 46f8f816bc3b: Pulling fs layer [2021-03-18T18:40:11.965Z] 93b61091891f: Pulling fs layer [2021-03-18T18:40:11.965Z] 93b9cdb0e59b: Pulling fs layer [2021-03-18T18:40:11.965Z] 5e14af77c1be: Pulling fs layer [2021-03-18T18:40:11.965Z] 01666e4c0597: Pulling fs layer [2021-03-18T18:40:11.965Z] aa168da1d23b: Pulling fs layer [2021-03-18T18:40:11.965Z] 5e14af77c1be: Waiting [2021-03-18T18:40:11.965Z] 46f8f816bc3b: Waiting [2021-03-18T18:40:11.965Z] 01666e4c0597: Waiting [2021-03-18T18:40:11.965Z] 93b61091891f: Waiting [2021-03-18T18:40:11.965Z] aa168da1d23b: Waiting [2021-03-18T18:40:11.965Z] 93b9cdb0e59b: Waiting [2021-03-18T18:40:11.965Z] 36b3adc4ff6f: Verifying Checksum [2021-03-18T18:40:11.965Z] 36b3adc4ff6f: Download complete [2021-03-18T18:40:11.965Z] 46f8f816bc3b: Verifying Checksum [2021-03-18T18:40:11.965Z] 46f8f816bc3b: Download complete [2021-03-18T18:40:11.965Z] df20fa9351a1: Verifying Checksum [2021-03-18T18:40:11.965Z] df20fa9351a1: Download complete [2021-03-18T18:40:11.965Z] 93b9cdb0e59b: Verifying Checksum [2021-03-18T18:40:11.965Z] 93b9cdb0e59b: Download complete [2021-03-18T18:40:11.965Z] 5e14af77c1be: Verifying Checksum [2021-03-18T18:40:11.965Z] 5e14af77c1be: Download complete [2021-03-18T18:40:11.965Z] 01666e4c0597: Verifying Checksum [2021-03-18T18:40:11.965Z] 01666e4c0597: Download complete [2021-03-18T18:40:12.230Z] 8ad3a11d3b57: Verifying Checksum [2021-03-18T18:40:12.230Z] 8ad3a11d3b57: Download complete [2021-03-18T18:40:12.500Z] df20fa9351a1: Pull complete [2021-03-18T18:40:12.500Z] 93b61091891f: Download complete [2021-03-18T18:40:12.500Z] 36b3adc4ff6f: Pull complete [2021-03-18T18:40:13.893Z] 8ad3a11d3b57: Pull complete [2021-03-18T18:40:14.158Z] 46f8f816bc3b: Pull complete [2021-03-18T18:40:14.732Z] 93b61091891f: Pull complete [2021-03-18T18:40:14.732Z] 93b9cdb0e59b: Pull complete [2021-03-18T18:40:14.732Z] 5e14af77c1be: Pull complete [2021-03-18T18:40:14.997Z] aa168da1d23b: Verifying Checksum [2021-03-18T18:40:14.997Z] aa168da1d23b: Download complete [2021-03-18T18:40:15.262Z] 01666e4c0597: Pull complete [2021-03-18T18:40:21.865Z] aa168da1d23b: Pull complete [2021-03-18T18:40:21.865Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-18T18:40:21.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-18T18:40:21.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-18T18:40:21.996Z] prd-centos7-docker-4c-2g-30322 does not seem to be running inside a container [2021-03-18T18:40:22.047Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-18T18:40:24.721Z] $ docker top 618072158d23f4617f255e0168627d06509b60ab8b627254e64e2c0c7849ce80 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-18T18:40:25.167Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-18T18:40:25.460Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-18T18:40:25.764Z] + ls /var/log/sa-host [2021-03-18T18:40:25.764Z] + sadf -c /var/log/sa-host/sa18 [2021-03-18T18:40:25.764Z] file_magic: OK [2021-03-18T18:40:25.764Z] HZ: Using current value: 100 [2021-03-18T18:40:25.764Z] file_header: OK [2021-03-18T18:40:25.764Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-18T18:40:25.764Z] Statistics: [2021-03-18T18:40:25.764Z] 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-03-18T18:40:25.764Z] File successfully converted to sysstat format version 12.2.1 [2021-03-18T18:40:25.764Z] + sadf -c /var/log/sa-host/sa23 [2021-03-18T18:40:25.764Z] file_magic: OK [2021-03-18T18:40:25.764Z] HZ: Using current value: 100 [2021-03-18T18:40:25.764Z] file_header: OK [2021-03-18T18:40:25.764Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-18T18:40:25.764Z] Statistics: [2021-03-18T18:40:25.764Z] Hnuu...uuuununununu... [2021-03-18T18:40:25.764Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-18T18:40:25.992Z] provisioning config files... [2021-03-18T18:40:26.006Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6889865571246908914tmp [Pipeline] { [Pipeline] echo [2021-03-18T18:40:26.085Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:26.375Z] ---> create-netrc.sh [Pipeline] } [2021-03-18T18:40:26.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-18T18:40:26.483Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:26.774Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-18T18:40:26.784Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:27.084Z] ---> sudo-logs.sh [2021-03-18T18:40:27.085Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-18T18:40:27.139Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:27.431Z] ---> job-cost.sh [2021-03-18T18:40:27.431Z] lf-activate-venv: SKIPPING [2021-03-18T18:40:27.431Z] DEBUG: total: 0.20999999344348907 [2021-03-18T18:40:27.431Z] INFO: Retrieving Stack Cost... [2021-03-18T18:40:28.825Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-18T18:40:29.085Z] INFO: Archiving Costs [Pipeline] echo [2021-03-18T18:40:29.097Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-18T18:40:29.387Z] ---> logs-deploy.sh [2021-03-18T18:40:29.388Z] lf-activate-venv: SKIPPING [2021-03-18T18:40:29.388Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/195 [2021-03-18T18:40:29.388Z] INFO: archiving workspace using pattern(s): [2021-03-18T18:40:30.771Z] Archives upload complete. [2021-03-18T18:40:31.031Z] INFO: archiving logs to Nexus