Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4a1f060505acd7d76a29fd8599ca962e4b127f4d 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 ‘prd-centos7-docker-4c-2g-28481’ 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’ Running on prd-centos7-docker-4c-2g-28482 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 4a1f060505acd7d76a29fd8599ca962e4b127f4d (master) > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a1f060505acd7d76a29fd8599ca962e4b127f4d # timeout=10 Commit message: "refactor: Consolidate function pipeline configuration (#728)" > git rev-list --no-walk a1af34c7f52734c37f3173cf500a3c7bd0fc61a0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-04T15:34:46.406Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-04T15:34:46.624Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-04T15:34:46.723Z] ========================================================= [2021-03-04T15:34:46.723Z] EdgeX Global Pipelines Version Info [2021-03-04T15:34:46.723Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:34:48.268Z] ------------------- [2021-03-04T15:34:48.268Z] stable info: [2021-03-04T15:34:48.268Z] ------------------- [2021-03-04T15:34:48.268Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-04T15:34:48.268Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-04T15:34:48.268Z] Message: update stable to v1.0.184 [2021-03-04T15:34:49.214Z] ------------------- [2021-03-04T15:34:49.214Z] experimental info: [2021-03-04T15:34:49.214Z] ------------------- [2021-03-04T15:34:49.214Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-04T15:34:49.214Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-04T15:34:49.214Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-04T15:34:49.458Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-03-04T15:34:49.548Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-03-04T15:34:49.633Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-04T15:34:49.719Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-04T15:34:49.801Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-04T15:34:49.885Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-04T15:34:49.969Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-04T15:34:50.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-04T15:34:50.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-03-04T15:34:50.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-04T15:34:50.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-04T15:34:50.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-03-04T15:34:50.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-04T15:34:50.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-04T15:34:50.755Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-03-04T15:34:50.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-04T15:34:50.981Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-04T15:34:51.075Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-04T15:34:51.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-04T15:34:51.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-04T15:34:51.364Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-04T15:34:51.486Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-03-04T15:34:51.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-04T15:34:51.654Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-04T15:34:51.863Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-03-04T15:34:51.951Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-04T15:34:52.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-04T15:34:52.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-04T15:34:52.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-04T15:34:52.306Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a1f060505acd7d76a29fd8599ca962e4b127f4d [Pipeline] echo [2021-03-04T15:34:52.392Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a1f060 [Pipeline] echo [2021-03-04T15:34:52.481Z] [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-04T15:34:53.132Z] + git log --format=format:%s -1 4a1f060505acd7d76a29fd8599ca962e4b127f4d [Pipeline] echo [2021-03-04T15:34:53.205Z] GIT_COMMIT: 4a1f060505acd7d76a29fd8599ca962e4b127f4d, Commit Message: refactor: Consolidate function pipeline configuration (#728) [Pipeline] echo [2021-03-04T15:34:53.248Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:34:53.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-04T15:34:54.243Z] [2021-03-04T15:34:54.243Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:34:54.594Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-04T15:34:54.594Z] latest: Pulling from edgex-devops/git-semver [2021-03-04T15:34:54.594Z] 31603596830f: Pulling fs layer [2021-03-04T15:34:54.594Z] 2a8b12db71e7: Pulling fs layer [2021-03-04T15:34:54.594Z] 6ca5941a6612: Pulling fs layer [2021-03-04T15:34:54.594Z] ecc8261a40a4: Pulling fs layer [2021-03-04T15:34:54.594Z] ecc8261a40a4: Waiting [2021-03-04T15:34:54.594Z] 2a8b12db71e7: Verifying Checksum [2021-03-04T15:34:54.594Z] 2a8b12db71e7: Download complete [2021-03-04T15:34:54.857Z] 31603596830f: Verifying Checksum [2021-03-04T15:34:54.857Z] 31603596830f: Download complete [2021-03-04T15:34:54.857Z] ecc8261a40a4: Verifying Checksum [2021-03-04T15:34:54.857Z] ecc8261a40a4: Download complete [2021-03-04T15:34:55.122Z] 6ca5941a6612: Verifying Checksum [2021-03-04T15:34:55.122Z] 6ca5941a6612: Download complete [2021-03-04T15:34:55.122Z] 31603596830f: Pull complete [2021-03-04T15:34:55.391Z] 2a8b12db71e7: Pull complete [2021-03-04T15:34:56.349Z] 6ca5941a6612: Pull complete [2021-03-04T15:34:56.614Z] ecc8261a40a4: Pull complete [2021-03-04T15:34:56.614Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-04T15:34:56.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-04T15:34:56.614Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-04T15:34:56.722Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:34:56.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-04T15:34:58.930Z] $ docker top 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-04T15:34:59.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-04T15:34:59.314Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-04T15:34:59.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-04T15:34:59.594Z] $ docker exec 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 ssh-agent [2021-03-04T15:34:59.811Z] SSH_AUTH_SOCK=/tmp/ssh-lI5PtWRNdfZ5/agent.11 [2021-03-04T15:34:59.811Z] SSH_AGENT_PID=16 [2021-03-04T15:34:59.942Z] Running ssh-add (command line suppressed) [2021-03-04T15:35:00.087Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4578522708315936695.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4578522708315936695.key) [2021-03-04T15:35:00.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-04T15:35:00.528Z] + git tag --points-at HEAD [Pipeline] } [2021-03-04T15:35:00.558Z] $ docker exec --env ******** --env ******** 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 ssh-agent -k [2021-03-04T15:35:00.678Z] unset SSH_AUTH_SOCK; [2021-03-04T15:35:00.679Z] unset SSH_AGENT_PID; [2021-03-04T15:35:00.679Z] echo Agent pid 16 killed; [2021-03-04T15:35:00.729Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-04T15:35:00.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-04T15:35:00.864Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-04T15:35:01.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-04T15:35:01.051Z] $ docker exec 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 ssh-agent [2021-03-04T15:35:01.223Z] SSH_AUTH_SOCK=/tmp/ssh-ic25s0Nlqi4A/agent.44 [2021-03-04T15:35:01.223Z] SSH_AGENT_PID=50 [2021-03-04T15:35:01.231Z] Running ssh-add (command line suppressed) [2021-03-04T15:35:01.364Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4782143234276763657.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4782143234276763657.key) [2021-03-04T15:35:01.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-04T15:35:01.758Z] + git semver init [2021-03-04T15:35:01.758Z] # -> Open(): unable to determine branch for HEAD [2021-03-04T15:35:01.758Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-04T15:35:01.758Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-04T15:35:01.758Z] # $SEMVER_REMOTE_NAME = origin [2021-03-04T15:35:01.758Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-04T15:35:01.758Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-04T15:35:01.758Z] # $SEMVER_BRANCH = master [2021-03-04T15:35:01.758Z] # $SEMVER_TEMP = /tmp/semver-432756749 [2021-03-04T15:35:01.758Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-03-04T15:35:05.986Z] # '/tmp/semver-432756749' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-03-04T15:35:05.986Z] # -> Force: false [2021-03-04T15:35:05.986Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-04T15:35:06.000Z] $ docker exec --env ******** --env ******** 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 ssh-agent -k [2021-03-04T15:35:06.129Z] unset SSH_AUTH_SOCK; [2021-03-04T15:35:06.130Z] unset SSH_AGENT_PID; [2021-03-04T15:35:06.130Z] echo Agent pid 50 killed; [2021-03-04T15:35:06.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-04T15:35:06.698Z] + git semver [Pipeline] } [2021-03-04T15:35:06.717Z] $ docker stop --time=1 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 [2021-03-04T15:35:08.255Z] $ docker rm -f 266a57ac610d7cb5e17f5f34c0cc95ce0f04bcd5d94446b944d9d11dde468448 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-04T15:35:08.719Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-04T15:35:09.178Z] Stashed 1 file(s) [Pipeline] echo [2021-03-04T15:35:09.181Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.25 [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-04T15:35:24.637Z] Still waiting to schedule task [2021-03-04T15:35:24.637Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-04T15:35:24.639Z] Still waiting to schedule task [2021-03-04T15:35:24.639Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-04T15:37:19.182Z] Running on prd-centos7-docker-4c-2g-28484 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-04T15:37:19.255Z] Running in /w/workspace/app-functions-sdk-go/192 [Pipeline] { [Pipeline] checkout [2021-03-04T15:37:21.762Z] using credential edgex-jenkins-ssh [2021-03-04T15:37:21.819Z] Cloning the remote Git repository [2021-03-04T15:37:21.852Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-04T15:37:21.924Z] > git init /w/workspace/app-functions-sdk-go/192 # timeout=10 [2021-03-04T15:37:21.986Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-04T15:37:21.986Z] > git --version # timeout=10 [2021-03-04T15:37:21.994Z] > git --version # 'git version 2.24.3' [2021-03-04T15:37:21.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-04T15:37:22.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-04T15:37:23.859Z] Checking out Revision 4a1f060505acd7d76a29fd8599ca962e4b127f4d (master) [2021-03-04T15:37:23.479Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-04T15:37:23.489Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-04T15:37:23.501Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-04T15:37:23.513Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-04T15:37:23.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-04T15:37:23.518Z] > 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-04T15:37:23.872Z] > git config core.sparsecheckout # timeout=10 [2021-03-04T15:37:23.879Z] > git checkout -f 4a1f060505acd7d76a29fd8599ca962e4b127f4d # timeout=10 [2021-03-04T15:37:24.880Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28483 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-04T15:37:24.934Z] Running in /w/workspace/app-functions-sdk-go/192 [Pipeline] { [Pipeline] checkout [2021-03-04T15:37:27.512Z] Commit message: "refactor: Consolidate function pipeline configuration (#728)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-04T15:37:28.996Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-04T15:37:29.346Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-04T15:37:29.644Z] + sudo service docker restart [2021-03-04T15:37:29.644Z] + true [2021-03-04T15:37:29.644Z] Redirecting to /bin/systemctl restart docker.service [2021-03-04T15:37:30.082Z] using credential edgex-jenkins-ssh [2021-03-04T15:37:30.152Z] Cloning the remote Git repository [Pipeline] unstash [Pipeline] echo [2021-03-04T15:37:30.723Z] ========================================================= [2021-03-04T15:37:30.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-04T15:37:30.723Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:37:31.078Z] + 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-04T15:37:30.217Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-04T15:37:30.340Z] > git init /w/workspace/app-functions-sdk-go/192 # timeout=10 [2021-03-04T15:37:30.404Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-04T15:37:30.406Z] > git --version # timeout=10 [2021-03-04T15:37:30.435Z] > git --version # 'git version 2.17.1' [2021-03-04T15:37:30.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-04T15:37:30.516Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-04T15:37:31.661Z] Sending build context to Docker daemon 19.27MB [2021-03-04T15:37:31.661Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-04T15:37:31.661Z] Step 2/8 : FROM ${BASE} [2021-03-04T15:37:31.923Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-04T15:37:31.923Z] 188c0c94c7c5: Pulling fs layer [2021-03-04T15:37:31.923Z] 0ef7d3d256c8: Pulling fs layer [2021-03-04T15:37:31.923Z] de9db76c5a1d: Pulling fs layer [2021-03-04T15:37:31.923Z] bca2f99d35d6: Pulling fs layer [2021-03-04T15:37:31.923Z] 93359f2a8cfa: Pulling fs layer [2021-03-04T15:37:31.923Z] 7c6f9722023f: Pulling fs layer [2021-03-04T15:37:31.923Z] a35cf1a2eb13: Pulling fs layer [2021-03-04T15:37:31.923Z] 93359f2a8cfa: Waiting [2021-03-04T15:37:31.923Z] 7c6f9722023f: Waiting [2021-03-04T15:37:31.923Z] a35cf1a2eb13: Waiting [2021-03-04T15:37:31.923Z] bca2f99d35d6: Waiting [2021-03-04T15:37:31.923Z] de9db76c5a1d: Verifying Checksum [2021-03-04T15:37:31.923Z] de9db76c5a1d: Download complete [2021-03-04T15:37:31.923Z] 0ef7d3d256c8: Verifying Checksum [2021-03-04T15:37:31.923Z] 0ef7d3d256c8: Download complete [2021-03-04T15:37:31.923Z] 93359f2a8cfa: Verifying Checksum [2021-03-04T15:37:31.923Z] 93359f2a8cfa: Download complete [2021-03-04T15:37:31.923Z] 7c6f9722023f: Verifying Checksum [2021-03-04T15:37:31.923Z] 7c6f9722023f: Download complete [2021-03-04T15:37:32.871Z] 188c0c94c7c5: Download complete [2021-03-04T15:37:32.871Z] 188c0c94c7c5: Pull complete [2021-03-04T15:37:33.136Z] 0ef7d3d256c8: Pull complete [2021-03-04T15:37:33.402Z] de9db76c5a1d: Pull complete [2021-03-04T15:37:33.768Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-04T15:37:33.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-04T15:37:33.821Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-03-04T15:37:33.852Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-03-04T15:37:33.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-04T15:37:34.356Z] Checking out Revision 4a1f060505acd7d76a29fd8599ca962e4b127f4d (master) [2021-03-04T15:37:34.360Z] a35cf1a2eb13: Verifying Checksum [2021-03-04T15:37:34.360Z] a35cf1a2eb13: Download complete [2021-03-04T15:37:34.935Z] bca2f99d35d6: Verifying Checksum [2021-03-04T15:37:34.935Z] bca2f99d35d6: Download complete [2021-03-04T15:37:33.865Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-04T15:37:34.375Z] > git config core.sparsecheckout # timeout=10 [2021-03-04T15:37:34.395Z] > git checkout -f 4a1f060505acd7d76a29fd8599ca962e4b127f4d # timeout=10 [2021-03-04T15:37:38.905Z] Commit message: "refactor: Consolidate function pipeline configuration (#728)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-04T15:37:40.364Z] bca2f99d35d6: Pull complete [2021-03-04T15:37:40.364Z] 93359f2a8cfa: Pull complete [2021-03-04T15:37:40.448Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-04T15:37:40.637Z] 7c6f9722023f: Pull complete [2021-03-04T15:37:40.862Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-04T15:37:41.205Z] + true [2021-03-04T15:37:41.205Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2021-03-04T15:37:44.305Z] ========================================================= [2021-03-04T15:37:44.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-04T15:37:44.305Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:37:44.696Z] + 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-04T15:37:46.144Z] Sending build context to Docker daemon 19.27MB [2021-03-04T15:37:46.144Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-04T15:37:46.144Z] Step 2/8 : FROM ${BASE} [2021-03-04T15:37:46.144Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-04T15:37:46.144Z] 5f621e34cdf4: Pulling fs layer [2021-03-04T15:37:46.144Z] a4357932f1b6: Pulling fs layer [2021-03-04T15:37:46.144Z] 18c013af1878: Pulling fs layer [2021-03-04T15:37:46.144Z] 00ac8860ef70: Pulling fs layer [2021-03-04T15:37:46.144Z] 63d7cb157983: Pulling fs layer [2021-03-04T15:37:46.144Z] b116817d02f9: Pulling fs layer [2021-03-04T15:37:46.144Z] 745a02a5169b: Pulling fs layer [2021-03-04T15:37:46.144Z] 63d7cb157983: Waiting [2021-03-04T15:37:46.144Z] 00ac8860ef70: Waiting [2021-03-04T15:37:46.144Z] 745a02a5169b: Waiting [2021-03-04T15:37:46.144Z] b116817d02f9: Waiting [2021-03-04T15:37:46.421Z] 18c013af1878: Verifying Checksum [2021-03-04T15:37:46.421Z] 18c013af1878: Download complete [2021-03-04T15:37:46.421Z] a4357932f1b6: Download complete [2021-03-04T15:37:46.421Z] 63d7cb157983: Verifying Checksum [2021-03-04T15:37:46.421Z] 63d7cb157983: Download complete [2021-03-04T15:37:46.421Z] b116817d02f9: Download complete [2021-03-04T15:37:46.422Z] 5f621e34cdf4: Verifying Checksum [2021-03-04T15:37:46.422Z] 5f621e34cdf4: Download complete [2021-03-04T15:37:47.024Z] 5f621e34cdf4: Pull complete [2021-03-04T15:37:47.261Z] a35cf1a2eb13: Pull complete [2021-03-04T15:37:47.261Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-04T15:37:47.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-04T15:37:47.261Z] ---> a62c8e92a672 [2021-03-04T15:37:47.261Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-04T15:37:47.261Z] 20.10.0: Pulling from library/docker [2021-03-04T15:37:47.261Z] 05e7bc50f07f: Pulling fs layer [2021-03-04T15:37:47.261Z] 6db28d0fdbf6: Pulling fs layer [2021-03-04T15:37:47.261Z] 292df0bc6bf3: Pulling fs layer [2021-03-04T15:37:47.261Z] 2e060f4bd70b: Pulling fs layer [2021-03-04T15:37:47.261Z] 80e8d568a223: Pulling fs layer [2021-03-04T15:37:47.261Z] 8dc6ef1a942a: Pulling fs layer [2021-03-04T15:37:47.261Z] 2312dd95470a: Pulling fs layer [2021-03-04T15:37:47.261Z] 2e060f4bd70b: Waiting [2021-03-04T15:37:47.261Z] 80e8d568a223: Waiting [2021-03-04T15:37:47.261Z] 8dc6ef1a942a: Waiting [2021-03-04T15:37:47.261Z] 2312dd95470a: Waiting [2021-03-04T15:37:47.261Z] 292df0bc6bf3: Verifying Checksum [2021-03-04T15:37:47.261Z] 292df0bc6bf3: Download complete [2021-03-04T15:37:47.528Z] 6db28d0fdbf6: Verifying Checksum [2021-03-04T15:37:47.528Z] 6db28d0fdbf6: Download complete [2021-03-04T15:37:47.624Z] a4357932f1b6: Pull complete [2021-03-04T15:37:47.807Z] 80e8d568a223: Verifying Checksum [2021-03-04T15:37:47.807Z] 80e8d568a223: Download complete [2021-03-04T15:37:47.807Z] 05e7bc50f07f: Verifying Checksum [2021-03-04T15:37:47.807Z] 05e7bc50f07f: Download complete [2021-03-04T15:37:47.807Z] 8dc6ef1a942a: Verifying Checksum [2021-03-04T15:37:47.807Z] 8dc6ef1a942a: Download complete [2021-03-04T15:37:48.071Z] 2312dd95470a: Verifying Checksum [2021-03-04T15:37:48.071Z] 2312dd95470a: Download complete [2021-03-04T15:37:48.234Z] 18c013af1878: Pull complete [2021-03-04T15:37:48.656Z] 05e7bc50f07f: Pull complete [2021-03-04T15:37:48.919Z] 6db28d0fdbf6: Pull complete [2021-03-04T15:37:48.919Z] 292df0bc6bf3: Pull complete [2021-03-04T15:37:49.217Z] 745a02a5169b: Verifying Checksum [2021-03-04T15:37:49.217Z] 745a02a5169b: Download complete [2021-03-04T15:37:49.865Z] 2e060f4bd70b: Verifying Checksum [2021-03-04T15:37:49.865Z] 2e060f4bd70b: Download complete [2021-03-04T15:37:50.647Z] 00ac8860ef70: Verifying Checksum [2021-03-04T15:37:50.647Z] 00ac8860ef70: Download complete [2021-03-04T15:37:52.437Z] 2e060f4bd70b: Pull complete [2021-03-04T15:37:52.437Z] 80e8d568a223: Pull complete [2021-03-04T15:37:52.700Z] 8dc6ef1a942a: Pull complete [2021-03-04T15:37:52.700Z] 2312dd95470a: Pull complete [2021-03-04T15:37:52.700Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-04T15:37:52.700Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-04T15:37:54.103Z] ---> 349923fc604d [2021-03-04T15:37:54.103Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-04T15:37:54.103Z] ---> Running in bc2f65621d28 [2021-03-04T15:37:54.369Z] Removing intermediate container bc2f65621d28 [2021-03-04T15:37:54.369Z] ---> 40bf4140261a [2021-03-04T15:37:54.369Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-04T15:37:54.369Z] ---> Running in 10b4f2c62e43 [2021-03-04T15:37:55.319Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-04T15:37:55.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-04T15:37:56.470Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-04T15:37:56.470Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-04T15:37:56.470Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-04T15:37:56.742Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-04T15:37:56.742Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-04T15:37:56.742Z] Executing busybox-1.31.1-r19.trigger [2021-03-04T15:37:56.742Z] OK: 167 MiB in 44 packages [2021-03-04T15:37:57.319Z] Removing intermediate container 10b4f2c62e43 [2021-03-04T15:37:57.319Z] ---> ec61f64f2603 [2021-03-04T15:37:57.319Z] Step 6/8 : WORKDIR /build [2021-03-04T15:37:57.319Z] ---> Running in af5a1dc7ca24 [2021-03-04T15:37:57.585Z] Removing intermediate container af5a1dc7ca24 [2021-03-04T15:37:57.585Z] ---> ff68129e9be5 [2021-03-04T15:37:57.585Z] Step 7/8 : COPY go.mod . [2021-03-04T15:37:57.861Z] ---> 240baadcaba1 [2021-03-04T15:37:57.861Z] Step 8/8 : RUN go mod download [2021-03-04T15:37:57.861Z] ---> Running in 3c72db2152b1 [2021-03-04T15:38:00.809Z] 00ac8860ef70: Pull complete [2021-03-04T15:38:00.809Z] 63d7cb157983: Pull complete [2021-03-04T15:38:01.083Z] b116817d02f9: Pull complete [2021-03-04T15:38:04.498Z] 745a02a5169b: Pull complete [2021-03-04T15:38:04.498Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-04T15:38:04.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-04T15:38:04.498Z] ---> b7e6874047d6 [2021-03-04T15:38:04.498Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-03-04T15:38:04.773Z] 20.10.0: Pulling from library/docker [2021-03-04T15:38:04.773Z] a3cc7d3b244e: Pulling fs layer [2021-03-04T15:38:04.773Z] 02a3295e0d61: Pulling fs layer [2021-03-04T15:38:04.773Z] 0f4f2e6d8100: Pulling fs layer [2021-03-04T15:38:04.773Z] 330b718f631f: Pulling fs layer [2021-03-04T15:38:04.773Z] a93816041522: Pulling fs layer [2021-03-04T15:38:04.773Z] bdb6da89ff94: Pulling fs layer [2021-03-04T15:38:04.773Z] 2a70c0c122f4: Pulling fs layer [2021-03-04T15:38:04.773Z] 330b718f631f: Waiting [2021-03-04T15:38:04.773Z] a93816041522: Waiting [2021-03-04T15:38:04.773Z] bdb6da89ff94: Waiting [2021-03-04T15:38:04.773Z] 2a70c0c122f4: Waiting [2021-03-04T15:38:04.773Z] 0f4f2e6d8100: Verifying Checksum [2021-03-04T15:38:04.773Z] 0f4f2e6d8100: Download complete [2021-03-04T15:38:04.773Z] 02a3295e0d61: Verifying Checksum [2021-03-04T15:38:04.773Z] 02a3295e0d61: Download complete [2021-03-04T15:38:04.773Z] a93816041522: Verifying Checksum [2021-03-04T15:38:04.773Z] a93816041522: Download complete [2021-03-04T15:38:05.047Z] a3cc7d3b244e: Verifying Checksum [2021-03-04T15:38:05.047Z] bdb6da89ff94: Verifying Checksum [2021-03-04T15:38:05.047Z] bdb6da89ff94: Download complete [2021-03-04T15:38:05.047Z] 2a70c0c122f4: Verifying Checksum [2021-03-04T15:38:05.047Z] 2a70c0c122f4: Download complete [2021-03-04T15:38:05.655Z] a3cc7d3b244e: Pull complete [2021-03-04T15:38:06.248Z] 02a3295e0d61: Pull complete [2021-03-04T15:38:06.520Z] 0f4f2e6d8100: Pull complete [2021-03-04T15:38:06.794Z] 330b718f631f: Verifying Checksum [2021-03-04T15:38:06.794Z] 330b718f631f: Download complete [2021-03-04T15:38:11.109Z] 330b718f631f: Pull complete [2021-03-04T15:38:11.109Z] a93816041522: Pull complete [2021-03-04T15:38:11.109Z] bdb6da89ff94: Pull complete [2021-03-04T15:38:11.381Z] 2a70c0c122f4: Pull complete [2021-03-04T15:38:11.381Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-03-04T15:38:11.381Z] Status: Downloaded newer image for docker:20.10.0 [2021-03-04T15:38:18.093Z] ---> 2af1a1d99601 [2021-03-04T15:38:18.093Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-03-04T15:38:18.093Z] ---> Running in 5eadc124e165 [2021-03-04T15:38:18.093Z] Removing intermediate container 5eadc124e165 [2021-03-04T15:38:18.093Z] ---> 8a98ffc72024 [2021-03-04T15:38:18.093Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-03-04T15:38:18.093Z] ---> Running in 7ec1bf4611a1 [2021-03-04T15:38:19.534Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-04T15:38:20.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-04T15:38:20.720Z] (1/5) Installing libsodium (1.0.18-r0) [2021-03-04T15:38:20.990Z] (2/5) Installing libzmq (4.3.3-r0) [2021-03-04T15:38:20.990Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-03-04T15:38:21.261Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-03-04T15:38:21.261Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-03-04T15:38:21.261Z] Executing busybox-1.31.1-r19.trigger [2021-03-04T15:38:21.539Z] OK: 144 MiB in 44 packages [2021-03-04T15:38:22.534Z] Removing intermediate container 7ec1bf4611a1 [2021-03-04T15:38:22.534Z] ---> 54130b5b19fa [2021-03-04T15:38:22.534Z] Step 6/8 : WORKDIR /build [2021-03-04T15:38:22.808Z] ---> Running in 13a586e8022d [2021-03-04T15:38:23.411Z] Removing intermediate container 13a586e8022d [2021-03-04T15:38:23.411Z] ---> b87c904d9895 [2021-03-04T15:38:23.411Z] Step 7/8 : COPY go.mod . [2021-03-04T15:38:24.023Z] ---> 6a968bb177d1 [2021-03-04T15:38:24.023Z] Step 8/8 : RUN go mod download [2021-03-04T15:38:24.023Z] ---> Running in c1df20e027c6 [2021-03-04T15:38:24.539Z] Removing intermediate container 3c72db2152b1 [2021-03-04T15:38:24.540Z] ---> 082bd7c2c570 [2021-03-04T15:38:24.540Z] Successfully built 082bd7c2c570 [2021-03-04T15:38:24.540Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:38:24.881Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-04T15:38:24.881Z] . [Pipeline] withDockerContainer [2021-03-04T15:38:25.050Z] prd-centos7-docker-4c-2g-28484 does not seem to be running inside a container [2021-03-04T15:38:25.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/192 -v /w/workspace/app-functions-sdk-go/192:/w/workspace/app-functions-sdk-go/192:rw,z -v /w/workspace/app-functions-sdk-go/192@tmp:/w/workspace/app-functions-sdk-go/192@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-04T15:38:26.032Z] $ docker top 44680efb8411d1396c2d998473185490c1037b50febc89314102d062ab8c126c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-04T15:38:26.607Z] + go version [2021-03-04T15:38:26.607Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-04T15:38:26.626Z] $ docker stop --time=1 44680efb8411d1396c2d998473185490c1037b50febc89314102d062ab8c126c [2021-03-04T15:38:27.973Z] $ docker rm -f 44680efb8411d1396c2d998473185490c1037b50febc89314102d062ab8c126c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:38:28.826Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-04T15:38:28.826Z] . [Pipeline] withDockerContainer [2021-03-04T15:38:28.935Z] prd-centos7-docker-4c-2g-28484 does not seem to be running inside a container [2021-03-04T15:38:28.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/192 -v /w/workspace/app-functions-sdk-go/192:/w/workspace/app-functions-sdk-go/192:rw,z -v /w/workspace/app-functions-sdk-go/192@tmp:/w/workspace/app-functions-sdk-go/192@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-04T15:38:29.804Z] $ docker top e5776afdb22377041c701d0ccad4eeb79ec21c928d62af891f635e861349e090 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-04T15:38:30.301Z] + make test [2021-03-04T15:38:30.301Z] make -C ./app-service-template build [2021-03-04T15:38:30.301Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:38:30.301Z] 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-04T15:38:45.326Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:38:45.326Z] make -C ./app-service-template test [2021-03-04T15:38:45.326Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:38:45.326Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-04T15:38:50.854Z] Removing intermediate container c1df20e027c6 [2021-03-04T15:38:50.854Z] ---> c9dd3263266a [2021-03-04T15:38:50.854Z] Successfully built c9dd3263266a [2021-03-04T15:38:50.854Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:38:51.201Z] + docker inspect -f . ci-base-image-arm64 [2021-03-04T15:38:51.202Z] . [Pipeline] withDockerContainer [2021-03-04T15:38:51.438Z] prd-ubuntu18.04-docker-arm64-4c-16g-28483 does not seem to be running inside a container [2021-03-04T15:38:51.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/192 -v /w/workspace/app-functions-sdk-go/192:/w/workspace/app-functions-sdk-go/192:rw,z -v /w/workspace/app-functions-sdk-go/192@tmp:/w/workspace/app-functions-sdk-go/192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-04T15:38:51.988Z] ? new-app-service [no test files] [2021-03-04T15:38:51.988Z] ok new-app-service/functions 0.009s coverage: 75.8% of statements [2021-03-04T15:38:51.988Z] CGO_ENABLED=1 go vet ./... [2021-03-04T15:38:52.931Z] $ docker top 9bdfd1d6e07f0deed7971121a4977f4c2d48369a85e030149a096d28cba5c636 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-04T15:38:53.981Z] + go version [2021-03-04T15:38:53.981Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-04T15:38:54.001Z] $ docker stop --time=1 9bdfd1d6e07f0deed7971121a4977f4c2d48369a85e030149a096d28cba5c636 [2021-03-04T15:38:54.587Z] gofmt -l . [2021-03-04T15:38:54.588Z] [ "`gofmt -l .`" = "" ] [2021-03-04T15:38:54.588Z] ./bin/test-go-mod-tidy.sh [2021-03-04T15:38:54.853Z] ./bin/test-attribution-txt.sh [2021-03-04T15:38:55.428Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:38:55.428Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-04T15:38:55.907Z] $ docker rm -f 9bdfd1d6e07f0deed7971121a4977f4c2d48369a85e030149a096d28cba5c636 [2021-03-04T15:38:56.008Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:38:56.979Z] + docker inspect -f . ci-base-image-arm64 [2021-03-04T15:38:56.979Z] . [2021-03-04T15:38:56.990Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.031s coverage: 82.6% of statements [Pipeline] withDockerContainer [2021-03-04T15:38:57.246Z] prd-ubuntu18.04-docker-arm64-4c-16g-28483 does not seem to be running inside a container [2021-03-04T15:38:57.321Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/192 -v /w/workspace/app-functions-sdk-go/192:/w/workspace/app-functions-sdk-go/192:rw,z -v /w/workspace/app-functions-sdk-go/192@tmp:/w/workspace/app-functions-sdk-go/192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-04T15:38:58.423Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.020s coverage: 56.4% of statements [2021-03-04T15:38:58.423Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-04T15:38:58.423Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-04T15:38:58.423Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.031s coverage: 61.5% of statements [2021-03-04T15:38:58.423Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-04T15:38:58.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.040s coverage: 75.6% of statements [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-04T15:38:58.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.0% of statements [2021-03-04T15:38:58.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-04T15:38:58.828Z] $ docker top 7f5081a4a5589a9f2f27bc566939489859d8c2e6fa7ff9ec117e33e4f17e53f8 -eo pid,comm [2021-03-04T15:38:58.960Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.015s coverage: 8.8% of statements [Pipeline] { [Pipeline] sh [2021-03-04T15:38:59.879Z] + make test [2021-03-04T15:38:59.880Z] make -C ./app-service-template build [2021-03-04T15:38:59.880Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:38:59.880Z] 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-04T15:39:17.167Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.874s coverage: 77.5% of statements [2021-03-04T15:39:17.167Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-04T15:39:17.167Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.027s coverage: 87.9% of statements [2021-03-04T15:39:17.167Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.013s coverage: 80.5% of statements [2021-03-04T15:39:17.167Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.016s coverage: 71.7% of statements [2021-03-04T15:39:27.210Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.049s coverage: 82.8% of statements [2021-03-04T15:39:27.210Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.014s coverage: 94.4% of statements [2021-03-04T15:39:27.210Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-04T15:39:27.473Z] gofmt -l . [2021-03-04T15:39:27.473Z] [ "`gofmt -l .`" = "" ] [2021-03-04T15:39:27.735Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-04T15:39:27.754Z] $ docker stop --time=1 e5776afdb22377041c701d0ccad4eeb79ec21c928d62af891f635e861349e090 [2021-03-04T15:39:29.426Z] $ docker rm -f e5776afdb22377041c701d0ccad4eeb79ec21c928d62af891f635e861349e090 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-04T15:39:30.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-04T15:39:30.554Z] Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:39:32.217Z] ---> job-cost.sh [2021-03-04T15:39:32.217Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LWOr [2021-03-04T15:39:32.259Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:39:32.259Z] make -C ./app-service-template test [2021-03-04T15:39:32.259Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:39:32.259Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-03-04T15:39:47.186Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-04T15:39:54.479Z] ? new-app-service [no test files] [2021-03-04T15:39:54.479Z] ok new-app-service/functions 0.024s coverage: 75.8% of statements [2021-03-04T15:39:54.479Z] CGO_ENABLED=1 go vet ./... [2021-03-04T15:40:02.774Z] gofmt -l . [2021-03-04T15:40:02.774Z] [ "`gofmt -l .`" = "" ] [2021-03-04T15:40:02.774Z] ./bin/test-go-mod-tidy.sh [2021-03-04T15:40:02.774Z] ./bin/test-attribution-txt.sh [2021-03-04T15:40:03.759Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/192/app-service-template' [2021-03-04T15:40:03.759Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-03-04T15:40:05.214Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-03-04T15:40:08.615Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.044s coverage: 82.6% of statements [2021-03-04T15:40:15.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.129s coverage: 56.4% of statements [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-03-04T15:40:15.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.089s coverage: 61.5% of statements [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-03-04T15:40:15.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.075s coverage: 75.6% of statements [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-03-04T15:40:15.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.026s coverage: 97.0% of statements [2021-03-04T15:40:15.355Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-03-04T15:40:15.355Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.035s coverage: 8.8% of statements [2021-03-04T15:40:19.426Z] lf-activate-venv(): INFO: Adding /tmp/venv-LWOr/bin to PATH [2021-03-04T15:40:19.426Z] INFO: No Stack... [2021-03-04T15:40:19.426Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-04T15:40:19.426Z] INFO: Archiving Costs [Pipeline] sh [2021-03-04T15:40:19.752Z] + cat /w/workspace/app-functions-sdk-go/192/archives/cost.csv [2021-03-04T15:40:19.752Z] + cut -d, -f6 [Pipeline] lock [2021-03-04T15:40:19.870Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] [2021-03-04T15:40:19.879Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] did not exist. Created. [2021-03-04T15:40:19.879Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-04T15:40:20.302Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-04T15:40:20.480Z] Stashed 1 file(s) [Pipeline] } [2021-03-04T15:40:20.497Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-04T15:40:33.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.899s coverage: 77.5% of statements [2021-03-04T15:40:33.690Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-03-04T15:40:33.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.041s coverage: 87.9% of statements [2021-03-04T15:40:33.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.037s coverage: 80.5% of statements [2021-03-04T15:40:33.690Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.021s coverage: 71.7% of statements [2021-03-04T15:40:46.170Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.076s coverage: 82.8% of statements [2021-03-04T15:40:46.170Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.025s coverage: 94.4% of statements [2021-03-04T15:40:46.170Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-03-04T15:40:48.805Z] gofmt -l . [2021-03-04T15:40:48.805Z] [ "`gofmt -l .`" = "" ] [2021-03-04T15:40:49.078Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-04T15:40:49.701Z] $ docker stop --time=1 7f5081a4a5589a9f2f27bc566939489859d8c2e6fa7ff9ec117e33e4f17e53f8 [2021-03-04T15:40:51.819Z] $ docker rm -f 7f5081a4a5589a9f2f27bc566939489859d8c2e6fa7ff9ec117e33e4f17e53f8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-04T15:40:52.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-04T15:40:52.979Z] Warning: overwriting stash ‘coverage-report’ [2021-03-04T15:40:53.752Z] 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-04T15:40:54.705Z] ---> job-cost.sh [2021-03-04T15:40:54.705Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aMWn [2021-03-04T15:41:33.672Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-04T15:43:40.487Z] lf-activate-venv(): INFO: Adding /tmp/venv-aMWn/bin to PATH [2021-03-04T15:43:40.487Z] INFO: No Stack... [2021-03-04T15:43:40.487Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-04T15:43:40.487Z] INFO: Archiving Costs [Pipeline] sh [2021-03-04T15:43:40.832Z] + cut -d, -f6+ [2021-03-04T15:43:40.833Z] cat /w/workspace/app-functions-sdk-go/192/archives/cost.csv [Pipeline] lock [2021-03-04T15:43:40.946Z] Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] [2021-03-04T15:43:40.953Z] Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] did not exist. Created. [2021-03-04T15:43:40.953Z] Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-192-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-04T15:43:41.436Z] /w/workspace/app-functions-sdk-go/192@tmp/durable-27a75b38/script.sh: 1: /w/workspace/app-functions-sdk-go/192@tmp/durable-27a75b38/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-04T15:43:41.781Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-04T15:43:41.851Z] Warning: overwriting stash ‘stack-cost’ [2021-03-04T15:43:42.012Z] Stashed 1 file(s) [Pipeline] } [2021-03-04T15:43:42.024Z] Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-192-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-04T15:43:43.516Z] provisioning config files... [2021-03-04T15:43:43.532Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3702094206855559089tmp [Pipeline] { [Pipeline] sh [2021-03-04T15:43:43.965Z] + set +x [2021-03-04T15:43:43.965Z] + curl -s https://codecov.io/bash [2021-03-04T15:43:43.965Z] + bash -s -- [2021-03-04T15:43:44.230Z] [2021-03-04T15:43:44.230Z] _____ _ [2021-03-04T15:43:44.230Z] / ____| | | [2021-03-04T15:43:44.230Z] | | ___ __| | ___ ___ _____ __ [2021-03-04T15:43:44.230Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-04T15:43:44.230Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-04T15:43:44.230Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-04T15:43:44.230Z] Bash-20210226-7100762 [2021-03-04T15:43:44.230Z] [2021-03-04T15:43:44.230Z] [2021-03-04T15:43:44.230Z] ==> git version 2.24.3 found [2021-03-04T15:43:44.230Z] ==> 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-04T15:43:44.230Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-04T15:43:44.230Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-04T15:43:44.230Z] ==> Jenkins CI detected. [2021-03-04T15:43:44.230Z] project root: . [2021-03-04T15:43:44.230Z] --> token set from env [2021-03-04T15:43:44.230Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-04T15:43:44.230Z] ==> Running gcov in . (disable via -X gcov) [2021-03-04T15:43:44.230Z] ==> Python coveragepy not found [2021-03-04T15:43:44.230Z] ==> Searching for coverage reports in: [2021-03-04T15:43:44.230Z] + . [2021-03-04T15:43:44.230Z] -> Found 2 reports [2021-03-04T15:43:44.230Z] ==> Detecting git/mercurial file structure [2021-03-04T15:43:44.230Z] ==> Reading reports [2021-03-04T15:43:44.230Z] + ./app-service-template/coverage.out bytes=1148 [2021-03-04T15:43:44.230Z] + ./coverage.out bytes=83934 [2021-03-04T15:43:44.230Z] ==> Appending adjustments [2021-03-04T15:43:44.230Z] https://docs.codecov.io/docs/fixing-reports [2021-03-04T15:43:44.815Z] + Found adjustments [2021-03-04T15:43:44.815Z] ==> Gzipping contents [2021-03-04T15:43:44.815Z] 16K /tmp/codecov.avQlqm.gz [2021-03-04T15:43:44.815Z] ==> Uploading reports [2021-03-04T15:43:44.815Z] url: https://codecov.io [2021-03-04T15:43:44.815Z] query: branch=master&commit=4a1f060505acd7d76a29fd8599ca962e4b127f4d&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F192%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-04T15:43:44.815Z] -> Pinging Codecov [2021-03-04T15:43:44.815Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=master&commit=4a1f060505acd7d76a29fd8599ca962e4b127f4d&build=192&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F192%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-04T15:43:46.217Z] -> Uploading to [2021-03-04T15:43:46.217Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-04/3D8B5DFFC46A037C893635FACE044666/4a1f060505acd7d76a29fd8599ca962e4b127f4d/5bcc6153-c8f0-476b-9f91-676520ca9141.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210304T154346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43475297ae800c42966f1060dbae5f6f059c309ccae1bd169c33e08469c2b9b1 [2021-03-04T15:43:46.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-04T15:43:46.217Z] Dload Upload Total Spent Left Speed [2021-03-04T15:43:46.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14511 0 0 100 14511 0 32334 --:--:-- --:--:-- --:--:-- 32318 100 14511 0 0 100 14511 0 32318 --:--:-- --:--:-- --:--:-- 32318 [2021-03-04T15:43:46.793Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4a1f060505acd7d76a29fd8599ca962e4b127f4d [Pipeline] } [2021-03-04T15:43:46.803Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-04T15:43:47.692Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-04T15:43:47.803Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:43:48.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-04T15:43:48.152Z] [2021-03-04T15:43:48.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:43:48.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-04T15:43:48.510Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-04T15:43:48.510Z] 188c0c94c7c5: Pulling fs layer [2021-03-04T15:43:48.510Z] 0ef7d3d256c8: Pulling fs layer [2021-03-04T15:43:48.510Z] de9db76c5a1d: Pulling fs layer [2021-03-04T15:43:48.510Z] 0eba1c9be4d2: Pulling fs layer [2021-03-04T15:43:48.510Z] 0d57e429df01: Pulling fs layer [2021-03-04T15:43:48.510Z] 4e4be7b47b0d: Pulling fs layer [2021-03-04T15:43:48.510Z] e1f770b5df2f: Pulling fs layer [2021-03-04T15:43:48.510Z] 85a0685a4137: Pulling fs layer [2021-03-04T15:43:48.510Z] 0d57e429df01: Waiting [2021-03-04T15:43:48.510Z] 4e4be7b47b0d: Waiting [2021-03-04T15:43:48.510Z] 0eba1c9be4d2: Waiting [2021-03-04T15:43:48.510Z] e1f770b5df2f: Waiting [2021-03-04T15:43:48.510Z] 85a0685a4137: Waiting [2021-03-04T15:43:48.510Z] de9db76c5a1d: Verifying Checksum [2021-03-04T15:43:48.510Z] de9db76c5a1d: Download complete [2021-03-04T15:43:48.510Z] 0ef7d3d256c8: Verifying Checksum [2021-03-04T15:43:48.510Z] 0ef7d3d256c8: Download complete [2021-03-04T15:43:48.510Z] 0d57e429df01: Verifying Checksum [2021-03-04T15:43:48.510Z] 0d57e429df01: Download complete [2021-03-04T15:43:49.085Z] 4e4be7b47b0d: Verifying Checksum [2021-03-04T15:43:49.085Z] 4e4be7b47b0d: Download complete [2021-03-04T15:43:49.085Z] 188c0c94c7c5: Verifying Checksum [2021-03-04T15:43:49.085Z] 188c0c94c7c5: Download complete [2021-03-04T15:43:49.353Z] 188c0c94c7c5: Pull complete [2021-03-04T15:43:49.618Z] 0ef7d3d256c8: Pull complete [2021-03-04T15:43:49.881Z] de9db76c5a1d: Pull complete [2021-03-04T15:43:50.855Z] e1f770b5df2f: Verifying Checksum [2021-03-04T15:43:50.855Z] e1f770b5df2f: Download complete [2021-03-04T15:43:52.796Z] 0eba1c9be4d2: Verifying Checksum [2021-03-04T15:43:52.796Z] 0eba1c9be4d2: Download complete [2021-03-04T15:43:52.796Z] 85a0685a4137: Verifying Checksum [2021-03-04T15:43:52.796Z] 85a0685a4137: Download complete [2021-03-04T15:43:59.435Z] 0eba1c9be4d2: Pull complete [2021-03-04T15:43:59.435Z] 0d57e429df01: Pull complete [2021-03-04T15:43:59.435Z] 4e4be7b47b0d: Pull complete [2021-03-04T15:44:04.761Z] e1f770b5df2f: Pull complete [2021-03-04T15:44:11.414Z] 85a0685a4137: Pull complete [2021-03-04T15:44:11.414Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-04T15:44:11.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-04T15:44:11.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-04T15:44:11.674Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:44:11.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-04T15:44:12.824Z] $ docker top 948a826d232af4d9b9dfca2779ffd6cc0aadcab922c5f8a95cd8ba8ca4df1132 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-04T15:44:13.048Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-04T15:44:13.347Z] + set -o pipefail [2021-03-04T15:44:13.347Z] + snyk monitor '--org=edgex-jenkins' [2021-03-04T15:44:45.523Z] [2021-03-04T15:44:45.523Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-03-04T15:44:45.523Z] [2021-03-04T15:44:45.523Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/1ad59c14-478d-4c98-aa8a-22eae3c80d4f [2021-03-04T15:44:45.523Z] [2021-03-04T15:44:45.523Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-03-04T15:44:45.523Z] [2021-03-04T15:44:45.523Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-04T15:44:45.523Z] [2021-03-04T15:44:45.523Z] [Pipeline] } [2021-03-04T15:44:45.541Z] $ docker stop --time=1 948a826d232af4d9b9dfca2779ffd6cc0aadcab922c5f8a95cd8ba8ca4df1132 [2021-03-04T15:44:49.142Z] $ docker rm -f 948a826d232af4d9b9dfca2779ffd6cc0aadcab922c5f8a95cd8ba8ca4df1132 [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-04T15:44:50.496Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-04T15:44:50.559Z] provisioning config files... [2021-03-04T15:44:50.574Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3891656968453322600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:44:50.999Z] --> edgex-publish-swagger.sh [2021-03-04T15:44:50.999Z] === Publish openapi/v2 API === [2021-03-04T15:44:50.999Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-04T15:44:50.999Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-03-04T15:44:50.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-04T15:44:50.999Z] Dload Upload Total Spent Left Speed [2021-03-04T15:44:52.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10405 0:00:01 0:00:01 --:--:-- 10408 100 13052 0 0 100 13052 0 9103 0:00:01 0:00:01 --:--:-- 9108 [2021-03-04T15:44:52.439Z] [2021-03-04T15:44:52.439Z] [Pipeline] } [2021-03-04T15:44:52.448Z] 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-04T15:44:53.339Z] + git log --format=format:%s -1 4a1f060505acd7d76a29fd8599ca962e4b127f4d [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:44:53.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-04T15:44:53.656Z] . [Pipeline] withDockerContainer [2021-03-04T15:44:53.790Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:44:53.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-04T15:44:54.776Z] $ docker top 8ab11e4cfc1bb24ff6d2210d5f802b26fb0c3331a2ef58a889fc74e0742184f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-04T15:44:55.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-04T15:44:55.159Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-04T15:44:55.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-04T15:44:55.420Z] $ docker exec 8ab11e4cfc1bb24ff6d2210d5f802b26fb0c3331a2ef58a889fc74e0742184f8 ssh-agent [2021-03-04T15:44:55.614Z] SSH_AUTH_SOCK=/tmp/ssh-48P11ocn2PcA/agent.12 [2021-03-04T15:44:55.614Z] SSH_AGENT_PID=17 [2021-03-04T15:44:55.622Z] Running ssh-add (command line suppressed) [2021-03-04T15:44:55.766Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8804004604992084825.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8804004604992084825.key) [2021-03-04T15:44:55.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-04T15:44:56.189Z] + git semver tag [2021-03-04T15:44:56.189Z] # -> Open(): unable to determine branch for HEAD [2021-03-04T15:44:56.189Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-04T15:44:56.189Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-04T15:44:56.189Z] # $SEMVER_REMOTE_NAME = origin [2021-03-04T15:44:56.189Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-04T15:44:56.189Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-04T15:44:56.189Z] # $SEMVER_BRANCH = master [2021-03-04T15:44:56.189Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-04T15:44:56.189Z] # 4a1f060505acd7d76a29fd8599ca962e4b127f4d HEAD [2021-03-04T15:44:56.453Z] # -> Force: false [2021-03-04T15:44:56.453Z] # 08bd3d37853f7a2327e586f53f57cc7e3f74ae89 refs/tags/v2.0.0-dev.25 [Pipeline] } [2021-03-04T15:44:56.467Z] $ docker exec --env ******** --env ******** 8ab11e4cfc1bb24ff6d2210d5f802b26fb0c3331a2ef58a889fc74e0742184f8 ssh-agent -k [2021-03-04T15:44:56.593Z] unset SSH_AUTH_SOCK; [2021-03-04T15:44:56.594Z] unset SSH_AGENT_PID; [2021-03-04T15:44:56.594Z] echo Agent pid 17 killed; [2021-03-04T15:44:56.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-04T15:44:57.172Z] + git semver [Pipeline] } [2021-03-04T15:44:57.192Z] $ docker stop --time=1 8ab11e4cfc1bb24ff6d2210d5f802b26fb0c3331a2ef58a889fc74e0742184f8 [2021-03-04T15:44:58.675Z] $ docker rm -f 8ab11e4cfc1bb24ff6d2210d5f802b26fb0c3331a2ef58a889fc74e0742184f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:44:59.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-04T15:44:59.344Z] [2021-03-04T15:44:59.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:44:59.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-04T15:44:59.703Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-04T15:44:59.703Z] ab5ef0e58194: Pulling fs layer [2021-03-04T15:44:59.703Z] 9712f1f96733: Pulling fs layer [2021-03-04T15:44:59.703Z] 63f879dbbcfc: Pulling fs layer [2021-03-04T15:44:59.703Z] 0d9ebad4ef96: Pulling fs layer [2021-03-04T15:44:59.703Z] e9a5061849ea: Pulling fs layer [2021-03-04T15:44:59.703Z] d747dcd14b5f: Pulling fs layer [2021-03-04T15:44:59.703Z] 2de7ff778b66: Pulling fs layer [2021-03-04T15:44:59.703Z] 0d9ebad4ef96: Waiting [2021-03-04T15:44:59.703Z] e9a5061849ea: Waiting [2021-03-04T15:44:59.703Z] d747dcd14b5f: Waiting [2021-03-04T15:44:59.703Z] 2de7ff778b66: Waiting [2021-03-04T15:44:59.703Z] 9712f1f96733: Verifying Checksum [2021-03-04T15:44:59.703Z] 9712f1f96733: Download complete [2021-03-04T15:45:02.321Z] 63f879dbbcfc: Verifying Checksum [2021-03-04T15:45:02.321Z] 63f879dbbcfc: Download complete [2021-03-04T15:45:02.654Z] e9a5061849ea: Verifying Checksum [2021-03-04T15:45:02.654Z] e9a5061849ea: Download complete [2021-03-04T15:45:02.654Z] d747dcd14b5f: Verifying Checksum [2021-03-04T15:45:02.654Z] d747dcd14b5f: Download complete [2021-03-04T15:45:03.375Z] 0d9ebad4ef96: Verifying Checksum [2021-03-04T15:45:03.375Z] 0d9ebad4ef96: Download complete [2021-03-04T15:45:03.375Z] 2de7ff778b66: Verifying Checksum [2021-03-04T15:45:03.375Z] 2de7ff778b66: Download complete [2021-03-04T15:45:03.975Z] ab5ef0e58194: Verifying Checksum [2021-03-04T15:45:03.975Z] ab5ef0e58194: Download complete [2021-03-04T15:45:09.300Z] ab5ef0e58194: Pull complete [2021-03-04T15:45:09.300Z] 9712f1f96733: Pull complete [2021-03-04T15:45:12.627Z] 63f879dbbcfc: Pull complete [2021-03-04T15:45:19.278Z] 0d9ebad4ef96: Pull complete [2021-03-04T15:45:19.862Z] e9a5061849ea: Pull complete [2021-03-04T15:45:20.130Z] d747dcd14b5f: Pull complete [2021-03-04T15:45:22.699Z] 2de7ff778b66: Pull complete [2021-03-04T15:45:22.699Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-04T15:45:22.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-04T15:45:22.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-04T15:45:22.954Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:45:23.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-04T15:45:26.848Z] $ docker top e494f84fdf4b8539ca09e2be0272ed426ed79181fe52bca7aadf36213c573ab7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-04T15:45:27.152Z] provisioning config files... [2021-03-04T15:45:27.170Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7385371505100610107tmp [2021-03-04T15:45:27.188Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1298294744301190271tmp [2021-03-04T15:45:27.206Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config70440044933331954tmp [Pipeline] { [Pipeline] echo [2021-03-04T15:45:27.265Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:45:27.570Z] ---> sigul-configuration.sh [2021-03-04T15:45:27.570Z] gpg: directory `/root/.gnupg' created [2021-03-04T15:45:27.570Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-04T15:45:27.570Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-04T15:45:27.570Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-04T15:45:27.570Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-04T15:45:27.570Z] gpg: CAST5 encrypted data [2021-03-04T15:45:27.835Z] gpg: encrypted with 1 passphrase [2021-03-04T15:45:27.835Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-04T15:45:28.138Z] + mkdir /home/jenkins [2021-03-04T15:45:28.138Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-04T15:45:28.441Z] + 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-04T15:45:28.453Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:45:28.754Z] ---> sigul-install.sh [2021-03-04T15:45:35.364Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-04T15:45:35.671Z] + git tag --list [2021-03-04T15:45:35.671Z] v0.1.0 [2021-03-04T15:45:35.671Z] v0.1.1 [2021-03-04T15:45:35.671Z] v1.0.0 [2021-03-04T15:45:35.671Z] v1.1.0 [2021-03-04T15:45:35.671Z] v1.2.0 [2021-03-04T15:45:35.671Z] v1.3.0 [2021-03-04T15:45:35.671Z] v1.3.1 [2021-03-04T15:45:35.671Z] v1.3.1-dev.1 [2021-03-04T15:45:35.671Z] v1.3.2-dev.1 [2021-03-04T15:45:35.671Z] v2.0.0-dev.1 [2021-03-04T15:45:35.671Z] v2.0.0-dev.10 [2021-03-04T15:45:35.671Z] v2.0.0-dev.11 [2021-03-04T15:45:35.671Z] v2.0.0-dev.12 [2021-03-04T15:45:35.671Z] v2.0.0-dev.13 [2021-03-04T15:45:35.671Z] v2.0.0-dev.14 [2021-03-04T15:45:35.671Z] v2.0.0-dev.15 [2021-03-04T15:45:35.671Z] v2.0.0-dev.16 [2021-03-04T15:45:35.671Z] v2.0.0-dev.17 [2021-03-04T15:45:35.671Z] v2.0.0-dev.18 [2021-03-04T15:45:35.671Z] v2.0.0-dev.19 [2021-03-04T15:45:35.671Z] v2.0.0-dev.2 [2021-03-04T15:45:35.671Z] v2.0.0-dev.20 [2021-03-04T15:45:35.671Z] v2.0.0-dev.21 [2021-03-04T15:45:35.671Z] v2.0.0-dev.22 [2021-03-04T15:45:35.671Z] v2.0.0-dev.23 [2021-03-04T15:45:35.671Z] v2.0.0-dev.24 [2021-03-04T15:45:35.671Z] v2.0.0-dev.25 [2021-03-04T15:45:35.671Z] v2.0.0-dev.3 [2021-03-04T15:45:35.671Z] v2.0.0-dev.4 [2021-03-04T15:45:35.671Z] v2.0.0-dev.5 [2021-03-04T15:45:35.671Z] v2.0.0-dev.6 [2021-03-04T15:45:35.671Z] v2.0.0-dev.7 [2021-03-04T15:45:35.671Z] v2.0.0-dev.8 [2021-03-04T15:45:35.671Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-04T15:45:35.974Z] + lftools sign git-tag v2.0.0-dev.25 [2021-03-04T15:45:37.367Z] Signing Git tag with Sigul... [2021-03-04T15:45:37.367Z] Signing v2.0.0-dev.25 [Pipeline] echo [2021-03-04T15:45:38.326Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:45:38.623Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-04T15:45:38.633Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-04T15:45:38.774Z] $ docker stop --time=1 e494f84fdf4b8539ca09e2be0272ed426ed79181fe52bca7aadf36213c573ab7 [2021-03-04T15:45:40.883Z] $ docker rm -f e494f84fdf4b8539ca09e2be0272ed426ed79181fe52bca7aadf36213c573ab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:45:41.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-04T15:45:41.945Z] . [Pipeline] withDockerContainer [2021-03-04T15:45:42.071Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:45:42.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-04T15:45:43.008Z] $ docker top 65019bee7241ca84a0cbfaa2a096286d69b7ffc38143e9053ca0a25989807b44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-04T15:45:43.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-04T15:45:43.341Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-04T15:45:43.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-04T15:45:43.598Z] $ docker exec 65019bee7241ca84a0cbfaa2a096286d69b7ffc38143e9053ca0a25989807b44 ssh-agent [2021-03-04T15:45:43.792Z] SSH_AUTH_SOCK=/tmp/ssh-kEJtepUSM30d/agent.11 [2021-03-04T15:45:43.792Z] SSH_AGENT_PID=17 [2021-03-04T15:45:43.800Z] Running ssh-add (command line suppressed) [2021-03-04T15:45:43.934Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9223124437305361319.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_9223124437305361319.key) [2021-03-04T15:45:44.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-04T15:45:44.337Z] + git semver bump pre [2021-03-04T15:45:44.337Z] # -> Open(): unable to determine branch for HEAD [2021-03-04T15:45:44.337Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-04T15:45:44.337Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-04T15:45:44.337Z] # $SEMVER_REMOTE_NAME = origin [2021-03-04T15:45:44.337Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-04T15:45:44.337Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-04T15:45:44.337Z] # $SEMVER_BRANCH = master [2021-03-04T15:45:44.337Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-03-04T15:45:44.337Z] 2.0.0-dev.26 [Pipeline] } [2021-03-04T15:45:44.352Z] $ docker exec --env ******** --env ******** 65019bee7241ca84a0cbfaa2a096286d69b7ffc38143e9053ca0a25989807b44 ssh-agent -k [2021-03-04T15:45:44.485Z] unset SSH_AUTH_SOCK; [2021-03-04T15:45:44.485Z] unset SSH_AGENT_PID; [2021-03-04T15:45:44.485Z] echo Agent pid 17 killed; [2021-03-04T15:45:44.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-04T15:45:45.014Z] + git semver [Pipeline] } [2021-03-04T15:45:45.031Z] $ docker stop --time=1 65019bee7241ca84a0cbfaa2a096286d69b7ffc38143e9053ca0a25989807b44 [2021-03-04T15:45:46.421Z] $ docker rm -f 65019bee7241ca84a0cbfaa2a096286d69b7ffc38143e9053ca0a25989807b44 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:45:46.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-04T15:45:46.941Z] . [Pipeline] withDockerContainer [2021-03-04T15:45:47.052Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:45:47.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-04T15:45:47.773Z] $ docker top 065d6405f39bddd5265933e17674ea7d3921ccd0281d1a909ebfe32a3ea85d83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-04T15:45:48.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-04T15:45:48.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-04T15:45:48.337Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-04T15:45:48.342Z] $ docker exec 065d6405f39bddd5265933e17674ea7d3921ccd0281d1a909ebfe32a3ea85d83 ssh-agent [2021-03-04T15:45:48.528Z] SSH_AUTH_SOCK=/tmp/ssh-tSAqEhCN2C04/agent.11 [2021-03-04T15:45:48.528Z] SSH_AGENT_PID=16 [2021-03-04T15:45:48.536Z] Running ssh-add (command line suppressed) [2021-03-04T15:45:48.675Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6357620284601063251.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6357620284601063251.key) [2021-03-04T15:45:48.738Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-04T15:45:49.080Z] + git semver push [2021-03-04T15:45:49.080Z] # -> Open(): unable to determine branch for HEAD [2021-03-04T15:45:49.080Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-03-04T15:45:49.080Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-03-04T15:45:49.080Z] # $SEMVER_REMOTE_NAME = origin [2021-03-04T15:45:49.080Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-04T15:45:49.080Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-04T15:45:49.080Z] # $SEMVER_BRANCH = master [2021-03-04T15:45:49.080Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-03-04T15:45:55.697Z] $ docker exec --env ******** --env ******** 065d6405f39bddd5265933e17674ea7d3921ccd0281d1a909ebfe32a3ea85d83 ssh-agent -k [2021-03-04T15:45:55.837Z] unset SSH_AUTH_SOCK; [2021-03-04T15:45:55.838Z] unset SSH_AGENT_PID; [2021-03-04T15:45:55.838Z] echo Agent pid 16 killed; [2021-03-04T15:45:55.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-04T15:45:56.360Z] + git semver [Pipeline] } [2021-03-04T15:45:56.377Z] $ docker stop --time=1 065d6405f39bddd5265933e17674ea7d3921ccd0281d1a909ebfe32a3ea85d83 [2021-03-04T15:45:57.815Z] $ docker rm -f 065d6405f39bddd5265933e17674ea7d3921ccd0281d1a909ebfe32a3ea85d83 [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-04T15:45:59.565Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:46:00.134Z] ---> package-listing.sh [2021-03-04T15:46:00.135Z] ++ facter osfamily [2021-03-04T15:46:00.135Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-04T15:46:00.135Z] + OS_FAMILY=redhat [2021-03-04T15:46:00.135Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-03-04T15:46:00.135Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-04T15:46:00.135Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-04T15:46:00.135Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-04T15:46:00.135Z] + PACKAGES=/tmp/packages_start.txt [2021-03-04T15:46:00.135Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-04T15:46:00.135Z] + PACKAGES=/tmp/packages_end.txt [2021-03-04T15:46:00.135Z] + case "${OS_FAMILY}" in [2021-03-04T15:46:00.135Z] + rpm -qa [2021-03-04T15:46:00.135Z] + sort [2021-03-04T15:46:05.464Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-04T15:46:05.464Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-04T15:46:05.464Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-04T15:46:05.464Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-03-04T15:46:05.464Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-03-04T15:46:05.464Z] + 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-04T15:46:05.478Z] 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-04T15:46:05.776Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:46:06.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-04T15:46:06.091Z] [2021-03-04T15:46:06.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-04T15:46:06.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-04T15:46:06.442Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-04T15:46:06.442Z] df20fa9351a1: Pulling fs layer [2021-03-04T15:46:06.442Z] 36b3adc4ff6f: Pulling fs layer [2021-03-04T15:46:06.442Z] 8ad3a11d3b57: Pulling fs layer [2021-03-04T15:46:06.442Z] 46f8f816bc3b: Pulling fs layer [2021-03-04T15:46:06.442Z] 93b61091891f: Pulling fs layer [2021-03-04T15:46:06.442Z] 93b9cdb0e59b: Pulling fs layer [2021-03-04T15:46:06.442Z] 5e14af77c1be: Pulling fs layer [2021-03-04T15:46:06.442Z] 01666e4c0597: Pulling fs layer [2021-03-04T15:46:06.442Z] aa168da1d23b: Pulling fs layer [2021-03-04T15:46:06.442Z] 46f8f816bc3b: Waiting [2021-03-04T15:46:06.442Z] 93b61091891f: Waiting [2021-03-04T15:46:06.442Z] 93b9cdb0e59b: Waiting [2021-03-04T15:46:06.442Z] 5e14af77c1be: Waiting [2021-03-04T15:46:06.442Z] 01666e4c0597: Waiting [2021-03-04T15:46:06.442Z] aa168da1d23b: Waiting [2021-03-04T15:46:06.442Z] 36b3adc4ff6f: Verifying Checksum [2021-03-04T15:46:06.442Z] 36b3adc4ff6f: Download complete [2021-03-04T15:46:06.442Z] 46f8f816bc3b: Verifying Checksum [2021-03-04T15:46:06.442Z] 46f8f816bc3b: Download complete [2021-03-04T15:46:06.442Z] df20fa9351a1: Verifying Checksum [2021-03-04T15:46:06.442Z] 93b9cdb0e59b: Download complete [2021-03-04T15:46:06.442Z] 5e14af77c1be: Verifying Checksum [2021-03-04T15:46:06.442Z] 5e14af77c1be: Download complete [2021-03-04T15:46:06.709Z] 93b61091891f: Download complete [2021-03-04T15:46:06.709Z] 01666e4c0597: Verifying Checksum [2021-03-04T15:46:06.710Z] 01666e4c0597: Download complete [2021-03-04T15:46:06.973Z] 8ad3a11d3b57: Verifying Checksum [2021-03-04T15:46:06.973Z] 8ad3a11d3b57: Download complete [2021-03-04T15:46:06.973Z] df20fa9351a1: Pull complete [2021-03-04T15:46:07.240Z] 36b3adc4ff6f: Pull complete [2021-03-04T15:46:08.659Z] 8ad3a11d3b57: Pull complete [2021-03-04T15:46:08.659Z] 46f8f816bc3b: Pull complete [2021-03-04T15:46:08.923Z] aa168da1d23b: Verifying Checksum [2021-03-04T15:46:08.923Z] aa168da1d23b: Download complete [2021-03-04T15:46:09.500Z] 93b61091891f: Pull complete [2021-03-04T15:46:09.762Z] 93b9cdb0e59b: Pull complete [2021-03-04T15:46:10.025Z] 5e14af77c1be: Pull complete [2021-03-04T15:46:10.025Z] 01666e4c0597: Pull complete [2021-03-04T15:46:18.242Z] aa168da1d23b: Pull complete [2021-03-04T15:46:18.242Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-04T15:46:18.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-04T15:46:18.242Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-04T15:46:18.422Z] prd-centos7-docker-4c-2g-28482 does not seem to be running inside a container [2021-03-04T15:46:18.474Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-04T15:46:21.368Z] $ docker top 2c0e310e0001d141620609f6d64b681168b28e594c5a02f39a8196f59d0deee5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-04T15:46:21.962Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-04T15:46:22.266Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-04T15:46:22.567Z] + ls /var/log/sa-host [2021-03-04T15:46:22.567Z] + sadf -c /var/log/sa-host/sa04 [2021-03-04T15:46:22.567Z] file_magic: OK [2021-03-04T15:46:22.567Z] HZ: Using current value: 100 [2021-03-04T15:46:22.567Z] file_header: OK [2021-03-04T15:46:22.567Z] 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-04T15:46:22.567Z] Statistics: [2021-03-04T15:46:22.568Z] 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-04T15:46:22.568Z] File successfully converted to sysstat format version 12.2.1 [2021-03-04T15:46:22.568Z] + sadf -c /var/log/sa-host/sa23 [2021-03-04T15:46:22.568Z] file_magic: OK [2021-03-04T15:46:22.568Z] HZ: Using current value: 100 [2021-03-04T15:46:22.568Z] file_header: OK [2021-03-04T15:46:22.568Z] 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-04T15:46:22.568Z] Statistics: [2021-03-04T15:46:22.568Z] Hnuu...uuuununununu... [2021-03-04T15:46:22.568Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-04T15:46:23.170Z] provisioning config files... [2021-03-04T15:46:23.185Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2753181037342283235tmp [Pipeline] { [Pipeline] echo [2021-03-04T15:46:23.257Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:46:23.556Z] ---> create-netrc.sh [Pipeline] } [2021-03-04T15:46:23.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-04T15:46:23.653Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:46:23.952Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-04T15:46:23.964Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:46:24.262Z] ---> sudo-logs.sh [2021-03-04T15:46:24.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-04T15:46:24.321Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:46:24.627Z] ---> job-cost.sh [2021-03-04T15:46:24.627Z] lf-activate-venv: SKIPPING [2021-03-04T15:46:24.627Z] DEBUG: total: 0.20999999344348907 [2021-03-04T15:46:24.627Z] INFO: Retrieving Stack Cost... [2021-03-04T15:46:25.577Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-04T15:46:26.154Z] INFO: Archiving Costs [Pipeline] echo [2021-03-04T15:46:26.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-04T15:46:26.473Z] ---> logs-deploy.sh [2021-03-04T15:46:26.473Z] lf-activate-venv: SKIPPING [2021-03-04T15:46:26.473Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/192 [2021-03-04T15:46:26.473Z] INFO: archiving workspace using pattern(s): [2021-03-04T15:46:28.401Z] Archives upload complete. [2021-03-04T15:46:28.401Z] INFO: archiving logs to Nexus