Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26947’ Running on prd-centos7-docker-4c-2g-26950 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 ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (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 ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 Commit message: "feat: Port service template from hanoi branch (#703)" > git rev-list --no-walk f281c8b713d95d8c203921f39489e26903a82368 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-19T21:41:11.702Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-19T21:41:11.916Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-19T21:41:12.039Z] ========================================================= [2021-02-19T21:41:12.039Z] EdgeX Global Pipelines Version Info [2021-02-19T21:41:12.039Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:41:13.523Z] ------------------- [2021-02-19T21:41:13.523Z] stable info: [2021-02-19T21:41:13.523Z] ------------------- [2021-02-19T21:41:13.523Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-19T21:41:13.523Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-19T21:41:13.523Z] Message: update stable to v1.0.179 [2021-02-19T21:41:14.478Z] ------------------- [2021-02-19T21:41:14.478Z] experimental info: [2021-02-19T21:41:14.478Z] ------------------- [2021-02-19T21:41:14.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-19T21:41:14.478Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-19T21:41:14.478Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-19T21:41:14.766Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo [2021-02-19T21:41:14.850Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo [2021-02-19T21:41:14.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-19T21:41:15.020Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-19T21:41:15.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-19T21:41:15.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-19T21:41:15.264Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-19T21:41:15.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-19T21:41:15.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-19T21:41:15.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-19T21:41:15.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-19T21:41:15.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo [2021-02-19T21:41:15.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-19T21:41:15.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-19T21:41:16.066Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2021-02-19T21:41:16.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-19T21:41:16.291Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-19T21:41:16.374Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-19T21:41:16.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-19T21:41:16.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-19T21:41:16.647Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-19T21:41:16.746Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-02-19T21:41:16.842Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-19T21:41:16.926Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-19T21:41:17.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2021-02-19T21:41:17.090Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-19T21:41:17.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-19T21:41:17.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-19T21:41:17.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-19T21:41:17.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-19T21:41:17.554Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] echo [2021-02-19T21:41:17.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec0576e [Pipeline] echo [2021-02-19T21:41:17.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-19T21:41:18.444Z] + git log --format=format:%s -1 ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] echo [2021-02-19T21:41:18.517Z] GIT_COMMIT: ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb, Commit Message: feat: Port service template from hanoi branch (#703) [Pipeline] echo [2021-02-19T21:41:18.567Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:41:19.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-19T21:41:19.841Z] [2021-02-19T21:41:19.841Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:41:20.200Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-19T21:41:20.200Z] latest: Pulling from edgex-devops/git-semver [2021-02-19T21:41:20.200Z] 31603596830f: Pulling fs layer [2021-02-19T21:41:20.200Z] 2a8b12db71e7: Pulling fs layer [2021-02-19T21:41:20.200Z] 6ca5941a6612: Pulling fs layer [2021-02-19T21:41:20.200Z] ecc8261a40a4: Pulling fs layer [2021-02-19T21:41:20.200Z] 2a8b12db71e7: Verifying Checksum [2021-02-19T21:41:20.200Z] 2a8b12db71e7: Download complete [2021-02-19T21:41:20.463Z] 31603596830f: Verifying Checksum [2021-02-19T21:41:20.463Z] 31603596830f: Download complete [2021-02-19T21:41:20.463Z] 6ca5941a6612: Verifying Checksum [2021-02-19T21:41:20.464Z] 6ca5941a6612: Download complete [2021-02-19T21:41:20.464Z] ecc8261a40a4: Verifying Checksum [2021-02-19T21:41:20.464Z] ecc8261a40a4: Download complete [2021-02-19T21:41:20.726Z] 31603596830f: Pull complete [2021-02-19T21:41:20.995Z] 2a8b12db71e7: Pull complete [2021-02-19T21:41:21.951Z] 6ca5941a6612: Pull complete [2021-02-19T21:41:22.213Z] ecc8261a40a4: Pull complete [2021-02-19T21:41:22.213Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-19T21:41:22.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-19T21:41:22.213Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-19T21:41:22.336Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:41:22.387Z] $ 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-02-19T21:41:24.548Z] $ docker top a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-19T21:41:24.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-19T21:41:24.881Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-19T21:41:25.125Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-19T21:41:25.129Z] $ docker exec a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent [2021-02-19T21:41:25.390Z] SSH_AUTH_SOCK=/tmp/ssh-yFWDRojeu9xb/agent.11 [2021-02-19T21:41:25.390Z] SSH_AGENT_PID=16 [2021-02-19T21:41:25.403Z] Running ssh-add (command line suppressed) [2021-02-19T21:41:25.587Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7389768829547741211.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7389768829547741211.key) [2021-02-19T21:41:25.650Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-19T21:41:26.043Z] + git tag --points-at HEAD [Pipeline] } [2021-02-19T21:41:26.068Z] $ docker exec --env ******** --env ******** a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent -k [2021-02-19T21:41:26.209Z] unset SSH_AUTH_SOCK; [2021-02-19T21:41:26.209Z] unset SSH_AGENT_PID; [2021-02-19T21:41:26.209Z] echo Agent pid 16 killed; [2021-02-19T21:41:26.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-19T21:41:26.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-19T21:41:26.428Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-19T21:41:26.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-19T21:41:26.629Z] $ docker exec a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent [2021-02-19T21:41:26.839Z] SSH_AUTH_SOCK=/tmp/ssh-tR3HTnHgdhGw/agent.44 [2021-02-19T21:41:26.839Z] SSH_AGENT_PID=49 [2021-02-19T21:41:26.846Z] Running ssh-add (command line suppressed) [2021-02-19T21:41:27.006Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7076271638522093836.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7076271638522093836.key) [2021-02-19T21:41:27.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-19T21:41:27.403Z] + git semver init [2021-02-19T21:41:27.404Z] # -> Open(): unable to determine branch for HEAD [2021-02-19T21:41:27.404Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-19T21:41:27.404Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-19T21:41:27.404Z] # $SEMVER_REMOTE_NAME = origin [2021-02-19T21:41:27.404Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-19T21:41:27.404Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-19T21:41:27.404Z] # $SEMVER_BRANCH = master [2021-02-19T21:41:27.404Z] # $SEMVER_TEMP = /tmp/semver-229229892 [2021-02-19T21:41:27.404Z] # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP [2021-02-19T21:41:30.735Z] # '/tmp/semver-229229892' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' [2021-02-19T21:41:30.736Z] # -> Force: false [2021-02-19T21:41:30.736Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-02-19T21:41:30.747Z] $ docker exec --env ******** --env ******** a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 ssh-agent -k [2021-02-19T21:41:30.882Z] unset SSH_AUTH_SOCK; [2021-02-19T21:41:30.883Z] unset SSH_AGENT_PID; [2021-02-19T21:41:30.883Z] echo Agent pid 49 killed; [2021-02-19T21:41:30.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-19T21:41:31.393Z] + git semver [Pipeline] } [2021-02-19T21:41:31.408Z] $ docker stop --time=1 a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 [2021-02-19T21:41:32.912Z] $ docker rm -f a2152226d5a4cc2638b4e8169365c88bde4342afc9d4689523b2c11dbf567a31 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-19T21:41:33.365Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-19T21:41:33.838Z] Stashed 1 file(s) [Pipeline] echo [2021-02-19T21:41:33.841Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.15 [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-02-19T21:41:49.336Z] Still waiting to schedule task [2021-02-19T21:41:49.336Z] ‘prd-centos7-docker-4c-2g-26949’ is offline; ‘prd-centos7-docker-4c-2g-26951’ is offline; ‘prd-centos7-docker-4c-2g-26952’ is offline; ‘prd-centos7-docker-4c-2g-26953’ is offline; ‘prd-centos7-docker-4c-2g-26954’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-19T21:41:49.338Z] Still waiting to schedule task [2021-02-19T21:41:49.338Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-19T21:44:42.010Z] Running on prd-centos7-docker-4c-2g-26962 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-19T21:44:42.069Z] Running in /w/workspace/app-functions-sdk-go/182 [Pipeline] { [Pipeline] checkout [2021-02-19T21:44:44.425Z] using credential edgex-jenkins-ssh [2021-02-19T21:44:44.471Z] Cloning the remote Git repository [2021-02-19T21:44:44.496Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-19T21:44:44.566Z] > git init /w/workspace/app-functions-sdk-go/182 # timeout=10 [2021-02-19T21:44:44.626Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-19T21:44:44.627Z] > git --version # timeout=10 [2021-02-19T21:44:44.634Z] > git --version # 'git version 2.24.3' [2021-02-19T21:44:44.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-19T21:44:44.661Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-19T21:44:46.617Z] Checking out Revision ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (master) [2021-02-19T21:44:46.149Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-19T21:44:46.157Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-19T21:44:46.171Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-19T21:44:46.186Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-19T21:44:46.187Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-19T21:44:46.191Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-19T21:44:46.625Z] > git config core.sparsecheckout # timeout=10 [2021-02-19T21:44:46.630Z] > git checkout -f ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 [2021-02-19T21:44:50.401Z] Commit message: "feat: Port service template from hanoi branch (#703)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-19T21:44:51.850Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-19T21:44:52.184Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-19T21:44:52.492Z] + sudo service docker restart [2021-02-19T21:44:52.492Z] + true [2021-02-19T21:44:52.492Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo [2021-02-19T21:44:54.072Z] ========================================================= [2021-02-19T21:44:54.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-19T21:44:54.072Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:44:54.420Z] + 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-02-19T21:44:54.995Z] Sending build context to Docker daemon 19.21MB [2021-02-19T21:44:54.996Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-19T21:44:54.996Z] Step 2/8 : FROM ${BASE} [2021-02-19T21:44:54.996Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-19T21:44:54.996Z] 188c0c94c7c5: Pulling fs layer [2021-02-19T21:44:54.996Z] 0ef7d3d256c8: Pulling fs layer [2021-02-19T21:44:54.996Z] de9db76c5a1d: Pulling fs layer [2021-02-19T21:44:54.996Z] bca2f99d35d6: Pulling fs layer [2021-02-19T21:44:54.996Z] 93359f2a8cfa: Pulling fs layer [2021-02-19T21:44:54.996Z] 7c6f9722023f: Pulling fs layer [2021-02-19T21:44:54.996Z] a35cf1a2eb13: Pulling fs layer [2021-02-19T21:44:54.996Z] 93359f2a8cfa: Waiting [2021-02-19T21:44:54.996Z] 7c6f9722023f: Waiting [2021-02-19T21:44:54.996Z] a35cf1a2eb13: Waiting [2021-02-19T21:44:54.996Z] bca2f99d35d6: Waiting [2021-02-19T21:44:54.996Z] de9db76c5a1d: Verifying Checksum [2021-02-19T21:44:54.996Z] de9db76c5a1d: Download complete [2021-02-19T21:44:54.996Z] 0ef7d3d256c8: Download complete [2021-02-19T21:44:54.996Z] 93359f2a8cfa: Verifying Checksum [2021-02-19T21:44:54.996Z] 93359f2a8cfa: Download complete [2021-02-19T21:44:55.257Z] 7c6f9722023f: Verifying Checksum [2021-02-19T21:44:55.257Z] 7c6f9722023f: Download complete [2021-02-19T21:44:55.257Z] 188c0c94c7c5: Verifying Checksum [2021-02-19T21:44:55.257Z] 188c0c94c7c5: Download complete [2021-02-19T21:44:55.520Z] 188c0c94c7c5: Pull complete [2021-02-19T21:44:55.520Z] 0ef7d3d256c8: Pull complete [2021-02-19T21:44:55.782Z] de9db76c5a1d: Pull complete [2021-02-19T21:44:57.184Z] a35cf1a2eb13: Verifying Checksum [2021-02-19T21:44:57.184Z] a35cf1a2eb13: Download complete [2021-02-19T21:44:58.142Z] bca2f99d35d6: Verifying Checksum [2021-02-19T21:44:58.142Z] bca2f99d35d6: Download complete [2021-02-19T21:45:02.551Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-26961 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-19T21:45:02.606Z] Running in /w/workspace/app-functions-sdk-go/182 [Pipeline] { [Pipeline] checkout [2021-02-19T21:45:03.470Z] bca2f99d35d6: Pull complete [2021-02-19T21:45:03.471Z] 93359f2a8cfa: Pull complete [2021-02-19T21:45:03.471Z] 7c6f9722023f: Pull complete [2021-02-19T21:45:07.967Z] using credential edgex-jenkins-ssh [2021-02-19T21:45:08.023Z] Cloning the remote Git repository [2021-02-19T21:45:08.095Z] Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-19T21:45:08.223Z] > git init /w/workspace/app-functions-sdk-go/182 # timeout=10 [2021-02-19T21:45:08.311Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-19T21:45:08.315Z] > git --version # timeout=10 [2021-02-19T21:45:08.340Z] > git --version # 'git version 2.17.1' [2021-02-19T21:45:08.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-19T21:45:08.403Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-19T21:45:11.695Z] a35cf1a2eb13: Pull complete [2021-02-19T21:45:11.695Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-19T21:45:11.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-19T21:45:11.695Z] ---> a62c8e92a672 [2021-02-19T21:45:11.695Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-19T21:45:11.695Z] 20.10.0: Pulling from library/docker [2021-02-19T21:45:11.695Z] 05e7bc50f07f: Pulling fs layer [2021-02-19T21:45:11.695Z] 6db28d0fdbf6: Pulling fs layer [2021-02-19T21:45:11.695Z] 292df0bc6bf3: Pulling fs layer [2021-02-19T21:45:11.695Z] 2e060f4bd70b: Pulling fs layer [2021-02-19T21:45:11.695Z] 80e8d568a223: Pulling fs layer [2021-02-19T21:45:11.695Z] 8dc6ef1a942a: Pulling fs layer [2021-02-19T21:45:11.695Z] 2312dd95470a: Pulling fs layer [2021-02-19T21:45:11.695Z] 80e8d568a223: Waiting [2021-02-19T21:45:11.695Z] 2e060f4bd70b: Waiting [2021-02-19T21:45:11.695Z] 8dc6ef1a942a: Waiting [2021-02-19T21:45:11.695Z] 2312dd95470a: Waiting [2021-02-19T21:45:11.452Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-19T21:45:11.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-19T21:45:11.503Z] > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 [2021-02-19T21:45:11.542Z] Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git [2021-02-19T21:45:11.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-19T21:45:11.557Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-19T21:45:12.042Z] Checking out Revision ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb (master) [2021-02-19T21:45:12.285Z] 292df0bc6bf3: Verifying Checksum [2021-02-19T21:45:12.285Z] 292df0bc6bf3: Download complete [2021-02-19T21:45:12.285Z] 6db28d0fdbf6: Verifying Checksum [2021-02-19T21:45:12.285Z] 6db28d0fdbf6: Download complete [2021-02-19T21:45:12.285Z] 05e7bc50f07f: Verifying Checksum [2021-02-19T21:45:12.285Z] 80e8d568a223: Verifying Checksum [2021-02-19T21:45:12.285Z] 80e8d568a223: Download complete [2021-02-19T21:45:12.548Z] 05e7bc50f07f: Pull complete [2021-02-19T21:45:12.548Z] 2312dd95470a: Verifying Checksum [2021-02-19T21:45:12.548Z] 2312dd95470a: Download complete [2021-02-19T21:45:12.811Z] 6db28d0fdbf6: Pull complete [2021-02-19T21:45:12.811Z] 292df0bc6bf3: Pull complete [2021-02-19T21:45:12.811Z] 8dc6ef1a942a: Verifying Checksum [2021-02-19T21:45:12.811Z] 8dc6ef1a942a: Download complete [2021-02-19T21:45:12.068Z] > git config core.sparsecheckout # timeout=10 [2021-02-19T21:45:12.090Z] > git checkout -f ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb # timeout=10 [2021-02-19T21:45:16.884Z] Commit message: "feat: Port service template from hanoi branch (#703)" [2021-02-19T21:45:17.039Z] 2e060f4bd70b: Verifying Checksum [2021-02-19T21:45:17.039Z] 2e060f4bd70b: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-19T21:45:18.384Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-19T21:45:18.809Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-19T21:45:19.207Z] + sudo service docker restart [2021-02-19T21:45:19.207Z] + true [2021-02-19T21:45:20.371Z] 2e060f4bd70b: Pull complete [2021-02-19T21:45:20.371Z] 80e8d568a223: Pull complete [2021-02-19T21:45:20.371Z] 8dc6ef1a942a: Pull complete [2021-02-19T21:45:20.633Z] 2312dd95470a: Pull complete [2021-02-19T21:45:20.633Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-19T21:45:20.633Z] Status: Downloaded newer image for docker:20.10.0 [Pipeline] unstash [Pipeline] echo [2021-02-19T21:45:21.520Z] ========================================================= [2021-02-19T21:45:21.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-19T21:45:21.520Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:45:21.908Z] + 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-02-19T21:45:22.567Z] ---> 37b17f283bc4 [2021-02-19T21:45:22.567Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-19T21:45:22.567Z] ---> Running in 2c417899b316 [2021-02-19T21:45:22.830Z] Removing intermediate container 2c417899b316 [2021-02-19T21:45:22.830Z] ---> 408b38ac6661 [2021-02-19T21:45:22.830Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-19T21:45:22.830Z] ---> Running in 164929bf6e0f [2021-02-19T21:45:22.894Z] Sending build context to Docker daemon 19.21MB [2021-02-19T21:45:22.894Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-19T21:45:22.894Z] Step 2/8 : FROM ${BASE} [2021-02-19T21:45:23.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-19T21:45:23.496Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-19T21:45:23.496Z] 5f621e34cdf4: Pulling fs layer [2021-02-19T21:45:23.496Z] a4357932f1b6: Pulling fs layer [2021-02-19T21:45:23.496Z] 18c013af1878: Pulling fs layer [2021-02-19T21:45:23.496Z] 00ac8860ef70: Pulling fs layer [2021-02-19T21:45:23.496Z] 63d7cb157983: Pulling fs layer [2021-02-19T21:45:23.496Z] b116817d02f9: Pulling fs layer [2021-02-19T21:45:23.496Z] 745a02a5169b: Pulling fs layer [2021-02-19T21:45:23.496Z] 00ac8860ef70: Waiting [2021-02-19T21:45:23.496Z] 63d7cb157983: Waiting [2021-02-19T21:45:23.496Z] b116817d02f9: Waiting [2021-02-19T21:45:23.496Z] 745a02a5169b: Waiting [2021-02-19T21:45:23.496Z] 18c013af1878: Download complete [2021-02-19T21:45:23.496Z] a4357932f1b6: Download complete [2021-02-19T21:45:23.496Z] 63d7cb157983: Verifying Checksum [2021-02-19T21:45:23.496Z] 63d7cb157983: Download complete [2021-02-19T21:45:23.496Z] b116817d02f9: Verifying Checksum [2021-02-19T21:45:23.496Z] b116817d02f9: Download complete [2021-02-19T21:45:23.496Z] 5f621e34cdf4: Verifying Checksum [2021-02-19T21:45:23.496Z] 5f621e34cdf4: Download complete [2021-02-19T21:45:24.360Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-19T21:45:24.483Z] 5f621e34cdf4: Pull complete [2021-02-19T21:45:24.765Z] a4357932f1b6: Pull complete [2021-02-19T21:45:25.311Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-19T21:45:25.406Z] 18c013af1878: Pull complete [2021-02-19T21:45:25.574Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-19T21:45:26.150Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-19T21:45:26.393Z] 745a02a5169b: Verifying Checksum [2021-02-19T21:45:26.394Z] 745a02a5169b: Download complete [2021-02-19T21:45:26.411Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-19T21:45:26.411Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-19T21:45:26.673Z] Executing busybox-1.31.1-r19.trigger [2021-02-19T21:45:26.673Z] OK: 167 MiB in 44 packages [2021-02-19T21:45:27.248Z] Removing intermediate container 164929bf6e0f [2021-02-19T21:45:27.248Z] ---> 6b50309acc98 [2021-02-19T21:45:27.248Z] Step 6/8 : WORKDIR /build [2021-02-19T21:45:27.248Z] ---> Running in da4983db42c7 [2021-02-19T21:45:27.376Z] 00ac8860ef70: Verifying Checksum [2021-02-19T21:45:27.376Z] 00ac8860ef70: Download complete [2021-02-19T21:45:27.514Z] Removing intermediate container da4983db42c7 [2021-02-19T21:45:27.514Z] ---> a0d72c50e93f [2021-02-19T21:45:27.514Z] Step 7/8 : COPY go.mod . [2021-02-19T21:45:27.777Z] ---> 5bdcc144f57d [2021-02-19T21:45:27.777Z] Step 8/8 : RUN go mod download [2021-02-19T21:45:27.777Z] ---> Running in b3916347d1eb [2021-02-19T21:45:37.598Z] 00ac8860ef70: Pull complete [2021-02-19T21:45:38.196Z] 63d7cb157983: Pull complete [2021-02-19T21:45:38.474Z] b116817d02f9: Pull complete [2021-02-19T21:45:42.826Z] 745a02a5169b: Pull complete [2021-02-19T21:45:42.826Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-19T21:45:42.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-19T21:45:42.826Z] ---> b7e6874047d6 [2021-02-19T21:45:42.826Z] Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker [2021-02-19T21:45:42.826Z] 20.10.0: Pulling from library/docker [2021-02-19T21:45:42.826Z] a3cc7d3b244e: Pulling fs layer [2021-02-19T21:45:42.826Z] 02a3295e0d61: Pulling fs layer [2021-02-19T21:45:42.826Z] 0f4f2e6d8100: Pulling fs layer [2021-02-19T21:45:42.826Z] 330b718f631f: Pulling fs layer [2021-02-19T21:45:42.826Z] a93816041522: Pulling fs layer [2021-02-19T21:45:42.826Z] bdb6da89ff94: Pulling fs layer [2021-02-19T21:45:42.826Z] 2a70c0c122f4: Pulling fs layer [2021-02-19T21:45:42.826Z] a93816041522: Waiting [2021-02-19T21:45:42.826Z] bdb6da89ff94: Waiting [2021-02-19T21:45:42.826Z] 2a70c0c122f4: Waiting [2021-02-19T21:45:42.826Z] 330b718f631f: Waiting [2021-02-19T21:45:43.426Z] 02a3295e0d61: Download complete [2021-02-19T21:45:43.426Z] a3cc7d3b244e: Verifying Checksum [2021-02-19T21:45:43.426Z] a3cc7d3b244e: Download complete [2021-02-19T21:45:43.426Z] 0f4f2e6d8100: Verifying Checksum [2021-02-19T21:45:43.426Z] 0f4f2e6d8100: Download complete [2021-02-19T21:45:44.022Z] a93816041522: Verifying Checksum [2021-02-19T21:45:44.022Z] a93816041522: Download complete [2021-02-19T21:45:44.022Z] a3cc7d3b244e: Pull complete [2021-02-19T21:45:44.300Z] bdb6da89ff94: Download complete [2021-02-19T21:45:44.580Z] 02a3295e0d61: Pull complete [2021-02-19T21:45:44.855Z] 2a70c0c122f4: Verifying Checksum [2021-02-19T21:45:44.855Z] 2a70c0c122f4: Download complete [2021-02-19T21:45:45.127Z] 0f4f2e6d8100: Pull complete [2021-02-19T21:45:49.449Z] 330b718f631f: Verifying Checksum [2021-02-19T21:45:49.449Z] 330b718f631f: Download complete [2021-02-19T21:45:49.801Z] Removing intermediate container b3916347d1eb [2021-02-19T21:45:49.801Z] ---> d1ccb393be1b [2021-02-19T21:45:49.801Z] Successfully built d1ccb393be1b [2021-02-19T21:45:49.801Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:45:50.121Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-19T21:45:50.121Z] . [Pipeline] withDockerContainer [2021-02-19T21:45:50.368Z] prd-centos7-docker-4c-2g-26962 does not seem to be running inside a container [2021-02-19T21:45:50.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-19T21:45:51.251Z] $ docker top f10744e411a70f7e95345aec23a3e2ba447a28682c3b7324c9f5119c7a3013f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-19T21:45:51.747Z] + go version [2021-02-19T21:45:51.748Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-19T21:45:51.764Z] $ docker stop --time=1 f10744e411a70f7e95345aec23a3e2ba447a28682c3b7324c9f5119c7a3013f9 [2021-02-19T21:45:52.846Z] 330b718f631f: Pull complete [2021-02-19T21:45:52.846Z] a93816041522: Pull complete [2021-02-19T21:45:53.121Z] bdb6da89ff94: Pull complete [2021-02-19T21:45:53.133Z] $ docker rm -f f10744e411a70f7e95345aec23a3e2ba447a28682c3b7324c9f5119c7a3013f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2021-02-19T21:45:53.405Z] 2a70c0c122f4: Pull complete [2021-02-19T21:45:53.405Z] Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 [2021-02-19T21:45:53.405Z] Status: Downloaded newer image for docker:20.10.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:45:53.940Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-19T21:45:53.941Z] . [Pipeline] withDockerContainer [2021-02-19T21:45:54.032Z] prd-centos7-docker-4c-2g-26962 does not seem to be running inside a container [2021-02-19T21:45:54.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-19T21:45:54.674Z] $ docker top 83e85811ff72326c44bf65131498e12553c87a9619b4bf5b8efc8e47a74dc065 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-19T21:45:55.138Z] + make test [2021-02-19T21:45:55.138Z] make -C ./app-service-template build [2021-02-19T21:45:55.138Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:45:55.138Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-02-19T21:46:00.246Z] ---> c8ebe208fe5d [2021-02-19T21:46:00.246Z] Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-02-19T21:46:00.246Z] ---> Running in 698d1bc35feb [2021-02-19T21:46:00.520Z] Removing intermediate container 698d1bc35feb [2021-02-19T21:46:00.520Z] ---> 608d03f51994 [2021-02-19T21:46:00.520Z] Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash [2021-02-19T21:46:00.796Z] ---> Running in cc6013592e80 [2021-02-19T21:46:02.251Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-19T21:46:03.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-19T21:46:04.260Z] (1/5) Installing libsodium (1.0.18-r0) [2021-02-19T21:46:04.533Z] (2/5) Installing libzmq (4.3.3-r0) [2021-02-19T21:46:04.533Z] (3/5) Installing pkgconf (1.7.2-r0) [2021-02-19T21:46:04.808Z] (4/5) Installing libsodium-dev (1.0.18-r0) [2021-02-19T21:46:04.808Z] (5/5) Installing zeromq-dev (4.3.3-r0) [2021-02-19T21:46:05.083Z] Executing busybox-1.31.1-r19.trigger [2021-02-19T21:46:05.083Z] OK: 144 MiB in 44 packages [2021-02-19T21:46:06.532Z] Removing intermediate container cc6013592e80 [2021-02-19T21:46:06.532Z] ---> 4bc2b22ac5b9 [2021-02-19T21:46:06.532Z] Step 6/8 : WORKDIR /build [2021-02-19T21:46:06.807Z] ---> Running in c71f07c6d609 [2021-02-19T21:46:07.082Z] Removing intermediate container c71f07c6d609 [2021-02-19T21:46:07.082Z] ---> 954609720124 [2021-02-19T21:46:07.082Z] Step 7/8 : COPY go.mod . [2021-02-19T21:46:08.075Z] ---> ff6434923efa [2021-02-19T21:46:08.075Z] Step 8/8 : RUN go mod download [2021-02-19T21:46:08.075Z] ---> Running in 54dc447a1c5a [2021-02-19T21:46:08.090Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:46:08.090Z] make -C ./app-service-template test [2021-02-19T21:46:08.090Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:46:08.090Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-02-19T21:46:14.732Z] ? new-app-service [no test files] [2021-02-19T21:46:14.732Z] ok new-app-service/functions 0.008s coverage: 75.8% of statements [2021-02-19T21:46:14.732Z] CGO_ENABLED=1 go vet ./... [2021-02-19T21:46:17.322Z] gofmt -l . [2021-02-19T21:46:17.322Z] [ "`gofmt -l .`" = "" ] [2021-02-19T21:46:17.585Z] ./bin/test-go-mod-tidy.sh [2021-02-19T21:46:17.854Z] ./bin/test-attribution-txt.sh [2021-02-19T21:46:18.447Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:46:18.447Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-19T21:46:18.722Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-19T21:46:19.715Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.032s coverage: 82.6% of statements [2021-02-19T21:46:21.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.034s coverage: 50.6% of statements [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-19T21:46:21.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.028s coverage: 61.5% of statements [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-19T21:46:21.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.034s coverage: 73.2% of statements [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-19T21:46:21.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.004s coverage: 97.0% of statements [2021-02-19T21:46:21.688Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-19T21:46:21.688Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.029s coverage: 8.8% of statements [2021-02-19T21:46:34.886Z] Removing intermediate container 54dc447a1c5a [2021-02-19T21:46:34.886Z] ---> 24a10c316cec [2021-02-19T21:46:34.886Z] Successfully built 24a10c316cec [2021-02-19T21:46:34.886Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:46:35.241Z] + docker inspect -f . ci-base-image-arm64 [2021-02-19T21:46:35.241Z] . [Pipeline] withDockerContainer [2021-02-19T21:46:35.543Z] prd-ubuntu18.04-docker-arm64-4c-16g-26961 does not seem to be running inside a container [2021-02-19T21:46:35.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-19T21:46:36.681Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.835s coverage: 77.5% of statements [2021-02-19T21:46:36.682Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-19T21:46:36.682Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.035s coverage: 87.9% of statements [2021-02-19T21:46:36.682Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.012s coverage: 80.5% of statements [2021-02-19T21:46:36.682Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.015s coverage: 71.7% of statements [2021-02-19T21:46:37.361Z] $ docker top 90299b29555001f3dcd342219c59a1dd99c74097c2c4982df7c852f4448c1443 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-19T21:46:38.404Z] + go version [2021-02-19T21:46:38.404Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-19T21:46:38.430Z] $ docker stop --time=1 90299b29555001f3dcd342219c59a1dd99c74097c2c4982df7c852f4448c1443 [2021-02-19T21:46:40.533Z] $ docker rm -f 90299b29555001f3dcd342219c59a1dd99c74097c2c4982df7c852f4448c1443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:46:41.621Z] + docker inspect -f . ci-base-image-arm64 [2021-02-19T21:46:41.621Z] . [Pipeline] withDockerContainer [2021-02-19T21:46:41.906Z] prd-ubuntu18.04-docker-arm64-4c-16g-26961 does not seem to be running inside a container [2021-02-19T21:46:42.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/182 -v /w/workspace/app-functions-sdk-go/182:/w/workspace/app-functions-sdk-go/182:rw,z -v /w/workspace/app-functions-sdk-go/182@tmp:/w/workspace/app-functions-sdk-go/182@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 ******** -e ******** ci-base-image-arm64 cat [2021-02-19T21:46:43.626Z] $ docker top 9bcac27e7944cabead394906d394453e6cc2db271f7957861168b857c379b857 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-19T21:46:44.787Z] + make test [2021-02-19T21:46:44.787Z] make -C ./app-service-template build [2021-02-19T21:46:44.787Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:46:44.787Z] CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service [2021-02-19T21:46:48.941Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.030s coverage: 82.9% of statements [2021-02-19T21:46:48.941Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.009s coverage: 94.4% of statements [2021-02-19T21:46:48.941Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-19T21:46:49.906Z] gofmt -l . [2021-02-19T21:46:49.906Z] [ "`gofmt -l .`" = "" ] [2021-02-19T21:46:49.906Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-19T21:46:50.186Z] $ docker stop --time=1 83e85811ff72326c44bf65131498e12553c87a9619b4bf5b8efc8e47a74dc065 [2021-02-19T21:46:51.739Z] $ docker rm -f 83e85811ff72326c44bf65131498e12553c87a9619b4bf5b8efc8e47a74dc065 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-19T21:46:52.312Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-19T21:46:52.663Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-19T21:47:23.865Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:47:23.866Z] make -C ./app-service-template test [2021-02-19T21:47:23.866Z] make[1]: Entering directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:47:23.866Z] CGO_ENABLED=1 go test -coverprofile=coverage.out ./... [2021-02-19T21:47:42.232Z] ? new-app-service [no test files] [2021-02-19T21:47:42.232Z] ok new-app-service/functions 0.024s coverage: 75.8% of statements [2021-02-19T21:47:42.232Z] CGO_ENABLED=1 go vet ./... [2021-02-19T21:47:50.547Z] gofmt -l . [2021-02-19T21:47:50.547Z] [ "`gofmt -l .`" = "" ] [2021-02-19T21:47:50.547Z] ./bin/test-go-mod-tidy.sh [2021-02-19T21:47:50.547Z] ./bin/test-attribution-txt.sh [2021-02-19T21:47:51.528Z] make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/182/app-service-template' [2021-02-19T21:47:51.528Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2021-02-19T21:47:52.979Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] [2021-02-19T21:47:57.625Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.040s coverage: 82.6% of statements [2021-02-19T21:48:03.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.077s coverage: 50.6% of statements [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] [2021-02-19T21:48:03.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.129s coverage: 61.5% of statements [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] [2021-02-19T21:48:03.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.107s coverage: 73.2% of statements [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] [2021-02-19T21:48:03.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.028s coverage: 97.0% of statements [2021-02-19T21:48:03.056Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] [2021-02-19T21:48:03.056Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.053s coverage: 8.8% of statements [2021-02-19T21:48:21.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 13.928s coverage: 77.5% of statements [2021-02-19T21:48:21.383Z] ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] [2021-02-19T21:48:21.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.051s coverage: 87.9% of statements [2021-02-19T21:48:21.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.044s coverage: 80.5% of statements [2021-02-19T21:48:21.383Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.056s coverage: 71.7% of statements [2021-02-19T21:48:36.432Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.078s coverage: 82.9% of statements [2021-02-19T21:48:36.432Z] ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements [2021-02-19T21:48:36.432Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-02-19T21:48:39.826Z] gofmt -l . [2021-02-19T21:48:39.826Z] [ "`gofmt -l .`" = "" ] [2021-02-19T21:48:40.422Z] ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-19T21:48:40.721Z] $ docker stop --time=1 9bcac27e7944cabead394906d394453e6cc2db271f7957861168b857c379b857 [2021-02-19T21:48:42.734Z] $ docker rm -f 9bcac27e7944cabead394906d394453e6cc2db271f7957861168b857c379b857 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-19T21:48:43.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-19T21:48:43.756Z] Warning: overwriting stash ‘coverage-report’ [2021-02-19T21:48:44.600Z] 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] } [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-02-19T21:48:46.342Z] provisioning config files... [2021-02-19T21:48:46.353Z] copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config674484142788842341tmp [Pipeline] { [Pipeline] sh [2021-02-19T21:48:46.765Z] + set +x [2021-02-19T21:48:46.765Z] + curl -s https://codecov.io/bash [2021-02-19T21:48:46.765Z] + bash -s -- [2021-02-19T21:48:47.026Z] [2021-02-19T21:48:47.026Z] _____ _ [2021-02-19T21:48:47.026Z] / ____| | | [2021-02-19T21:48:47.026Z] | | ___ __| | ___ ___ _____ __ [2021-02-19T21:48:47.026Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-19T21:48:47.026Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-19T21:48:47.026Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-19T21:48:47.026Z] Bash-20210129-7c25fce [2021-02-19T21:48:47.026Z] [2021-02-19T21:48:47.026Z] [2021-02-19T21:48:47.026Z] ==> git version 2.24.3 found [2021-02-19T21:48:47.026Z] ==> 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-02-19T21:48:47.026Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-19T21:48:47.026Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-19T21:48:47.026Z] ==> Jenkins CI detected. [2021-02-19T21:48:47.026Z] project root: . [2021-02-19T21:48:47.026Z] --> token set from env [2021-02-19T21:48:47.026Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-19T21:48:47.026Z] ==> Running gcov in . (disable via -X gcov) [2021-02-19T21:48:47.026Z] ==> Python coveragepy not found [2021-02-19T21:48:47.026Z] ==> Searching for coverage reports in: [2021-02-19T21:48:47.026Z] + . [2021-02-19T21:48:47.026Z] -> Found 2 reports [2021-02-19T21:48:47.026Z] ==> Detecting git/mercurial file structure [2021-02-19T21:48:47.026Z] ==> Reading reports [2021-02-19T21:48:47.026Z] + ./app-service-template/coverage.out bytes=1148 [2021-02-19T21:48:47.026Z] + ./coverage.out bytes=81242 [2021-02-19T21:48:47.026Z] ==> Appending adjustments [2021-02-19T21:48:47.026Z] https://docs.codecov.io/docs/fixing-reports [2021-02-19T21:48:47.598Z] + Found adjustments [2021-02-19T21:48:47.598Z] ==> Gzipping contents [2021-02-19T21:48:47.598Z] 16K /tmp/codecov.oPLR3G.gz [2021-02-19T21:48:47.598Z] ==> Uploading reports [2021-02-19T21:48:47.598Z] url: https://codecov.io [2021-02-19T21:48:47.598Z] query: branch=master&commit=ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F182%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-19T21:48:47.598Z] -> Pinging Codecov [2021-02-19T21:48:47.598Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F182%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-19T21:48:47.859Z] -> Uploading to [2021-02-19T21:48:47.859Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-19/3D8B5DFFC46A037C893635FACE044666/ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb/64c578a9-cb2f-43bd-98a5-24673f3bddd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210219T214847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d8e697f4949ff6077250c556c81d094955d53449f58981d4738c123beedaeef [2021-02-19T21:48:47.859Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-19T21:48:47.859Z] Dload Upload Total Spent Left Speed [2021-02-19T21:48:48.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14188 0 0 100 14188 0 30437 --:--:-- --:--:-- --:--:-- 30511 [2021-02-19T21:48:48.432Z] -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] } [2021-02-19T21:48:48.442Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-19T21:48:49.268Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-19T21:48:49.324Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:48:49.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-19T21:48:49.656Z] [2021-02-19T21:48:49.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:48:49.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-19T21:48:49.997Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-19T21:48:49.998Z] 188c0c94c7c5: Pulling fs layer [2021-02-19T21:48:49.998Z] 0ef7d3d256c8: Pulling fs layer [2021-02-19T21:48:49.998Z] de9db76c5a1d: Pulling fs layer [2021-02-19T21:48:49.998Z] 0eba1c9be4d2: Pulling fs layer [2021-02-19T21:48:49.998Z] 0d57e429df01: Pulling fs layer [2021-02-19T21:48:49.998Z] 4e4be7b47b0d: Pulling fs layer [2021-02-19T21:48:49.998Z] e1f770b5df2f: Pulling fs layer [2021-02-19T21:48:49.998Z] 85a0685a4137: Pulling fs layer [2021-02-19T21:48:49.998Z] 0d57e429df01: Waiting [2021-02-19T21:48:49.998Z] 4e4be7b47b0d: Waiting [2021-02-19T21:48:49.998Z] e1f770b5df2f: Waiting [2021-02-19T21:48:49.998Z] 85a0685a4137: Waiting [2021-02-19T21:48:49.998Z] 0eba1c9be4d2: Waiting [2021-02-19T21:48:49.998Z] de9db76c5a1d: Verifying Checksum [2021-02-19T21:48:49.998Z] de9db76c5a1d: Download complete [2021-02-19T21:48:49.998Z] 0ef7d3d256c8: Verifying Checksum [2021-02-19T21:48:49.998Z] 0ef7d3d256c8: Download complete [2021-02-19T21:48:49.998Z] 0d57e429df01: Verifying Checksum [2021-02-19T21:48:49.998Z] 0d57e429df01: Download complete [2021-02-19T21:48:49.998Z] 4e4be7b47b0d: Verifying Checksum [2021-02-19T21:48:49.998Z] 4e4be7b47b0d: Download complete [2021-02-19T21:48:49.998Z] 188c0c94c7c5: Verifying Checksum [2021-02-19T21:48:49.998Z] 188c0c94c7c5: Download complete [2021-02-19T21:48:50.260Z] 188c0c94c7c5: Pull complete [2021-02-19T21:48:50.522Z] 0ef7d3d256c8: Pull complete [2021-02-19T21:48:50.785Z] de9db76c5a1d: Pull complete [2021-02-19T21:48:51.356Z] e1f770b5df2f: Verifying Checksum [2021-02-19T21:48:51.357Z] e1f770b5df2f: Download complete [2021-02-19T21:48:55.584Z] 0eba1c9be4d2: Verifying Checksum [2021-02-19T21:48:55.584Z] 0eba1c9be4d2: Download complete [2021-02-19T21:48:55.846Z] 85a0685a4137: Verifying Checksum [2021-02-19T21:48:55.846Z] 85a0685a4137: Download complete [2021-02-19T21:49:01.161Z] 0eba1c9be4d2: Pull complete [2021-02-19T21:49:01.161Z] 0d57e429df01: Pull complete [2021-02-19T21:49:01.161Z] 4e4be7b47b0d: Pull complete [2021-02-19T21:49:03.147Z] e1f770b5df2f: Pull complete [2021-02-19T21:49:11.362Z] 85a0685a4137: Pull complete [2021-02-19T21:49:11.362Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-19T21:49:11.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-19T21:49:11.362Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-19T21:49:11.545Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:49:11.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-19T21:49:12.606Z] $ docker top 523a129cd445b1c7eb6c5efd3ad413754132b2ebacdee262e38ffd162a68f454 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-19T21:49:12.821Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-19T21:49:13.116Z] + set -o pipefail [2021-02-19T21:49:13.117Z] + snyk monitor '--org=edgex-jenkins' [2021-02-19T21:49:31.265Z] [2021-02-19T21:49:31.265Z] Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... [2021-02-19T21:49:31.265Z] [2021-02-19T21:49:31.265Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/38a955f5-a681-4dc2-b782-a4eeb9a3db6d [2021-02-19T21:49:31.265Z] [2021-02-19T21:49:31.265Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-02-19T21:49:31.265Z] [2021-02-19T21:49:31.265Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-19T21:49:31.265Z] [2021-02-19T21:49:31.265Z] [2021-02-19T21:49:31.265Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-19T21:49:31.265Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-19T21:49:31.278Z] $ docker stop --time=1 523a129cd445b1c7eb6c5efd3ad413754132b2ebacdee262e38ffd162a68f454 [2021-02-19T21:49:34.189Z] $ docker rm -f 523a129cd445b1c7eb6c5efd3ad413754132b2ebacdee262e38ffd162a68f454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [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-02-19T21:49:35.579Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-19T21:49:35.669Z] provisioning config files... [2021-02-19T21:49:35.683Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7061047274834993933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:49:36.054Z] --> edgex-publish-swagger.sh [2021-02-19T21:49:36.054Z] === Publish openapi/v2 API === [2021-02-19T21:49:36.054Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-19T21:49:36.054Z] [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] [2021-02-19T21:49:36.054Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-19T21:49:36.054Z] Dload Upload Total Spent Left Speed [2021-02-19T21:49:37.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10489 0:00:01 0:00:01 --:--:-- 10491 100 13052 0 0 100 13052 0 9343 0:00:01 0:00:01 --:--:-- 9349 [2021-02-19T21:49:37.441Z] [2021-02-19T21:49:37.441Z] [Pipeline] } [2021-02-19T21:49:37.450Z] 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-02-19T21:49:38.549Z] + git log --format=format:%s -1 ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:49:38.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-19T21:49:38.855Z] . [Pipeline] withDockerContainer [2021-02-19T21:49:38.972Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:49:39.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-19T21:49:39.744Z] $ docker top f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-19T21:49:40.044Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-19T21:49:40.045Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-19T21:49:40.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-19T21:49:40.252Z] $ docker exec f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 ssh-agent [2021-02-19T21:49:40.432Z] SSH_AUTH_SOCK=/tmp/ssh-ubNIsNesEWXT/agent.12 [2021-02-19T21:49:40.432Z] SSH_AGENT_PID=17 [2021-02-19T21:49:40.438Z] Running ssh-add (command line suppressed) [2021-02-19T21:49:40.567Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2222075527973272155.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2222075527973272155.key) [2021-02-19T21:49:40.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-19T21:49:40.986Z] + git semver tag [2021-02-19T21:49:40.987Z] # -> Open(): unable to determine branch for HEAD [2021-02-19T21:49:40.987Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-19T21:49:40.987Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-19T21:49:40.987Z] # $SEMVER_REMOTE_NAME = origin [2021-02-19T21:49:40.987Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-19T21:49:40.987Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-19T21:49:40.987Z] # $SEMVER_BRANCH = master [2021-02-19T21:49:40.987Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-02-19T21:49:40.987Z] # ec0576ea59df62470e6cbd1e6b2c2d28ff29b4fb HEAD [2021-02-19T21:49:40.987Z] # -> Force: false [2021-02-19T21:49:40.995Z] # 4518d95194c3a19e452718d23d8dbe20e360f658 refs/tags/v2.0.0-dev.15 [Pipeline] } [2021-02-19T21:49:40.998Z] $ docker exec --env ******** --env ******** f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 ssh-agent -k [2021-02-19T21:49:41.118Z] unset SSH_AUTH_SOCK; [2021-02-19T21:49:41.118Z] unset SSH_AGENT_PID; [2021-02-19T21:49:41.118Z] echo Agent pid 17 killed; [2021-02-19T21:49:41.167Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-19T21:49:41.725Z] + git semver [Pipeline] } [2021-02-19T21:49:41.742Z] $ docker stop --time=1 f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 [2021-02-19T21:49:43.088Z] $ docker rm -f f61af241be2921d2b183fa3a46a9e82202501d5e68b57203e5740cc381dd4f94 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:49:43.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-19T21:49:43.740Z] [2021-02-19T21:49:43.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:49:44.148Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-19T21:49:44.148Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-19T21:49:44.148Z] ab5ef0e58194: Pulling fs layer [2021-02-19T21:49:44.148Z] 9712f1f96733: Pulling fs layer [2021-02-19T21:49:44.148Z] 63f879dbbcfc: Pulling fs layer [2021-02-19T21:49:44.148Z] 0d9ebad4ef96: Pulling fs layer [2021-02-19T21:49:44.148Z] e9a5061849ea: Pulling fs layer [2021-02-19T21:49:44.148Z] d747dcd14b5f: Pulling fs layer [2021-02-19T21:49:44.148Z] 2de7ff778b66: Pulling fs layer [2021-02-19T21:49:44.148Z] e9a5061849ea: Waiting [2021-02-19T21:49:44.148Z] d747dcd14b5f: Waiting [2021-02-19T21:49:44.148Z] 2de7ff778b66: Waiting [2021-02-19T21:49:44.148Z] 0d9ebad4ef96: Waiting [2021-02-19T21:49:44.148Z] 9712f1f96733: Verifying Checksum [2021-02-19T21:49:44.148Z] 9712f1f96733: Download complete [2021-02-19T21:49:45.703Z] 63f879dbbcfc: Verifying Checksum [2021-02-19T21:49:45.703Z] 63f879dbbcfc: Download complete [2021-02-19T21:49:45.703Z] e9a5061849ea: Verifying Checksum [2021-02-19T21:49:45.703Z] e9a5061849ea: Download complete [2021-02-19T21:49:45.703Z] d747dcd14b5f: Verifying Checksum [2021-02-19T21:49:45.703Z] d747dcd14b5f: Download complete [2021-02-19T21:49:46.313Z] 2de7ff778b66: Verifying Checksum [2021-02-19T21:49:46.313Z] 2de7ff778b66: Download complete [2021-02-19T21:49:46.582Z] ab5ef0e58194: Verifying Checksum [2021-02-19T21:49:46.582Z] ab5ef0e58194: Download complete [2021-02-19T21:49:46.582Z] 0d9ebad4ef96: Verifying Checksum [2021-02-19T21:49:46.582Z] 0d9ebad4ef96: Download complete [2021-02-19T21:49:51.908Z] ab5ef0e58194: Pull complete [2021-02-19T21:49:51.908Z] 9712f1f96733: Pull complete [2021-02-19T21:49:53.840Z] 63f879dbbcfc: Pull complete [2021-02-19T21:50:00.480Z] 0d9ebad4ef96: Pull complete [2021-02-19T21:50:01.427Z] e9a5061849ea: Pull complete [2021-02-19T21:50:01.428Z] d747dcd14b5f: Pull complete [2021-02-19T21:50:04.023Z] 2de7ff778b66: Pull complete [2021-02-19T21:50:04.023Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-19T21:50:04.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-19T21:50:04.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-19T21:50:04.175Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:50:04.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-19T21:50:08.013Z] $ docker top 87c3fe1a34bb2542216b0ceb9b2afc4157c9c606b90436d3d574291c870c43a3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-19T21:50:08.243Z] provisioning config files... [2021-02-19T21:50:08.252Z] copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config414758912335467679tmp [2021-02-19T21:50:08.269Z] copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config792585724199110130tmp [2021-02-19T21:50:08.286Z] copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3021457655628148520tmp [Pipeline] { [Pipeline] echo [2021-02-19T21:50:08.344Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:50:08.641Z] ---> sigul-configuration.sh [2021-02-19T21:50:08.641Z] gpg: directory `/root/.gnupg' created [2021-02-19T21:50:08.641Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-19T21:50:08.641Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-19T21:50:08.641Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-19T21:50:08.641Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-19T21:50:08.641Z] gpg: CAST5 encrypted data [2021-02-19T21:50:08.903Z] gpg: encrypted with 1 passphrase [2021-02-19T21:50:08.903Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-19T21:50:09.198Z] + mkdir /home/jenkins [2021-02-19T21:50:09.198Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-19T21:50:09.492Z] + 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-02-19T21:50:09.503Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:50:09.798Z] ---> sigul-install.sh [2021-02-19T21:50:16.397Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-19T21:50:16.696Z] + git tag --list [2021-02-19T21:50:16.696Z] v0.1.0 [2021-02-19T21:50:16.696Z] v0.1.1 [2021-02-19T21:50:16.696Z] v1.0.0 [2021-02-19T21:50:16.696Z] v1.1.0 [2021-02-19T21:50:16.696Z] v1.2.0 [2021-02-19T21:50:16.696Z] v1.3.0 [2021-02-19T21:50:16.696Z] v1.3.1 [2021-02-19T21:50:16.696Z] v1.3.1-dev.1 [2021-02-19T21:50:16.696Z] v1.3.2-dev.1 [2021-02-19T21:50:16.696Z] v2.0.0-dev.1 [2021-02-19T21:50:16.696Z] v2.0.0-dev.10 [2021-02-19T21:50:16.696Z] v2.0.0-dev.11 [2021-02-19T21:50:16.696Z] v2.0.0-dev.12 [2021-02-19T21:50:16.696Z] v2.0.0-dev.13 [2021-02-19T21:50:16.696Z] v2.0.0-dev.14 [2021-02-19T21:50:16.696Z] v2.0.0-dev.15 [2021-02-19T21:50:16.696Z] v2.0.0-dev.2 [2021-02-19T21:50:16.696Z] v2.0.0-dev.3 [2021-02-19T21:50:16.696Z] v2.0.0-dev.4 [2021-02-19T21:50:16.696Z] v2.0.0-dev.5 [2021-02-19T21:50:16.696Z] v2.0.0-dev.6 [2021-02-19T21:50:16.696Z] v2.0.0-dev.7 [2021-02-19T21:50:16.696Z] v2.0.0-dev.8 [2021-02-19T21:50:16.696Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-19T21:50:16.992Z] + lftools sign git-tag v2.0.0-dev.15 [2021-02-19T21:50:18.379Z] Signing Git tag with Sigul... [2021-02-19T21:50:18.379Z] Signing v2.0.0-dev.15 [Pipeline] echo [2021-02-19T21:50:19.336Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:50:19.633Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-19T21:50:19.643Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-19T21:50:19.751Z] $ docker stop --time=1 87c3fe1a34bb2542216b0ceb9b2afc4157c9c606b90436d3d574291c870c43a3 [2021-02-19T21:50:21.880Z] $ docker rm -f 87c3fe1a34bb2542216b0ceb9b2afc4157c9c606b90436d3d574291c870c43a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:50:23.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-19T21:50:23.092Z] . [Pipeline] withDockerContainer [2021-02-19T21:50:23.195Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:50:23.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-19T21:50:23.965Z] $ docker top 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-19T21:50:24.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-19T21:50:24.273Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-19T21:50:24.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-19T21:50:24.473Z] $ docker exec 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 ssh-agent [2021-02-19T21:50:24.654Z] SSH_AUTH_SOCK=/tmp/ssh-Adh5QAJ2AtAf/agent.11 [2021-02-19T21:50:24.654Z] SSH_AGENT_PID=16 [2021-02-19T21:50:24.661Z] Running ssh-add (command line suppressed) [2021-02-19T21:50:24.788Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4125711358099614462.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4125711358099614462.key) [2021-02-19T21:50:24.848Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-19T21:50:25.186Z] + git semver bump pre [2021-02-19T21:50:25.186Z] # -> Open(): unable to determine branch for HEAD [2021-02-19T21:50:25.186Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-19T21:50:25.186Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-19T21:50:25.186Z] # $SEMVER_REMOTE_NAME = origin [2021-02-19T21:50:25.186Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-19T21:50:25.186Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-19T21:50:25.186Z] # $SEMVER_BRANCH = master [2021-02-19T21:50:25.186Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [2021-02-19T21:50:25.186Z] 2.0.0-dev.16 [Pipeline] } [2021-02-19T21:50:25.195Z] $ docker exec --env ******** --env ******** 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 ssh-agent -k [2021-02-19T21:50:25.321Z] unset SSH_AUTH_SOCK; [2021-02-19T21:50:25.321Z] unset SSH_AGENT_PID; [2021-02-19T21:50:25.321Z] echo Agent pid 16 killed; [2021-02-19T21:50:25.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-19T21:50:26.026Z] + git semver [Pipeline] } [2021-02-19T21:50:26.040Z] $ docker stop --time=1 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 [2021-02-19T21:50:27.416Z] $ docker rm -f 880ae3d3142f3e93b652660651f6fbf149f57042cc36a7153bd0af38de60d251 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:50:28.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-19T21:50:28.232Z] . [Pipeline] withDockerContainer [2021-02-19T21:50:28.346Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:50:28.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-19T21:50:29.103Z] $ docker top 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-19T21:50:29.425Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-19T21:50:29.425Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-19T21:50:29.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-19T21:50:29.636Z] $ docker exec 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 ssh-agent [2021-02-19T21:50:29.820Z] SSH_AUTH_SOCK=/tmp/ssh-Qi7PGF3Tiw2a/agent.12 [2021-02-19T21:50:29.820Z] SSH_AGENT_PID=17 [2021-02-19T21:50:29.827Z] Running ssh-add (command line suppressed) [2021-02-19T21:50:29.953Z] Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8989547659565526684.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8989547659565526684.key) [2021-02-19T21:50:30.012Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-19T21:50:30.378Z] + git semver push [2021-02-19T21:50:30.378Z] # -> Open(): unable to determine branch for HEAD [2021-02-19T21:50:30.378Z] # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git [2021-02-19T21:50:30.378Z] # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master [2021-02-19T21:50:30.378Z] # $SEMVER_REMOTE_NAME = origin [2021-02-19T21:50:30.378Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-19T21:50:30.378Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-19T21:50:30.378Z] # $SEMVER_BRANCH = master [2021-02-19T21:50:30.378Z] # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } [2021-02-19T21:50:35.680Z] $ docker exec --env ******** --env ******** 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 ssh-agent -k [2021-02-19T21:50:35.805Z] unset SSH_AUTH_SOCK; [2021-02-19T21:50:35.805Z] unset SSH_AGENT_PID; [2021-02-19T21:50:35.806Z] echo Agent pid 17 killed; [2021-02-19T21:50:35.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-19T21:50:36.393Z] + git semver [Pipeline] } [2021-02-19T21:50:36.409Z] $ docker stop --time=1 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 [2021-02-19T21:50:37.775Z] $ docker rm -f 31a51ab71d19242d967781c1c4c2060bf63ed90686de39e531371b32c4df96f7 [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-02-19T21:50:39.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:50:39.886Z] ---> package-listing.sh [2021-02-19T21:50:39.886Z] ++ facter osfamily [2021-02-19T21:50:39.886Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-19T21:50:39.886Z] + OS_FAMILY=redhat [2021-02-19T21:50:39.886Z] + workspace=/w/workspace/ndry_app-functions-sdk-go_master [2021-02-19T21:50:39.886Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-19T21:50:39.886Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-19T21:50:39.886Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-19T21:50:39.886Z] + PACKAGES=/tmp/packages_start.txt [2021-02-19T21:50:39.886Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-02-19T21:50:39.886Z] + PACKAGES=/tmp/packages_end.txt [2021-02-19T21:50:39.886Z] + case "${OS_FAMILY}" in [2021-02-19T21:50:39.886Z] + rpm -qa [2021-02-19T21:50:39.886Z] + sort [2021-02-19T21:50:45.192Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-19T21:50:45.192Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-19T21:50:45.192Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-19T21:50:45.192Z] + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' [2021-02-19T21:50:45.192Z] + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ [2021-02-19T21:50:45.192Z] + 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-02-19T21:50:45.206Z] 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-02-19T21:50:45.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:50:45.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-19T21:50:45.805Z] [2021-02-19T21:50:45.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-19T21:50:46.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-19T21:50:46.176Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-19T21:50:46.176Z] df20fa9351a1: Pulling fs layer [2021-02-19T21:50:46.176Z] 36b3adc4ff6f: Pulling fs layer [2021-02-19T21:50:46.176Z] 8ad3a11d3b57: Pulling fs layer [2021-02-19T21:50:46.176Z] 46f8f816bc3b: Pulling fs layer [2021-02-19T21:50:46.176Z] 93b61091891f: Pulling fs layer [2021-02-19T21:50:46.176Z] 93b9cdb0e59b: Pulling fs layer [2021-02-19T21:50:46.176Z] 5e14af77c1be: Pulling fs layer [2021-02-19T21:50:46.176Z] 01666e4c0597: Pulling fs layer [2021-02-19T21:50:46.176Z] aa168da1d23b: Pulling fs layer [2021-02-19T21:50:46.176Z] 93b61091891f: Waiting [2021-02-19T21:50:46.176Z] 01666e4c0597: Waiting [2021-02-19T21:50:46.176Z] aa168da1d23b: Waiting [2021-02-19T21:50:46.176Z] 93b9cdb0e59b: Waiting [2021-02-19T21:50:46.176Z] 5e14af77c1be: Waiting [2021-02-19T21:50:46.176Z] 46f8f816bc3b: Waiting [2021-02-19T21:50:46.176Z] 36b3adc4ff6f: Download complete [2021-02-19T21:50:46.176Z] 46f8f816bc3b: Verifying Checksum [2021-02-19T21:50:46.176Z] 46f8f816bc3b: Download complete [2021-02-19T21:50:46.176Z] df20fa9351a1: Verifying Checksum [2021-02-19T21:50:46.176Z] df20fa9351a1: Download complete [2021-02-19T21:50:46.176Z] 93b9cdb0e59b: Verifying Checksum [2021-02-19T21:50:46.176Z] 93b9cdb0e59b: Download complete [2021-02-19T21:50:46.438Z] 5e14af77c1be: Verifying Checksum [2021-02-19T21:50:46.438Z] 5e14af77c1be: Download complete [2021-02-19T21:50:46.438Z] 93b61091891f: Verifying Checksum [2021-02-19T21:50:46.438Z] 93b61091891f: Download complete [2021-02-19T21:50:46.438Z] 01666e4c0597: Download complete [2021-02-19T21:50:46.700Z] df20fa9351a1: Pull complete [2021-02-19T21:50:46.964Z] 36b3adc4ff6f: Pull complete [2021-02-19T21:50:46.964Z] 8ad3a11d3b57: Download complete [2021-02-19T21:50:48.895Z] 8ad3a11d3b57: Pull complete [2021-02-19T21:50:48.895Z] aa168da1d23b: Verifying Checksum [2021-02-19T21:50:48.895Z] aa168da1d23b: Download complete [2021-02-19T21:50:49.158Z] 46f8f816bc3b: Pull complete [2021-02-19T21:50:49.423Z] 93b61091891f: Pull complete [2021-02-19T21:50:49.685Z] 93b9cdb0e59b: Pull complete [2021-02-19T21:50:49.685Z] 5e14af77c1be: Pull complete [2021-02-19T21:50:49.952Z] 01666e4c0597: Pull complete [2021-02-19T21:50:59.099Z] aa168da1d23b: Pull complete [2021-02-19T21:50:59.099Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-19T21:50:59.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-19T21:50:59.099Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-19T21:50:59.246Z] prd-centos7-docker-4c-2g-26950 does not seem to be running inside a container [2021-02-19T21:50:59.301Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-19T21:51:01.878Z] $ docker top 23c67e1bea1ab2cdf75a5511a5fd5f34f1fb254de3dfd72ff9d151e9af1a155d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-19T21:51:02.370Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-19T21:51:02.668Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-19T21:51:02.960Z] + ls /var/log/sa-host [2021-02-19T21:51:02.960Z] + sadf -c /var/log/sa-host/sa19 [2021-02-19T21:51:02.960Z] file_magic: OK [2021-02-19T21:51:02.960Z] HZ: Using current value: 100 [2021-02-19T21:51:02.960Z] file_header: OK [2021-02-19T21:51:02.960Z] 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-02-19T21:51:02.960Z] Statistics: [2021-02-19T21:51:02.960Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-19T21:51:02.960Z] File successfully converted to sysstat format version 12.2.1 [2021-02-19T21:51:02.960Z] + sadf -c /var/log/sa-host/sa23 [2021-02-19T21:51:02.960Z] file_magic: OK [2021-02-19T21:51:02.960Z] HZ: Using current value: 100 [2021-02-19T21:51:02.960Z] file_header: OK [2021-02-19T21:51:02.960Z] 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-02-19T21:51:02.960Z] Statistics: [2021-02-19T21:51:02.960Z] Hnuu...uuuununununu... [2021-02-19T21:51:02.960Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-19T21:51:03.174Z] provisioning config files... [2021-02-19T21:51:03.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7106046912714587282tmp [Pipeline] { [Pipeline] echo [2021-02-19T21:51:03.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:51:03.595Z] ---> create-netrc.sh [Pipeline] } [2021-02-19T21:51:03.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-19T21:51:03.705Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:51:03.996Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-19T21:51:04.006Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:51:04.295Z] ---> sudo-logs.sh [2021-02-19T21:51:04.296Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-19T21:51:04.351Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:51:04.643Z] ---> job-cost.sh [2021-02-19T21:51:04.643Z] lf-activate-venv: SKIPPING [2021-02-19T21:51:04.643Z] INFO: No Stack... [2021-02-19T21:51:06.029Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-19T21:51:06.290Z] INFO: Archiving Costs [Pipeline] echo [2021-02-19T21:51:06.303Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-19T21:51:06.601Z] ---> logs-deploy.sh [2021-02-19T21:51:06.601Z] lf-activate-venv: SKIPPING [2021-02-19T21:51:06.601Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/182 [2021-02-19T21:51:06.601Z] INFO: archiving workspace using pattern(s): [2021-02-19T21:51:08.516Z] Archives upload complete. [2021-02-19T21:51:08.516Z] INFO: archiving logs to Nexus