Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 774021d1bf4af04b538998a8bc79f47691cc950e Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32037 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 774021d1bf4af04b538998a8bc79f47691cc950e (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 774021d1bf4af04b538998a8bc79f47691cc950e # timeout=10 Commit message: "feat: Enable Registry and Config access token (#772)" > git rev-list --no-walk d68305261b009470d1fda9feae14a96618a86fbb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:33:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:33:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:33:25 ========================================================= 15:33:25 EdgeX Global Pipelines Version Info 15:33:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:33:26 ------------------- 15:33:26 stable info: 15:33:26 ------------------- 15:33:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:33:26 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 15:33:26 Message: update stable to v1.0.186 15:33:27 ------------------- 15:33:27 experimental info: 15:33:27 ------------------- 15:33:27 Commited By: **** collab-it+edgex@linuxfoundation.org 15:33:27 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 15:33:27 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:33:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:33:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 15:33:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] echo 15:33:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 774021d [Pipeline] echo 15:33:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:33:31 + git log --format=format:%s -1 774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] echo 15:33:32 GIT_COMMIT: 774021d1bf4af04b538998a8bc79f47691cc950e, Commit Message: feat: Enable Registry and Config access token (#772) [Pipeline] echo 15:33:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:33:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:33:33 15:33:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:33:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:33:33 latest: Pulling from edgex-devops/git-semver 15:33:33 31603596830f: Pulling fs layer 15:33:33 2a8b12db71e7: Pulling fs layer 15:33:33 6ca5941a6612: Pulling fs layer 15:33:33 ecc8261a40a4: Pulling fs layer 15:33:33 ecc8261a40a4: Waiting 15:33:33 2a8b12db71e7: Verifying Checksum 15:33:33 2a8b12db71e7: Download complete 15:33:33 31603596830f: Verifying Checksum 15:33:33 31603596830f: Download complete 15:33:33 ecc8261a40a4: Verifying Checksum 15:33:33 ecc8261a40a4: Download complete 15:33:34 6ca5941a6612: Verifying Checksum 15:33:34 6ca5941a6612: Download complete 15:33:34 31603596830f: Pull complete 15:33:34 2a8b12db71e7: Pull complete 15:33:35 6ca5941a6612: Pull complete 15:33:35 ecc8261a40a4: Pull complete 15:33:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:33:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:33:35 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:33:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:33:38 $ docker top 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:33:38 [ssh-agent] Looking for ssh-agent implementation... 15:33:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:33:39 $ docker exec 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent 15:33:39 SSH_AUTH_SOCK=/tmp/ssh-a2hhSqZuIikk/agent.11 15:33:39 SSH_AGENT_PID=16 15:33:39 Running ssh-add (command line suppressed) 15:33:39 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1141183668851886709.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_1141183668851886709.key) 15:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:33:39 + git tag --points-at HEAD [Pipeline] } 15:33:39 $ docker exec --env ******** --env ******** 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent -k 15:33:40 unset SSH_AUTH_SOCK; 15:33:40 unset SSH_AGENT_PID; 15:33:40 echo Agent pid 16 killed; 15:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:33:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:33:40 [ssh-agent] Looking for ssh-agent implementation... 15:33:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:33:40 $ docker exec 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent 15:33:40 SSH_AUTH_SOCK=/tmp/ssh-dHqlabU3Vb1s/agent.48 15:33:40 SSH_AGENT_PID=53 15:33:40 Running ssh-add (command line suppressed) 15:33:40 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7928547725653237841.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_7928547725653237841.key) 15:33:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:33:41 + git semver init 15:33:41 # -> Open(): unable to determine branch for HEAD 15:33:41 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 15:33:41 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 15:33:41 # $SEMVER_REMOTE_NAME = origin 15:33:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:33:41 # $SEMVER_USER_NAME = edgex-jenkins 15:33:41 # $SEMVER_BRANCH = master 15:33:41 # $SEMVER_TEMP = /tmp/semver-996073564 15:33:41 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 15:33:43 # '/tmp/semver-996073564' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 15:33:44 # -> Force: false 15:33:44 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 15:33:44 $ docker exec --env ******** --env ******** 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 ssh-agent -k 15:33:44 unset SSH_AUTH_SOCK; 15:33:44 unset SSH_AGENT_PID; 15:33:44 echo Agent pid 53 killed; 15:33:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:33:44 + git semver [Pipeline] } 15:33:44 $ docker stop --time=1 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 15:33:46 $ docker rm -f 8ee265ce0e602f4381ff0a0f0e4364988f51d035767445d4e1a2b08a9fdf68a2 [Pipeline] // withDockerContainer [Pipeline] sh 15:33:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:33:47 Stashed 1 file(s) [Pipeline] echo 15:33:47 [edgeXSemver]: initialized semver on version 2.0.0-dev.37 [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 15:34:02 Still waiting to schedule task 15:34:02 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32037’ 15:34:02 Still waiting to schedule task 15:34:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:35:35 Running on prd-centos7-docker-4c-2g-32041 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 15:35:35 Running in /w/workspace/app-functions-sdk-go/206 [Pipeline] { [Pipeline] checkout 15:35:38 using credential edgex-jenkins-ssh 15:35:38 Cloning the remote Git repository 15:35:38 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:35:38 > git init /w/workspace/app-functions-sdk-go/206 # timeout=10 15:35:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:35:38 > git --version # timeout=10 15:35:38 > git --version # 'git version 2.24.3' 15:35:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:35:40 Checking out Revision 774021d1bf4af04b538998a8bc79f47691cc950e (master) 15:35:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32039 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 15:35:41 Running in /w/workspace/app-functions-sdk-go/206 [Pipeline] { [Pipeline] checkout 15:35:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:35:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:35:40 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:35:40 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:35:40 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:35:40 > git config core.sparsecheckout # timeout=10 15:35:40 > git checkout -f 774021d1bf4af04b538998a8bc79f47691cc950e # timeout=10 15:35:44 Commit message: "feat: Enable Registry and Config access token (#772)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:35:45 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:35:46 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:35:46 using credential edgex-jenkins-ssh 15:35:46 + sudo service docker restart 15:35:46 + true 15:35:46 Redirecting to /bin/systemctl restart docker.service 15:35:46 Cloning the remote Git repository 15:35:46 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 15:35:46 > git init /w/workspace/app-functions-sdk-go/206 # timeout=10 15:35:46 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:35:46 > git --version # timeout=10 15:35:46 > git --version # 'git version 2.17.1' 15:35:46 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] unstash [Pipeline] echo 15:35:48 ========================================================= 15:35:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:35:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:35:48 + 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 . 15:35:49 Sending build context to Docker daemon 19.42MB 15:35:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:35:49 Step 2/8 : FROM ${BASE} 15:35:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:35:49 188c0c94c7c5: Pulling fs layer 15:35:49 0ef7d3d256c8: Pulling fs layer 15:35:49 de9db76c5a1d: Pulling fs layer 15:35:49 bca2f99d35d6: Pulling fs layer 15:35:49 93359f2a8cfa: Pulling fs layer 15:35:49 7c6f9722023f: Pulling fs layer 15:35:49 a35cf1a2eb13: Pulling fs layer 15:35:49 bca2f99d35d6: Waiting 15:35:49 93359f2a8cfa: Waiting 15:35:49 7c6f9722023f: Waiting 15:35:49 a35cf1a2eb13: Waiting 15:35:49 de9db76c5a1d: Verifying Checksum 15:35:49 de9db76c5a1d: Download complete 15:35:49 0ef7d3d256c8: Download complete 15:35:49 93359f2a8cfa: Verifying Checksum 15:35:49 93359f2a8cfa: Download complete 15:35:49 7c6f9722023f: Verifying Checksum 15:35:49 7c6f9722023f: Download complete 15:35:49 188c0c94c7c5: Verifying Checksum 15:35:49 188c0c94c7c5: Download complete 15:35:49 188c0c94c7c5: Pull complete 15:35:49 0ef7d3d256c8: Pull complete 15:35:50 de9db76c5a1d: Pull complete 15:35:51 a35cf1a2eb13: Verifying Checksum 15:35:51 a35cf1a2eb13: Download complete 15:35:51 bca2f99d35d6: Verifying Checksum 15:35:51 bca2f99d35d6: Download complete 15:35:53 Checking out Revision 774021d1bf4af04b538998a8bc79f47691cc950e (master) 15:35:53 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:35:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:35:53 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 15:35:53 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 15:35:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 15:35:53 > git config core.sparsecheckout # timeout=10 15:35:54 > git checkout -f 774021d1bf4af04b538998a8bc79f47691cc950e # timeout=10 15:35:57 bca2f99d35d6: Pull complete 15:35:57 93359f2a8cfa: Pull complete 15:35:57 7c6f9722023f: Pull complete 15:35:58 Commit message: "feat: Enable Registry and Config access token (#772)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:00 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:36:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:36:00 + + sudo service docker restart 15:36:00 true [Pipeline] unstash [Pipeline] echo 15:36:03 ========================================================= 15:36:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:36:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:36:04 + 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 . 15:36:05 Sending build context to Docker daemon 19.42MB 15:36:05 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 15:36:05 Step 2/8 : FROM ${BASE} 15:36:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:36:05 5f621e34cdf4: Pulling fs layer 15:36:05 a4357932f1b6: Pulling fs layer 15:36:05 18c013af1878: Pulling fs layer 15:36:05 00ac8860ef70: Pulling fs layer 15:36:05 63d7cb157983: Pulling fs layer 15:36:05 b116817d02f9: Pulling fs layer 15:36:05 745a02a5169b: Pulling fs layer 15:36:05 00ac8860ef70: Waiting 15:36:05 63d7cb157983: Waiting 15:36:05 b116817d02f9: Waiting 15:36:05 745a02a5169b: Waiting 15:36:05 18c013af1878: Verifying Checksum 15:36:05 18c013af1878: Download complete 15:36:05 a4357932f1b6: Verifying Checksum 15:36:05 a4357932f1b6: Download complete 15:36:05 63d7cb157983: Verifying Checksum 15:36:05 63d7cb157983: Download complete 15:36:05 b116817d02f9: Verifying Checksum 15:36:05 b116817d02f9: Download complete 15:36:05 5f621e34cdf4: Download complete 15:36:06 5f621e34cdf4: Pull complete 15:36:06 a4357932f1b6: Pull complete 15:36:07 18c013af1878: Pull complete 15:36:07 a35cf1a2eb13: Pull complete 15:36:07 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 15:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:36:07 ---> a62c8e92a672 15:36:07 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:36:07 20.10.0: Pulling from library/docker 15:36:07 05e7bc50f07f: Pulling fs layer 15:36:07 6db28d0fdbf6: Pulling fs layer 15:36:07 292df0bc6bf3: Pulling fs layer 15:36:07 2e060f4bd70b: Pulling fs layer 15:36:07 80e8d568a223: Pulling fs layer 15:36:07 8dc6ef1a942a: Pulling fs layer 15:36:07 2312dd95470a: Pulling fs layer 15:36:07 80e8d568a223: Waiting 15:36:07 8dc6ef1a942a: Waiting 15:36:07 2312dd95470a: Waiting 15:36:07 292df0bc6bf3: Download complete 15:36:07 6db28d0fdbf6: Verifying Checksum 15:36:07 6db28d0fdbf6: Download complete 15:36:07 05e7bc50f07f: Verifying Checksum 15:36:07 05e7bc50f07f: Download complete 15:36:07 80e8d568a223: Verifying Checksum 15:36:07 80e8d568a223: Download complete 15:36:07 8dc6ef1a942a: Verifying Checksum 15:36:07 8dc6ef1a942a: Download complete 15:36:07 2312dd95470a: Verifying Checksum 15:36:07 2312dd95470a: Download complete 15:36:07 05e7bc50f07f: Pull complete 15:36:07 6db28d0fdbf6: Pull complete 15:36:07 292df0bc6bf3: Pull complete 15:36:08 2e060f4bd70b: Verifying Checksum 15:36:08 2e060f4bd70b: Download complete 15:36:09 745a02a5169b: Verifying Checksum 15:36:09 745a02a5169b: Download complete 15:36:10 00ac8860ef70: Verifying Checksum 15:36:10 00ac8860ef70: Download complete 15:36:11 2e060f4bd70b: Pull complete 15:36:11 80e8d568a223: Pull complete 15:36:11 8dc6ef1a942a: Pull complete 15:36:11 2312dd95470a: Pull complete 15:36:11 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:36:11 Status: Downloaded newer image for docker:20.10.0 15:36:13 ---> 5b846955c681 15:36:13 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:36:13 ---> Running in 558112c92212 15:36:13 Removing intermediate container 558112c92212 15:36:13 ---> 80dbfba28b50 15:36:13 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:36:13 ---> Running in cc84168420ee 15:36:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:36:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:36:15 (1/5) Installing libsodium (1.0.18-r0) 15:36:15 (2/5) Installing libzmq (4.3.3-r0) 15:36:15 (3/5) Installing pkgconf (1.7.2-r0) 15:36:15 (4/5) Installing libsodium-dev (1.0.18-r0) 15:36:16 (5/5) Installing zeromq-dev (4.3.3-r0) 15:36:16 Executing busybox-1.31.1-r19.trigger 15:36:16 OK: 167 MiB in 44 packages 15:36:17 Removing intermediate container cc84168420ee 15:36:17 ---> ea9599c1252c 15:36:17 Step 6/8 : WORKDIR /build 15:36:17 ---> Running in cf13d1160819 15:36:17 Removing intermediate container cf13d1160819 15:36:17 ---> 9faaae692816 15:36:17 Step 7/8 : COPY go.mod . 15:36:17 ---> 5fd3562288bd 15:36:17 Step 8/8 : RUN go mod download 15:36:17 ---> Running in 068d8cebfb32 15:36:20 00ac8860ef70: Pull complete 15:36:20 63d7cb157983: Pull complete 15:36:20 b116817d02f9: Pull complete 15:36:24 745a02a5169b: Pull complete 15:36:24 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 15:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:36:24 ---> b7e6874047d6 15:36:24 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 15:36:24 20.10.0: Pulling from library/docker 15:36:24 a3cc7d3b244e: Pulling fs layer 15:36:24 02a3295e0d61: Pulling fs layer 15:36:24 0f4f2e6d8100: Pulling fs layer 15:36:24 330b718f631f: Pulling fs layer 15:36:24 a93816041522: Pulling fs layer 15:36:24 bdb6da89ff94: Pulling fs layer 15:36:24 2a70c0c122f4: Pulling fs layer 15:36:24 330b718f631f: Waiting 15:36:24 bdb6da89ff94: Waiting 15:36:24 2a70c0c122f4: Waiting 15:36:24 a93816041522: Waiting 15:36:24 0f4f2e6d8100: Verifying Checksum 15:36:24 02a3295e0d61: Verifying Checksum 15:36:24 02a3295e0d61: Download complete 15:36:24 a3cc7d3b244e: Verifying Checksum 15:36:24 a93816041522: Verifying Checksum 15:36:24 a93816041522: Download complete 15:36:24 bdb6da89ff94: Verifying Checksum 15:36:24 bdb6da89ff94: Download complete 15:36:24 2a70c0c122f4: Verifying Checksum 15:36:24 2a70c0c122f4: Download complete 15:36:25 a3cc7d3b244e: Pull complete 15:36:26 02a3295e0d61: Pull complete 15:36:26 0f4f2e6d8100: Pull complete 15:36:26 330b718f631f: Verifying Checksum 15:36:26 330b718f631f: Download complete 15:36:30 330b718f631f: Pull complete 15:36:30 a93816041522: Pull complete 15:36:31 bdb6da89ff94: Pull complete 15:36:31 2a70c0c122f4: Pull complete 15:36:31 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 15:36:31 Status: Downloaded newer image for docker:20.10.0 15:36:38 ---> 0f79ed92ae1d 15:36:38 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:36:38 ---> Running in f67beee3f04d 15:36:38 Removing intermediate container f67beee3f04d 15:36:38 ---> 8f6da1d73931 15:36:38 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 15:36:38 ---> Running in 69c633d7dbae 15:36:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:36:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:36:40 (1/5) Installing libsodium (1.0.18-r0) 15:36:40 (2/5) Installing libzmq (4.3.3-r0) 15:36:40 (3/5) Installing pkgconf (1.7.2-r0) 15:36:40 (4/5) Installing libsodium-dev (1.0.18-r0) 15:36:40 (5/5) Installing zeromq-dev (4.3.3-r0) 15:36:41 Executing busybox-1.31.1-r19.trigger 15:36:41 OK: 144 MiB in 44 packages 15:36:42 Removing intermediate container 69c633d7dbae 15:36:42 ---> 5b4407c2647a 15:36:42 Step 6/8 : WORKDIR /build 15:36:42 ---> Running in 01e81587eb4a 15:36:42 Removing intermediate container 01e81587eb4a 15:36:42 ---> 2c57563bd399 15:36:42 Step 7/8 : COPY go.mod . 15:36:43 ---> 4738f1c3b3bf 15:36:43 Step 8/8 : RUN go mod download 15:36:43 ---> Running in a3e9bb2445b5 15:36:44 Removing intermediate container 068d8cebfb32 15:36:44 ---> 8396dd62c96f 15:36:44 Successfully built 8396dd62c96f 15:36:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:36:44 + docker inspect -f . ci-base-image-x86_64 15:36:44 . [Pipeline] withDockerContainer 15:36:44 prd-centos7-docker-4c-2g-32041 does not seem to be running inside a container 15:36:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:36:45 $ docker top d3cd589563a6f1a21b62a8058244ede126289a81a360d5b14bf64abae228e5e2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:46 + go version 15:36:46 go version go1.15.5 linux/amd64 [Pipeline] } 15:36:46 $ docker stop --time=1 d3cd589563a6f1a21b62a8058244ede126289a81a360d5b14bf64abae228e5e2 15:36:47 $ docker rm -f d3cd589563a6f1a21b62a8058244ede126289a81a360d5b14bf64abae228e5e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:36:48 + docker inspect -f . ci-base-image-x86_64 15:36:48 . [Pipeline] withDockerContainer 15:36:48 prd-centos7-docker-4c-2g-32041 does not seem to be running inside a container 15:36:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:36:49 $ docker top 345eb71210a9f03b609911eb66b2506b808b51ce2209991c384f8e160234eee3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:36:49 + make test 15:36:49 make -C ./app-service-template build 15:36:49 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:36:49 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 15:37:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:37:04 make -C ./app-service-template test 15:37:04 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:37:04 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:37:11 Removing intermediate container a3e9bb2445b5 15:37:11 ---> c8d451c3f83b 15:37:11 Successfully built c8d451c3f83b 15:37:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:37:11 + docker inspect -f . ci-base-image-arm64 15:37:11 . [Pipeline] withDockerContainer 15:37:11 prd-ubuntu18.04-docker-arm64-4c-16g-32039 does not seem to be running inside a container 15:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:37:12 ok new-app-service 0.037s coverage: 47.8% of statements 15:37:12 ? new-app-service/config [no test files] 15:37:12 ok new-app-service/functions 0.011s 15:37:12 CGO_ENABLED=1 go vet ./... 15:37:13 $ docker top a0a2dd4b63a063e2ada6d1b1dc0b9a05e10103fe3e921affe5252eb0c97d390c -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:14 + go version 15:37:14 go version go1.15.5 linux/arm64 [Pipeline] } 15:37:14 $ docker stop --time=1 a0a2dd4b63a063e2ada6d1b1dc0b9a05e10103fe3e921affe5252eb0c97d390c 15:37:16 gofmt -l . 15:37:16 [ "`gofmt -l .`" = "" ] 15:37:16 ./bin/test-go-mod-tidy.sh 15:37:16 ./bin/test-attribution-txt.sh 15:37:16 $ docker rm -f a0a2dd4b63a063e2ada6d1b1dc0b9a05e10103fe3e921affe5252eb0c97d390c 15:37:16 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:37:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:37:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:37:17 + docker inspect -f . ci-base-image-arm64 15:37:17 . [Pipeline] withDockerContainer 15:37:17 prd-ubuntu18.04-docker-arm64-4c-16g-32039 does not seem to be running inside a container 15:37:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/206 -v /w/workspace/app-functions-sdk-go/206:/w/workspace/app-functions-sdk-go/206:rw,z -v /w/workspace/app-functions-sdk-go/206@tmp:/w/workspace/app-functions-sdk-go/206@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:37:19 $ docker top 9f70eab1824a2b3d2c2d839b2348b0e648c294c1c3f206dbec42e6b8bcf8f139 -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.028s coverage: 55.8% of statements 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.023s coverage: 92.5% of statements 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.025s coverage: 61.5% of statements 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.011s 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.031s coverage: 75.4% of statements 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.008s coverage: 97.0% of statements 15:37:20 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:37:20 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.017s coverage: 10.5% of statements 15:37:20 + make test 15:37:20 make -C ./app-service-template build 15:37:20 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:37:20 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.0.0-dev.14 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0" -o new-app-service 15:37:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.742s coverage: 78.4% of statements 15:37:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:37:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.010s coverage: 20.0% of statements 15:37:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.018s coverage: 27.3% of statements 15:37:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:37:24 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:37:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements 15:37:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.043s coverage: 81.9% of statements 15:37:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements 15:37:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:37:51 gofmt -l . 15:37:51 [ "`gofmt -l .`" = "" ] 15:37:51 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 15:37:51 $ docker stop --time=1 345eb71210a9f03b609911eb66b2506b808b51ce2209991c384f8e160234eee3 15:37:53 $ docker rm -f 345eb71210a9f03b609911eb66b2506b808b51ce2209991c384f8e160234eee3 [Pipeline] // withDockerContainer [Pipeline] sh 15:37:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:37:54 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 15:37:55 ---> job-cost.sh 15:37:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2T5X 15:37:59 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:37:59 make -C ./app-service-template test 15:37:59 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:37:59 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 15:38:10 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:38:21 ok new-app-service 0.035s coverage: 47.8% of statements 15:38:21 ? new-app-service/config [no test files] 15:38:21 ok new-app-service/functions 0.031s 15:38:21 CGO_ENABLED=1 go vet ./... 15:38:30 gofmt -l . 15:38:30 [ "`gofmt -l .`" = "" ] 15:38:30 ./bin/test-go-mod-tidy.sh 15:38:30 ./bin/test-attribution-txt.sh 15:38:31 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/206/app-service-template' 15:38:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:38:33 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 15:38:37 lf-activate-venv(): INFO: Adding /tmp/venv-2T5X/bin to PATH 15:38:37 INFO: No Stack... 15:38:37 INFO: Retrieving Pricing Info for: v1-standard-2 15:38:37 INFO: Archiving Costs [Pipeline] sh 15:38:37 + cat /w/workspace/app-functions-sdk-go/206/archives/cost.csv 15:38:37 + cut -d, -f6 [Pipeline] lock 15:38:38 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] 15:38:38 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] did not exist. Created. 15:38:38 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:38:38 + echo total: 0.029999999329447746 [Pipeline] stash 15:38:38 Stashed 1 file(s) [Pipeline] } 15:38:38 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.084s coverage: 55.8% of statements 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.039s coverage: 92.5% of statements 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.073s coverage: 61.5% of statements 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.058s 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.065s coverage: 75.4% of statements 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.048s coverage: 97.0% of statements 15:38:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 15:38:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.042s coverage: 10.5% of statements 15:38:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.847s coverage: 78.4% of statements 15:38:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 15:38:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 20.0% of statements 15:38:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements 15:38:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 15:38:48 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:38:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.033s coverage: 71.7% of statements 15:39:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements 15:39:15 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements 15:39:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:39:17 gofmt -l . 15:39:17 [ "`gofmt -l .`" = "" ] 15:39:17 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 15:39:18 $ docker stop --time=1 9f70eab1824a2b3d2c2d839b2348b0e648c294c1c3f206dbec42e6b8bcf8f139 15:39:20 $ docker rm -f 9f70eab1824a2b3d2c2d839b2348b0e648c294c1c3f206dbec42e6b8bcf8f139 [Pipeline] // withDockerContainer [Pipeline] sh 15:39:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:39:21 Warning: overwriting stash ‘coverage-report’ 15:39:22 Stashed 2 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 15:39:23 ---> job-cost.sh 15:39:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y52O 15:40:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:41:39 lf-activate-venv(): INFO: Adding /tmp/venv-Y52O/bin to PATH 15:41:39 INFO: No Stack... 15:41:39 INFO: Retrieving Pricing Info for: lf-standard-4 15:41:39 INFO: Archiving Costs [Pipeline] sh 15:41:39 + cat /w/workspace/app-functions-sdk-go/206/archives/cost.csv 15:41:39 + cut -d, -f6 [Pipeline] lock 15:41:39 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] 15:41:39 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] did not exist. Created. 15:41:39 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:41:40 /w/workspace/app-functions-sdk-go/206@tmp/durable-fd0d7003/script.sh: 1: /w/workspace/app-functions-sdk-go/206@tmp/durable-fd0d7003/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:41:40 + echo total: 0.20999999344348907 [Pipeline] stash 15:41:40 Warning: overwriting stash ‘stack-cost’ 15:41:40 Stashed 1 file(s) [Pipeline] } 15:41:40 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-206-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:41:42 provisioning config files... 15:41:42 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1304423833203244912tmp [Pipeline] { [Pipeline] sh 15:41:42 + set +x 15:41:42 + curl -s https://codecov.io/bash 15:41:42 + bash -s -- 15:41:42 15:41:42 _____ _ 15:41:42 / ____| | | 15:41:42 | | ___ __| | ___ ___ _____ __ 15:41:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:41:42 | |___| (_) | (_| | __/ (_| (_) \ V / 15:41:42 \_____\___/ \__,_|\___|\___\___/ \_/ 15:41:42 Bash-20210309-2b87ace 15:41:42 15:41:42 15:41:42 ==> git version 2.24.3 found 15:41:42 ==> 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 15:41:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:41:42 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:41:42 curl: option -sm: expected a proper numerical parameter 15:41:42 curl: try 'curl --help' or 'curl --manual' for more information 15:41:42 ==> Jenkins CI detected. 15:41:42 project root: . 15:41:42 --> token set from env 15:41:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:41:42 ==> Running gcov in . (disable via -X gcov) 15:41:42 ==> Python coveragepy not found 15:41:42 ==> Searching for coverage reports in: 15:41:42 + . 15:41:42 -> Found 2 reports 15:41:42 ==> Detecting git/mercurial file structure 15:41:42 ==> Reading reports 15:41:42 + ./app-service-template/coverage.out bytes=1055 15:41:42 + ./coverage.out bytes=86636 15:41:42 ==> Appending adjustments 15:41:42 https://docs.codecov.io/docs/fixing-reports 15:41:43 + Found adjustments 15:41:43 ==> Gzipping contents 15:41:43 16K /tmp/codecov.GzaLAh.gz 15:41:43 ==> Uploading reports 15:41:43 url: https://codecov.io 15:41:43 query: branch=master&commit=774021d1bf4af04b538998a8bc79f47691cc950e&build=206&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F206%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:41:43 -> Pinging Codecov 15:41:43 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=774021d1bf4af04b538998a8bc79f47691cc950e&build=206&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F206%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:41:43 -> Uploading to 15:41:43 https://storage.googleapis.com/codecov/v4/raw/2021-03-30/3D8B5DFFC46A037C893635FACE044666/774021d1bf4af04b538998a8bc79f47691cc950e/532ad558-e4c7-4544-9b1c-4af1d5902159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210330T154143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6ad1fefedbce6ec3a0a41ba5adce48e50b0eb6e67a48d253fdaf3515b2ca9c8d 15:41:43 % Total % Received % Xferd Average Speed Time Time Time Current 15:41:43 Dload Upload Total Spent Left Speed 15:41:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15312 0 0 100 15312 0 29544 --:--:-- --:--:-- --:--:-- 29559 15:41:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] } 15:41:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:41:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:41:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:41:45 15:41:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:41:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:41:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:41:45 188c0c94c7c5: Pulling fs layer 15:41:45 0ef7d3d256c8: Pulling fs layer 15:41:45 de9db76c5a1d: Pulling fs layer 15:41:45 0eba1c9be4d2: Pulling fs layer 15:41:45 0d57e429df01: Pulling fs layer 15:41:45 4e4be7b47b0d: Pulling fs layer 15:41:45 e1f770b5df2f: Pulling fs layer 15:41:45 85a0685a4137: Pulling fs layer 15:41:45 4e4be7b47b0d: Waiting 15:41:45 e1f770b5df2f: Waiting 15:41:45 85a0685a4137: Waiting 15:41:45 0eba1c9be4d2: Waiting 15:41:45 0d57e429df01: Waiting 15:41:45 de9db76c5a1d: Verifying Checksum 15:41:45 de9db76c5a1d: Download complete 15:41:45 0ef7d3d256c8: Download complete 15:41:45 0d57e429df01: Verifying Checksum 15:41:45 0d57e429df01: Download complete 15:41:45 4e4be7b47b0d: Verifying Checksum 15:41:45 4e4be7b47b0d: Download complete 15:41:46 188c0c94c7c5: Verifying Checksum 15:41:46 188c0c94c7c5: Download complete 15:41:47 188c0c94c7c5: Pull complete 15:41:47 0ef7d3d256c8: Pull complete 15:41:47 de9db76c5a1d: Pull complete 15:41:47 e1f770b5df2f: Verifying Checksum 15:41:47 e1f770b5df2f: Download complete 15:41:50 0eba1c9be4d2: Verifying Checksum 15:41:50 0eba1c9be4d2: Download complete 15:41:50 85a0685a4137: Verifying Checksum 15:41:50 85a0685a4137: Download complete 15:41:57 0eba1c9be4d2: Pull complete 15:41:57 0d57e429df01: Pull complete 15:41:57 4e4be7b47b0d: Pull complete 15:41:58 e1f770b5df2f: Pull complete 15:42:06 85a0685a4137: Pull complete 15:42:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:42:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:42:07 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:42:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:42:08 $ docker top 1b495c1a20470ed52c9d5f92decaa752bce2a21a31eac40f789c60c075f9bf31 -eo pid,comm [Pipeline] { [Pipeline] echo 15:42:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:42:08 + set -o pipefail 15:42:08 + snyk monitor '--org=edgex-jenkins' 15:42:23 15:42:23 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 15:42:23 15:42:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/0ebb3d96-2dfa-45b0-8615-f066dd3df3cb 15:42:23 15:42:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:42:23 15:42:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:42:23 15:42:23 15:42:23 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 15:42:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:42:23 $ docker stop --time=1 1b495c1a20470ed52c9d5f92decaa752bce2a21a31eac40f789c60c075f9bf31 15:42:26 $ docker rm -f 1b495c1a20470ed52c9d5f92decaa752bce2a21a31eac40f789c60c075f9bf31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 15:42:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:27 provisioning config files... 15:42:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7975533627165834110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:28 --> edgex-publish-swagger.sh 15:42:28 === Publish openapi/v2 API === 15:42:28 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:42:28 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 15:42:28 % Total % Received % Xferd Average Speed Time Time Time Current 15:42:28 Dload Upload Total Spent Left Speed 15:42:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10409 0:00:01 0:00:01 --:--:-- 10416 100 13052 0 0 100 13052 0 8711 0:00:01 0:00:01 --:--:-- 8712 100 13052 0 0 100 13052 0 8710 0:00:01 0:00:01 --:--:-- 8712 15:42:29 15:42:29 [Pipeline] } 15:42:29 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 15:42:30 + git log --format=format:%s -1 774021d1bf4af04b538998a8bc79f47691cc950e [Pipeline] isUnix [Pipeline] sh 15:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:42:31 . [Pipeline] withDockerContainer 15:42:31 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:42:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:42:32 $ docker top e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:32 [ssh-agent] Looking for ssh-agent implementation... 15:42:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:32 $ docker exec e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 ssh-agent 15:42:32 SSH_AUTH_SOCK=/tmp/ssh-51sQgF0o7G75/agent.12 15:42:32 SSH_AGENT_PID=17 15:42:32 Running ssh-add (command line suppressed) 15:42:33 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5616779566413984807.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5616779566413984807.key) 15:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:33 + git semver tag 15:42:33 # -> Open(): unable to determine branch for HEAD 15:42:33 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 15:42:33 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 15:42:33 # $SEMVER_REMOTE_NAME = origin 15:42:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:42:33 # $SEMVER_USER_NAME = edgex-jenkins 15:42:33 # $SEMVER_BRANCH = master 15:42:33 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 15:42:33 # 774021d1bf4af04b538998a8bc79f47691cc950e HEAD 15:42:33 # -> Force: false 15:42:33 # 3d97d75b498ebdb985ff95d3c7028c40517184eb refs/tags/v2.0.0-dev.37 [Pipeline] } 15:42:33 $ docker exec --env ******** --env ******** e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 ssh-agent -k 15:42:33 unset SSH_AUTH_SOCK; 15:42:33 unset SSH_AGENT_PID; 15:42:33 echo Agent pid 17 killed; 15:42:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:34 + git semver [Pipeline] } 15:42:34 $ docker stop --time=1 e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 15:42:35 $ docker rm -f e73510dfa53788e45139236cea610e0ab7137fd59f02f97265323ac86a430ae7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:42:36 15:42:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:42:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:42:36 0.23.1-centos7: Pulling from edgex-lftools 15:42:36 ab5ef0e58194: Pulling fs layer 15:42:36 9712f1f96733: Pulling fs layer 15:42:36 63f879dbbcfc: Pulling fs layer 15:42:36 0d9ebad4ef96: Pulling fs layer 15:42:36 e9a5061849ea: Pulling fs layer 15:42:36 d747dcd14b5f: Pulling fs layer 15:42:36 2de7ff778b66: Pulling fs layer 15:42:36 e9a5061849ea: Waiting 15:42:36 0d9ebad4ef96: Waiting 15:42:36 d747dcd14b5f: Waiting 15:42:36 2de7ff778b66: Waiting 15:42:36 9712f1f96733: Download complete 15:42:38 63f879dbbcfc: Verifying Checksum 15:42:38 63f879dbbcfc: Download complete 15:42:38 e9a5061849ea: Verifying Checksum 15:42:38 e9a5061849ea: Download complete 15:42:38 d747dcd14b5f: Verifying Checksum 15:42:38 d747dcd14b5f: Download complete 15:42:39 2de7ff778b66: Verifying Checksum 15:42:39 2de7ff778b66: Download complete 15:42:39 ab5ef0e58194: Verifying Checksum 15:42:39 ab5ef0e58194: Download complete 15:42:39 0d9ebad4ef96: Verifying Checksum 15:42:39 0d9ebad4ef96: Download complete 15:42:44 ab5ef0e58194: Pull complete 15:42:44 9712f1f96733: Pull complete 15:42:47 63f879dbbcfc: Pull complete 15:42:54 0d9ebad4ef96: Pull complete 15:42:55 e9a5061849ea: Pull complete 15:42:55 d747dcd14b5f: Pull complete 15:42:59 2de7ff778b66: Pull complete 15:42:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:42:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:42:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:42:59 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:42:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:43:03 $ docker top 193c9afee06a25cf98ef1a821e719841345261e21d293bd9ede0d6e88e9320e7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:43:04 provisioning config files... 15:43:04 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3651391669101049082tmp 15:43:04 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1727668901604404486tmp 15:43:04 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config5811349734555110531tmp [Pipeline] { [Pipeline] echo 15:43:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:43:04 ---> sigul-configuration.sh 15:43:04 gpg: directory `/root/.gnupg' created 15:43:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:43:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:43:04 gpg: keyring `/root/.gnupg/secring.gpg' created 15:43:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:43:04 gpg: CAST5 encrypted data 15:43:04 gpg: encrypted with 1 passphrase 15:43:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:43:05 + mkdir /home/jenkins 15:43:05 + mkdir /home/jenkins/sigul [Pipeline] sh 15:43:05 + 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 15:43:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:43:05 ---> sigul-install.sh 15:43:12 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 15:43:12 + git tag --list 15:43:12 v0.1.0 15:43:12 v0.1.1 15:43:12 v1.0.0 15:43:12 v1.1.0 15:43:12 v1.2.0 15:43:12 v1.3.0 15:43:12 v1.3.1 15:43:12 v1.3.1-dev.1 15:43:12 v1.3.2-dev.1 15:43:12 v2.0.0-dev.1 15:43:12 v2.0.0-dev.10 15:43:12 v2.0.0-dev.11 15:43:12 v2.0.0-dev.12 15:43:12 v2.0.0-dev.13 15:43:12 v2.0.0-dev.14 15:43:12 v2.0.0-dev.15 15:43:12 v2.0.0-dev.16 15:43:12 v2.0.0-dev.17 15:43:12 v2.0.0-dev.18 15:43:12 v2.0.0-dev.19 15:43:12 v2.0.0-dev.2 15:43:12 v2.0.0-dev.20 15:43:12 v2.0.0-dev.21 15:43:12 v2.0.0-dev.22 15:43:12 v2.0.0-dev.23 15:43:12 v2.0.0-dev.24 15:43:12 v2.0.0-dev.25 15:43:12 v2.0.0-dev.26 15:43:12 v2.0.0-dev.27 15:43:12 v2.0.0-dev.28 15:43:12 v2.0.0-dev.29 15:43:12 v2.0.0-dev.3 15:43:12 v2.0.0-dev.30 15:43:12 v2.0.0-dev.31 15:43:12 v2.0.0-dev.32 15:43:12 v2.0.0-dev.33 15:43:12 v2.0.0-dev.34 15:43:12 v2.0.0-dev.35 15:43:12 v2.0.0-dev.36 15:43:12 v2.0.0-dev.37 15:43:12 v2.0.0-dev.4 15:43:12 v2.0.0-dev.5 15:43:12 v2.0.0-dev.6 15:43:12 v2.0.0-dev.7 15:43:12 v2.0.0-dev.8 15:43:12 v2.0.0-dev.9 [Pipeline] sh 15:43:13 + lftools sign git-tag v2.0.0-dev.37 15:43:14 Signing Git tag with Sigul... 15:43:14 Signing v2.0.0-dev.37 [Pipeline] echo 15:43:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:43:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:43:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:43:16 $ docker stop --time=1 193c9afee06a25cf98ef1a821e719841345261e21d293bd9ede0d6e88e9320e7 15:43:19 $ docker rm -f 193c9afee06a25cf98ef1a821e719841345261e21d293bd9ede0d6e88e9320e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 15:43:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:43:20 . [Pipeline] withDockerContainer 15:43:20 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:43:21 $ docker top 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:43:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:21 [ssh-agent] Looking for ssh-agent implementation... 15:43:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:21 $ docker exec 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a ssh-agent 15:43:22 SSH_AUTH_SOCK=/tmp/ssh-lP3zElTbWfxF/agent.13 15:43:22 SSH_AGENT_PID=18 15:43:22 Running ssh-add (command line suppressed) 15:43:22 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4479333590810386765.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4479333590810386765.key) 15:43:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:22 + git semver bump pre 15:43:22 # -> Open(): unable to determine branch for HEAD 15:43:22 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 15:43:22 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 15:43:22 # $SEMVER_REMOTE_NAME = origin 15:43:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:43:22 # $SEMVER_USER_NAME = edgex-jenkins 15:43:22 # $SEMVER_BRANCH = master 15:43:22 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 15:43:22 2.0.0-dev.38 [Pipeline] } 15:43:22 $ docker exec --env ******** --env ******** 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a ssh-agent -k 15:43:22 unset SSH_AUTH_SOCK; 15:43:22 unset SSH_AGENT_PID; 15:43:22 echo Agent pid 18 killed; 15:43:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:43:23 + git semver [Pipeline] } 15:43:23 $ docker stop --time=1 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a 15:43:24 $ docker rm -f 80c5824924008b1508ddd1bfa362d44fae2dc78db8a78fea6298c4403df8084a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 15:43:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:43:25 . [Pipeline] withDockerContainer 15:43:25 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:43:26 $ docker top 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:43:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:43:26 [ssh-agent] Looking for ssh-agent implementation... 15:43:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:43:26 $ docker exec 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 ssh-agent 15:43:26 SSH_AUTH_SOCK=/tmp/ssh-ekkoCroeTmsj/agent.13 15:43:26 SSH_AGENT_PID=19 15:43:26 Running ssh-add (command line suppressed) 15:43:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3100552988737391412.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3100552988737391412.key) 15:43:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:43:27 + git semver push 15:43:27 # -> Open(): unable to determine branch for HEAD 15:43:27 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 15:43:27 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 15:43:27 # $SEMVER_REMOTE_NAME = origin 15:43:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:43:27 # $SEMVER_USER_NAME = edgex-jenkins 15:43:27 # $SEMVER_BRANCH = master 15:43:27 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 15:43:31 $ docker exec --env ******** --env ******** 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 ssh-agent -k 15:43:31 unset SSH_AUTH_SOCK; 15:43:31 unset SSH_AGENT_PID; 15:43:31 echo Agent pid 19 killed; 15:43:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:43:32 + git semver [Pipeline] } 15:43:32 $ docker stop --time=1 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 15:43:33 $ docker rm -f 4d0b270a3c0f2eeb6b61a1166787b5c8a9782dbc3ac4683687fd78d4987faca9 [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 15:43:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:43:35 ---> package-listing.sh 15:43:35 ++ facter osfamily 15:43:35 ++ tr '[:upper:]' '[:lower:]' 15:43:35 + OS_FAMILY=redhat 15:43:35 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 15:43:35 + START_PACKAGES=/tmp/packages_start.txt 15:43:35 + END_PACKAGES=/tmp/packages_end.txt 15:43:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:43:35 + PACKAGES=/tmp/packages_start.txt 15:43:35 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 15:43:35 + PACKAGES=/tmp/packages_end.txt 15:43:35 + case "${OS_FAMILY}" in 15:43:35 + rpm -qa 15:43:35 + sort 15:43:41 + '[' -f /tmp/packages_start.txt ']' 15:43:41 + '[' -f /tmp/packages_end.txt ']' 15:43:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:43:41 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 15:43:41 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 15:43:41 + 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 15:43:41 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 15:43:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:43:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:43:41 15:43:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:43:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:43:42 alpine: Pulling from edgex-lftools-log-publisher 15:43:42 df20fa9351a1: Pulling fs layer 15:43:42 36b3adc4ff6f: Pulling fs layer 15:43:42 8ad3a11d3b57: Pulling fs layer 15:43:42 46f8f816bc3b: Pulling fs layer 15:43:42 93b61091891f: Pulling fs layer 15:43:42 93b9cdb0e59b: Pulling fs layer 15:43:42 5e14af77c1be: Pulling fs layer 15:43:42 01666e4c0597: Pulling fs layer 15:43:42 aa168da1d23b: Pulling fs layer 15:43:42 93b9cdb0e59b: Waiting 15:43:42 5e14af77c1be: Waiting 15:43:42 01666e4c0597: Waiting 15:43:42 aa168da1d23b: Waiting 15:43:42 46f8f816bc3b: Waiting 15:43:42 93b61091891f: Waiting 15:43:42 36b3adc4ff6f: Verifying Checksum 15:43:42 36b3adc4ff6f: Download complete 15:43:42 46f8f816bc3b: Verifying Checksum 15:43:42 46f8f816bc3b: Download complete 15:43:42 df20fa9351a1: Download complete 15:43:42 93b9cdb0e59b: Verifying Checksum 15:43:42 93b9cdb0e59b: Download complete 15:43:42 5e14af77c1be: Verifying Checksum 15:43:42 5e14af77c1be: Download complete 15:43:42 01666e4c0597: Verifying Checksum 15:43:42 01666e4c0597: Download complete 15:43:42 93b61091891f: Download complete 15:43:42 df20fa9351a1: Pull complete 15:43:42 8ad3a11d3b57: Verifying Checksum 15:43:42 8ad3a11d3b57: Download complete 15:43:42 36b3adc4ff6f: Pull complete 15:43:43 8ad3a11d3b57: Pull complete 15:43:44 46f8f816bc3b: Pull complete 15:43:44 aa168da1d23b: Verifying Checksum 15:43:44 aa168da1d23b: Download complete 15:43:44 93b61091891f: Pull complete 15:43:44 93b9cdb0e59b: Pull complete 15:43:45 5e14af77c1be: Pull complete 15:43:45 01666e4c0597: Pull complete 15:43:53 aa168da1d23b: Pull complete 15:43:53 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:43:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:43:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:43:53 prd-centos7-docker-4c-2g-32037 does not seem to be running inside a container 15:43:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:43:56 $ docker top ff1eb039f972510a298009203485a557b2fe831a4b6a43d275ea80c8bcb37a39 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:57 + touch /tmp/pre-build-complete [Pipeline] sh 15:43:57 + mkdir -p /var/log/sa [Pipeline] sh 15:43:57 + ls /var/log/sa-host 15:43:57 + sadf -c /var/log/sa-host/sa23 15:43:57 file_magic: OK 15:43:57 HZ: Using current value: 100 15:43:57 file_header: OK 15:43:57 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 15:43:57 Statistics: 15:43:57 Hnuu...uuuununununu... 15:43:57 File successfully converted to sysstat format version 12.2.1 15:43:57 + sadf -c /var/log/sa-host/sa30 15:43:57 file_magic: OK 15:43:57 HZ: Using current value: 100 15:43:57 file_header: OK 15:43:57 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 15:43:57 Statistics: 15:43:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:43:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:43:57 provisioning config files... 15:43:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2619219545585302131tmp [Pipeline] { [Pipeline] echo 15:43:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:43:58 ---> create-netrc.sh [Pipeline] } 15:43:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:43:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:43:58 ---> python-tools-install.sh [Pipeline] echo 15:43:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:43:59 ---> sudo-logs.sh 15:43:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:43:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:43:59 ---> job-cost.sh 15:43:59 lf-activate-venv: SKIPPING 15:43:59 DEBUG: total: 0.20999999344348907 15:43:59 INFO: Retrieving Stack Cost... 15:44:00 INFO: Retrieving Pricing Info for: v1-standard-2 15:44:01 INFO: Archiving Costs [Pipeline] echo 15:44:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:44:01 ---> logs-deploy.sh 15:44:01 lf-activate-venv: SKIPPING 15:44:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/206 15:44:01 INFO: archiving workspace using pattern(s): 15:44:02 Archives upload complete. 15:44:03 INFO: archiving logs to Nexus