Pull request #647 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d0f567598358b15cc689585f56670e3475003009+78327a46572e967a5a0e34662e53080e530e38da (5671989430d64d98d8c8756fbae2e6b27cfaf664) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-functions-sdk-go-settings PROJECT: app-functions-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21747’ is offline; ‘prd-centos7-docker-4c-2g-21751’ is offline; ‘prd-centos7-docker-4c-2g-21754’ is offline; ‘prd-centos7-docker-4c-2g-21755’ is offline; ‘prd-centos7-docker-4c-2g-21758’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21750’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21757’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21762 in /w/workspace/ndry_app-functions-sdk-go_PR-647 [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_PR-647 # 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/pull/647/head:refs/remotes/origin/PR-647 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 78327a46572e967a5a0e34662e53080e530e38da into PR head commit d0f567598358b15cc689585f56670e3475003009 Merge succeeded, producing d0f567598358b15cc689585f56670e3475003009 Checking out Revision d0f567598358b15cc689585f56670e3475003009 (PR-647) > git config core.sparsecheckout # timeout=10 > git checkout -f d0f567598358b15cc689585f56670e3475003009 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0f567598358b15cc689585f56670e3475003009 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:01:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:01:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:01:57 ========================================================= 00:01:57 EdgeX Global Pipelines Version Info 00:01:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8dda25d0a4ceaad7b882d485f4956c09d9c0390a # timeout=10 00:01:59 ------------------- 00:01:59 stable info: 00:01:59 ------------------- 00:01:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:01:59 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:01:59 Message: update stable to v1.0.179 00:02:00 ------------------- 00:02:00 experimental info: 00:02:00 ------------------- 00:02:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:02:00 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:02:00 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:02:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:02:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:02:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:02:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:02:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-647 [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-647 [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-647 [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0f567598358b15cc689585f56670e3475003009 [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0f5675 [Pipeline] echo 00:02:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:04 + git log --format=format:%s -1 d0f567598358b15cc689585f56670e3475003009 [Pipeline] echo 00:02:04 GIT_COMMIT: d0f567598358b15cc689585f56670e3475003009, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 00:02:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:02:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:02:05 00:02:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:02:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:02:06 latest: Pulling from edgex-devops/git-semver 00:02:06 31603596830f: Pulling fs layer 00:02:06 2a8b12db71e7: Pulling fs layer 00:02:06 6ca5941a6612: Pulling fs layer 00:02:06 ecc8261a40a4: Pulling fs layer 00:02:06 ecc8261a40a4: Waiting 00:02:06 2a8b12db71e7: Verifying Checksum 00:02:06 2a8b12db71e7: Download complete 00:02:06 31603596830f: Download complete 00:02:06 ecc8261a40a4: Verifying Checksum 00:02:06 ecc8261a40a4: Download complete 00:02:06 6ca5941a6612: Verifying Checksum 00:02:06 6ca5941a6612: Download complete 00:02:06 31603596830f: Pull complete 00:02:06 2a8b12db71e7: Pull complete 00:02:07 6ca5941a6612: Pull complete 00:02:07 ecc8261a40a4: Pull complete 00:02:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:02:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:02:08 prd-centos7-docker-4c-2g-21762 does not seem to be running inside a container 00:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-647 -v /w/workspace/ndry_app-functions-sdk-go_PR-647:/w/workspace/ndry_app-functions-sdk-go_PR-647:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-647@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-647@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:02:10 $ docker top 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:10 [ssh-agent] Looking for ssh-agent implementation... 00:02:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:10 $ docker exec 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 ssh-agent 00:02:11 SSH_AUTH_SOCK=/tmp/ssh-dGa4zmwh2nSY/agent.13 00:02:11 SSH_AGENT_PID=19 00:02:11 Running ssh-add (command line suppressed) 00:02:11 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-647@tmp/private_key_6388921078736530263.key (/w/workspace/ndry_app-functions-sdk-go_PR-647@tmp/private_key_6388921078736530263.key) 00:02:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:11 + git tag --points-at HEAD [Pipeline] } 00:02:11 $ docker exec --env ******** --env ******** 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 ssh-agent -k 00:02:11 unset SSH_AUTH_SOCK; 00:02:11 unset SSH_AGENT_PID; 00:02:11 echo Agent pid 19 killed; 00:02:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:11 [ssh-agent] Looking for ssh-agent implementation... 00:02:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:12 $ docker exec 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 ssh-agent 00:02:12 SSH_AUTH_SOCK=/tmp/ssh-hc2PxGUk2VqW/agent.48 00:02:12 SSH_AGENT_PID=54 00:02:12 Running ssh-add (command line suppressed) 00:02:12 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-647@tmp/private_key_584155582610095763.key (/w/workspace/ndry_app-functions-sdk-go_PR-647@tmp/private_key_584155582610095763.key) 00:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:12 + git semver init 00:02:12 # -> Open(): unable to determine branch for HEAD 00:02:12 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-647/.git 00:02:12 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-647 00:02:12 # $SEMVER_REMOTE_NAME = origin 00:02:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:02:12 # $SEMVER_USER_NAME = edgex-jenkins 00:02:12 # $SEMVER_BRANCH = PR-647 00:02:12 # $SEMVER_TEMP = /tmp/semver-760548095 00:02:12 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:02:15 # '/tmp/semver-760548095' -> '/w/workspace/ndry_app-functions-sdk-go_PR-647/.semver' 00:02:15 # -> Force: false 00:02:15 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-647/.semver [Pipeline] } 00:02:15 $ docker exec --env ******** --env ******** 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 ssh-agent -k 00:02:15 unset SSH_AUTH_SOCK; 00:02:15 unset SSH_AGENT_PID; 00:02:15 echo Agent pid 54 killed; 00:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:16 + git semver [Pipeline] } 00:02:16 $ docker stop --time=1 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 00:02:17 $ docker rm -f 666ff5310b18f2217c345fc0851b10223330ea4605b63d4f7db314f7f9a795a0 [Pipeline] // withDockerContainer [Pipeline] sh 00:02:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:02:18 Stashed 1 file(s) [Pipeline] echo 00:02:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 00:02:34 Still waiting to schedule task 00:02:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:02:34 Still waiting to schedule task 00:02:34 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21747’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21751’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21753’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21754’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21755’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-21758’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21750’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21757’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21764’ is offline 00:04:03 Running on prd-centos7-docker-4c-2g-21767 in /w/workspace/ndry_app-functions-sdk-go_PR-647 [Pipeline] { [Pipeline] ws 00:04:03 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 00:04:06 using credential edgex-jenkins-ssh 00:04:06 Cloning the remote Git repository 00:04:06 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:04:06 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 00:04:06 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:04:06 > git --version # timeout=10 00:04:06 > git --version # 'git version 2.24.3' 00:04:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:09 Merging remotes/origin/master commit 78327a46572e967a5a0e34662e53080e530e38da into PR head commit d0f567598358b15cc689585f56670e3475003009 00:04:09 Merge succeeded, producing d0f567598358b15cc689585f56670e3475003009 00:04:09 Checking out Revision d0f567598358b15cc689585f56670e3475003009 (PR-647) 00:04:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:04:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:09 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:04:09 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:04:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/647/head:refs/remotes/origin/PR-647 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:04:09 > git config core.sparsecheckout # timeout=10 00:04:09 > git checkout -f d0f567598358b15cc689585f56670e3475003009 # timeout=10 00:04:09 > git remote # timeout=10 00:04:09 > git config --get remote.origin.url # timeout=10 00:04:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:09 > git merge 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 00:04:09 > git rev-parse HEAD^{commit} # timeout=10 00:04:09 > git config core.sparsecheckout # timeout=10 00:04:09 > git checkout -f d0f567598358b15cc689585f56670e3475003009 # timeout=10 00:04:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:04:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:04:15 + sudo service docker restart 00:04:15 + true 00:04:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 00:04:16 ========================================================= 00:04:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:04:16 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:04:16 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:04:17 Sending build context to Docker daemon 19.02MB 00:04:17 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:04:17 Step 2/8 : FROM ${BASE} 00:04:17 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:04:17 188c0c94c7c5: Pulling fs layer 00:04:17 0ef7d3d256c8: Pulling fs layer 00:04:17 de9db76c5a1d: Pulling fs layer 00:04:17 bca2f99d35d6: Pulling fs layer 00:04:17 93359f2a8cfa: Pulling fs layer 00:04:17 7c6f9722023f: Pulling fs layer 00:04:17 a35cf1a2eb13: Pulling fs layer 00:04:17 bca2f99d35d6: Waiting 00:04:17 93359f2a8cfa: Waiting 00:04:17 7c6f9722023f: Waiting 00:04:17 a35cf1a2eb13: Waiting 00:04:17 de9db76c5a1d: Verifying Checksum 00:04:17 de9db76c5a1d: Download complete 00:04:17 0ef7d3d256c8: Download complete 00:04:17 93359f2a8cfa: Verifying Checksum 00:04:17 93359f2a8cfa: Download complete 00:04:17 7c6f9722023f: Verifying Checksum 00:04:17 7c6f9722023f: Download complete 00:04:17 188c0c94c7c5: Verifying Checksum 00:04:17 188c0c94c7c5: Download complete 00:04:18 188c0c94c7c5: Pull complete 00:04:18 0ef7d3d256c8: Pull complete 00:04:18 de9db76c5a1d: Pull complete 00:04:19 a35cf1a2eb13: Verifying Checksum 00:04:19 a35cf1a2eb13: Download complete 00:04:20 bca2f99d35d6: Download complete 00:04:25 bca2f99d35d6: Pull complete 00:04:25 93359f2a8cfa: Pull complete 00:04:25 7c6f9722023f: Pull complete 00:04:33 a35cf1a2eb13: Pull complete 00:04:33 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:04:33 ---> a62c8e92a672 00:04:33 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:04:33 20.10.0: Pulling from library/docker 00:04:33 05e7bc50f07f: Pulling fs layer 00:04:33 6db28d0fdbf6: Pulling fs layer 00:04:33 292df0bc6bf3: Pulling fs layer 00:04:33 2e060f4bd70b: Pulling fs layer 00:04:33 80e8d568a223: Pulling fs layer 00:04:33 8dc6ef1a942a: Pulling fs layer 00:04:33 2312dd95470a: Pulling fs layer 00:04:33 80e8d568a223: Waiting 00:04:33 8dc6ef1a942a: Waiting 00:04:33 2312dd95470a: Waiting 00:04:33 2e060f4bd70b: Waiting 00:04:33 292df0bc6bf3: Download complete 00:04:33 6db28d0fdbf6: Verifying Checksum 00:04:33 6db28d0fdbf6: Download complete 00:04:33 05e7bc50f07f: Verifying Checksum 00:04:33 05e7bc50f07f: Download complete 00:04:33 80e8d568a223: Verifying Checksum 00:04:33 80e8d568a223: Download complete 00:04:33 2312dd95470a: Verifying Checksum 00:04:33 2312dd95470a: Download complete 00:04:33 8dc6ef1a942a: Verifying Checksum 00:04:33 8dc6ef1a942a: Download complete 00:04:33 05e7bc50f07f: Pull complete 00:04:34 6db28d0fdbf6: Pull complete 00:04:34 292df0bc6bf3: Pull complete 00:04:34 2e060f4bd70b: Verifying Checksum 00:04:34 2e060f4bd70b: Download complete 00:04:37 2e060f4bd70b: Pull complete 00:04:37 80e8d568a223: Pull complete 00:04:37 8dc6ef1a942a: Pull complete 00:04:37 2312dd95470a: Pull complete 00:04:37 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:04:37 Status: Downloaded newer image for docker:20.10.0 00:04:39 ---> e9ac07ee1130 00:04:39 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:04:39 ---> Running in d793a41646a8 00:04:39 Removing intermediate container d793a41646a8 00:04:39 ---> 955e0759e3d1 00:04:39 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:04:39 ---> Running in 3bec967a3c15 00:04:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:04:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:04:41 (1/5) Installing libsodium (1.0.18-r0) 00:04:41 (2/5) Installing libzmq (4.3.3-r0) 00:04:41 (3/5) Installing pkgconf (1.7.2-r0) 00:04:42 (4/5) Installing libsodium-dev (1.0.18-r0) 00:04:42 (5/5) Installing zeromq-dev (4.3.3-r0) 00:04:42 Executing busybox-1.31.1-r19.trigger 00:04:42 OK: 167 MiB in 44 packages 00:04:43 Removing intermediate container 3bec967a3c15 00:04:43 ---> 9a72f833a21d 00:04:43 Step 6/8 : WORKDIR /build 00:04:43 ---> Running in 4141d2ad08c2 00:04:43 Removing intermediate container 4141d2ad08c2 00:04:43 ---> 601df4ab4f0e 00:04:43 Step 7/8 : COPY go.mod . 00:04:43 ---> 1552c36f7bc1 00:04:43 Step 8/8 : RUN go mod download 00:04:43 ---> Running in 26c81c133450 00:05:09 Removing intermediate container 26c81c133450 00:05:09 ---> a005988254fa 00:05:09 Successfully built a005988254fa 00:05:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:05:10 + docker inspect -f . ci-base-image-x86_64 00:05:10 . [Pipeline] withDockerContainer 00:05:10 prd-centos7-docker-4c-2g-21767 does not seem to be running inside a container 00:05:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:05:11 $ docker top b1e870f8f0e1b361386723e1bde4e971e1c439136bf8766728a817ccd3f71aba -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:11 + go version 00:05:11 go version go1.15.5 linux/amd64 [Pipeline] } 00:05:11 $ docker stop --time=1 b1e870f8f0e1b361386723e1bde4e971e1c439136bf8766728a817ccd3f71aba 00:05:13 $ docker rm -f b1e870f8f0e1b361386723e1bde4e971e1c439136bf8766728a817ccd3f71aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:05:13 + docker inspect -f . ci-base-image-x86_64 00:05:13 . [Pipeline] withDockerContainer 00:05:14 prd-centos7-docker-4c-2g-21767 does not seem to be running inside a container 00:05:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:05:14 $ docker top b15f9c9a4591d77927808b4dfe78f03b631f90e379a2b394b0f4ac2c55f092fe -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:15 + make test 00:05:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:05:16 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 00:05:24 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.010s coverage: 81.0% of statements 00:05:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.047s coverage: 48.6% of statements 00:05:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:05:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:05:31 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.025s coverage: 61.5% of statements 00:05:31 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:05:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.030s coverage: 67.7% of statements 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:05:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.051s coverage: 97.0% of statements 00:05:32 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:05:32 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.013s coverage: 8.8% of statements 00:05:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.224s coverage: 75.4% of statements 00:05:40 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:05:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.042s coverage: 87.9% of statements 00:05:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.015s coverage: 80.5% of statements 00:05:40 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.017s coverage: 71.7% of statements 00:06:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.023s coverage: 81.4% of statements 00:06:02 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.006s coverage: 94.4% of statements 00:06:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:06:02 gofmt -l . 00:06:02 [ "`gofmt -l .`" = "" ] 00:06:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:06:02 $ docker stop --time=1 b15f9c9a4591d77927808b4dfe78f03b631f90e379a2b394b0f4ac2c55f092fe 00:06:04 $ docker rm -f b15f9c9a4591d77927808b4dfe78f03b631f90e379a2b394b0f4ac2c55f092fe [Pipeline] // withDockerContainer [Pipeline] sh 00:06:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:06:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:07:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21769 in /w/workspace/ndry_app-functions-sdk-go_PR-647 [Pipeline] { [Pipeline] ws 00:07:13 Running in /w/workspace/app-functions-sdk-go/4 [Pipeline] { [Pipeline] checkout 00:07:18 using credential edgex-jenkins-ssh 00:07:18 Cloning the remote Git repository 00:07:18 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:18 > git init /w/workspace/app-functions-sdk-go/4 # timeout=10 00:07:18 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:18 > git --version # timeout=10 00:07:18 > git --version # 'git version 2.17.1' 00:07:18 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:07:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:07:21 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:07:21 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:07:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/647/head:refs/remotes/origin/PR-647 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:07:22 Merging remotes/origin/master commit 78327a46572e967a5a0e34662e53080e530e38da into PR head commit d0f567598358b15cc689585f56670e3475003009 00:07:22 Merge succeeded, producing d0f567598358b15cc689585f56670e3475003009 00:07:22 Checking out Revision d0f567598358b15cc689585f56670e3475003009 (PR-647) 00:07:22 > git config core.sparsecheckout # timeout=10 00:07:22 > git checkout -f d0f567598358b15cc689585f56670e3475003009 # timeout=10 00:07:22 > git remote # timeout=10 00:07:22 > git config --get remote.origin.url # timeout=10 00:07:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:07:22 > git merge 78327a46572e967a5a0e34662e53080e530e38da # timeout=10 00:07:22 > git rev-parse HEAD^{commit} # timeout=10 00:07:22 > git config core.sparsecheckout # timeout=10 00:07:22 > git checkout -f d0f567598358b15cc689585f56670e3475003009 # timeout=10 00:07:27 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:07:28 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:07:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:07:29 + + sudotrue service 00:07:29 docker restart [Pipeline] unstash [Pipeline] echo 00:07:32 ========================================================= 00:07:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:07:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:07:32 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:07:33 Sending build context to Docker daemon 19.02MB 00:07:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:07:33 Step 2/8 : FROM ${BASE} 00:07:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:07:34 5f621e34cdf4: Pulling fs layer 00:07:34 a4357932f1b6: Pulling fs layer 00:07:34 18c013af1878: Pulling fs layer 00:07:34 00ac8860ef70: Pulling fs layer 00:07:34 63d7cb157983: Pulling fs layer 00:07:34 b116817d02f9: Pulling fs layer 00:07:34 745a02a5169b: Pulling fs layer 00:07:34 00ac8860ef70: Waiting 00:07:34 63d7cb157983: Waiting 00:07:34 b116817d02f9: Waiting 00:07:34 745a02a5169b: Waiting 00:07:34 18c013af1878: Verifying Checksum 00:07:34 18c013af1878: Download complete 00:07:34 a4357932f1b6: Verifying Checksum 00:07:34 a4357932f1b6: Download complete 00:07:34 63d7cb157983: Verifying Checksum 00:07:34 63d7cb157983: Download complete 00:07:34 b116817d02f9: Verifying Checksum 00:07:34 b116817d02f9: Download complete 00:07:34 5f621e34cdf4: Verifying Checksum 00:07:34 5f621e34cdf4: Download complete 00:07:34 5f621e34cdf4: Pull complete 00:07:35 a4357932f1b6: Pull complete 00:07:35 18c013af1878: Pull complete 00:07:37 745a02a5169b: Verifying Checksum 00:07:37 745a02a5169b: Download complete 00:07:37 00ac8860ef70: Verifying Checksum 00:07:37 00ac8860ef70: Download complete 00:07:47 00ac8860ef70: Pull complete 00:07:48 63d7cb157983: Pull complete 00:07:48 b116817d02f9: Pull complete 00:07:51 745a02a5169b: Pull complete 00:07:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:07:52 ---> b7e6874047d6 00:07:52 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 00:07:52 20.10.0: Pulling from library/docker 00:07:52 a3cc7d3b244e: Pulling fs layer 00:07:52 02a3295e0d61: Pulling fs layer 00:07:52 0f4f2e6d8100: Pulling fs layer 00:07:52 330b718f631f: Pulling fs layer 00:07:52 a93816041522: Pulling fs layer 00:07:52 bdb6da89ff94: Pulling fs layer 00:07:52 2a70c0c122f4: Pulling fs layer 00:07:52 a93816041522: Waiting 00:07:52 bdb6da89ff94: Waiting 00:07:52 2a70c0c122f4: Waiting 00:07:52 0f4f2e6d8100: Download complete 00:07:52 02a3295e0d61: Verifying Checksum 00:07:52 02a3295e0d61: Download complete 00:07:52 a93816041522: Verifying Checksum 00:07:52 a93816041522: Download complete 00:07:52 a3cc7d3b244e: Verifying Checksum 00:07:52 bdb6da89ff94: Verifying Checksum 00:07:52 bdb6da89ff94: Download complete 00:07:52 2a70c0c122f4: Verifying Checksum 00:07:52 2a70c0c122f4: Download complete 00:07:53 a3cc7d3b244e: Pull complete 00:07:53 02a3295e0d61: Pull complete 00:07:54 330b718f631f: Verifying Checksum 00:07:54 0f4f2e6d8100: Pull complete 00:07:58 330b718f631f: Pull complete 00:07:58 a93816041522: Pull complete 00:07:58 bdb6da89ff94: Pull complete 00:07:59 2a70c0c122f4: Pull complete 00:07:59 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 00:07:59 Status: Downloaded newer image for docker:20.10.0 00:08:06 ---> d42e9cce6ce2 00:08:06 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:08:06 ---> Running in a2f3fb953529 00:08:06 Removing intermediate container a2f3fb953529 00:08:06 ---> 97eb87ea06eb 00:08:06 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:08:06 ---> Running in fc1e1ab54136 00:08:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:08:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:08:09 (1/5) Installing libsodium (1.0.18-r0) 00:08:09 (2/5) Installing libzmq (4.3.3-r0) 00:08:09 (3/5) Installing pkgconf (1.7.2-r0) 00:08:09 (4/5) Installing libsodium-dev (1.0.18-r0) 00:08:10 (5/5) Installing zeromq-dev (4.3.3-r0) 00:08:10 Executing busybox-1.31.1-r19.trigger 00:08:10 OK: 144 MiB in 44 packages 00:08:11 Removing intermediate container fc1e1ab54136 00:08:11 ---> e9b5a44d78cc 00:08:11 Step 6/8 : WORKDIR /build 00:08:11 ---> Running in fb40d71086d4 00:08:12 Removing intermediate container fb40d71086d4 00:08:12 ---> 6a2d6c316b33 00:08:12 Step 7/8 : COPY go.mod . 00:08:12 ---> caa30c3bc68e 00:08:12 Step 8/8 : RUN go mod download 00:08:13 ---> Running in 89d374fb559f 00:08:39 Removing intermediate container 89d374fb559f 00:08:39 ---> 2d006f823fa6 00:08:39 Successfully built 2d006f823fa6 00:08:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:08:40 + docker inspect -f . ci-base-image-arm64 00:08:40 . [Pipeline] withDockerContainer 00:08:40 prd-ubuntu18.04-docker-arm64-4c-16g-21769 does not seem to be running inside a container 00:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:42 $ docker top 7dc29853d1f3020a5d2ddfeeb23dc6238d38493d30888038ec54da65afc5b075 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:43 + go version 00:08:43 go version go1.15.5 linux/arm64 [Pipeline] } 00:08:43 $ docker stop --time=1 7dc29853d1f3020a5d2ddfeeb23dc6238d38493d30888038ec54da65afc5b075 00:08:44 $ docker rm -f 7dc29853d1f3020a5d2ddfeeb23dc6238d38493d30888038ec54da65afc5b075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:08:46 + docker inspect -f . ci-base-image-arm64 00:08:46 . [Pipeline] withDockerContainer 00:08:46 prd-ubuntu18.04-docker-arm64-4c-16g-21769 does not seem to be running inside a container 00:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/4 -v /w/workspace/app-functions-sdk-go/4:/w/workspace/app-functions-sdk-go/4:rw,z -v /w/workspace/app-functions-sdk-go/4@tmp:/w/workspace/app-functions-sdk-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:08:47 $ docker top 76b58671a83abaca4cbf431db35901b352f167b4ec3fa4d0b5242842727f4ec6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:08:48 + make test 00:08:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:08:50 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 00:09:12 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.080s coverage: 81.0% of statements 00:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.054s coverage: 48.6% of statements 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 00:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.076s coverage: 61.5% of statements 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 00:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime 0.053s coverage: 67.7% of statements 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 00:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.023s coverage: 97.0% of statements 00:09:35 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 00:09:35 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.046s coverage: 8.8% of statements 00:09:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus 7.290s coverage: 75.4% of statements 00:09:43 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 00:09:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.042s coverage: 87.9% of statements 00:09:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.038s coverage: 80.5% of statements 00:09:43 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.034s coverage: 71.7% of statements 00:10:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.060s coverage: 81.4% of statements 00:10:05 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.023s coverage: 94.4% of statements 00:10:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:10:13 gofmt -l . 00:10:13 [ "`gofmt -l .`" = "" ] 00:10:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:10:14 $ docker stop --time=1 76b58671a83abaca4cbf431db35901b352f167b4ec3fa4d0b5242842727f4ec6 00:10:16 $ docker rm -f 76b58671a83abaca4cbf431db35901b352f167b4ec3fa4d0b5242842727f4ec6 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:10:17 Warning: overwriting stash ‘coverage-report’ 00:10:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 00:10:21 provisioning config files... 00:10:21 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-647@tmp/config6667440080357196616tmp [Pipeline] { [Pipeline] sh 00:10:22 + set +x 00:10:22 + curl -s https://codecov.io/bash 00:10:22 + bash -s -- 00:10:22 00:10:22 _____ _ 00:10:22 / ____| | | 00:10:22 | | ___ __| | ___ ___ _____ __ 00:10:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:10:22 | |___| (_) | (_| | __/ (_| (_) \ V / 00:10:22 \_____\___/ \__,_|\___|\___\___/ \_/ 00:10:22 Bash-20210115-cec3c92 00:10:22 00:10:22 00:10:22 ==> git version 2.24.3 found 00:10:22 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 00:10:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:10:22 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:10:22 ==> Jenkins CI detected. 00:10:22 project root: . 00:10:22 --> token set from env 00:10:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:10:22 ==> Running gcov in . (disable via -X gcov) 00:10:22 ==> Python coveragepy not found 00:10:22 ==> Searching for coverage reports in: 00:10:22 + . 00:10:22 -> Found 1 reports 00:10:22 ==> Detecting git/mercurial file structure 00:10:22 ==> Reading reports 00:10:22 + ./coverage.out bytes=74114 00:10:22 ==> Appending adjustments 00:10:22 https://docs.codecov.io/docs/fixing-reports 00:10:22 + Found adjustments 00:10:22 ==> Gzipping contents 00:10:22 16K /tmp/codecov.TwqY9B.gz 00:10:22 ==> Uploading reports 00:10:22 url: https://codecov.io 00:10:22 query: branch=PR-647&commit=d0f567598358b15cc689585f56670e3475003009&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-647%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=647&job=&cmd_args= 00:10:22 -> Pinging Codecov 00:10:22 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-647&commit=d0f567598358b15cc689585f56670e3475003009&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-647%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=647&job=&cmd_args= 00:10:23 -> Uploading to 00:10:23 https://storage.googleapis.com/codecov/v4/raw/2021-01-21/3D8B5DFFC46A037C893635FACE044666/d0f567598358b15cc689585f56670e3475003009/4dd362aa-c9f2-4f99-a8d8-f202a1812fc8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210121T001022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=833f829f112e4d4cf3a3a2b02ff6cb48e04eb1994e6780f26fc51f0a900450e9 00:10:23 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:23 Dload Upload Total Spent Left Speed 00:10:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12867 0 0 100 12867 0 28759 --:--:-- --:--:-- --:--:-- 28785 00:10:23 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/d0f567598358b15cc689585f56670e3475003009 [Pipeline] } 00:10:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:10:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:10:26 ---> package-listing.sh 00:10:26 ++ tr '[:upper:]' '[:lower:]' 00:10:26 ++ facter osfamily 00:10:26 + OS_FAMILY=redhat 00:10:26 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-647 00:10:26 + START_PACKAGES=/tmp/packages_start.txt 00:10:26 + END_PACKAGES=/tmp/packages_end.txt 00:10:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:10:26 + PACKAGES=/tmp/packages_start.txt 00:10:26 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-647 ']' 00:10:26 + PACKAGES=/tmp/packages_end.txt 00:10:26 + case "${OS_FAMILY}" in 00:10:26 + rpm -qa 00:10:26 + sort 00:10:31 + '[' -f /tmp/packages_start.txt ']' 00:10:31 + '[' -f /tmp/packages_end.txt ']' 00:10:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:10:31 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-647 ']' 00:10:31 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-647/archives/ 00:10:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-647/archives/ [Pipeline] echo 00:10:31 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_PR-647/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:10:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:10:32 00:10:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:10:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:10:32 alpine: Pulling from edgex-lftools-log-publisher 00:10:32 df20fa9351a1: Pulling fs layer 00:10:32 36b3adc4ff6f: Pulling fs layer 00:10:32 8ad3a11d3b57: Pulling fs layer 00:10:32 46f8f816bc3b: Pulling fs layer 00:10:32 93b61091891f: Pulling fs layer 00:10:32 93b9cdb0e59b: Pulling fs layer 00:10:32 5e14af77c1be: Pulling fs layer 00:10:32 01666e4c0597: Pulling fs layer 00:10:32 aa168da1d23b: Pulling fs layer 00:10:32 93b9cdb0e59b: Waiting 00:10:32 01666e4c0597: Waiting 00:10:32 aa168da1d23b: Waiting 00:10:32 5e14af77c1be: Waiting 00:10:32 46f8f816bc3b: Waiting 00:10:32 36b3adc4ff6f: Verifying Checksum 00:10:32 36b3adc4ff6f: Download complete 00:10:32 46f8f816bc3b: Verifying Checksum 00:10:32 46f8f816bc3b: Download complete 00:10:32 df20fa9351a1: Verifying Checksum 00:10:32 df20fa9351a1: Download complete 00:10:32 93b9cdb0e59b: Verifying Checksum 00:10:32 93b9cdb0e59b: Download complete 00:10:33 5e14af77c1be: Verifying Checksum 00:10:33 5e14af77c1be: Download complete 00:10:33 93b61091891f: Download complete 00:10:33 01666e4c0597: Verifying Checksum 00:10:33 01666e4c0597: Download complete 00:10:33 df20fa9351a1: Pull complete 00:10:33 36b3adc4ff6f: Pull complete 00:10:33 8ad3a11d3b57: Verifying Checksum 00:10:33 8ad3a11d3b57: Download complete 00:10:34 8ad3a11d3b57: Pull complete 00:10:34 46f8f816bc3b: Pull complete 00:10:35 aa168da1d23b: Verifying Checksum 00:10:35 aa168da1d23b: Download complete 00:10:35 93b61091891f: Pull complete 00:10:35 93b9cdb0e59b: Pull complete 00:10:36 5e14af77c1be: Pull complete 00:10:36 01666e4c0597: Pull complete 00:10:44 aa168da1d23b: Pull complete 00:10:44 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:10:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:10:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:10:44 prd-centos7-docker-4c-2g-21762 does not seem to be running inside a container 00:10:44 $ 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_PR-647/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_PR-647 -v /w/workspace/ndry_app-functions-sdk-go_PR-647:/w/workspace/ndry_app-functions-sdk-go_PR-647:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-647@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-647@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:10:47 $ docker top a70f80f46e5dee92915e1ba9be54730a5d99c6ea49aa0c0cc2d42ecdf8179c41 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:48 + touch /tmp/pre-build-complete [Pipeline] sh 00:10:48 + mkdir -p /var/log/sa [Pipeline] sh 00:10:48 + ls /var/log/sa-host 00:10:48 + sadf -c /var/log/sa-host/sa21 00:10:48 file_magic: OK 00:10:48 HZ: Using current value: 100 00:10:48 file_header: OK 00:10:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:10:48 Statistics: 00:10:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:10:48 File successfully converted to sysstat format version 12.2.1 00:10:48 + sadf -c /var/log/sa-host/sa23 00:10:48 file_magic: OK 00:10:48 HZ: Using current value: 100 00:10:48 file_header: OK 00:10:48 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:10:48 Statistics: 00:10:48 Hnuu...uuuununununu... 00:10:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:49 provisioning config files... 00:10:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-647@tmp/config7575221702715187231tmp [Pipeline] { [Pipeline] echo 00:10:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:10:49 ---> create-netrc.sh [Pipeline] } 00:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:10:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:10:50 ---> python-tools-install.sh [Pipeline] echo 00:10:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:10:50 ---> sudo-logs.sh 00:10:50 Archiving 'sudo' log.. [Pipeline] echo 00:10:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:10:50 ---> job-cost.sh 00:10:50 lf-activate-venv: SKIPPING 00:10:50 INFO: No Stack... 00:10:51 INFO: Retrieving Pricing Info for: v1-standard-2 00:10:52 INFO: Archiving Costs [Pipeline] echo 00:10:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:10:52 ---> logs-deploy.sh 00:10:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-647/4 00:10:52 INFO: archiving workspace using pattern(s): 00:10:54 Archives upload complete. 00:10:54 INFO: archiving logs to Nexus