Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4d0ab0908a17ea98a569ad477d68e9c610b048c8 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1936 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 Checking out Revision 4d0ab0908a17ea98a569ad477d68e9c610b048c8 (master) 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 4d0ab0908a17ea98a569ad477d68e9c610b048c8 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#798)" > git rev-list --no-walk bacc8bdf9074b154c54986d9e77de2634ac23145 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:17:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:17:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:17:54 ========================================================= 00:17:54 EdgeX Global Pipelines Version Info 00:17:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:17:55 ------------------- 00:17:55 stable info: 00:17:55 ------------------- 00:17:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:17:55 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 00:17:55 Message: update stable to v1.0.186 00:17:56 ------------------- 00:17:56 experimental info: 00:17:56 ------------------- 00:17:56 Commited By: **** collab-it+edgex@linuxfoundation.org 00:17:56 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 00:17:56 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:17:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d0ab0908a17ea98a569ad477d68e9c610b048c8 [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d0ab09 [Pipeline] echo 00:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:17:57 + git log --format=format:%s -1 4d0ab0908a17ea98a569ad477d68e9c610b048c8 [Pipeline] echo 00:17:57 GIT_COMMIT: 4d0ab0908a17ea98a569ad477d68e9c610b048c8, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#798) [Pipeline] echo 00:17:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:17:59 00:17:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:17:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:17:59 latest: Pulling from edgex-devops/git-semver 00:17:59 31603596830f: Pulling fs layer 00:17:59 2a8b12db71e7: Pulling fs layer 00:17:59 6ca5941a6612: Pulling fs layer 00:17:59 ecc8261a40a4: Pulling fs layer 00:17:59 ecc8261a40a4: Waiting 00:17:59 2a8b12db71e7: Verifying Checksum 00:17:59 2a8b12db71e7: Download complete 00:17:59 31603596830f: Verifying Checksum 00:17:59 31603596830f: Download complete 00:17:59 ecc8261a40a4: Verifying Checksum 00:17:59 ecc8261a40a4: Download complete 00:17:59 6ca5941a6612: Verifying Checksum 00:17:59 6ca5941a6612: Download complete 00:18:00 31603596830f: Pull complete 00:18:00 2a8b12db71e7: Pull complete 00:18:00 6ca5941a6612: Pull complete 00:18:01 ecc8261a40a4: Pull complete 00:18:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:18:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:18:01 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:18:01 $ 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 00:18:03 $ docker top e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:18:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:18:03 [ssh-agent] Looking for ssh-agent implementation... 00:18:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:18:04 $ docker exec e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 ssh-agent 00:18:04 SSH_AUTH_SOCK=/tmp/ssh-fdwKbcmwOBPi/agent.12 00:18:04 SSH_AGENT_PID=18 00:18:04 Running ssh-add (command line suppressed) 00:18:04 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4747807154859175967.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_4747807154859175967.key) 00:18:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:18:04 + git tag --points-at HEAD [Pipeline] } 00:18:04 $ docker exec --env ******** --env ******** e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 ssh-agent -k 00:18:05 unset SSH_AUTH_SOCK; 00:18:05 unset SSH_AGENT_PID; 00:18:05 echo Agent pid 18 killed; 00:18:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:18:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:18:05 [ssh-agent] Looking for ssh-agent implementation... 00:18:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:18:05 $ docker exec e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 ssh-agent 00:18:05 SSH_AUTH_SOCK=/tmp/ssh-kcP8bp3dMI9z/agent.46 00:18:05 SSH_AGENT_PID=52 00:18:05 Running ssh-add (command line suppressed) 00:18:05 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8089643168270082038.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_8089643168270082038.key) 00:18:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:18:05 + git semver init 00:18:05 # -> Open(): unable to determine branch for HEAD 00:18:05 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:18:05 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:18:05 # $SEMVER_REMOTE_NAME = origin 00:18:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:18:05 # $SEMVER_USER_NAME = edgex-jenkins 00:18:05 # $SEMVER_BRANCH = master 00:18:05 # $SEMVER_TEMP = /tmp/semver-820174455 00:18:05 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:18:08 # '/tmp/semver-820174455' -> '/w/workspace/ndry_app-functions-sdk-go_master/.semver' 00:18:08 # -> Force: false 00:18:08 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 00:18:08 $ docker exec --env ******** --env ******** e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 ssh-agent -k 00:18:08 unset SSH_AUTH_SOCK; 00:18:08 unset SSH_AGENT_PID; 00:18:08 echo Agent pid 52 killed; 00:18:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:18:09 + git semver [Pipeline] } 00:18:09 $ docker stop --time=1 e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 00:18:10 $ docker rm -f e7d3c2655e5d27bd4ab5242fa475a3a24a3413b3ef6430061a38d39bfa4e8436 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:18:11 Stashed 1 file(s) [Pipeline] echo 00:18:11 [edgeXSemver]: initialized semver on version 2.0.0-dev.49 [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 00:18:26 Still waiting to schedule task 00:18:26 ‘prd-centos7-docker-4c-2g-1937’ is offline 00:18:26 Still waiting to schedule task 00:18:26 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:20:16 Running on prd-centos7-docker-4c-2g-1939 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 00:20:16 Running in /w/workspace/app-functions-sdk-go/219 [Pipeline] { [Pipeline] checkout 00:20:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1940 in /w/workspace/ndry_app-functions-sdk-go_master [Pipeline] { [Pipeline] ws 00:20:17 Running in /w/workspace/app-functions-sdk-go/219 [Pipeline] { [Pipeline] checkout 00:20:22 using credential edgex-jenkins-ssh 00:20:22 Cloning the remote Git repository 00:20:22 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:20:23 using credential edgex-jenkins-ssh 00:20:23 Cloning the remote Git repository 00:20:23 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:20:23 > git init /w/workspace/app-functions-sdk-go/219 # timeout=10 00:20:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:20:23 > git --version # timeout=10 00:20:23 > git --version # 'git version 2.17.1' 00:20:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:20:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:20:22 > git init /w/workspace/app-functions-sdk-go/219 # timeout=10 00:20:23 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:20:23 > git --version # timeout=10 00:20:23 > git --version # 'git version 2.24.3' 00:20:23 using GIT_SSH to set credentials SSH Credentials for GitHub 00:20:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:20:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:20:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:20:25 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:20:25 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:20:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:20:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:20:25 Checking out Revision 4d0ab0908a17ea98a569ad477d68e9c610b048c8 (master) 00:20:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:20:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:20:26 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:20:26 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:20:26 using GIT_SSH to set credentials SSH Credentials for GitHub 00:20:26 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 00:20:25 > git config core.sparsecheckout # timeout=10 00:20:25 > git checkout -f 4d0ab0908a17ea98a569ad477d68e9c610b048c8 # timeout=10 00:20:27 Checking out Revision 4d0ab0908a17ea98a569ad477d68e9c610b048c8 (master) 00:20:27 > git config core.sparsecheckout # timeout=10 00:20:27 > git checkout -f 4d0ab0908a17ea98a569ad477d68e9c610b048c8 # timeout=10 00:20:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#798)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:31 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 (#798)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:20:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:20:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 00:20:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 00:20:33 + sudo service docker restart 00:20:33 + true 00:20:33 Redirecting to /bin/systemctl restart docker.service 00:20:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:20:33 + sudo service docker+ restarttrue 00:20:33 [Pipeline] unstash [Pipeline] echo 00:20:34 ========================================================= 00:20:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:20:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:20:35 + 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 . [Pipeline] unstash [Pipeline] echo 00:20:36 ========================================================= 00:20:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:20:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:20:36 Sending build context to Docker daemon 19.47MB 00:20:36 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:20:36 Step 2/8 : FROM ${BASE} 00:20:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:20:36 188c0c94c7c5: Pulling fs layer 00:20:36 0ef7d3d256c8: Pulling fs layer 00:20:36 de9db76c5a1d: Pulling fs layer 00:20:36 bca2f99d35d6: Pulling fs layer 00:20:36 93359f2a8cfa: Pulling fs layer 00:20:36 7c6f9722023f: Pulling fs layer 00:20:36 a35cf1a2eb13: Pulling fs layer 00:20:36 bca2f99d35d6: Waiting 00:20:36 93359f2a8cfa: Waiting 00:20:36 7c6f9722023f: Waiting 00:20:36 a35cf1a2eb13: Waiting 00:20:36 de9db76c5a1d: Verifying Checksum 00:20:36 de9db76c5a1d: Download complete 00:20:36 0ef7d3d256c8: Verifying Checksum 00:20:36 0ef7d3d256c8: Download complete 00:20:36 93359f2a8cfa: Verifying Checksum 00:20:36 93359f2a8cfa: Download complete 00:20:36 7c6f9722023f: Verifying Checksum 00:20:36 7c6f9722023f: Download complete 00:20:36 188c0c94c7c5: Verifying Checksum 00:20:36 188c0c94c7c5: Download complete 00:20:36 + 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 . 00:20:37 188c0c94c7c5: Pull complete 00:20:37 Sending build context to Docker daemon 19.47MB 00:20:37 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:20:37 Step 2/8 : FROM ${BASE} 00:20:37 0ef7d3d256c8: Pull complete 00:20:38 de9db76c5a1d: Pull complete 00:20:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:20:38 5f621e34cdf4: Pulling fs layer 00:20:38 a4357932f1b6: Pulling fs layer 00:20:38 18c013af1878: Pulling fs layer 00:20:38 00ac8860ef70: Pulling fs layer 00:20:38 63d7cb157983: Pulling fs layer 00:20:38 b116817d02f9: Pulling fs layer 00:20:38 745a02a5169b: Pulling fs layer 00:20:38 00ac8860ef70: Waiting 00:20:38 63d7cb157983: Waiting 00:20:38 b116817d02f9: Waiting 00:20:38 745a02a5169b: Waiting 00:20:38 18c013af1878: Verifying Checksum 00:20:38 18c013af1878: Download complete 00:20:38 a4357932f1b6: Verifying Checksum 00:20:38 a4357932f1b6: Download complete 00:20:38 63d7cb157983: Verifying Checksum 00:20:38 63d7cb157983: Download complete 00:20:38 b116817d02f9: Verifying Checksum 00:20:38 b116817d02f9: Download complete 00:20:38 5f621e34cdf4: Verifying Checksum 00:20:38 5f621e34cdf4: Download complete 00:20:39 5f621e34cdf4: Pull complete 00:20:39 a35cf1a2eb13: Verifying Checksum 00:20:39 a35cf1a2eb13: Download complete 00:20:39 a4357932f1b6: Pull complete 00:20:40 18c013af1878: Pull complete 00:20:40 bca2f99d35d6: Verifying Checksum 00:20:40 bca2f99d35d6: Download complete 00:20:41 745a02a5169b: Verifying Checksum 00:20:41 745a02a5169b: Download complete 00:20:42 00ac8860ef70: Verifying Checksum 00:20:42 00ac8860ef70: Download complete 00:20:52 00ac8860ef70: Pull complete 00:20:53 bca2f99d35d6: Pull complete 00:20:53 93359f2a8cfa: Pull complete 00:20:53 63d7cb157983: Pull complete 00:20:53 7c6f9722023f: Pull complete 00:20:53 b116817d02f9: Pull complete 00:20:58 745a02a5169b: Pull complete 00:20:58 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:20:58 ---> b7e6874047d6 00:20:58 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:20:58 20.10.0: Pulling from library/docker 00:20:58 a3cc7d3b244e: Pulling fs layer 00:20:58 02a3295e0d61: Pulling fs layer 00:20:58 0f4f2e6d8100: Pulling fs layer 00:20:58 330b718f631f: Pulling fs layer 00:20:58 a93816041522: Pulling fs layer 00:20:58 bdb6da89ff94: Pulling fs layer 00:20:58 2a70c0c122f4: Pulling fs layer 00:20:58 330b718f631f: Waiting 00:20:58 a93816041522: Waiting 00:20:58 bdb6da89ff94: Waiting 00:20:58 2a70c0c122f4: Waiting 00:20:58 0f4f2e6d8100: Verifying Checksum 00:20:58 0f4f2e6d8100: Download complete 00:20:58 a3cc7d3b244e: Verifying Checksum 00:20:58 a3cc7d3b244e: Download complete 00:20:58 02a3295e0d61: Verifying Checksum 00:20:58 02a3295e0d61: Download complete 00:20:58 a93816041522: Verifying Checksum 00:20:58 a93816041522: Download complete 00:20:58 bdb6da89ff94: Verifying Checksum 00:20:58 bdb6da89ff94: Download complete 00:20:58 2a70c0c122f4: Verifying Checksum 00:20:58 2a70c0c122f4: Download complete 00:20:58 a3cc7d3b244e: Pull complete 00:20:59 02a3295e0d61: Pull complete 00:20:59 0f4f2e6d8100: Pull complete 00:20:59 330b718f631f: Verifying Checksum 00:20:59 330b718f631f: Download complete 00:21:00 a35cf1a2eb13: Pull complete 00:21:00 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:21:00 ---> a62c8e92a672 00:21:00 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:21:00 20.10.0: Pulling from library/docker 00:21:00 05e7bc50f07f: Pulling fs layer 00:21:00 6db28d0fdbf6: Pulling fs layer 00:21:00 292df0bc6bf3: Pulling fs layer 00:21:00 2e060f4bd70b: Pulling fs layer 00:21:00 80e8d568a223: Pulling fs layer 00:21:00 8dc6ef1a942a: Pulling fs layer 00:21:00 2312dd95470a: Pulling fs layer 00:21:00 80e8d568a223: Waiting 00:21:00 8dc6ef1a942a: Waiting 00:21:00 2312dd95470a: Waiting 00:21:00 2e060f4bd70b: Waiting 00:21:00 292df0bc6bf3: Verifying Checksum 00:21:00 292df0bc6bf3: Download complete 00:21:00 05e7bc50f07f: Verifying Checksum 00:21:00 05e7bc50f07f: Download complete 00:21:00 6db28d0fdbf6: Verifying Checksum 00:21:00 6db28d0fdbf6: Download complete 00:21:00 80e8d568a223: Verifying Checksum 00:21:00 80e8d568a223: Download complete 00:21:00 8dc6ef1a942a: Download complete 00:21:00 2312dd95470a: Verifying Checksum 00:21:00 2312dd95470a: Download complete 00:21:00 05e7bc50f07f: Pull complete 00:21:01 6db28d0fdbf6: Pull complete 00:21:01 292df0bc6bf3: Pull complete 00:21:01 2e060f4bd70b: Verifying Checksum 00:21:01 2e060f4bd70b: Download complete 00:21:03 330b718f631f: Pull complete 00:21:03 a93816041522: Pull complete 00:21:03 bdb6da89ff94: Pull complete 00:21:04 2a70c0c122f4: Pull complete 00:21:04 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:21:04 Status: Downloaded newer image for docker:20.10.0 00:21:06 2e060f4bd70b: Pull complete 00:21:06 80e8d568a223: Pull complete 00:21:06 8dc6ef1a942a: Pull complete 00:21:06 2312dd95470a: Pull complete 00:21:06 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:21:06 Status: Downloaded newer image for docker:20.10.0 00:21:08 ---> 9a4057dd1235 00:21:08 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:21:08 ---> Running in a839ec2b0bfb 00:21:08 Removing intermediate container a839ec2b0bfb 00:21:08 ---> 98891656ba3c 00:21:08 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:21:08 ---> Running in 0a291afd0e0e 00:21:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:21:10 ---> 9bbfaa125539 00:21:10 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:21:10 ---> Running in 0b7a853a76fe 00:21:10 Removing intermediate container 0b7a853a76fe 00:21:10 ---> 0a8a006b6a57 00:21:10 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:21:10 ---> Running in 0f49b756de70 00:21:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:21:11 (1/5) Installing libsodium (1.0.18-r0) 00:21:11 (2/5) Installing libzmq (4.3.3-r0) 00:21:11 (3/5) Installing pkgconf (1.7.2-r0) 00:21:11 (4/5) Installing libsodium-dev (1.0.18-r0) 00:21:11 (5/5) Installing zeromq-dev (4.3.3-r0) 00:21:11 Executing busybox-1.31.1-r19.trigger 00:21:11 OK: 167 MiB in 44 packages 00:21:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:21:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:21:13 (1/5) Installing libsodium (1.0.18-r0) 00:21:13 (2/5) Installing libzmq (4.3.3-r0) 00:21:13 (3/5) Installing pkgconf (1.7.2-r0) 00:21:14 Removing intermediate container 0a291afd0e0e 00:21:14 ---> d44918d6e6c5 00:21:14 Step 6/8 : WORKDIR /build 00:21:14 ---> Running in 6b71a658e8bb 00:21:14 Removing intermediate container 6b71a658e8bb 00:21:14 ---> 0b4e50c96ad0 00:21:14 Step 7/8 : COPY go.mod . 00:21:14 (4/5) Installing libsodium-dev (1.0.18-r0) 00:21:14 (5/5) Installing zeromq-dev (4.3.3-r0) 00:21:14 Executing busybox-1.31.1-r19.trigger 00:21:14 OK: 144 MiB in 44 packages 00:21:14 ---> c2356b12c7bd 00:21:14 Step 8/8 : RUN go mod download 00:21:14 ---> Running in 45c4ac43991b 00:21:15 Removing intermediate container 0f49b756de70 00:21:15 ---> ff459286325b 00:21:15 Step 6/8 : WORKDIR /build 00:21:15 ---> Running in e2b34eee5be0 00:21:16 Removing intermediate container e2b34eee5be0 00:21:16 ---> 3eff5c59b5b8 00:21:16 Step 7/8 : COPY go.mod . 00:21:17 ---> c3a9d7b6a2b0 00:21:17 Step 8/8 : RUN go mod download 00:21:17 ---> Running in b74436b5981d 00:21:44 Removing intermediate container b74436b5981d 00:21:44 ---> 476591efdadf 00:21:44 Successfully built 476591efdadf 00:21:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:21:44 + docker inspect -f . ci-base-image-arm64 00:21:44 . [Pipeline] withDockerContainer 00:21:44 prd-ubuntu18.04-docker-arm64-4c-16g-1940 does not seem to be running inside a container 00:21:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/219 -v /w/workspace/app-functions-sdk-go/219:/w/workspace/app-functions-sdk-go/219:rw,z -v /w/workspace/app-functions-sdk-go/219@tmp:/w/workspace/app-functions-sdk-go/219@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 00:21:46 $ docker top ebff41f674661add1eb28d2cdf6fe7e8862a690f894d5ac240428babd76badf6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:47 + go version 00:21:47 go version go1.15.5 linux/arm64 [Pipeline] } 00:21:47 $ docker stop --time=1 ebff41f674661add1eb28d2cdf6fe7e8862a690f894d5ac240428babd76badf6 00:21:49 $ docker rm -f ebff41f674661add1eb28d2cdf6fe7e8862a690f894d5ac240428babd76badf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:21:50 + docker inspect -f . ci-base-image-arm64 00:21:50 . [Pipeline] withDockerContainer 00:21:50 prd-ubuntu18.04-docker-arm64-4c-16g-1940 does not seem to be running inside a container 00:21:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/219 -v /w/workspace/app-functions-sdk-go/219:/w/workspace/app-functions-sdk-go/219:rw,z -v /w/workspace/app-functions-sdk-go/219@tmp:/w/workspace/app-functions-sdk-go/219@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 00:21:51 $ docker top 959e13329e633efa58c9939667a5248241bbff4e7d16d8ab683ef8498b2cddd0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:52 + make test 00:21:52 make -C ./app-service-template build 00:21:52 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:21:52 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 00:21:54 Removing intermediate container 45c4ac43991b 00:21:54 ---> 87c8709cbd01 00:21:54 Successfully built 87c8709cbd01 00:21:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:21:54 + docker inspect -f . ci-base-image-x86_64 00:21:55 . [Pipeline] withDockerContainer 00:21:55 prd-centos7-docker-4c-2g-1939 does not seem to be running inside a container 00:21:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/219 -v /w/workspace/app-functions-sdk-go/219:/w/workspace/app-functions-sdk-go/219:rw,z -v /w/workspace/app-functions-sdk-go/219@tmp:/w/workspace/app-functions-sdk-go/219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:21:57 $ docker top 33d6cb8dfb42ec00592c8082061dc743f6860816526c6da9938eda2faebd00a9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:57 + go version 00:21:58 go version go1.15.5 linux/amd64 [Pipeline] } 00:21:58 $ docker stop --time=1 33d6cb8dfb42ec00592c8082061dc743f6860816526c6da9938eda2faebd00a9 00:21:59 $ docker rm -f 33d6cb8dfb42ec00592c8082061dc743f6860816526c6da9938eda2faebd00a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:22:00 + docker inspect -f . ci-base-image-x86_64 00:22:00 . [Pipeline] withDockerContainer 00:22:00 prd-centos7-docker-4c-2g-1939 does not seem to be running inside a container 00:22:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/219 -v /w/workspace/app-functions-sdk-go/219:/w/workspace/app-functions-sdk-go/219:rw,z -v /w/workspace/app-functions-sdk-go/219@tmp:/w/workspace/app-functions-sdk-go/219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:22:02 $ docker top 61520823c31fe93bc6f6d99ad25fae6969504248f0fa3878325a959706797b64 -eo pid,comm [Pipeline] { [Pipeline] sh 00:22:03 + make test 00:22:03 make -C ./app-service-template build 00:22:03 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:22:03 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 00:22:30 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:22:30 make -C ./app-service-template test 00:22:30 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:22:30 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:22:31 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:22:31 make -C ./app-service-template test 00:22:31 make[1]: Entering directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:22:31 CGO_ENABLED=1 go test -coverprofile=coverage.out ./... 00:22:48 ok new-app-service 0.118s coverage: 47.8% of statements 00:22:48 ? new-app-service/config [no test files] 00:22:48 ok new-app-service/functions 0.131s 00:22:48 CGO_ENABLED=1 go vet ./... 00:22:52 gofmt -l . 00:22:52 [ "`gofmt -l .`" = "" ] 00:22:52 ./bin/test-go-mod-tidy.sh 00:22:54 ok new-app-service 0.036s coverage: 47.8% of statements 00:22:54 ? new-app-service/config [no test files] 00:22:54 ok new-app-service/functions 0.030s 00:22:54 CGO_ENABLED=1 go vet ./... 00:22:54 ./bin/test-attribution-txt.sh 00:22:55 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:22:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:22:56 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:23:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.073s coverage: 55.8% of statements 00:23:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.034s coverage: 92.5% of statements 00:23:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:23:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.042s coverage: 61.5% of statements 00:23:00 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:23:00 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.029s 00:23:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.084s coverage: 75.4% of statements 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:23:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.047s coverage: 97.0% of statements 00:23:01 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:23:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.010s coverage: 10.5% of statements 00:23:04 gofmt -l . 00:23:04 [ "`gofmt -l .`" = "" ] 00:23:04 ./bin/test-go-mod-tidy.sh 00:23:04 ./bin/test-attribution-txt.sh 00:23:04 make[1]: Leaving directory '/w/workspace/app-functions-sdk-go/219/app-service-template' 00:23:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:23:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:23:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.815s coverage: 78.4% of statements 00:23:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:23:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.047s coverage: 18.4% of statements 00:23:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.030s coverage: 27.3% of statements 00:23:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:23:06 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:23:06 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.037s coverage: 71.7% of statements 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/app 0.091s coverage: 55.8% of statements 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/appfunction 0.044s coverage: 92.5% of statements 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.091s coverage: 61.5% of statements 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/controller/rest 0.031s 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.113s coverage: 75.4% of statements 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.036s coverage: 97.0% of statements 00:23:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:23:16 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.027s coverage: 10.5% of statements 00:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 2.806s coverage: 78.4% of statements 00:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.027s coverage: 18.4% of statements 00:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg 0.082s coverage: 27.3% of statements 00:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces [no test files] 00:23:21 ? github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/interfaces/mocks [no test files] 00:23:21 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.032s coverage: 71.7% of statements 00:23:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.092s coverage: 81.9% of statements 00:23:33 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.048s coverage: 94.4% of statements 00:23:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:23:34 gofmt -l . 00:23:34 [ "`gofmt -l .`" = "" ] 00:23:34 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 00:23:37 $ docker stop --time=1 61520823c31fe93bc6f6d99ad25fae6969504248f0fa3878325a959706797b64 00:23:39 $ docker rm -f 61520823c31fe93bc6f6d99ad25fae6969504248f0fa3878325a959706797b64 [Pipeline] // withDockerContainer [Pipeline] sh 00:23:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:41 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 00:23:41 ---> job-cost.sh 00:23:41 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NmWn 00:23:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.081s coverage: 81.9% of statements 00:23:48 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.037s coverage: 94.4% of statements 00:23:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:23:51 gofmt -l . 00:23:51 [ "`gofmt -l .`" = "" ] 00:23:51 ./app-service-template/bin/test-go-mod-tidy.sh [Pipeline] } 00:23:52 $ docker stop --time=1 959e13329e633efa58c9939667a5248241bbff4e7d16d8ab683ef8498b2cddd0 00:23:54 $ docker rm -f 959e13329e633efa58c9939667a5248241bbff4e7d16d8ab683ef8498b2cddd0 [Pipeline] // withDockerContainer [Pipeline] sh 00:23:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:23:55 Warning: overwriting stash ‘coverage-report’ 00:23:56 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 00:23:56 ---> job-cost.sh 00:23:56 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qHIf 00:24:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:24:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:24:51 lf-activate-venv(): INFO: Adding /tmp/venv-NmWn/bin to PATH 00:24:51 INFO: No Stack... 00:24:51 INFO: Retrieving Pricing Info for: v1-standard-2 00:24:51 INFO: Archiving Costs [Pipeline] sh 00:24:51 + cut -d, -f6 00:24:51 + cat /w/workspace/app-functions-sdk-go/219/archives/cost.csv [Pipeline] lock 00:24:51 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] 00:24:51 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] did not exist. Created. 00:24:51 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:24:52 + echo total: 0.029999999329447746 [Pipeline] stash 00:24:52 Stashed 1 file(s) [Pipeline] } 00:24:52 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:25:57 lf-activate-venv(): INFO: Adding /tmp/venv-qHIf/bin to PATH 00:25:57 INFO: No Stack... 00:25:57 INFO: Retrieving Pricing Info for: lf-standard-4 00:25:57 INFO: Archiving Costs [Pipeline] sh 00:25:57 + cat /w/workspace/app-functions-sdk-go/219/archives/cost.csv+ 00:25:57 cut -d, -f6 [Pipeline] lock 00:25:58 Trying to acquire lock on [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] 00:25:58 Resource [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] did not exist. Created. 00:25:58 Lock acquired on [jenkins-edgexfoundry-app-functions-sdk-go-master-219-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:25:58 /w/workspace/app-functions-sdk-go/219@tmp/durable-c077c72f/script.sh: 1: /w/workspace/app-functions-sdk-go/219@tmp/durable-c077c72f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:25:58 + echo total: 0.20999999344348907 [Pipeline] stash 00:25:58 Warning: overwriting stash ‘stack-cost’ 00:25:59 Stashed 1 file(s) [Pipeline] } 00:25:59 Lock released on resource [jenkins-edgexfoundry-app-functions-sdk-go-master-219-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 00:25:59 provisioning config files... 00:25:59 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config4538687074211611253tmp [Pipeline] { [Pipeline] sh 00:26:00 + set +x 00:26:00 + curl -s https://codecov.io/bash 00:26:00 + bash -s -- 00:26:00 00:26:00 _____ _ 00:26:00 / ____| | | 00:26:00 | | ___ __| | ___ ___ _____ __ 00:26:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:26:00 | |___| (_) | (_| | __/ (_| (_) \ V / 00:26:00 \_____\___/ \__,_|\___|\___\___/ \_/ 00:26:00 Bash-1.0.2 00:26:00 00:26:00 00:26:00 ==> git version 2.24.3 found 00:26:00 ==> 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 00:26:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:26:00 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:26:00 ==> Jenkins CI detected. 00:26:00 project root: . 00:26:00 --> token set from env 00:26:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:26:00 ==> Running gcov in . (disable via -X gcov) 00:26:00 ==> Python coveragepy not found 00:26:00 ==> Searching for coverage reports in: 00:26:00 + . 00:26:00 -> Found 2 reports 00:26:00 ==> Detecting git/mercurial file structure 00:26:00 ==> Reading reports 00:26:00 + ./app-service-template/coverage.out bytes=1055 00:26:00 + ./coverage.out bytes=86827 00:26:00 ==> Appending adjustments 00:26:00 https://docs.codecov.io/docs/fixing-reports 00:26:00 + Found adjustments 00:26:00 ==> Gzipping contents 00:26:00 16K /tmp/codecov.RCZRDW.gz 00:26:00 ==> Uploading reports 00:26:00 url: https://codecov.io 00:26:00 query: branch=master&commit=4d0ab0908a17ea98a569ad477d68e9c610b048c8&build=219&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F219%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:26:00 -> Pinging Codecov 00:26:00 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=master&commit=4d0ab0908a17ea98a569ad477d68e9c610b048c8&build=219&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2Fmaster%2F219%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:26:01 -> Uploading to 00:26:01 https://storage.googleapis.com/codecov/v4/raw/2021-04-27/3D8B5DFFC46A037C893635FACE044666/4d0ab0908a17ea98a569ad477d68e9c610b048c8/83b8b28d-3c39-45f8-bf61-6b94934b3915.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210427T002601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92f19c9b82c281db1d92ca704ab6d0d97d6e2fa84ee0c23d49a87b1cc2447159 00:26:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:26:01 Dload Upload Total Spent Left Speed 00:26:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15297 0 0 100 15297 0 31051 --:--:-- --:--:-- --:--:-- 31028 00:26:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/4d0ab0908a17ea98a569ad477d68e9c610b048c8 [Pipeline] } 00:26:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:26:02 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:26:02 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:26:02 00:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:26:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:26:03 188c0c94c7c5: Pulling fs layer 00:26:03 0ef7d3d256c8: Pulling fs layer 00:26:03 de9db76c5a1d: Pulling fs layer 00:26:03 0eba1c9be4d2: Pulling fs layer 00:26:03 0d57e429df01: Pulling fs layer 00:26:03 4e4be7b47b0d: Pulling fs layer 00:26:03 e1f770b5df2f: Pulling fs layer 00:26:03 85a0685a4137: Pulling fs layer 00:26:03 0d57e429df01: Waiting 00:26:03 4e4be7b47b0d: Waiting 00:26:03 e1f770b5df2f: Waiting 00:26:03 85a0685a4137: Waiting 00:26:03 0eba1c9be4d2: Waiting 00:26:03 de9db76c5a1d: Verifying Checksum 00:26:03 de9db76c5a1d: Download complete 00:26:03 0ef7d3d256c8: Verifying Checksum 00:26:03 0ef7d3d256c8: Download complete 00:26:03 0d57e429df01: Verifying Checksum 00:26:03 0d57e429df01: Download complete 00:26:03 4e4be7b47b0d: Verifying Checksum 00:26:03 4e4be7b47b0d: Download complete 00:26:03 188c0c94c7c5: Verifying Checksum 00:26:03 188c0c94c7c5: Download complete 00:26:03 188c0c94c7c5: Pull complete 00:26:04 0ef7d3d256c8: Pull complete 00:26:04 de9db76c5a1d: Pull complete 00:26:04 e1f770b5df2f: Verifying Checksum 00:26:04 e1f770b5df2f: Download complete 00:26:06 0eba1c9be4d2: Verifying Checksum 00:26:06 0eba1c9be4d2: Download complete 00:26:06 85a0685a4137: Verifying Checksum 00:26:06 85a0685a4137: Download complete 00:26:13 0eba1c9be4d2: Pull complete 00:26:13 0d57e429df01: Pull complete 00:26:13 4e4be7b47b0d: Pull complete 00:26:15 e1f770b5df2f: Pull complete 00:26:24 85a0685a4137: Pull complete 00:26:24 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:26:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:26:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:26:24 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:26:24 $ 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 00:26:25 $ docker top 7730d7fa7e68573d0100a203f2dd88d9aab0bc22530aecc1cad669abb4d536ee -eo pid,comm [Pipeline] { [Pipeline] echo 00:26:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:26:25 + set -o pipefail 00:26:25 + snyk monitor '--org=edgex-jenkins' 00:26:38 00:26:38 Monitoring /w/workspace/ndry_app-functions-sdk-go_master (github.com/edgexfoundry/app-functions-sdk-go/v2)... 00:26:38 00:26:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/532bf4e0-c9ac-4015-a8eb-4e1515644558/history/f388a46e-3f69-4b51-b94a-09abe2a396d7 00:26:38 00:26:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:26:38 00:26:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:26:38 00:26:39 [Pipeline] } 00:26:39 $ docker stop --time=1 7730d7fa7e68573d0100a203f2dd88d9aab0bc22530aecc1cad669abb4d536ee 00:26:41 $ docker rm -f 7730d7fa7e68573d0100a203f2dd88d9aab0bc22530aecc1cad669abb4d536ee [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 00:26:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:26:42 provisioning config files... 00:26:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config642185575668974334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:26:42 --> edgex-publish-swagger.sh 00:26:42 === Publish openapi/v2 API === 00:26:42 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 00:26:42 [publishToSwagger] Publishing API Name [app-functions-sdk] [/w/workspace/ndry_app-functions-sdk-go_master/openapi/v2/app-functions-sdk.yaml] 00:26:42 % Total % Received % Xferd Average Speed Time Time Time Current 00:26:42 Dload Upload Total Spent Left Speed 00:26:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13052 0 0 100 13052 0 11388 0:00:01 0:00:01 --:--:-- 11399 100 13052 0 0 100 13052 0 11386 0:00:01 0:00:01 --:--:-- 11399 00:26:44 00:26:44 [Pipeline] } 00:26:44 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 00:26:44 + git log --format=format:%s -1 4d0ab0908a17ea98a569ad477d68e9c610b048c8 [Pipeline] isUnix [Pipeline] sh 00:26:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:26:45 . [Pipeline] withDockerContainer 00:26:45 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:26:45 $ 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 00:26:46 $ docker top 6907293e1adec27a49339b3c9642dea9d8bf09edfce81cd143d3ba8688cc5f25 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:26:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:26:46 [ssh-agent] Looking for ssh-agent implementation... 00:26:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:26:46 $ docker exec 6907293e1adec27a49339b3c9642dea9d8bf09edfce81cd143d3ba8688cc5f25 ssh-agent 00:26:46 SSH_AUTH_SOCK=/tmp/ssh-qx8ZDUlbXedF/agent.11 00:26:46 SSH_AGENT_PID=16 00:26:46 Running ssh-add (command line suppressed) 00:26:46 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2402483422922486069.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_2402483422922486069.key) 00:26:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:26:47 + git semver tag 00:26:47 # -> Open(): unable to determine branch for HEAD 00:26:47 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:26:47 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:26:47 # $SEMVER_REMOTE_NAME = origin 00:26:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:26:47 # $SEMVER_USER_NAME = edgex-jenkins 00:26:47 # $SEMVER_BRANCH = master 00:26:47 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 00:26:47 # 4d0ab0908a17ea98a569ad477d68e9c610b048c8 HEAD 00:26:47 # -> Force: false 00:26:47 # 1f6c81797a2dc806c5c9fe5b9395d7be686a2993 refs/tags/v2.0.0-dev.49 [Pipeline] } 00:26:47 $ docker exec --env ******** --env ******** 6907293e1adec27a49339b3c9642dea9d8bf09edfce81cd143d3ba8688cc5f25 ssh-agent -k 00:26:47 unset SSH_AUTH_SOCK; 00:26:47 unset SSH_AGENT_PID; 00:26:47 echo Agent pid 16 killed; 00:26:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:26:48 + git semver [Pipeline] } 00:26:48 $ docker stop --time=1 6907293e1adec27a49339b3c9642dea9d8bf09edfce81cd143d3ba8688cc5f25 00:26:49 $ docker rm -f 6907293e1adec27a49339b3c9642dea9d8bf09edfce81cd143d3ba8688cc5f25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:26:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:49 00:26:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:26:50 0.23.1-centos7: Pulling from edgex-lftools 00:26:50 ab5ef0e58194: Pulling fs layer 00:26:50 9712f1f96733: Pulling fs layer 00:26:50 63f879dbbcfc: Pulling fs layer 00:26:50 0d9ebad4ef96: Pulling fs layer 00:26:50 e9a5061849ea: Pulling fs layer 00:26:50 d747dcd14b5f: Pulling fs layer 00:26:50 2de7ff778b66: Pulling fs layer 00:26:50 e9a5061849ea: Waiting 00:26:50 d747dcd14b5f: Waiting 00:26:50 2de7ff778b66: Waiting 00:26:50 0d9ebad4ef96: Waiting 00:26:50 9712f1f96733: Verifying Checksum 00:26:50 9712f1f96733: Download complete 00:26:51 63f879dbbcfc: Verifying Checksum 00:26:51 63f879dbbcfc: Download complete 00:26:51 e9a5061849ea: Verifying Checksum 00:26:51 e9a5061849ea: Download complete 00:26:51 d747dcd14b5f: Verifying Checksum 00:26:51 d747dcd14b5f: Download complete 00:26:51 2de7ff778b66: Verifying Checksum 00:26:52 0d9ebad4ef96: Verifying Checksum 00:26:52 0d9ebad4ef96: Download complete 00:26:52 ab5ef0e58194: Verifying Checksum 00:26:52 ab5ef0e58194: Download complete 00:26:57 ab5ef0e58194: Pull complete 00:26:57 9712f1f96733: Pull complete 00:26:59 63f879dbbcfc: Pull complete 00:27:06 0d9ebad4ef96: Pull complete 00:27:07 e9a5061849ea: Pull complete 00:27:07 d747dcd14b5f: Pull complete 00:27:10 2de7ff778b66: Pull complete 00:27:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:27:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:27:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:27:10 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:27:10 $ 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 00:27:13 $ docker top 53f6ec7825dd56e30fd6eacad60b71c8876169e83bf5841ff6821b2279a83367 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:27:14 provisioning config files... 00:27:14 copy managed file [sigul-config] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1995645864506557282tmp 00:27:14 copy managed file [sigul-password] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config1467825926589304332tmp 00:27:14 copy managed file [sigul-pki] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config7778163130658957858tmp [Pipeline] { [Pipeline] echo 00:27:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:27:14 ---> sigul-configuration.sh 00:27:14 gpg: directory `/root/.gnupg' created 00:27:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:27:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:27:14 gpg: keyring `/root/.gnupg/secring.gpg' created 00:27:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:27:14 gpg: CAST5 encrypted data 00:27:14 gpg: encrypted with 1 passphrase 00:27:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:27:15 + mkdir /home/jenkins 00:27:15 + mkdir /home/jenkins/sigul [Pipeline] sh 00:27:15 + 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 00:27:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:27:15 ---> sigul-install.sh 00:27:22 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 00:27:22 + git tag --list 00:27:22 v0.1.0 00:27:22 v0.1.1 00:27:22 v1.0.0 00:27:22 v1.1.0 00:27:22 v1.2.0 00:27:22 v1.3.0 00:27:22 v1.3.1 00:27:22 v1.3.1-dev.1 00:27:22 v1.3.2-dev.1 00:27:22 v2.0.0-dev.1 00:27:22 v2.0.0-dev.10 00:27:22 v2.0.0-dev.11 00:27:22 v2.0.0-dev.12 00:27:22 v2.0.0-dev.13 00:27:22 v2.0.0-dev.14 00:27:22 v2.0.0-dev.15 00:27:22 v2.0.0-dev.16 00:27:22 v2.0.0-dev.17 00:27:22 v2.0.0-dev.18 00:27:22 v2.0.0-dev.19 00:27:22 v2.0.0-dev.2 00:27:22 v2.0.0-dev.20 00:27:22 v2.0.0-dev.21 00:27:22 v2.0.0-dev.22 00:27:22 v2.0.0-dev.23 00:27:22 v2.0.0-dev.24 00:27:22 v2.0.0-dev.25 00:27:22 v2.0.0-dev.26 00:27:22 v2.0.0-dev.27 00:27:22 v2.0.0-dev.28 00:27:22 v2.0.0-dev.29 00:27:22 v2.0.0-dev.3 00:27:22 v2.0.0-dev.30 00:27:22 v2.0.0-dev.31 00:27:22 v2.0.0-dev.32 00:27:22 v2.0.0-dev.33 00:27:22 v2.0.0-dev.34 00:27:22 v2.0.0-dev.35 00:27:22 v2.0.0-dev.36 00:27:22 v2.0.0-dev.37 00:27:22 v2.0.0-dev.38 00:27:22 v2.0.0-dev.39 00:27:22 v2.0.0-dev.4 00:27:22 v2.0.0-dev.40 00:27:22 v2.0.0-dev.41 00:27:22 v2.0.0-dev.42 00:27:22 v2.0.0-dev.43 00:27:22 v2.0.0-dev.44 00:27:22 v2.0.0-dev.45 00:27:22 v2.0.0-dev.46 00:27:22 v2.0.0-dev.47 00:27:22 v2.0.0-dev.48 00:27:22 v2.0.0-dev.49 00:27:22 v2.0.0-dev.5 00:27:22 v2.0.0-dev.6 00:27:22 v2.0.0-dev.7 00:27:22 v2.0.0-dev.8 00:27:22 v2.0.0-dev.9 [Pipeline] sh 00:27:22 + lftools sign git-tag v2.0.0-dev.49 00:27:24 Signing Git tag with Sigul... 00:27:24 Signing v2.0.0-dev.49 [Pipeline] echo 00:27:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:27:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:27:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:27:25 $ docker stop --time=1 53f6ec7825dd56e30fd6eacad60b71c8876169e83bf5841ff6821b2279a83367 00:27:27 $ docker rm -f 53f6ec7825dd56e30fd6eacad60b71c8876169e83bf5841ff6821b2279a83367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 00:27:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:27:28 . [Pipeline] withDockerContainer 00:27:28 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:27:28 $ 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 00:27:29 $ docker top 2ee39d18b6d0fb12cfd6b6705debe8eac9db001b14c6903e8650778c6f476435 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:27:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:27:29 [ssh-agent] Looking for ssh-agent implementation... 00:27:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:27:29 $ docker exec 2ee39d18b6d0fb12cfd6b6705debe8eac9db001b14c6903e8650778c6f476435 ssh-agent 00:27:30 SSH_AUTH_SOCK=/tmp/ssh-OyN3V98NNLZ5/agent.11 00:27:30 SSH_AGENT_PID=16 00:27:30 Running ssh-add (command line suppressed) 00:27:30 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6251680570471017593.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_6251680570471017593.key) 00:27:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:27:30 + git semver bump pre 00:27:30 # -> Open(): unable to determine branch for HEAD 00:27:30 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:27:30 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:27:30 # $SEMVER_REMOTE_NAME = origin 00:27:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:27:30 # $SEMVER_USER_NAME = edgex-jenkins 00:27:30 # $SEMVER_BRANCH = master 00:27:30 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver 00:27:30 2.0.0-dev.50 [Pipeline] } 00:27:30 $ docker exec --env ******** --env ******** 2ee39d18b6d0fb12cfd6b6705debe8eac9db001b14c6903e8650778c6f476435 ssh-agent -k 00:27:30 unset SSH_AUTH_SOCK; 00:27:30 unset SSH_AGENT_PID; 00:27:30 echo Agent pid 16 killed; 00:27:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:27:31 + git semver [Pipeline] } 00:27:31 $ docker stop --time=1 2ee39d18b6d0fb12cfd6b6705debe8eac9db001b14c6903e8650778c6f476435 00:27:32 $ docker rm -f 2ee39d18b6d0fb12cfd6b6705debe8eac9db001b14c6903e8650778c6f476435 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 00:27:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:27:32 . [Pipeline] withDockerContainer 00:27:33 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:27:33 $ 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 00:27:33 $ docker top e76b129247b866cee9e50166d3966f03079ec60a2ab086d9ec6f35fdef4cf01a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:27:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:27:34 [ssh-agent] Looking for ssh-agent implementation... 00:27:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:27:34 $ docker exec e76b129247b866cee9e50166d3966f03079ec60a2ab086d9ec6f35fdef4cf01a ssh-agent 00:27:34 SSH_AUTH_SOCK=/tmp/ssh-7zUdwFveoKWe/agent.12 00:27:34 SSH_AGENT_PID=18 00:27:34 Running ssh-add (command line suppressed) 00:27:34 Identity added: /w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5720058217754157244.key (/w/workspace/ndry_app-functions-sdk-go_master@tmp/private_key_5720058217754157244.key) 00:27:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:27:35 + git semver push 00:27:35 # -> Open(): unable to determine branch for HEAD 00:27:35 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.git 00:27:35 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_master 00:27:35 # $SEMVER_REMOTE_NAME = origin 00:27:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:27:35 # $SEMVER_USER_NAME = edgex-jenkins 00:27:35 # $SEMVER_BRANCH = master 00:27:35 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_master/.semver [Pipeline] } 00:27:39 $ docker exec --env ******** --env ******** e76b129247b866cee9e50166d3966f03079ec60a2ab086d9ec6f35fdef4cf01a ssh-agent -k 00:27:39 unset SSH_AUTH_SOCK; 00:27:39 unset SSH_AGENT_PID; 00:27:39 echo Agent pid 18 killed; 00:27:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:27:39 + git semver [Pipeline] } 00:27:39 $ docker stop --time=1 e76b129247b866cee9e50166d3966f03079ec60a2ab086d9ec6f35fdef4cf01a 00:27:41 $ docker rm -f e76b129247b866cee9e50166d3966f03079ec60a2ab086d9ec6f35fdef4cf01a [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 00:27:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:27:42 ---> package-listing.sh 00:27:42 ++ facter osfamily 00:27:42 ++ tr '[:upper:]' '[:lower:]' 00:27:42 + OS_FAMILY=redhat 00:27:42 + workspace=/w/workspace/ndry_app-functions-sdk-go_master 00:27:42 + START_PACKAGES=/tmp/packages_start.txt 00:27:42 + END_PACKAGES=/tmp/packages_end.txt 00:27:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:27:42 + PACKAGES=/tmp/packages_start.txt 00:27:42 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 00:27:42 + PACKAGES=/tmp/packages_end.txt 00:27:42 + case "${OS_FAMILY}" in 00:27:42 + rpm -qa 00:27:42 + sort 00:27:48 + '[' -f /tmp/packages_start.txt ']' 00:27:48 + '[' -f /tmp/packages_end.txt ']' 00:27:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:27:48 + '[' /w/workspace/ndry_app-functions-sdk-go_master ']' 00:27:48 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_master/archives/ 00:27:48 + 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 00:27:48 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 00:27:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:27:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:27:48 00:27:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:27:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:27:49 alpine: Pulling from edgex-lftools-log-publisher 00:27:49 df20fa9351a1: Pulling fs layer 00:27:49 36b3adc4ff6f: Pulling fs layer 00:27:49 8ad3a11d3b57: Pulling fs layer 00:27:49 46f8f816bc3b: Pulling fs layer 00:27:49 93b61091891f: Pulling fs layer 00:27:49 93b9cdb0e59b: Pulling fs layer 00:27:49 5e14af77c1be: Pulling fs layer 00:27:49 01666e4c0597: Pulling fs layer 00:27:49 aa168da1d23b: Pulling fs layer 00:27:49 46f8f816bc3b: Waiting 00:27:49 93b61091891f: Waiting 00:27:49 93b9cdb0e59b: Waiting 00:27:49 5e14af77c1be: Waiting 00:27:49 01666e4c0597: Waiting 00:27:49 aa168da1d23b: Waiting 00:27:49 36b3adc4ff6f: Verifying Checksum 00:27:49 36b3adc4ff6f: Download complete 00:27:49 46f8f816bc3b: Verifying Checksum 00:27:49 46f8f816bc3b: Download complete 00:27:49 df20fa9351a1: Verifying Checksum 00:27:49 df20fa9351a1: Download complete 00:27:49 93b9cdb0e59b: Verifying Checksum 00:27:49 93b9cdb0e59b: Download complete 00:27:49 5e14af77c1be: Verifying Checksum 00:27:49 5e14af77c1be: Download complete 00:27:49 93b61091891f: Verifying Checksum 00:27:49 93b61091891f: Download complete 00:27:49 01666e4c0597: Verifying Checksum 00:27:49 01666e4c0597: Download complete 00:27:49 8ad3a11d3b57: Verifying Checksum 00:27:49 8ad3a11d3b57: Download complete 00:27:49 df20fa9351a1: Pull complete 00:27:49 36b3adc4ff6f: Pull complete 00:27:51 8ad3a11d3b57: Pull complete 00:27:51 aa168da1d23b: Verifying Checksum 00:27:51 aa168da1d23b: Download complete 00:27:51 46f8f816bc3b: Pull complete 00:27:51 93b61091891f: Pull complete 00:27:51 93b9cdb0e59b: Pull complete 00:27:51 5e14af77c1be: Pull complete 00:27:52 01666e4c0597: Pull complete 00:28:00 aa168da1d23b: Pull complete 00:28:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:28:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:28:00 prd-centos7-docker-4c-2g-1936 does not seem to be running inside a container 00:28:00 $ 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 00:28:03 $ docker top 0a411a7f73bb92fcf7f5a739a36ee8208a5baf79a9635b87c8e64edd11a9c5c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:28:04 + mkdir -p /var/log/sa [Pipeline] sh 00:28:04 + ls /var/log/sa-host 00:28:04 + sadf -c /var/log/sa-host/sa23 00:28:04 file_magic: OK 00:28:04 HZ: Using current value: 100 00:28:04 file_header: OK 00:28:04 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 00:28:04 Statistics: 00:28:04 Hnuu...uuuununununu... 00:28:04 File successfully converted to sysstat format version 12.2.1 00:28:04 + sadf -c /var/log/sa-host/sa27 00:28:04 file_magic: OK 00:28:04 HZ: Using current value: 100 00:28:04 file_header: OK 00:28:04 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 00:28:04 Statistics: 00:28:04 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:28:04 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:28:05 provisioning config files... 00:28:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_master@tmp/config3136749598540877683tmp [Pipeline] { [Pipeline] echo 00:28:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:28:06 ---> create-netrc.sh [Pipeline] } 00:28:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:28:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:28:06 ---> python-tools-install.sh [Pipeline] echo 00:28:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:28:06 ---> sudo-logs.sh 00:28:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:28:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:28:07 ---> job-cost.sh 00:28:07 lf-activate-venv: SKIPPING 00:28:07 DEBUG: total: 0.20999999344348907 00:28:07 INFO: Retrieving Stack Cost... 00:28:08 INFO: Retrieving Pricing Info for: v1-standard-2 00:28:08 INFO: Archiving Costs [Pipeline] echo 00:28:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:28:09 ---> logs-deploy.sh 00:28:09 lf-activate-venv: SKIPPING 00:28:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/master/219 00:28:09 INFO: archiving workspace using pattern(s): 00:28:11 Archives upload complete. 00:28:11 INFO: archiving logs to Nexus