Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30553 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 f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 Commit message: "refactor: Adjust code for latest go-mod-core contracts changes (#750)" > git rev-list --no-walk 80392469d13108544d30315506c63890ba703a25 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:59:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:59:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:59:56 ========================================================= 15:59:56 EdgeX Global Pipelines Version Info 15:59:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:59:58 ------------------- 15:59:58 stable info: 15:59:58 ------------------- 15:59:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:59:58 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 15:59:58 Message: update stable to v1.0.184 15:59:58 ------------------- 15:59:58 experimental info: 15:59:58 ------------------- 15:59:58 Commited By: **** collab-it+edgex@linuxfoundation.org 15:59:58 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 15:59:58 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 16:00:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 16:00:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 16:00:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] echo 16:00:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f69f495 [Pipeline] echo 16:00:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:00:03 + git log --format=format:%s -1 f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] echo 16:00:03 GIT_COMMIT: f69f49597da150ce93c9eb1ee6e50bc5240f0ee6, Commit Message: refactor: Adjust code for latest go-mod-core contracts changes (#750) [Pipeline] echo 16:00:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:00:04 16:00:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:00:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:00:04 latest: Pulling from edgex-devops/git-semver 16:00:04 31603596830f: Pulling fs layer 16:00:04 2a8b12db71e7: Pulling fs layer 16:00:04 6ca5941a6612: Pulling fs layer 16:00:04 ecc8261a40a4: Pulling fs layer 16:00:04 ecc8261a40a4: Waiting 16:00:04 2a8b12db71e7: Download complete 16:00:05 31603596830f: Verifying Checksum 16:00:05 31603596830f: Download complete 16:00:05 ecc8261a40a4: Verifying Checksum 16:00:05 ecc8261a40a4: Download complete 16:00:05 6ca5941a6612: Verifying Checksum 16:00:05 6ca5941a6612: Download complete 16:00:05 31603596830f: Pull complete 16:00:05 2a8b12db71e7: Pull complete 16:00:06 6ca5941a6612: Pull complete 16:00:06 ecc8261a40a4: Pull complete 16:00:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:00:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:00:07 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:00:07 $ 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 16:00:09 $ docker top fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:00:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:09 [ssh-agent] Looking for ssh-agent implementation... 16:00:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:09 $ docker exec fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent 16:00:09 SSH_AUTH_SOCK=/tmp/ssh-1JLib8sbaBv3/agent.11 16:00:09 SSH_AGENT_PID=16 16:00:09 Running ssh-add (command line suppressed) 16:00:10 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3799723338633321431.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_3799723338633321431.key) 16:00:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:10 + git tag --points-at HEAD [Pipeline] } 16:00:10 $ docker exec --env ******** --env ******** fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent -k 16:00:10 unset SSH_AUTH_SOCK; 16:00:10 unset SSH_AGENT_PID; 16:00:10 echo Agent pid 16 killed; 16:00:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:00:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:00:10 [ssh-agent] Looking for ssh-agent implementation... 16:00:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:00:11 $ docker exec fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent 16:00:11 SSH_AUTH_SOCK=/tmp/ssh-0DLCbZ1DS6Eq/agent.47 16:00:11 SSH_AGENT_PID=52 16:00:11 Running ssh-add (command line suppressed) 16:00:11 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2237653108073934823.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2237653108073934823.key) 16:00:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:00:11 + git semver init 16:00:11 # -> Open(): unable to determine branch for HEAD 16:00:11 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 16:00:11 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 16:00:11 # $SEMVER_REMOTE_NAME = origin 16:00:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:00:11 # $SEMVER_USER_NAME = edgex-jenkins 16:00:11 # $SEMVER_BRANCH = master 16:00:11 # $SEMVER_TEMP = /tmp/semver-272393660 16:00:11 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:00:15 # '/tmp/semver-272393660' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 16:00:15 # -> Force: false 16:00:15 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 16:00:15 $ docker exec --env ******** --env ******** fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b ssh-agent -k 16:00:15 unset SSH_AUTH_SOCK; 16:00:15 unset SSH_AGENT_PID; 16:00:15 echo Agent pid 52 killed; 16:00:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:00:15 + git semver [Pipeline] } 16:00:15 $ docker stop --time=1 fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b 16:00:17 $ docker rm -f fbd0112ec3ab534b082df0cba0ea002a31cf9577d908fd3b1a40c3bf43c5a81b [Pipeline] // withDockerContainer [Pipeline] sh 16:00:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:00:18 Stashed 1 file(s) [Pipeline] echo 16:00:18 [edgeXSemver]: initialized semver on version 2.0.0-dev.30 [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 16:00:34 Still waiting to schedule task 16:00:34 ‘prd-centos7-docker-4c-2g-30554’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’ 16:00:34 Still waiting to schedule task 16:00:34 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 16:02:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30555 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 16:02:12 Running in /w/workspace/app-functions-sdk-go/197 [Pipeline] { [Pipeline] checkout 16:02:17 using credential edgex-jenkins-ssh 16:02:17 Cloning the remote Git repository 16:02:17 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:02:17 > git init /w/workspace/app-functions-sdk-go/197 # timeout=10 16:02:17 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:02:17 > git --version # timeout=10 16:02:17 > git --version # 'git version 2.17.1' 16:02:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:02:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:02:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:02:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:02:21 using GIT_SSH to set credentials SSH Credentials for GitHub 16:02:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:02:21 Checking out Revision f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 (master) 16:02:21 > git config core.sparsecheckout # timeout=10 16:02:21 > git checkout -f f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 16:02:25 Commit message: "refactor: Adjust code for latest go-mod-core contracts changes (#750)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:27 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:02:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:02:28 + true 16:02:28 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 16:02:30 ========================================================= 16:02:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:02:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:02:31 + 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 . 16:02:32 Sending build context to Docker daemon 19.37MB 16:02:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:02:32 Step 2/8 : FROM ${BASE} 16:02:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:02:32 5f621e34cdf4: Pulling fs layer 16:02:32 a4357932f1b6: Pulling fs layer 16:02:32 18c013af1878: Pulling fs layer 16:02:32 00ac8860ef70: Pulling fs layer 16:02:32 63d7cb157983: Pulling fs layer 16:02:32 b116817d02f9: Pulling fs layer 16:02:32 745a02a5169b: Pulling fs layer 16:02:32 63d7cb157983: Waiting 16:02:32 b116817d02f9: Waiting 16:02:32 745a02a5169b: Waiting 16:02:32 00ac8860ef70: Waiting 16:02:32 18c013af1878: Verifying Checksum 16:02:32 18c013af1878: Download complete 16:02:32 a4357932f1b6: Verifying Checksum 16:02:32 a4357932f1b6: Download complete 16:02:32 63d7cb157983: Verifying Checksum 16:02:32 63d7cb157983: Download complete 16:02:32 b116817d02f9: Verifying Checksum 16:02:32 b116817d02f9: Download complete 16:02:32 5f621e34cdf4: Verifying Checksum 16:02:32 5f621e34cdf4: Download complete 16:02:33 5f621e34cdf4: Pull complete 16:02:33 a4357932f1b6: Pull complete 16:02:34 18c013af1878: Pull complete 16:02:34 745a02a5169b: Verifying Checksum 16:02:34 745a02a5169b: Download complete 16:02:36 00ac8860ef70: Verifying Checksum 16:02:36 00ac8860ef70: Download complete 16:02:48 00ac8860ef70: Pull complete 16:02:48 63d7cb157983: Pull complete 16:02:48 b116817d02f9: Pull complete 16:02:51 745a02a5169b: Pull complete 16:02:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:02:51 ---> b7e6874047d6 16:02:51 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:02:51 20.10.0: Pulling from library/docker 16:02:51 a3cc7d3b244e: Pulling fs layer 16:02:51 02a3295e0d61: Pulling fs layer 16:02:51 0f4f2e6d8100: Pulling fs layer 16:02:51 330b718f631f: Pulling fs layer 16:02:51 a93816041522: Pulling fs layer 16:02:51 bdb6da89ff94: Pulling fs layer 16:02:51 2a70c0c122f4: Pulling fs layer 16:02:51 a93816041522: Waiting 16:02:51 bdb6da89ff94: Waiting 16:02:51 2a70c0c122f4: Waiting 16:02:51 330b718f631f: Waiting 16:02:51 0f4f2e6d8100: Download complete 16:02:51 02a3295e0d61: Download complete 16:02:51 a93816041522: Verifying Checksum 16:02:51 a93816041522: Download complete 16:02:51 bdb6da89ff94: Download complete 16:02:51 a3cc7d3b244e: Verifying Checksum 16:02:51 a3cc7d3b244e: Download complete 16:02:51 2a70c0c122f4: Verifying Checksum 16:02:51 2a70c0c122f4: Download complete 16:02:51 a3cc7d3b244e: Pull complete 16:02:52 02a3295e0d61: Pull complete 16:02:52 330b718f631f: Verifying Checksum 16:02:52 330b718f631f: Download complete 16:02:53 0f4f2e6d8100: Pull complete 16:02:57 330b718f631f: Pull complete 16:02:57 a93816041522: Pull complete 16:02:57 bdb6da89ff94: Pull complete 16:02:58 2a70c0c122f4: Pull complete 16:02:58 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:02:58 Status: Downloaded newer image for docker:20.10.0 16:03:05 ---> 51538a879125 16:03:05 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:03:05 ---> Running in fc92ea89a5c5 16:03:05 Removing intermediate container fc92ea89a5c5 16:03:05 ---> a860e01d0e8c 16:03:05 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:03:05 ---> Running in 42ee08b567a9 16:03:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:03:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:03:08 (1/5) Installing libsodium (1.0.18-r0) 16:03:08 (2/5) Installing libzmq (4.3.3-r0) 16:03:08 (3/5) Installing pkgconf (1.7.2-r0) 16:03:08 (4/5) Installing libsodium-dev (1.0.18-r0) 16:03:08 (5/5) Installing zeromq-dev (4.3.3-r0) 16:03:08 Executing busybox-1.31.1-r19.trigger 16:03:08 OK: 144 MiB in 44 packages 16:03:10 Removing intermediate container 42ee08b567a9 16:03:10 ---> 1c0cd2a4e85f 16:03:10 Step 6/8 : WORKDIR /build 16:03:10 ---> Running in 88fd5647dee8 16:03:10 Removing intermediate container 88fd5647dee8 16:03:10 ---> 63fcd1172f13 16:03:10 Step 7/8 : COPY go.mod . 16:03:11 ---> db37babc5804 16:03:11 Step 8/8 : RUN go mod download 16:03:11 ---> Running in bb9c83d90ea3 16:03:17 Running on prd-centos7-docker-4c-2g-30558 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 16:03:17 Running in /w/workspace/app-functions-sdk-go/197 [Pipeline] { [Pipeline] checkout 16:03:25 using credential edgex-jenkins-ssh 16:03:25 Cloning the remote Git repository 16:03:25 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:03:25 > git init /w/workspace/app-functions-sdk-go/197 # timeout=10 16:03:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:03:25 > git --version # timeout=10 16:03:25 > git --version # 'git version 2.24.3' 16:03:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:03:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:03:29 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:03:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:03:30 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:03:30 Checking out Revision f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 (master) 16:03:30 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:03:30 using GIT_SSH to set credentials SSH Credentials for GitHub 16:03:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 16:03:30 > git config core.sparsecheckout # timeout=10 16:03:30 > git checkout -f f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 # timeout=10 16:03:35 Commit message: "refactor: Adjust code for latest go-mod-core contracts changes (#750)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:03:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:03:38 + sudo service docker restart 16:03:38 + true 16:03:38 Redirecting to /bin/systemctl restart docker.service 16:03:38 Removing intermediate container bb9c83d90ea3 16:03:38 ---> 1d969d154d2b 16:03:38 Successfully built 1d969d154d2b 16:03:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:03:38 + docker inspect -f . ci-base-image-arm64 16:03:38 . [Pipeline] withDockerContainer 16:03:39 prd-ubuntu18.04-docker-arm64-4c-16g-30555 does not seem to be running inside a container 16:03:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:03:40 $ docker top 63f3ca1a57989ccaa6317a240fe28722dd165361a58ea907cdc159ce72dc19cb -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] echo 16:03:41 ========================================================= 16:03:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:03:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:03:41 + go version 16:03:41 go version go1.15.5 linux/arm64 [Pipeline] } 16:03:41 $ docker stop --time=1 63f3ca1a57989ccaa6317a240fe28722dd165361a58ea907cdc159ce72dc19cb 16:03:42 + 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 . 16:03:43 Sending build context to Docker daemon 19.37MB 16:03:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:03:43 Step 2/8 : FROM ${BASE} 16:03:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:03:43 188c0c94c7c5: Pulling fs layer 16:03:43 0ef7d3d256c8: Pulling fs layer 16:03:43 de9db76c5a1d: Pulling fs layer 16:03:43 bca2f99d35d6: Pulling fs layer 16:03:43 93359f2a8cfa: Pulling fs layer 16:03:43 7c6f9722023f: Pulling fs layer 16:03:43 a35cf1a2eb13: Pulling fs layer 16:03:43 93359f2a8cfa: Waiting 16:03:43 7c6f9722023f: Waiting 16:03:43 a35cf1a2eb13: Waiting 16:03:43 bca2f99d35d6: Waiting 16:03:43 de9db76c5a1d: Download complete 16:03:43 0ef7d3d256c8: Verifying Checksum 16:03:43 0ef7d3d256c8: Download complete 16:03:43 93359f2a8cfa: Verifying Checksum 16:03:43 93359f2a8cfa: Download complete 16:03:43 7c6f9722023f: Download complete 16:03:43 188c0c94c7c5: Verifying Checksum 16:03:43 188c0c94c7c5: Download complete 16:03:43 $ docker rm -f 63f3ca1a57989ccaa6317a240fe28722dd165361a58ea907cdc159ce72dc19cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 16:03:44 188c0c94c7c5: Pull complete [Pipeline] isUnix [Pipeline] sh 16:03:44 0ef7d3d256c8: Pull complete 16:03:44 + docker inspect -f . ci-base-image-arm64 16:03:44 . [Pipeline] withDockerContainer 16:03:44 de9db76c5a1d: Pull complete 16:03:45 prd-ubuntu18.04-docker-arm64-4c-16g-30555 does not seem to be running inside a container 16:03:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:03:46 $ docker top 66eaf5b1bac073b46da8d85ff6e7f041f16f18650c3ed1eb0b690009d6df3a1b -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:47 a35cf1a2eb13: Verifying Checksum 16:03:47 a35cf1a2eb13: Download complete 16:03:47 + make test 16:03:47 make -C ./app-service-template build 16:03:47 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:03:47 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 16:03:48 bca2f99d35d6: Verifying Checksum 16:03:48 bca2f99d35d6: Download complete 16:04:01 bca2f99d35d6: Pull complete 16:04:01 93359f2a8cfa: Pull complete 16:04:01 7c6f9722023f: Pull complete 16:04:09 a35cf1a2eb13: Pull complete 16:04:09 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:04:09 ---> a62c8e92a672 16:04:09 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:04:09 20.10.0: Pulling from library/docker 16:04:09 05e7bc50f07f: Pulling fs layer 16:04:09 6db28d0fdbf6: Pulling fs layer 16:04:09 292df0bc6bf3: Pulling fs layer 16:04:09 2e060f4bd70b: Pulling fs layer 16:04:09 80e8d568a223: Pulling fs layer 16:04:09 8dc6ef1a942a: Pulling fs layer 16:04:09 2312dd95470a: Pulling fs layer 16:04:09 2e060f4bd70b: Waiting 16:04:09 80e8d568a223: Waiting 16:04:09 8dc6ef1a942a: Waiting 16:04:09 2312dd95470a: Waiting 16:04:09 292df0bc6bf3: Verifying Checksum 16:04:09 292df0bc6bf3: Download complete 16:04:09 6db28d0fdbf6: Verifying Checksum 16:04:09 6db28d0fdbf6: Download complete 16:04:09 80e8d568a223: Verifying Checksum 16:04:09 80e8d568a223: Download complete 16:04:09 8dc6ef1a942a: Verifying Checksum 16:04:09 8dc6ef1a942a: Download complete 16:04:09 05e7bc50f07f: Verifying Checksum 16:04:09 05e7bc50f07f: Download complete 16:04:09 2312dd95470a: Verifying Checksum 16:04:09 2312dd95470a: Download complete 16:04:10 05e7bc50f07f: Pull complete 16:04:10 6db28d0fdbf6: Pull complete 16:04:11 292df0bc6bf3: Pull complete 16:04:11 2e060f4bd70b: Verifying Checksum 16:04:11 2e060f4bd70b: Download complete 16:04:18 2e060f4bd70b: Pull complete 16:04:18 80e8d568a223: Pull complete 16:04:18 8dc6ef1a942a: Pull complete 16:04:18 2312dd95470a: Pull complete 16:04:18 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:04:18 Status: Downloaded newer image for docker:20.10.0 16:04:21 ---> 14e8e1ae1973 16:04:21 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:04:21 ---> Running in c500138ecd55 16:04:21 Removing intermediate container c500138ecd55 16:04:21 ---> d3b13606b98d 16:04:21 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:04:21 ---> Running in b513b0bb0c6b 16:04:22 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:04:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:04:24 (1/5) Installing libsodium (1.0.18-r0) 16:04:24 (2/5) Installing libzmq (4.3.3-r0) 16:04:24 (3/5) Installing pkgconf (1.7.2-r0) 16:04:25 (4/5) Installing libsodium-dev (1.0.18-r0) 16:04:25 (5/5) Installing zeromq-dev (4.3.3-r0) 16:04:25 Executing busybox-1.31.1-r19.trigger 16:04:25 OK: 167 MiB in 44 packages 16:04:26 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:04:26 make -C ./app-service-template test 16:04:26 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:04:26 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:04:26 Removing intermediate container b513b0bb0c6b 16:04:26 ---> 4677fed0c068 16:04:26 Step 6/8 : WORKDIR /build 16:04:26 ---> Running in cf15af68fb6d 16:04:27 Removing intermediate container cf15af68fb6d 16:04:27 ---> 64c9dab6026a 16:04:27 Step 7/8 : COPY go.mod . 16:04:27 ---> 79c5c2a78c43 16:04:27 Step 8/8 : RUN go mod download 16:04:27 ---> Running in abe887181b69 16:04:45 ok new-app-service 0.032s coverage: 89.5% of statements 16:04:46 ok new-app-service/functions 0.030s 16:04:46 CGO_ENABLED=1 go vet ./... 16:04:56 gofmt -l . 16:04:56 [ "`gofmt -l .`" = "" ] 16:04:56 ./bin/test-go-mod-tidy.sh 16:04:56 ./bin/test-attribution-txt.sh 16:04:57 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:04:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:04:59 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.071s coverage: 56.1% of statements 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.038s coverage: 92.5% of statements 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.074s coverage: 61.5% of statements 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.029s 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.075s coverage: 75.4% of statements 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.030s coverage: 97.0% of statements 16:05:09 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:05:09 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.055s coverage: 10.5% of statements 16:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.824s coverage: 78.4% of statements 16:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.025s coverage: 20.0% of statements 16:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.046s coverage: 27.3% of statements 16:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:05:14 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:05:14 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.043s coverage: 71.7% of statements 16:05:15 Removing intermediate container abe887181b69 16:05:15 ---> 87ed8207174f 16:05:15 Successfully built 87ed8207174f 16:05:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:05:15 + docker inspect -f . ci-base-image-x86_64 16:05:16 . [Pipeline] withDockerContainer 16:05:17 prd-centos7-docker-4c-2g-30558 does not seem to be running inside a container 16:05:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@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 16:05:19 $ docker top 404bcb0011acbace6b8f80ce8c6db7bb5c641d9d105e4a4070b29dfdd929a461 -eo pid,comm [Pipeline] { [Pipeline] sh 16:05:21 + go version 16:05:21 go version go1.15.5 linux/amd64 [Pipeline] } 16:05:21 $ docker stop --time=1 404bcb0011acbace6b8f80ce8c6db7bb5c641d9d105e4a4070b29dfdd929a461 16:05:23 $ docker rm -f 404bcb0011acbace6b8f80ce8c6db7bb5c641d9d105e4a4070b29dfdd929a461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:05:24 + docker inspect -f . ci-base-image-x86_64 16:05:24 . [Pipeline] withDockerContainer 16:05:25 prd-centos7-docker-4c-2g-30558 does not seem to be running inside a container 16:05:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/197 -v /w/workspace/app-functions-sdk-go/197:/w/workspace/app-functions-sdk-go/197:rw,z -v /w/workspace/app-functions-sdk-go/197@tmp:/w/workspace/app-functions-sdk-go/197@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 16:05:26 $ docker top 00f72fbeee1195e01d6f9c8f9d4887a83eb7100df1f6d17f3d1e666a45183962 -eo pid,comm [Pipeline] { [Pipeline] sh 16:05:27 + make test 16:05:27 make -C ./app-service-template build 16:05:27 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:05:27 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 16:05:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s coverage: 81.9% of statements 16:05:41 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.027s coverage: 94.4% of statements 16:05:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:05:44 gofmt -l . 16:05:44 [ "`gofmt -l .`" = "" ] 16:05:44 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 16:05:45 $ docker stop --time=1 66eaf5b1bac073b46da8d85ff6e7f041f16f18650c3ed1eb0b690009d6df3a1b 16:05:47 $ docker rm -f 66eaf5b1bac073b46da8d85ff6e7f041f16f18650c3ed1eb0b690009d6df3a1b [Pipeline] // withDockerContainer [Pipeline] sh 16:05:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:05:49 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 16:05:50 ---> job-cost.sh 16:05:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-knvx 16:06:09 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:06:09 make -C ./app-service-template test 16:06:09 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:06:09 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 16:06:28 ok new-app-service 0.085s coverage: 89.5% of statements 16:06:28 ok new-app-service/functions 0.120s 16:06:28 CGO_ENABLED=1 go vet ./... 16:06:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:06:37 gofmt -l . 16:06:37 [ "`gofmt -l .`" = "" ] 16:06:37 ./bin/test-go-mod-tidy.sh 16:06:38 ./bin/test-attribution-txt.sh 16:06:40 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/197/app-service-template' 16:06:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:06:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 16:06:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.080s coverage: 56.1% of statements 16:06:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.076s coverage: 92.5% of statements 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 16:06:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.083s coverage: 61.5% of statements 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 16:06:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.022s 16:06:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.237s coverage: 75.4% of statements 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 16:06:50 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.060s coverage: 97.0% of statements 16:06:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 16:06:51 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.039s coverage: 10.5% of statements 16:06:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 3.004s coverage: 78.4% of statements 16:06:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 16:06:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.126s coverage: 20.0% of statements 16:06:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.124s coverage: 27.3% of statements 16:06:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 16:06:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:06:57 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.033s coverage: 71.7% of statements 16:07:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.058s coverage: 81.9% of statements 16:07:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.095s coverage: 94.4% of statements 16:07:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:07:23 gofmt -l . 16:07:23 [ "`gofmt -l .`" = "" ] 16:07:23 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 16:07:23 $ docker stop --time=1 00f72fbeee1195e01d6f9c8f9d4887a83eb7100df1f6d17f3d1e666a45183962 16:07:26 $ docker rm -f 00f72fbeee1195e01d6f9c8f9d4887a83eb7100df1f6d17f3d1e666a45183962 [Pipeline] // withDockerContainer [Pipeline] sh 16:07:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:07:26 Warning: overwriting stash ‘coverage-report’ 16:07:27 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 16:07:28 ---> job-cost.sh 16:07:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5FjP 16:08:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 16:08:06 lf-activate-venv(): INFO: Adding /tmp/venv-knvx/bin to PATH 16:08:06 INFO: No Stack... 16:08:06 INFO: Retrieving Pricing Info for: lf-standard-4 16:08:06 INFO: Archiving Costs [Pipeline] sh 16:08:06 + cat /w/workspace/app-functions-sdk-go/197/archives/cost.csv 16:08:06 + cut -d, -f6 [Pipeline] lock 16:08:06 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] 16:08:06 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] did not exist. Created. 16:08:06 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:07 + echo total: 0.20999999344348907 [Pipeline] stash 16:08:07 Stashed 1 file(s) [Pipeline] } 16:08:07 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:08:40 lf-activate-venv(): INFO: Adding /tmp/venv-5FjP/bin to PATH 16:08:40 INFO: No Stack... 16:08:40 INFO: Retrieving Pricing Info for: v1-standard-2 16:08:40 INFO: Archiving Costs [Pipeline] sh 16:08:40 + cat /w/workspace/app-functions-sdk-go/197/archives/cost.csv 16:08:40 + cut -d, -f6 [Pipeline] lock 16:08:40 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] 16:08:41 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] did not exist. Created. 16:08:41 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-197-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:41 /w/workspace/app-functions-sdk-go/197@tmp/durable-763fb140/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 16:08:42 + echo total: 0.029999999329447746 [Pipeline] stash 16:08:42 Warning: overwriting stash ‘stack-cost’ 16:08:42 Stashed 1 file(s) [Pipeline] } 16:08:42 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-197-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 16:08:43 provisioning config files... 16:08:43 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3672795834323476874tmp [Pipeline] { [Pipeline] sh 16:08:44 + set +x 16:08:44 + curl -s https://codecov.io/bash 16:08:44 + bash -s -- 16:08:44 16:08:44 _____ _ 16:08:44 / ____| | | 16:08:44 | | ___ __| | ___ ___ _____ __ 16:08:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:44 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:44 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:44 Bash-20210309-2b87ace 16:08:44 16:08:44 16:08:44 ==> git version 2.24.3 found 16:08:44 ==> 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 16:08:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:08:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:08:44 ==> Jenkins CI detected. 16:08:44 project root: . 16:08:44 --> token set from env 16:08:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:44 ==> Running gcov in . (disable via -X gcov) 16:08:44 ==> Python coveragepy not found 16:08:44 ==> Searching for coverage reports in: 16:08:44 + . 16:08:44 -> Found 2 reports 16:08:44 ==> Detecting git/mercurial file structure 16:08:44 ==> Reading reports 16:08:44 + ./app-service-template/coverage.out bytes=400 16:08:44 + ./coverage.out bytes=85560 16:08:44 ==> Appending adjustments 16:08:44 https://docs.codecov.io/docs/fixing-reports 16:08:44 + Found adjustments 16:08:44 ==> Gzipping contents 16:08:44 16K /tmp/codecov.fNpKq5.gz 16:08:44 ==> Uploading reports 16:08:44 url: https://codecov.io 16:08:44 query: branch=master&commit=f69f49597da150ce93c9eb1ee6e50bc5240f0ee6&build=197&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F197%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:44 -> Pinging Codecov 16:08:44 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=f69f49597da150ce93c9eb1ee6e50bc5240f0ee6&build=197&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F197%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:45 -> Uploading to 16:08:45 https://storage.googleapis.com/codecov/v4/raw/2021-03-19/3D8B5DFFC46A037C893635FACE044666/f69f49597da150ce93c9eb1ee6e50bc5240f0ee6/a063744f-0331-4b1e-ad55-6905d8bca6fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210319%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210319T160845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a597bcbf1c48acc70153a9d15f3061c0629e10cefefdef38f55035dea9dcc501 16:08:45 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:45 Dload Upload Total Spent Left Speed 16:08:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14900 0 0 100 14900 0 35054 --:--:-- --:--:-- --:--:-- 35058 16:08:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] } 16:08:45 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:08:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:08:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:08:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:47 16:08:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 16:08:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:08:47 188c0c94c7c5: Pulling fs layer 16:08:47 0ef7d3d256c8: Pulling fs layer 16:08:47 de9db76c5a1d: Pulling fs layer 16:08:47 0eba1c9be4d2: Pulling fs layer 16:08:47 0d57e429df01: Pulling fs layer 16:08:47 4e4be7b47b0d: Pulling fs layer 16:08:47 e1f770b5df2f: Pulling fs layer 16:08:47 85a0685a4137: Pulling fs layer 16:08:47 4e4be7b47b0d: Waiting 16:08:47 e1f770b5df2f: Waiting 16:08:47 85a0685a4137: Waiting 16:08:47 0d57e429df01: Waiting 16:08:47 de9db76c5a1d: Verifying Checksum 16:08:47 de9db76c5a1d: Download complete 16:08:47 0ef7d3d256c8: Verifying Checksum 16:08:47 0ef7d3d256c8: Download complete 16:08:47 0d57e429df01: Verifying Checksum 16:08:47 0d57e429df01: Download complete 16:08:47 4e4be7b47b0d: Verifying Checksum 16:08:47 4e4be7b47b0d: Download complete 16:08:47 188c0c94c7c5: Download complete 16:08:48 188c0c94c7c5: Pull complete 16:08:48 0ef7d3d256c8: Pull complete 16:08:48 de9db76c5a1d: Pull complete 16:08:49 e1f770b5df2f: Verifying Checksum 16:08:49 e1f770b5df2f: Download complete 16:08:51 85a0685a4137: Verifying Checksum 16:08:51 0eba1c9be4d2: Verifying Checksum 16:08:51 0eba1c9be4d2: Download complete 16:08:58 0eba1c9be4d2: Pull complete 16:08:58 0d57e429df01: Pull complete 16:08:58 4e4be7b47b0d: Pull complete 16:09:05 e1f770b5df2f: Pull complete 16:09:11 85a0685a4137: Pull complete 16:09:11 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 16:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:09:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 16:09:12 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:09:12 $ 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 16:09:13 $ docker top df62375f1346da3a6191cbfc03f0a5c75ccda26f9056ad660f01df82ae0a215b -eo pid,comm [Pipeline] { [Pipeline] echo 16:09:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 16:09:13 + set -o pipefail 16:09:13 + snyk monitor '--org=edgex-jenkins' 16:09:23 16:09:23 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 16:09:23 16:09:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/9e63836f-1677-4ffd-ae1e-ae47e6fda729 16:09:23 16:09:23 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:09:23 16:09:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:09:23 16:09:23 [Pipeline] } 16:09:23 $ docker stop --time=1 df62375f1346da3a6191cbfc03f0a5c75ccda26f9056ad660f01df82ae0a215b 16:09:27 $ docker rm -f df62375f1346da3a6191cbfc03f0a5c75ccda26f9056ad660f01df82ae0a215b [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 16:09:28 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:28 provisioning config files... 16:09:28 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config6471782273160940935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:28 --> edgex-publish-swagger.sh 16:09:28 === Publish openapi/v2 API === 16:09:28 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 16:09:28 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 16:09:28 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:28 Dload Upload Total Spent Left Speed 16:09:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 10170 0:00:01 0:00:01 --:--:-- 10180 100 13052 0 0 100 13052 0 9121 0:00:01 0:00:01 --:--:-- 9127 16:09:30 16:09:30 [Pipeline] } 16:09:30 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 16:09:31 + git log --format=format:%s -1 f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 [Pipeline] isUnix [Pipeline] sh 16:09:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:09:31 . [Pipeline] withDockerContainer 16:09:31 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:09: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:09:32 $ docker top 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:09:33 [ssh-agent] Looking for ssh-agent implementation... 16:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:09:33 $ docker exec 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d ssh-agent 16:09:33 SSH_AUTH_SOCK=/tmp/ssh-UyKKnhvwVTKg/agent.12 16:09:33 SSH_AGENT_PID=18 16:09:33 Running ssh-add (command line suppressed) 16:09:33 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8359761134931046674.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8359761134931046674.key) 16:09:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:09:34 + git semver tag 16:09:34 # -> Open(): unable to determine branch for HEAD 16:09:34 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 16:09:34 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 16:09:34 # $SEMVER_REMOTE_NAME = origin 16:09:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:09:34 # $SEMVER_USER_NAME = edgex-jenkins 16:09:34 # $SEMVER_BRANCH = master 16:09:34 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 16:09:34 # f69f49597da150ce93c9eb1ee6e50bc5240f0ee6 HEAD 16:09:34 # -> Force: false 16:09:34 # cdaf5a20e6df84dea81a8819d92dec7c5b3eabb3 refs/tags/v2.0.0-dev.30 [Pipeline] } 16:09:34 $ docker exec --env ******** --env ******** 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d ssh-agent -k 16:09:34 unset SSH_AUTH_SOCK; 16:09:34 unset SSH_AGENT_PID; 16:09:34 echo Agent pid 18 killed; 16:09:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:09:35 + git semver [Pipeline] } 16:09:35 $ docker stop --time=1 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d 16:09:36 $ docker rm -f 2edfddbdc6a35acc5c6088e1e020c69434a0e0defe935686bb4e4c48d46a269d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 16:09:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:37 16:09:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 16:09:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:37 0.23.1-centos7: Pulling from edgex-lftools 16:09:37 ab5ef0e58194: Pulling fs layer 16:09:37 9712f1f96733: Pulling fs layer 16:09:37 63f879dbbcfc: Pulling fs layer 16:09:37 0d9ebad4ef96: Pulling fs layer 16:09:37 e9a5061849ea: Pulling fs layer 16:09:37 d747dcd14b5f: Pulling fs layer 16:09:37 2de7ff778b66: Pulling fs layer 16:09:37 0d9ebad4ef96: Waiting 16:09:37 e9a5061849ea: Waiting 16:09:37 d747dcd14b5f: Waiting 16:09:37 2de7ff778b66: Waiting 16:09:37 9712f1f96733: Verifying Checksum 16:09:37 9712f1f96733: Download complete 16:09:38 63f879dbbcfc: Verifying Checksum 16:09:38 63f879dbbcfc: Download complete 16:09:38 e9a5061849ea: Verifying Checksum 16:09:38 d747dcd14b5f: Verifying Checksum 16:09:38 d747dcd14b5f: Download complete 16:09:39 2de7ff778b66: Verifying Checksum 16:09:39 2de7ff778b66: Download complete 16:09:40 0d9ebad4ef96: Verifying Checksum 16:09:40 0d9ebad4ef96: Download complete 16:09:40 ab5ef0e58194: Download complete 16:09:45 ab5ef0e58194: Pull complete 16:09:45 9712f1f96733: Pull complete 16:09:47 63f879dbbcfc: Pull complete 16:09:53 0d9ebad4ef96: Pull complete 16:09:57 e9a5061849ea: Pull complete 16:09:57 d747dcd14b5f: Pull complete 16:09:58 2de7ff778b66: Pull complete 16:09:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:09:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:09:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 16:09:58 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:09:58 $ 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 16:10:02 $ docker top 7ed833c043df740ad65e07f6ff39e4da3b544df1d45b6c96f5f6e72fbfe460d1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:10:02 provisioning config files... 16:10:02 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7394272850859124215tmp 16:10:02 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4675691999755119502tmp 16:10:02 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3311587751692454549tmp [Pipeline] { [Pipeline] echo 16:10:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:10:03 ---> sigul-configuration.sh 16:10:03 gpg: directory `/root/.gnupg' created 16:10:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:10:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:10:03 gpg: keyring `/root/.gnupg/secring.gpg' created 16:10:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:10:03 gpg: CAST5 encrypted data 16:10:03 gpg: encrypted with 1 passphrase 16:10:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:10:03 + mkdir /home/jenkins 16:10:03 + mkdir /home/jenkins/sigul [Pipeline] sh 16:10:04 + 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 16:10:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:10:04 ---> sigul-install.sh 16:10:12 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 16:10:12 + git tag --list 16:10:12 v0.1.0 16:10:12 v0.1.1 16:10:12 v1.0.0 16:10:12 v1.1.0 16:10:12 v1.2.0 16:10:12 v1.3.0 16:10:12 v1.3.1 16:10:12 v1.3.1-dev.1 16:10:12 v1.3.2-dev.1 16:10:12 v2.0.0-dev.1 16:10:12 v2.0.0-dev.10 16:10:12 v2.0.0-dev.11 16:10:12 v2.0.0-dev.12 16:10:12 v2.0.0-dev.13 16:10:12 v2.0.0-dev.14 16:10:12 v2.0.0-dev.15 16:10:12 v2.0.0-dev.16 16:10:12 v2.0.0-dev.17 16:10:12 v2.0.0-dev.18 16:10:12 v2.0.0-dev.19 16:10:12 v2.0.0-dev.2 16:10:12 v2.0.0-dev.20 16:10:12 v2.0.0-dev.21 16:10:12 v2.0.0-dev.22 16:10:12 v2.0.0-dev.23 16:10:12 v2.0.0-dev.24 16:10:12 v2.0.0-dev.25 16:10:12 v2.0.0-dev.26 16:10:12 v2.0.0-dev.27 16:10:12 v2.0.0-dev.28 16:10:12 v2.0.0-dev.29 16:10:12 v2.0.0-dev.3 16:10:12 v2.0.0-dev.30 16:10:12 v2.0.0-dev.4 16:10:12 v2.0.0-dev.5 16:10:12 v2.0.0-dev.6 16:10:12 v2.0.0-dev.7 16:10:12 v2.0.0-dev.8 16:10:12 v2.0.0-dev.9 [Pipeline] sh 16:10:13 + lftools sign git-tag v2.0.0-dev.30 16:10:14 Signing Git tag with Sigul... 16:10:14 Signing v2.0.0-dev.30 [Pipeline] echo 16:10:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:10:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:10:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:10:15 $ docker stop --time=1 7ed833c043df740ad65e07f6ff39e4da3b544df1d45b6c96f5f6e72fbfe460d1 16:10:18 $ docker rm -f 7ed833c043df740ad65e07f6ff39e4da3b544df1d45b6c96f5f6e72fbfe460d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 16:10:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:10:18 . [Pipeline] withDockerContainer 16:10:19 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:10:19 $ 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 16:10:19 $ docker top 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:20 [ssh-agent] Looking for ssh-agent implementation... 16:10:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:20 $ docker exec 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e ssh-agent 16:10:20 SSH_AUTH_SOCK=/tmp/ssh-FhUqoZvIaPfg/agent.12 16:10:20 SSH_AGENT_PID=17 16:10:20 Running ssh-add (command line suppressed) 16:10:20 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5331716659273300641.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5331716659273300641.key) 16:10:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:21 + git semver bump pre 16:10:21 # -> Open(): unable to determine branch for HEAD 16:10:21 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 16:10:21 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 16:10:21 # $SEMVER_REMOTE_NAME = origin 16:10:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:10:21 # $SEMVER_USER_NAME = edgex-jenkins 16:10:21 # $SEMVER_BRANCH = master 16:10:21 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 16:10:21 2.0.0-dev.31 [Pipeline] } 16:10:21 $ docker exec --env ******** --env ******** 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e ssh-agent -k 16:10:21 unset SSH_AUTH_SOCK; 16:10:21 unset SSH_AGENT_PID; 16:10:21 echo Agent pid 17 killed; 16:10:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:22 + git semver [Pipeline] } 16:10:22 $ docker stop --time=1 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e 16:10:23 $ docker rm -f 0f82566a6c7b2f796040cd09a159e8cc8fd00f0e0698aa4c5c0f6b4723acd87e [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 16:10:24 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:10:24 . [Pipeline] withDockerContainer 16:10:24 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:10: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 16:10:25 $ docker top 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:25 [ssh-agent] Looking for ssh-agent implementation... 16:10:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:25 $ docker exec 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f ssh-agent 16:10:25 SSH_AUTH_SOCK=/tmp/ssh-Z18P1tbzJam9/agent.13 16:10:25 SSH_AGENT_PID=18 16:10:25 Running ssh-add (command line suppressed) 16:10:26 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6509115833582029987.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6509115833582029987.key) 16:10:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:26 + git semver push 16:10:26 # -> Open(): unable to determine branch for HEAD 16:10:26 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 16:10:26 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 16:10:26 # $SEMVER_REMOTE_NAME = origin 16:10:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:10:26 # $SEMVER_USER_NAME = edgex-jenkins 16:10:26 # $SEMVER_BRANCH = master 16:10:26 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 16:10:30 $ docker exec --env ******** --env ******** 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f ssh-agent -k 16:10:30 unset SSH_AUTH_SOCK; 16:10:30 unset SSH_AGENT_PID; 16:10:30 echo Agent pid 18 killed; 16:10:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:31 + git semver [Pipeline] } 16:10:31 $ docker stop --time=1 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f 16:10:33 $ docker rm -f 261cdcbd3aa63506138316eae0edc849ec7ece24916e67c198312c28f2c7ca5f [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 16:10:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:10:35 ---> package-listing.sh 16:10:35 ++ facter osfamily 16:10:35 ++ tr '[:upper:]' '[:lower:]' 16:10:35 + OS_FAMILY=redhat 16:10:35 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 16:10:35 + START_PACKAGES=/tmp/packages_start.txt 16:10:35 + END_PACKAGES=/tmp/packages_end.txt 16:10:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:10:35 + PACKAGES=/tmp/packages_start.txt 16:10:35 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 16:10:35 + PACKAGES=/tmp/packages_end.txt 16:10:35 + case "${OS_FAMILY}" in 16:10:35 + rpm -qa 16:10:35 + sort 16:10:40 + '[' -f /tmp/packages_start.txt ']' 16:10:40 + '[' -f /tmp/packages_end.txt ']' 16:10:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:10:40 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 16:10:40 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 16:10:40 + 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 16:10:40 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 16:10:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:10:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:10:41 16:10:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:10:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:10:41 alpine: Pulling from edgex-lftools-log-publisher 16:10:41 df20fa9351a1: Pulling fs layer 16:10:41 36b3adc4ff6f: Pulling fs layer 16:10:41 8ad3a11d3b57: Pulling fs layer 16:10:41 46f8f816bc3b: Pulling fs layer 16:10:41 93b61091891f: Pulling fs layer 16:10:41 93b9cdb0e59b: Pulling fs layer 16:10:41 5e14af77c1be: Pulling fs layer 16:10:41 01666e4c0597: Pulling fs layer 16:10:41 aa168da1d23b: Pulling fs layer 16:10:41 46f8f816bc3b: Waiting 16:10:41 93b61091891f: Waiting 16:10:41 93b9cdb0e59b: Waiting 16:10:41 5e14af77c1be: Waiting 16:10:41 01666e4c0597: Waiting 16:10:41 aa168da1d23b: Waiting 16:10:41 36b3adc4ff6f: Verifying Checksum 16:10:41 36b3adc4ff6f: Download complete 16:10:41 46f8f816bc3b: Verifying Checksum 16:10:41 46f8f816bc3b: Download complete 16:10:41 df20fa9351a1: Verifying Checksum 16:10:41 93b9cdb0e59b: Verifying Checksum 16:10:41 93b9cdb0e59b: Download complete 16:10:41 5e14af77c1be: Verifying Checksum 16:10:41 5e14af77c1be: Download complete 16:10:41 01666e4c0597: Download complete 16:10:41 93b61091891f: Verifying Checksum 16:10:41 93b61091891f: Download complete 16:10:42 df20fa9351a1: Pull complete 16:10:42 36b3adc4ff6f: Pull complete 16:10:42 8ad3a11d3b57: Verifying Checksum 16:10:42 8ad3a11d3b57: Download complete 16:10:43 8ad3a11d3b57: Pull complete 16:10:43 46f8f816bc3b: Pull complete 16:10:44 aa168da1d23b: Verifying Checksum 16:10:44 aa168da1d23b: Download complete 16:10:44 93b61091891f: Pull complete 16:10:44 93b9cdb0e59b: Pull complete 16:10:44 5e14af77c1be: Pull complete 16:10:44 01666e4c0597: Pull complete 16:10:54 aa168da1d23b: Pull complete 16:10:54 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:10:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:10:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:10:54 prd-centos7-docker-4c-2g-30553 does not seem to be running inside a container 16:10:54 $ 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 16:10:57 $ docker top 748c1f4777ae81133a8e39fcbc35251251456aab5809f2a58261934f0c0d1d52 -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:58 + touch /tmp/pre-build-complete [Pipeline] sh 16:10:58 + mkdir -p /var/log/sa [Pipeline] sh 16:10:59 + ls /var/log/sa-host 16:10:59 + sadf -c /var/log/sa-host/sa19 16:10:59 file_magic: OK 16:10:59 HZ: Using current value: 100 16:10:59 file_header: OK 16:10:59 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 16:10:59 Statistics: 16:10:59 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:10:59 File successfully converted to sysstat format version 12.2.1 16:10:59 + sadf -c /var/log/sa-host/sa23 16:10:59 file_magic: OK 16:10:59 HZ: Using current value: 100 16:10:59 file_header: OK 16:10:59 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 16:10:59 Statistics: 16:10:59 Hnuu...uuuununununu... 16:10:59 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:59 provisioning config files... 16:10:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config8755118145803755360tmp [Pipeline] { [Pipeline] echo 16:10:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:10:59 ---> create-netrc.sh [Pipeline] } 16:10:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:10:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:11:00 ---> python-tools-install.sh [Pipeline] echo 16:11:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:11:00 ---> sudo-logs.sh 16:11:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:11:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:11:00 ---> job-cost.sh 16:11:00 lf-activate-venv: SKIPPING 16:11:00 DEBUG: total: 0.029999999329447746 16:11:00 INFO: Retrieving Stack Cost... 16:11:02 INFO: Retrieving Pricing Info for: v1-standard-2 16:11:02 INFO: Archiving Costs [Pipeline] echo 16:11:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:11:02 ---> logs-deploy.sh 16:11:02 lf-activate-venv: SKIPPING 16:11:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/197 16:11:02 INFO: archiving workspace using pattern(s): 16:11:04 Archives upload complete. 16:11:04 INFO: archiving logs to Nexus