Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 29611b3d058cda2078929c84c413ab145d4a6c62 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20599 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 29611b3d058cda2078929c84c413ab145d4a6c62 (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 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 Commit message: "refactor: Make SDK a V2 Go Module (#643)" > git rev-list --no-walk 32260fce1ebf405fc924284e9c557ee5720e11ee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:05:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:05:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:05:22 ========================================================= 21:05:22 EdgeX Global Pipelines Version Info 21:05:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:05:25 ------------------- 21:05:25 stable info: 21:05:25 ------------------- 21:05:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:05:25 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 21:05:25 Message: update stable to v1.0.177 21:05:26 ------------------- 21:05:26 experimental info: 21:05:26 ------------------- 21:05:26 Commited By: **** collab-it+edgex@linuxfoundation.org 21:05:26 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 21:05:26 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:05:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 21:05:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 21:05:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:05:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:05:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:05:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29611b3d058cda2078929c84c413ab145d4a6c62 [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29611b3 [Pipeline] echo 21:05:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:30 + git log --format=format:%s -1 29611b3d058cda2078929c84c413ab145d4a6c62 [Pipeline] echo 21:05:30 GIT_COMMIT: 29611b3d058cda2078929c84c413ab145d4a6c62, Commit Message: refactor: Make SDK a V2 Go Module (#643) [Pipeline] echo 21:05:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:05:31 21:05:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:05:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:05:32 latest: Pulling from edgex-devops/git-semver 21:05:32 31603596830f: Pulling fs layer 21:05:32 2a8b12db71e7: Pulling fs layer 21:05:32 6ca5941a6612: Pulling fs layer 21:05:32 ecc8261a40a4: Pulling fs layer 21:05:32 ecc8261a40a4: Waiting 21:05:32 2a8b12db71e7: Download complete 21:05:32 31603596830f: Verifying Checksum 21:05:32 31603596830f: Download complete 21:05:32 6ca5941a6612: Verifying Checksum 21:05:32 6ca5941a6612: Download complete 21:05:32 ecc8261a40a4: Verifying Checksum 21:05:32 ecc8261a40a4: Download complete 21:05:33 31603596830f: Pull complete 21:05:33 2a8b12db71e7: Pull complete 21:05:34 6ca5941a6612: Pull complete 21:05:35 ecc8261a40a4: Pull complete 21:05:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 21:05:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:05:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:05:35 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:05: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:05:38 $ docker top 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:05:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:38 [ssh-agent] Looking for ssh-agent implementation... 21:05:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:39 $ docker exec 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 ssh-agent 21:05:39 SSH_AUTH_SOCK=/tmp/ssh-h0tYH10kIjTh/agent.12 21:05:39 SSH_AGENT_PID=17 21:05:39 Running ssh-add (command line suppressed) 21:05:40 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6422799616061894474.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6422799616061894474.key) 21:05:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:40 + git tag --points-at HEAD [Pipeline] } 21:05:40 $ docker exec --env ******** --env ******** 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 ssh-agent -k 21:05:40 unset SSH_AUTH_SOCK; 21:05:40 unset SSH_AGENT_PID; 21:05:40 echo Agent pid 17 killed; 21:05:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:05:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:05:41 [ssh-agent] Looking for ssh-agent implementation... 21:05:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:05:41 $ docker exec 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 ssh-agent 21:05:41 SSH_AUTH_SOCK=/tmp/ssh-cc7Xzet9HUFT/agent.45 21:05:41 SSH_AGENT_PID=50 21:05:41 Running ssh-add (command line suppressed) 21:05:42 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_219372838448518511.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_219372838448518511.key) 21:05:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:05:42 + git semver init 21:05:42 # -> Open(): unable to determine branch for HEAD 21:05:42 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:05:42 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:05:42 # $SEMVER_REMOTE_NAME = origin 21:05:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:05:42 # $SEMVER_USER_NAME = edgex-jenkins 21:05:42 # $SEMVER_BRANCH = master 21:05:42 # $SEMVER_TEMP = /tmp/semver-684421340 21:05:42 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 21:05:48 # '/tmp/semver-684421340' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 21:05:48 # -> Force: false 21:05:48 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 21:05:48 $ docker exec --env ******** --env ******** 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 ssh-agent -k 21:05:48 unset SSH_AUTH_SOCK; 21:05:48 unset SSH_AGENT_PID; 21:05:48 echo Agent pid 50 killed; 21:05:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:05:49 + git semver [Pipeline] } 21:05:49 $ docker stop --time=1 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 21:05:51 $ docker rm -f 70ce6393c57ef8b6b451b7f863cf6a1caa95e75b94e7d50bb3bf816569e13fc2 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:05:53 Stashed 1 file(s) [Pipeline] echo 21:05:53 [edgeXSemver]: initialized semver on version 2.0.0-dev.1 [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 21:06:08 Still waiting to schedule task 21:06:08 Waiting for next available executor on ‘centos7-docker-4c-2g’ 21:06:08 Still waiting to schedule task 21:06:08 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 21:07:53 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20605 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 21:07:53 Running in /w/workspace/app-functions-sdk-go/168 [Pipeline] { [Pipeline] checkout 21:07:58 using credential edgex-jenkins-ssh 21:07:58 Cloning the remote Git repository 21:07:58 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:07:58 > git init /w/workspace/app-functions-sdk-go/168 # timeout=10 21:07:58 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:07:58 > git --version # timeout=10 21:07:58 > git --version # 'git version 2.17.1' 21:07:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:07:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:08:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:08:02 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:08:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:08:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:08:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:08:03 Checking out Revision 29611b3d058cda2078929c84c413ab145d4a6c62 (master) 21:08:03 > git config core.sparsecheckout # timeout=10 21:08:03 > git checkout -f 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 21:08:08 Commit message: "refactor: Make SDK a V2 Go Module (#643)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 21:08:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:08:10 + sudo service docker restart 21:08:10 + true [Pipeline] unstash [Pipeline] echo 21:08:13 ========================================================= 21:08:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 21:08:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:08:14 + 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 . 21:08:15 Sending build context to Docker daemon 19.21MB 21:08:15 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:08:15 Step 2/8 : FROM ${BASE} 21:08:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:08:15 5f621e34cdf4: Pulling fs layer 21:08:15 a4357932f1b6: Pulling fs layer 21:08:15 18c013af1878: Pulling fs layer 21:08:15 00ac8860ef70: Pulling fs layer 21:08:15 63d7cb157983: Pulling fs layer 21:08:15 b116817d02f9: Pulling fs layer 21:08:15 745a02a5169b: Pulling fs layer 21:08:15 63d7cb157983: Waiting 21:08:15 b116817d02f9: Waiting 21:08:15 745a02a5169b: Waiting 21:08:15 00ac8860ef70: Waiting 21:08:15 18c013af1878: Download complete 21:08:15 a4357932f1b6: Verifying Checksum 21:08:15 a4357932f1b6: Download complete 21:08:15 63d7cb157983: Download complete 21:08:15 b116817d02f9: Verifying Checksum 21:08:15 b116817d02f9: Download complete 21:08:15 5f621e34cdf4: Verifying Checksum 21:08:15 5f621e34cdf4: Download complete 21:08:16 5f621e34cdf4: Pull complete 21:08:16 a4357932f1b6: Pull complete 21:08:17 18c013af1878: Pull complete 21:08:18 745a02a5169b: Verifying Checksum 21:08:18 745a02a5169b: Download complete 21:08:19 00ac8860ef70: Verifying Checksum 21:08:19 00ac8860ef70: Download complete 21:08:29 00ac8860ef70: Pull complete 21:08:30 63d7cb157983: Pull complete 21:08:30 b116817d02f9: Pull complete 21:08:35 745a02a5169b: Pull complete 21:08:35 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 21:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 21:08:35 ---> b7e6874047d6 21:08:35 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 21:08:35 20.10.0: Pulling from library/docker 21:08:35 a3cc7d3b244e: Pulling fs layer 21:08:35 02a3295e0d61: Pulling fs layer 21:08:35 0f4f2e6d8100: Pulling fs layer 21:08:35 330b718f631f: Pulling fs layer 21:08:35 a93816041522: Pulling fs layer 21:08:35 bdb6da89ff94: Pulling fs layer 21:08:35 2a70c0c122f4: Pulling fs layer 21:08:35 330b718f631f: Waiting 21:08:35 a93816041522: Waiting 21:08:35 bdb6da89ff94: Waiting 21:08:35 2a70c0c122f4: Waiting 21:08:35 0f4f2e6d8100: Verifying Checksum 21:08:35 0f4f2e6d8100: Download complete 21:08:35 02a3295e0d61: Verifying Checksum 21:08:35 02a3295e0d61: Download complete 21:08:35 a3cc7d3b244e: Verifying Checksum 21:08:35 a3cc7d3b244e: Download complete 21:08:35 a93816041522: Verifying Checksum 21:08:35 a93816041522: Download complete 21:08:35 bdb6da89ff94: Verifying Checksum 21:08:35 bdb6da89ff94: Download complete 21:08:35 2a70c0c122f4: Verifying Checksum 21:08:35 2a70c0c122f4: Download complete 21:08:35 a3cc7d3b244e: Pull complete 21:08:36 02a3295e0d61: Pull complete 21:08:36 330b718f631f: Verifying Checksum 21:08:36 330b718f631f: Download complete 21:08:36 0f4f2e6d8100: Pull complete 21:08:40 330b718f631f: Pull complete 21:08:40 a93816041522: Pull complete 21:08:40 bdb6da89ff94: Pull complete 21:08:41 2a70c0c122f4: Pull complete 21:08:41 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 21:08:41 Status: Downloaded newer image for docker:20.10.0 21:08:46 ---> 2239eff9b3aa 21:08:46 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:08:47 ---> Running in 6425065ccad1 21:08:47 Removing intermediate container 6425065ccad1 21:08:47 ---> c91b6463975a 21:08:47 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:08:47 ---> Running in 0a902fbf3c1b 21:08:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 21:08:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 21:08:50 (1/5) Installing libsodium (1.0.18-r0) 21:08:50 (2/5) Installing libzmq (4.3.3-r0) 21:08:50 (3/5) Installing pkgconf (1.7.2-r0) 21:08:51 (4/5) Installing libsodium-dev (1.0.18-r0) 21:08:51 (5/5) Installing zeromq-dev (4.3.3-r0) 21:08:51 Executing busybox-1.31.1-r19.trigger 21:08:51 OK: 144 MiB in 44 packages 21:08:52 Removing intermediate container 0a902fbf3c1b 21:08:52 ---> 5a07472455a7 21:08:52 Step 6/8 : WORKDIR /build 21:08:52 ---> Running in ae824d22dcac 21:08:53 Removing intermediate container ae824d22dcac 21:08:53 ---> bcc731ac656a 21:08:53 Step 7/8 : COPY go.mod . 21:08:53 ---> a7237a25328d 21:08:53 Step 8/8 : RUN go mod download 21:08:53 ---> Running in e144e348655e 21:08:56 Running on prd-centos7-docker-4c-2g-20610 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 21:08:56 Running in /w/workspace/app-functions-sdk-go/168 [Pipeline] { [Pipeline] checkout 21:08:59 using credential edgex-jenkins-ssh 21:09:00 Cloning the remote Git repository 21:09:00 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 21:09:00 > git init /w/workspace/app-functions-sdk-go/168 # timeout=10 21:09:00 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:09:00 > git --version # timeout=10 21:09:00 > git --version # 'git version 2.24.3' 21:09:00 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:09:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:01 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 21:09:01 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 21:09:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 21:09:03 Checking out Revision 29611b3d058cda2078929c84c413ab145d4a6c62 (master) 21:09:03 > git config core.sparsecheckout # timeout=10 21:09:03 > git checkout -f 29611b3d058cda2078929c84c413ab145d4a6c62 # timeout=10 21:09:06 Commit message: "refactor: Make SDK a V2 Go Module (#643)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:08 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:09:08 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:09:09 + sudo service docker restart 21:09:09 + true 21:09:09 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 21:09:10 ========================================================= 21:09:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 21:09:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:09:10 + 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 . 21:09:11 Sending build context to Docker daemon 19.21MB 21:09:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 21:09:11 Step 2/8 : FROM ${BASE} 21:09:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 21:09:11 188c0c94c7c5: Pulling fs layer 21:09:11 0ef7d3d256c8: Pulling fs layer 21:09:11 de9db76c5a1d: Pulling fs layer 21:09:11 bca2f99d35d6: Pulling fs layer 21:09:11 93359f2a8cfa: Pulling fs layer 21:09:11 7c6f9722023f: Pulling fs layer 21:09:11 a35cf1a2eb13: Pulling fs layer 21:09:11 93359f2a8cfa: Waiting 21:09:11 a35cf1a2eb13: Waiting 21:09:11 7c6f9722023f: Waiting 21:09:11 bca2f99d35d6: Waiting 21:09:11 de9db76c5a1d: Verifying Checksum 21:09:11 de9db76c5a1d: Download complete 21:09:11 0ef7d3d256c8: Verifying Checksum 21:09:11 0ef7d3d256c8: Download complete 21:09:11 93359f2a8cfa: Verifying Checksum 21:09:11 93359f2a8cfa: Download complete 21:09:11 7c6f9722023f: Verifying Checksum 21:09:11 7c6f9722023f: Download complete 21:09:12 188c0c94c7c5: Verifying Checksum 21:09:12 188c0c94c7c5: Download complete 21:09:12 188c0c94c7c5: Pull complete 21:09:13 0ef7d3d256c8: Pull complete 21:09:13 de9db76c5a1d: Pull complete 21:09:15 a35cf1a2eb13: Download complete 21:09:17 bca2f99d35d6: Verifying Checksum 21:09:17 bca2f99d35d6: Download complete 21:09:20 Removing intermediate container e144e348655e 21:09:20 ---> fe4a8fe17d4c 21:09:20 Successfully built fe4a8fe17d4c 21:09:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:09:21 + docker inspect -f . ci-base-image-arm64 21:09:21 . [Pipeline] withDockerContainer 21:09:21 prd-ubuntu18.04-docker-arm64-4c-16g-20605 does not seem to be running inside a container 21:09:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/168 -v /w/workspace/app-functions-sdk-go/168:/w/workspace/app-functions-sdk-go/168:rw,z -v /w/workspace/app-functions-sdk-go/168@tmp:/w/workspace/app-functions-sdk-go/168@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 21:09:22 bca2f99d35d6: Pull complete 21:09:22 93359f2a8cfa: Pull complete 21:09:22 7c6f9722023f: Pull complete 21:09:22 $ docker top f82aa5330542a809d685d1d3283028971ec71e7d93dbcb2d91c65728a96853d4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:23 + go version 21:09:23 go version go1.15.5 linux/arm64 [Pipeline] } 21:09:23 $ docker stop --time=1 f82aa5330542a809d685d1d3283028971ec71e7d93dbcb2d91c65728a96853d4 21:09:25 $ docker rm -f f82aa5330542a809d685d1d3283028971ec71e7d93dbcb2d91c65728a96853d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:09:28 + docker inspect -f . ci-base-image-arm64 21:09:28 . [Pipeline] withDockerContainer 21:09:28 prd-ubuntu18.04-docker-arm64-4c-16g-20605 does not seem to be running inside a container 21:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/168 -v /w/workspace/app-functions-sdk-go/168:/w/workspace/app-functions-sdk-go/168:rw,z -v /w/workspace/app-functions-sdk-go/168@tmp:/w/workspace/app-functions-sdk-go/168@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 21:09:30 $ docker top cfd379a918adb88f5c569761981219e4d1845a05023cf76ffc47c06b165a6c23 -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:31 + make test 21:09:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:09:31 a35cf1a2eb13: Pull complete 21:09:31 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 21:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 21:09:31 ---> a62c8e92a672 21:09:31 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 21:09:31 20.10.0: Pulling from library/docker 21:09:31 05e7bc50f07f: Pulling fs layer 21:09:31 6db28d0fdbf6: Pulling fs layer 21:09:31 292df0bc6bf3: Pulling fs layer 21:09:31 2e060f4bd70b: Pulling fs layer 21:09:31 80e8d568a223: Pulling fs layer 21:09:31 8dc6ef1a942a: Pulling fs layer 21:09:31 2312dd95470a: Pulling fs layer 21:09:31 2e060f4bd70b: Waiting 21:09:31 80e8d568a223: Waiting 21:09:31 2312dd95470a: Waiting 21:09:31 8dc6ef1a942a: Waiting 21:09:31 292df0bc6bf3: Verifying Checksum 21:09:31 292df0bc6bf3: Download complete 21:09:31 6db28d0fdbf6: Verifying Checksum 21:09:31 6db28d0fdbf6: Download complete 21:09:31 05e7bc50f07f: Download complete 21:09:31 80e8d568a223: Download complete 21:09:31 8dc6ef1a942a: Verifying Checksum 21:09:31 8dc6ef1a942a: Download complete 21:09:31 2312dd95470a: Verifying Checksum 21:09:31 2312dd95470a: Download complete 21:09:31 05e7bc50f07f: Pull complete 21:09:31 6db28d0fdbf6: Pull complete 21:09:31 292df0bc6bf3: Pull complete 21:09:31 2e060f4bd70b: Verifying Checksum 21:09:31 2e060f4bd70b: Download complete 21:09:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 21:09:34 2e060f4bd70b: Pull complete 21:09:34 80e8d568a223: Pull complete 21:09:34 8dc6ef1a942a: Pull complete 21:09:35 2312dd95470a: Pull complete 21:09:35 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 21:09:35 Status: Downloaded newer image for docker:20.10.0 21:09:36 ---> 1d6fb7aca3cb 21:09:36 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 21:09:36 ---> Running in 5e3fa7acc012 21:09:36 Removing intermediate container 5e3fa7acc012 21:09:36 ---> f3152398302b 21:09:36 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 21:09:36 ---> Running in 0b5810276203 21:09:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 21:09:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 21:09:42 (1/5) Installing libsodium (1.0.18-r0) 21:09:42 (2/5) Installing libzmq (4.3.3-r0) 21:09:42 (3/5) Installing pkgconf (1.7.2-r0) 21:09:42 (4/5) Installing libsodium-dev (1.0.18-r0) 21:09:42 (5/5) Installing zeromq-dev (4.3.3-r0) 21:09:42 Executing busybox-1.31.1-r19.trigger 21:09:42 OK: 167 MiB in 44 packages 21:09:43 Removing intermediate container 0b5810276203 21:09:43 ---> 31f6fd734aab 21:09:43 Step 6/8 : WORKDIR /build 21:09:43 ---> Running in ce9595782939 21:09:43 Removing intermediate container ce9595782939 21:09:43 ---> 6d18484b7c55 21:09:43 Step 7/8 : COPY go.mod . 21:09:44 ---> 4ca809e77ce0 21:09:44 Step 8/8 : RUN go mod download 21:09:44 ---> Running in 018c3ac153fe 21:09:55 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.029s coverage: 81.0% of statements 21:10:10 Removing intermediate container 018c3ac153fe 21:10:10 ---> 74fd7bb2e00d 21:10:10 Successfully built 74fd7bb2e00d 21:10:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:10:11 + docker inspect -f . ci-base-image-x86_64 21:10:11 . [Pipeline] withDockerContainer 21:10:11 prd-centos7-docker-4c-2g-20610 does not seem to be running inside a container 21:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/168 -v /w/workspace/app-functions-sdk-go/168:/w/workspace/app-functions-sdk-go/168:rw,z -v /w/workspace/app-functions-sdk-go/168@tmp:/w/workspace/app-functions-sdk-go/168@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 21:10:12 $ docker top a821e1d6ed76168adeead6dda6ff149a046555e8691cb6638abe3e5670359589 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:12 + go version 21:10:12 go version go1.15.5 linux/amd64 [Pipeline] } 21:10:12 $ docker stop --time=1 a821e1d6ed76168adeead6dda6ff149a046555e8691cb6638abe3e5670359589 21:10:14 $ docker rm -f a821e1d6ed76168adeead6dda6ff149a046555e8691cb6638abe3e5670359589 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:10:14 + docker inspect -f . ci-base-image-x86_64 21:10:14 . [Pipeline] withDockerContainer 21:10:15 prd-centos7-docker-4c-2g-20610 does not seem to be running inside a container 21:10:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/168 -v /w/workspace/app-functions-sdk-go/168:/w/workspace/app-functions-sdk-go/168:rw,z -v /w/workspace/app-functions-sdk-go/168@tmp:/w/workspace/app-functions-sdk-go/168@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 21:10:15 $ docker top 459603363bd2502b87c8931a27da00b0b3ea123c87304a7def32eec10b74c487 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:16 + make test 21:10:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:10:17 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 21:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.061s coverage: 48.6% of statements 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.075s coverage: 61.5% of statements 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.036s coverage: 67.7% of statements 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.038s coverage: 97.0% of statements 21:10:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:10:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.025s coverage: 8.8% of statements 21:10:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.272s coverage: 75.4% of statements 21:10:25 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:10:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.063s coverage: 87.9% of statements 21:10:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.036s coverage: 80.5% of statements 21:10:25 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.021s coverage: 71.7% of statements 21:10:27 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.025s coverage: 81.0% of statements 21:10:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.032s coverage: 48.6% of statements 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 21:10:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.026s coverage: 61.5% of statements 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 21:10:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.027s coverage: 67.7% of statements 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 21:10:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.020s coverage: 97.0% of statements 21:10:34 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 21:10:34 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.011s coverage: 8.8% of statements 21:10:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.228s coverage: 75.4% of statements 21:10:42 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 21:10:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.031s coverage: 87.9% of statements 21:10:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.019s coverage: 80.5% of statements 21:10:42 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.008s coverage: 71.7% of statements 21:10:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.059s coverage: 81.4% of statements 21:10:47 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.011s coverage: 94.4% of statements 21:10:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:10:57 gofmt -l . 21:10:57 [ "`gofmt -l .`" = "" ] 21:10:57 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:10:57 $ docker stop --time=1 cfd379a918adb88f5c569761981219e4d1845a05023cf76ffc47c06b165a6c23 21:10:59 $ docker rm -f cfd379a918adb88f5c569761981219e4d1845a05023cf76ffc47c06b165a6c23 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:01 Stashed 1 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] } 21:11:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.039s coverage: 81.4% of statements 21:11:04 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 21:11:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:11:04 gofmt -l . 21:11:04 [ "`gofmt -l .`" = "" ] 21:11:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 21:11:05 $ docker stop --time=1 459603363bd2502b87c8931a27da00b0b3ea123c87304a7def32eec10b74c487 21:11:07 $ docker rm -f 459603363bd2502b87c8931a27da00b0b3ea123c87304a7def32eec10b74c487 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:07 Warning: overwriting stash ‘coverage-report’ 21:11:08 Stashed 1 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 21:11:10 provisioning config files... 21:11:10 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6091183664289829222tmp [Pipeline] { [Pipeline] sh 21:11:10 + set +x 21:11:10 + bash -s -- 21:11:10 + curl -s https://codecov.io/bash 21:11:10 21:11:10 _____ _ 21:11:10 / ____| | | 21:11:10 | | ___ __| | ___ ___ _____ __ 21:11:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:11:10 | |___| (_) | (_| | __/ (_| (_) \ V / 21:11:10 \_____\___/ \__,_|\___|\___\___/ \_/ 21:11:10 Bash-20210115-cec3c92 21:11:10 21:11:10 21:11:10 ==> git version 2.24.3 found 21:11:10 ==> 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 21:11:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:11:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:11:10 ==> Jenkins CI detected. 21:11:10 project root: . 21:11:10 --> token set from env 21:11:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:11:10 ==> Running gcov in . (disable via -X gcov) 21:11:10 ==> Python coveragepy not found 21:11:10 ==> Searching for coverage reports in: 21:11:10 + . 21:11:11 -> Found 1 reports 21:11:11 ==> Detecting git/mercurial file structure 21:11:11 ==> Reading reports 21:11:11 + ./coverage.out bytes=74114 21:11:11 ==> Appending adjustments 21:11:11 https://docs.codecov.io/docs/fixing-reports 21:11:11 + Found adjustments 21:11:11 ==> Gzipping contents 21:11:11 16K /tmp/codecov.2CWZFw.gz 21:11:11 ==> Uploading reports 21:11:11 url: https://codecov.io 21:11:11 query: branch=master&commit=29611b3d058cda2078929c84c413ab145d4a6c62&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F168%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:11 -> Pinging Codecov 21:11:11 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=29611b3d058cda2078929c84c413ab145d4a6c62&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F168%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:11:12 -> Uploading to 21:11:12 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/3D8B5DFFC46A037C893635FACE044666/29611b3d058cda2078929c84c413ab145d4a6c62/fae900f5-19a2-4644-8383-92e1adb1c17e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T211112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d61515d18d1a29e490b1dab7e41c062e33251c18e1f051fcb8fcfa9a6f5d9b2 21:11:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:12 Dload Upload Total Spent Left Speed 21:11:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12839 0 0 100 12839 0 24534 --:--:-- --:--:-- --:--:-- 24548 21:11:12 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/29611b3d058cda2078929c84c413ab145d4a6c62 [Pipeline] } 21:11:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:11:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:11:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:11:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:14 21:11:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 21:11:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:11:15 188c0c94c7c5: Pulling fs layer 21:11:15 0ef7d3d256c8: Pulling fs layer 21:11:15 de9db76c5a1d: Pulling fs layer 21:11:15 0eba1c9be4d2: Pulling fs layer 21:11:15 0d57e429df01: Pulling fs layer 21:11:15 4e4be7b47b0d: Pulling fs layer 21:11:15 e1f770b5df2f: Pulling fs layer 21:11:15 85a0685a4137: Pulling fs layer 21:11:15 0d57e429df01: Waiting 21:11:15 4e4be7b47b0d: Waiting 21:11:15 e1f770b5df2f: Waiting 21:11:15 85a0685a4137: Waiting 21:11:15 0eba1c9be4d2: Waiting 21:11:15 de9db76c5a1d: Verifying Checksum 21:11:15 de9db76c5a1d: Download complete 21:11:15 0ef7d3d256c8: Verifying Checksum 21:11:15 0ef7d3d256c8: Download complete 21:11:15 0d57e429df01: Download complete 21:11:15 4e4be7b47b0d: Verifying Checksum 21:11:15 4e4be7b47b0d: Download complete 21:11:15 188c0c94c7c5: Verifying Checksum 21:11:16 188c0c94c7c5: Pull complete 21:11:16 0ef7d3d256c8: Pull complete 21:11:16 de9db76c5a1d: Pull complete 21:11:17 e1f770b5df2f: Verifying Checksum 21:11:17 e1f770b5df2f: Download complete 21:11:21 0eba1c9be4d2: Verifying Checksum 21:11:21 0eba1c9be4d2: Download complete 21:11:21 85a0685a4137: Verifying Checksum 21:11:21 85a0685a4137: Download complete 21:11:31 0eba1c9be4d2: Pull complete 21:11:31 0d57e429df01: Pull complete 21:11:31 4e4be7b47b0d: Pull complete 21:11:33 e1f770b5df2f: Pull complete 21:11:45 85a0685a4137: Pull complete 21:11:45 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:11:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 21:11:46 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:11:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:11:48 $ docker top 98cff42140cd1d483f5714b5c554c77fd704e77af19a3450c02aa7fa47656fb1 -eo pid,comm [Pipeline] { [Pipeline] echo 21:11:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:11:48 + set -o pipefail 21:11:48 + snyk monitor '--org=edgex-jenkins' 21:12:01 21:12:01 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 21:12:01 21:12:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/e275472b-b35f-401f-acf8-935fcc12fb72 21:12:01 21:12:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:12:01 21:12:01 [Pipeline] } 21:12:01 $ docker stop --time=1 98cff42140cd1d483f5714b5c554c77fd704e77af19a3450c02aa7fa47656fb1 21:12:04 $ docker rm -f 98cff42140cd1d483f5714b5c554c77fd704e77af19a3450c02aa7fa47656fb1 [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 21:12:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:06 provisioning config files... 21:12:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6811268145018455717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:07 --> edgex-publish-swagger.sh 21:12:07 === Publish openapi/v2 API === 21:12:07 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:12:07 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 21:12:07 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:07 Dload Upload Total Spent Left Speed 21:12:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13026 0 0 100 13026 0 10988 0:00:01 0:00:01 --:--:-- 11001 100 13026 0 0 100 13026 0 10986 0:00:01 0:00:01 --:--:-- 11001 21:12:08 21:12:08 [Pipeline] } 21:12:08 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 21:12:09 + git log --format=format:%s -1 29611b3d058cda2078929c84c413ab145d4a6c62 [Pipeline] isUnix [Pipeline] sh 21:12:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:12:09 . [Pipeline] withDockerContainer 21:12:10 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:12:10 $ 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 21:12:11 $ docker top 4ef1a8be401ddc807d93003f401e1c343086f45dcbf6292e960b19bfb010a7d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:12:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:12:12 [ssh-agent] Looking for ssh-agent implementation... 21:12:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:12:12 $ docker exec 4ef1a8be401ddc807d93003f401e1c343086f45dcbf6292e960b19bfb010a7d2 ssh-agent 21:12:12 SSH_AUTH_SOCK=/tmp/ssh-Mt0EuCeiynsz/agent.11 21:12:12 SSH_AGENT_PID=16 21:12:12 Running ssh-add (command line suppressed) 21:12:12 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4795201679695234474.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4795201679695234474.key) 21:12:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:12:13 + git semver tag 21:12:13 # -> Open(): unable to determine branch for HEAD 21:12:13 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:12:13 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:12:13 # $SEMVER_REMOTE_NAME = origin 21:12:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:12:13 # $SEMVER_USER_NAME = edgex-jenkins 21:12:13 # $SEMVER_BRANCH = master 21:12:13 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 21:12:13 # 29611b3d058cda2078929c84c413ab145d4a6c62 HEAD 21:12:13 # -> Force: false 21:12:13 # 503c84d9416e880e3c59d774b6deb9b503dd537b refs/tags/v2.0.0-dev.1 [Pipeline] } 21:12:13 $ docker exec --env ******** --env ******** 4ef1a8be401ddc807d93003f401e1c343086f45dcbf6292e960b19bfb010a7d2 ssh-agent -k 21:12:13 unset SSH_AUTH_SOCK; 21:12:13 unset SSH_AGENT_PID; 21:12:13 echo Agent pid 16 killed; 21:12:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:12:14 + git semver [Pipeline] } 21:12:14 $ docker stop --time=1 4ef1a8be401ddc807d93003f401e1c343086f45dcbf6292e960b19bfb010a7d2 21:12:16 $ docker rm -f 4ef1a8be401ddc807d93003f401e1c343086f45dcbf6292e960b19bfb010a7d2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:12:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:17 21:12:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:12:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:18 0.23.1-centos7: Pulling from edgex-lftools 21:12:18 ab5ef0e58194: Pulling fs layer 21:12:18 9712f1f96733: Pulling fs layer 21:12:18 63f879dbbcfc: Pulling fs layer 21:12:18 0d9ebad4ef96: Pulling fs layer 21:12:18 e9a5061849ea: Pulling fs layer 21:12:18 d747dcd14b5f: Pulling fs layer 21:12:18 2de7ff778b66: Pulling fs layer 21:12:18 0d9ebad4ef96: Waiting 21:12:18 e9a5061849ea: Waiting 21:12:18 d747dcd14b5f: Waiting 21:12:18 2de7ff778b66: Waiting 21:12:18 9712f1f96733: Verifying Checksum 21:12:18 9712f1f96733: Download complete 21:12:22 63f879dbbcfc: Verifying Checksum 21:12:22 63f879dbbcfc: Download complete 21:12:23 e9a5061849ea: Verifying Checksum 21:12:23 e9a5061849ea: Download complete 21:12:23 d747dcd14b5f: Verifying Checksum 21:12:23 d747dcd14b5f: Download complete 21:12:24 0d9ebad4ef96: Verifying Checksum 21:12:24 0d9ebad4ef96: Download complete 21:12:25 2de7ff778b66: Verifying Checksum 21:12:25 2de7ff778b66: Download complete 21:12:26 ab5ef0e58194: Verifying Checksum 21:12:26 ab5ef0e58194: Download complete 21:12:36 ab5ef0e58194: Pull complete 21:12:36 9712f1f96733: Pull complete 21:12:38 63f879dbbcfc: Pull complete 21:12:51 0d9ebad4ef96: Pull complete 21:12:54 e9a5061849ea: Pull complete 21:12:55 d747dcd14b5f: Pull complete 21:12:59 2de7ff778b66: Pull complete 21:12:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:12:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:13:00 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:13:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:13:04 $ docker top 459fb8f170afab2294ccda98cd107979de4fe3a4c3d9f77174409be4511e4489 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:13:05 provisioning config files... 21:13:05 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config9164120891628162140tmp 21:13:05 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7545928230204016355tmp 21:13:05 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config2859047979192712771tmp [Pipeline] { [Pipeline] echo 21:13:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:13:05 ---> sigul-configuration.sh 21:13:05 gpg: directory `/root/.gnupg' created 21:13:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:13:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:13:05 gpg: keyring `/root/.gnupg/secring.gpg' created 21:13:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:13:05 gpg: CAST5 encrypted data 21:13:05 gpg: encrypted with 1 passphrase 21:13:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:13:06 + mkdir /home/jenkins 21:13:06 + mkdir /home/jenkins/sigul [Pipeline] sh 21:13:07 + 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 21:13:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:13:07 ---> sigul-install.sh 21:13:16 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 21:13:16 + git tag --list 21:13:16 v0.1.0 21:13:16 v0.1.1 21:13:16 v1.0.0 21:13:16 v1.1.0 21:13:16 v1.2.0 21:13:16 v1.2.1-dev.1 21:13:16 v1.2.1-dev.10 21:13:16 v1.2.1-dev.11 21:13:16 v1.2.1-dev.12 21:13:16 v1.2.1-dev.13 21:13:16 v1.2.1-dev.14 21:13:16 v1.2.1-dev.15 21:13:16 v1.2.1-dev.16 21:13:16 v1.2.1-dev.17 21:13:16 v1.2.1-dev.18 21:13:16 v1.2.1-dev.19 21:13:16 v1.2.1-dev.2 21:13:16 v1.2.1-dev.20 21:13:16 v1.2.1-dev.21 21:13:16 v1.2.1-dev.22 21:13:16 v1.2.1-dev.23 21:13:16 v1.2.1-dev.24 21:13:16 v1.2.1-dev.25 21:13:16 v1.2.1-dev.26 21:13:16 v1.2.1-dev.27 21:13:16 v1.2.1-dev.28 21:13:16 v1.2.1-dev.29 21:13:16 v1.2.1-dev.3 21:13:16 v1.2.1-dev.30 21:13:16 v1.2.1-dev.31 21:13:16 v1.2.1-dev.32 21:13:16 v1.2.1-dev.33 21:13:16 v1.2.1-dev.34 21:13:16 v1.2.1-dev.35 21:13:16 v1.2.1-dev.36 21:13:16 v1.2.1-dev.37 21:13:16 v1.2.1-dev.38 21:13:16 v1.2.1-dev.39 21:13:16 v1.2.1-dev.4 21:13:16 v1.2.1-dev.40 21:13:16 v1.2.1-dev.41 21:13:16 v1.2.1-dev.42 21:13:16 v1.2.1-dev.43 21:13:16 v1.2.1-dev.44 21:13:16 v1.2.1-dev.45 21:13:16 v1.2.1-dev.46 21:13:16 v1.2.1-dev.47 21:13:16 v1.2.1-dev.48 21:13:16 v1.2.1-dev.49 21:13:16 v1.2.1-dev.5 21:13:16 v1.2.1-dev.50 21:13:16 v1.2.1-dev.51 21:13:16 v1.2.1-dev.52 21:13:16 v1.2.1-dev.53 21:13:16 v1.2.1-dev.54 21:13:16 v1.2.1-dev.55 21:13:16 v1.2.1-dev.56 21:13:16 v1.2.1-dev.57 21:13:16 v1.2.1-dev.58 21:13:16 v1.2.1-dev.6 21:13:16 v1.2.1-dev.7 21:13:16 v1.2.1-dev.8 21:13:16 v1.2.1-dev.9 21:13:16 v1.3.0 21:13:16 v1.3.1-dev.1 21:13:16 v1.3.1-dev.10 21:13:16 v1.3.1-dev.11 21:13:16 v1.3.1-dev.12 21:13:16 v1.3.1-dev.13 21:13:16 v1.3.1-dev.14 21:13:16 v1.3.1-dev.15 21:13:16 v1.3.1-dev.16 21:13:16 v1.3.1-dev.17 21:13:16 v1.3.1-dev.18 21:13:16 v1.3.1-dev.2 21:13:16 v1.3.1-dev.3 21:13:16 v1.3.1-dev.4 21:13:16 v1.3.1-dev.5 21:13:16 v1.3.1-dev.6 21:13:16 v1.3.1-dev.7 21:13:16 v1.3.1-dev.8 21:13:16 v1.3.1-dev.9 21:13:16 v2.0.0-dev.1 [Pipeline] sh 21:13:17 + lftools sign git-tag v2.0.0-dev.1 21:13:19 Signing Git tag with Sigul... 21:13:19 Signing v2.0.0-dev.1 [Pipeline] echo 21:13:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:13:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:13:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:13:21 $ docker stop --time=1 459fb8f170afab2294ccda98cd107979de4fe3a4c3d9f77174409be4511e4489 21:13:23 $ docker rm -f 459fb8f170afab2294ccda98cd107979de4fe3a4c3d9f77174409be4511e4489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 21:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:13:24 . [Pipeline] withDockerContainer 21:13:24 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:13:24 $ 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 21:13:26 $ docker top ba044672a89912319e265fe20f4dbde0f896b234574675ed78b2cba761cf9dfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:27 [ssh-agent] Looking for ssh-agent implementation... 21:13:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:27 $ docker exec ba044672a89912319e265fe20f4dbde0f896b234574675ed78b2cba761cf9dfd ssh-agent 21:13:28 SSH_AUTH_SOCK=/tmp/ssh-2zboOqGDLnQe/agent.11 21:13:28 SSH_AGENT_PID=16 21:13:28 Running ssh-add (command line suppressed) 21:13:28 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5764898044621160157.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5764898044621160157.key) 21:13:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:29 + git semver bump pre 21:13:29 # -> Open(): unable to determine branch for HEAD 21:13:29 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:13:29 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:13:29 # $SEMVER_REMOTE_NAME = origin 21:13:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:13:29 # $SEMVER_USER_NAME = edgex-jenkins 21:13:29 # $SEMVER_BRANCH = master 21:13:29 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 21:13:29 2.0.0-dev.2 [Pipeline] } 21:13:29 $ docker exec --env ******** --env ******** ba044672a89912319e265fe20f4dbde0f896b234574675ed78b2cba761cf9dfd ssh-agent -k 21:13:30 unset SSH_AUTH_SOCK; 21:13:30 unset SSH_AGENT_PID; 21:13:30 echo Agent pid 16 killed; 21:13:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:30 + git semver [Pipeline] } 21:13:30 $ docker stop --time=1 ba044672a89912319e265fe20f4dbde0f896b234574675ed78b2cba761cf9dfd 21:13:32 $ docker rm -f ba044672a89912319e265fe20f4dbde0f896b234574675ed78b2cba761cf9dfd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:13:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:13:33 . [Pipeline] withDockerContainer 21:13:33 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:13:34 $ 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 21:13:36 $ docker top 0a833fe3a99a0b3c9d937693c4e7bf6569b199239a04b1d2b091f7eff83a1b37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:36 [ssh-agent] Looking for ssh-agent implementation... 21:13:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:37 $ docker exec 0a833fe3a99a0b3c9d937693c4e7bf6569b199239a04b1d2b091f7eff83a1b37 ssh-agent 21:13:37 SSH_AUTH_SOCK=/tmp/ssh-P4rDHXKvilWX/agent.12 21:13:37 SSH_AGENT_PID=17 21:13:37 Running ssh-add (command line suppressed) 21:13:37 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4184819034918222651.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4184819034918222651.key) 21:13:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:38 + git semver push 21:13:38 # -> Open(): unable to determine branch for HEAD 21:13:38 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 21:13:38 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 21:13:38 # $SEMVER_REMOTE_NAME = origin 21:13:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:13:38 # $SEMVER_USER_NAME = edgex-jenkins 21:13:38 # $SEMVER_BRANCH = master 21:13:38 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 21:13:47 $ docker exec --env ******** --env ******** 0a833fe3a99a0b3c9d937693c4e7bf6569b199239a04b1d2b091f7eff83a1b37 ssh-agent -k 21:13:47 unset SSH_AUTH_SOCK; 21:13:47 unset SSH_AGENT_PID; 21:13:47 echo Agent pid 17 killed; 21:13:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:47 + git semver [Pipeline] } 21:13:47 $ docker stop --time=1 0a833fe3a99a0b3c9d937693c4e7bf6569b199239a04b1d2b091f7eff83a1b37 21:13:49 $ docker rm -f 0a833fe3a99a0b3c9d937693c4e7bf6569b199239a04b1d2b091f7eff83a1b37 [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 21:13:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:13:52 ---> package-listing.sh 21:13:52 ++ facter osfamily 21:13:52 ++ tr '[:upper:]' '[:lower:]' 21:13:52 + OS_FAMILY=redhat 21:13:52 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 21:13:52 + START_PACKAGES=/tmp/packages_start.txt 21:13:52 + END_PACKAGES=/tmp/packages_end.txt 21:13:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:13:52 + PACKAGES=/tmp/packages_start.txt 21:13:52 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 21:13:52 + PACKAGES=/tmp/packages_end.txt 21:13:52 + case "${OS_FAMILY}" in 21:13:52 + rpm -qa 21:13:52 + sort 21:13:58 + '[' -f /tmp/packages_start.txt ']' 21:13:58 + '[' -f /tmp/packages_end.txt ']' 21:13:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:13:58 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 21:13:58 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 21:13:58 + 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 21:13:58 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 21:13:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:14:00 21:14:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 21:14:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:14:00 alpine: Pulling from edgex-lftools-log-publisher 21:14:00 df20fa9351a1: Pulling fs layer 21:14:00 36b3adc4ff6f: Pulling fs layer 21:14:00 8ad3a11d3b57: Pulling fs layer 21:14:00 46f8f816bc3b: Pulling fs layer 21:14:00 93b61091891f: Pulling fs layer 21:14:00 93b9cdb0e59b: Pulling fs layer 21:14:00 5e14af77c1be: Pulling fs layer 21:14:00 01666e4c0597: Pulling fs layer 21:14:00 aa168da1d23b: Pulling fs layer 21:14:00 46f8f816bc3b: Waiting 21:14:00 aa168da1d23b: Waiting 21:14:00 5e14af77c1be: Waiting 21:14:00 01666e4c0597: Waiting 21:14:00 93b9cdb0e59b: Waiting 21:14:00 93b61091891f: Waiting 21:14:00 36b3adc4ff6f: Verifying Checksum 21:14:00 36b3adc4ff6f: Download complete 21:14:00 46f8f816bc3b: Verifying Checksum 21:14:00 df20fa9351a1: Verifying Checksum 21:14:00 df20fa9351a1: Download complete 21:14:00 93b9cdb0e59b: Verifying Checksum 21:14:00 93b9cdb0e59b: Download complete 21:14:00 93b61091891f: Verifying Checksum 21:14:00 93b61091891f: Download complete 21:14:00 5e14af77c1be: Verifying Checksum 21:14:00 5e14af77c1be: Download complete 21:14:00 01666e4c0597: Verifying Checksum 21:14:00 01666e4c0597: Download complete 21:14:01 8ad3a11d3b57: Verifying Checksum 21:14:01 8ad3a11d3b57: Download complete 21:14:01 df20fa9351a1: Pull complete 21:14:01 36b3adc4ff6f: Pull complete 21:14:04 8ad3a11d3b57: Pull complete 21:14:04 46f8f816bc3b: Pull complete 21:14:05 93b61091891f: Pull complete 21:14:05 93b9cdb0e59b: Pull complete 21:14:06 5e14af77c1be: Pull complete 21:14:07 01666e4c0597: Pull complete 21:14:07 aa168da1d23b: Verifying Checksum 21:14:07 aa168da1d23b: Download complete 21:14:22 aa168da1d23b: Pull complete 21:14:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 21:14:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 21:14:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 21:14:22 prd-centos7-docker-4c-2g-20599 does not seem to be running inside a container 21:14:23 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ndry_app-functions-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_master -v /w/workspace/ndry_app-functions-sdk-go_master:/w/workspace/ndry_app-functions-sdk-go_master:rw,z -v /w/workspace/ndry_app-functions-sdk-go_master@tmp:/w/workspace/ndry_app-functions-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 21:14:26 $ docker top 3d67d825c01f4cc9e3e36d59eb9390ab438f450f00a1c1b9b56b0a2027fd4ac5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:28 + mkdir -p /var/log/sa [Pipeline] sh 21:14:29 + ls /var/log/sa-host 21:14:29 + sadf -c /var/log/sa-host/sa15 21:14:29 file_magic: OK 21:14:29 HZ: Using current value: 100 21:14:29 file_header: OK 21:14:29 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 21:14:29 Statistics: 21:14:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:14:29 File successfully converted to sysstat format version 12.2.1 21:14:29 + sadf -c /var/log/sa-host/sa23 21:14:29 file_magic: OK 21:14:29 HZ: Using current value: 100 21:14:29 file_header: OK 21:14:29 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 21:14:29 Statistics: 21:14:29 Hnuu...uuuununununu... 21:14:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:29 provisioning config files... 21:14:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8713813885545981871tmp [Pipeline] { [Pipeline] echo 21:14:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:30 ---> create-netrc.sh [Pipeline] } 21:14:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 21:14:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 21:14:31 ---> python-tools-install.sh [Pipeline] echo 21:14:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:31 ---> sudo-logs.sh 21:14:31 Archiving 'sudo' log.. [Pipeline] echo 21:14:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:32 ---> job-cost.sh 21:14:32 lf-activate-venv: SKIPPING 21:14:32 INFO: No Stack... 21:14:33 INFO: Retrieving Pricing Info for: v1-standard-2 21:14:34 INFO: Archiving Costs [Pipeline] echo 21:14:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:34 ---> logs-deploy.sh 21:14:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/168 21:14:34 INFO: archiving workspace using pattern(s): 21:14:37 Archives upload complete. 21:14:37 INFO: archiving logs to Nexus