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