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