Pull request #634 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3213525e07f46870baf82f0506f5c07381bf4745+32260fce1ebf405fc924284e9c557ee5720e11ee (a733b5e5ac801d70c9f145092d85fb58dfd460fa) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20506’ is offline; ‘prd-centos7-docker-4c-2g-20507’ is offline; ‘prd-centos7-docker-4c-2g-20510’ is offline; ‘prd-centos7-docker-4c-2g-20511’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20519 in /w/workspace/ndry_app-functions-sdk-go_PR-634 [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-634 # 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/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 32260fce1ebf405fc924284e9c557ee5720e11ee into PR head commit 3213525e07f46870baf82f0506f5c07381bf4745 Merge succeeded, producing 3213525e07f46870baf82f0506f5c07381bf4745 Checking out Revision 3213525e07f46870baf82f0506f5c07381bf4745 (PR-634) > git config core.sparsecheckout # timeout=10 > git checkout -f 3213525e07f46870baf82f0506f5c07381bf4745 # 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 32260fce1ebf405fc924284e9c557ee5720e11ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3213525e07f46870baf82f0506f5c07381bf4745 # 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 16:34:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk ba0ff7a827f1a49bce5eabfcd97766ce9620998d # timeout=10 [Pipeline] withCredentials 16:34:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:34:41 ========================================================= 16:34:41 EdgeX Global Pipelines Version Info 16:34:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:34:42 ------------------- 16:34:42 stable info: 16:34:42 ------------------- 16:34:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:34:42 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 16:34:42 Message: update stable to v1.0.177 16:34:43 ------------------- 16:34:43 experimental info: 16:34:43 ------------------- 16:34:43 Commited By: **** collab-it+edgex@linuxfoundation.org 16:34:43 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 16:34:43 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:34:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:34:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-634 [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-634 [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-634 [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3213525e07f46870baf82f0506f5c07381bf4745 [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3213525 [Pipeline] echo 16:34:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:47 + git log --format=format:%s -1 3213525e07f46870baf82f0506f5c07381bf4745 [Pipeline] echo 16:34:47 GIT_COMMIT: 3213525e07f46870baf82f0506f5c07381bf4745, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 16:34:47 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:34:48 16:34:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:34:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:34:48 latest: Pulling from edgex-devops/git-semver 16:34:48 31603596830f: Pulling fs layer 16:34:48 2a8b12db71e7: Pulling fs layer 16:34:48 6ca5941a6612: Pulling fs layer 16:34:48 ecc8261a40a4: Pulling fs layer 16:34:48 ecc8261a40a4: Waiting 16:34:48 2a8b12db71e7: Verifying Checksum 16:34:48 2a8b12db71e7: Download complete 16:34:49 31603596830f: Verifying Checksum 16:34:49 31603596830f: Download complete 16:34:49 ecc8261a40a4: Verifying Checksum 16:34:49 ecc8261a40a4: Download complete 16:34:49 6ca5941a6612: Download complete 16:34:49 31603596830f: Pull complete 16:34:49 2a8b12db71e7: Pull complete 16:34:50 6ca5941a6612: Pull complete 16:34:50 ecc8261a40a4: Pull complete 16:34:50 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:34:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:34:51 prd-centos7-docker-4c-2g-20519 does not seem to be running inside a container 16:34:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-634 -v /w/workspace/ndry_app-functions-sdk-go_PR-634:/w/workspace/ndry_app-functions-sdk-go_PR-634:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-634@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-634@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 16:34:53 $ docker top 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:54 [ssh-agent] Looking for ssh-agent implementation... 16:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:54 $ docker exec 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 ssh-agent 16:34:54 SSH_AUTH_SOCK=/tmp/ssh-vfTl3XG8epBe/agent.12 16:34:54 SSH_AGENT_PID=18 16:34:54 Running ssh-add (command line suppressed) 16:34:54 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-634@tmp/private_key_8752658867600597035.key (/w/workspace/ndry_app-functions-sdk-go_PR-634@tmp/private_key_8752658867600597035.key) 16:34:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:55 + git tag --points-at HEAD [Pipeline] } 16:34:55 $ docker exec --env ******** --env ******** 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 ssh-agent -k 16:34:55 unset SSH_AUTH_SOCK; 16:34:55 unset SSH_AGENT_PID; 16:34:55 echo Agent pid 18 killed; 16:34:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:34:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:55 [ssh-agent] Looking for ssh-agent implementation... 16:34:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:55 $ docker exec 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 ssh-agent 16:34:55 SSH_AUTH_SOCK=/tmp/ssh-mLOSxwPmxdu7/agent.46 16:34:55 SSH_AGENT_PID=51 16:34:55 Running ssh-add (command line suppressed) 16:34:56 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-634@tmp/private_key_8014694325707702959.key (/w/workspace/ndry_app-functions-sdk-go_PR-634@tmp/private_key_8014694325707702959.key) 16:34:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:56 + git semver init 16:34:56 # -> Open(): unable to determine branch for HEAD 16:34:56 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-634/.git 16:34:56 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-634 16:34:56 # $SEMVER_REMOTE_NAME = origin 16:34:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:34:56 # $SEMVER_USER_NAME = edgex-jenkins 16:34:56 # $SEMVER_BRANCH = PR-634 16:34:56 # $SEMVER_TEMP = /tmp/semver-167547959 16:34:56 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 16:34:59 # '/tmp/semver-167547959' -> '/w/workspace/ndry_app-functions-sdk-go_PR-634/.semver' 16:34:59 # -> Force: false 16:34:59 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-634/.semver [Pipeline] } 16:34:59 $ docker exec --env ******** --env ******** 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 ssh-agent -k 16:34:59 unset SSH_AUTH_SOCK; 16:34:59 unset SSH_AGENT_PID; 16:34:59 echo Agent pid 51 killed; 16:34:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:59 + git semver [Pipeline] } 16:34:59 $ docker stop --time=1 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 16:35:01 $ docker rm -f 81ab281e54797fff47a8e4ce9aba0c1a47497fce174ce5d64ffedbfc89d6e9c4 [Pipeline] // withDockerContainer [Pipeline] sh 16:35:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:35:02 Stashed 1 file(s) [Pipeline] echo 16:35:02 [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 16:35:18 Still waiting to schedule task 16:35:18 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-20512’ is offline; ‘prd-centos7-docker-4c-2g-20513’ is offline; ‘prd-centos7-docker-4c-2g-20514’ is offline; ‘prd-centos7-docker-4c-2g-20515’ is offline; ‘prd-centos7-docker-4c-2g-20516’ is offline; ‘prd-centos7-docker-4c-2g-20526’ is offline; ‘prd-centos7-docker-4c-2g-20527’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 16:35:18 Still waiting to schedule task 16:35:18 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 16:36:29 Running on prd-centos7-docker-4c-2g-20532 in /w/workspace/ndry_app-functions-sdk-go_PR-634 [Pipeline] { [Pipeline] ws 16:36:29 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:36:32 using credential edgex-jenkins-ssh 16:36:32 Cloning the remote Git repository 16:36:32 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:36:32 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 16:36:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:36:32 > git --version # timeout=10 16:36:32 > git --version # 'git version 2.24.3' 16:36:32 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:36:36 Merging remotes/origin/master commit 32260fce1ebf405fc924284e9c557ee5720e11ee into PR head commit 3213525e07f46870baf82f0506f5c07381bf4745 16:36:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:36:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:36:36 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:36:36 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:36:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:36:36 > git config core.sparsecheckout # timeout=10 16:36:36 > git checkout -f 3213525e07f46870baf82f0506f5c07381bf4745 # timeout=10 16:36:36 Merge succeeded, producing 3213525e07f46870baf82f0506f5c07381bf4745 16:36:36 Checking out Revision 3213525e07f46870baf82f0506f5c07381bf4745 (PR-634) 16:36:36 > git remote # timeout=10 16:36:36 > git config --get remote.origin.url # timeout=10 16:36:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:36:36 > git merge 32260fce1ebf405fc924284e9c557ee5720e11ee # timeout=10 16:36:36 > git rev-parse HEAD^{commit} # timeout=10 16:36:36 > git config core.sparsecheckout # timeout=10 16:36:36 > git checkout -f 3213525e07f46870baf82f0506f5c07381bf4745 # timeout=10 16:36:40 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 16:36:41 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:36:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:36:42 + sudo service docker restart 16:36:42 + true 16:36:42 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 16:36:43 ========================================================= 16:36:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:36:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:36:44 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 16:36:44 Sending build context to Docker daemon 19.14MB 16:36:44 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:36:44 Step 2/8 : FROM ${BASE} 16:36:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:36:44 188c0c94c7c5: Pulling fs layer 16:36:44 0ef7d3d256c8: Pulling fs layer 16:36:44 de9db76c5a1d: Pulling fs layer 16:36:44 bca2f99d35d6: Pulling fs layer 16:36:44 93359f2a8cfa: Pulling fs layer 16:36:44 7c6f9722023f: Pulling fs layer 16:36:44 a35cf1a2eb13: Pulling fs layer 16:36:44 93359f2a8cfa: Waiting 16:36:44 bca2f99d35d6: Waiting 16:36:44 7c6f9722023f: Waiting 16:36:44 a35cf1a2eb13: Waiting 16:36:44 de9db76c5a1d: Verifying Checksum 16:36:44 de9db76c5a1d: Download complete 16:36:44 0ef7d3d256c8: Verifying Checksum 16:36:44 0ef7d3d256c8: Download complete 16:36:44 93359f2a8cfa: Verifying Checksum 16:36:44 93359f2a8cfa: Download complete 16:36:44 7c6f9722023f: Verifying Checksum 16:36:44 7c6f9722023f: Download complete 16:36:44 188c0c94c7c5: Verifying Checksum 16:36:44 188c0c94c7c5: Download complete 16:36:45 188c0c94c7c5: Pull complete 16:36:45 0ef7d3d256c8: Pull complete 16:36:45 de9db76c5a1d: Pull complete 16:36:46 a35cf1a2eb13: Verifying Checksum 16:36:46 a35cf1a2eb13: Download complete 16:36:47 bca2f99d35d6: Verifying Checksum 16:36:47 bca2f99d35d6: Download complete 16:36:52 bca2f99d35d6: Pull complete 16:36:52 93359f2a8cfa: Pull complete 16:36:52 7c6f9722023f: Pull complete 16:36:58 a35cf1a2eb13: Pull complete 16:36:58 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:36:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:36:58 ---> a62c8e92a672 16:36:58 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:36:58 20.10.0: Pulling from library/docker 16:36:58 05e7bc50f07f: Pulling fs layer 16:36:58 6db28d0fdbf6: Pulling fs layer 16:36:58 292df0bc6bf3: Pulling fs layer 16:36:58 2e060f4bd70b: Pulling fs layer 16:36:58 80e8d568a223: Pulling fs layer 16:36:58 8dc6ef1a942a: Pulling fs layer 16:36:58 2312dd95470a: Pulling fs layer 16:36:58 80e8d568a223: Waiting 16:36:58 2312dd95470a: Waiting 16:36:58 8dc6ef1a942a: Waiting 16:36:58 2e060f4bd70b: Waiting 16:36:58 292df0bc6bf3: Verifying Checksum 16:36:58 292df0bc6bf3: Download complete 16:36:58 6db28d0fdbf6: Verifying Checksum 16:36:58 6db28d0fdbf6: Download complete 16:36:58 80e8d568a223: Verifying Checksum 16:36:58 80e8d568a223: Download complete 16:36:59 8dc6ef1a942a: Verifying Checksum 16:36:59 8dc6ef1a942a: Download complete 16:36:59 05e7bc50f07f: Verifying Checksum 16:36:59 05e7bc50f07f: Download complete 16:36:59 2312dd95470a: Verifying Checksum 16:36:59 2312dd95470a: Download complete 16:36:59 05e7bc50f07f: Pull complete 16:36:59 6db28d0fdbf6: Pull complete 16:36:59 292df0bc6bf3: Pull complete 16:37:01 2e060f4bd70b: Verifying Checksum 16:37:01 2e060f4bd70b: Download complete 16:37:04 2e060f4bd70b: Pull complete 16:37:04 80e8d568a223: Pull complete 16:37:04 8dc6ef1a942a: Pull complete 16:37:04 2312dd95470a: Pull complete 16:37:04 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:37:04 Status: Downloaded newer image for docker:20.10.0 16:37:06 ---> f9ab1a9984d3 16:37:06 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:37:06 ---> Running in 88b12f3e9dc9 16:37:06 Removing intermediate container 88b12f3e9dc9 16:37:06 ---> 96093df2e50e 16:37:06 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:37:06 ---> Running in b393947f3e54 16:37:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:37:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:37:10 (1/5) Installing libsodium (1.0.18-r0) 16:37:10 (2/5) Installing libzmq (4.3.3-r0) 16:37:10 (3/5) Installing pkgconf (1.7.2-r0) 16:37:10 (4/5) Installing libsodium-dev (1.0.18-r0) 16:37:10 (5/5) Installing zeromq-dev (4.3.3-r0) 16:37:11 Executing busybox-1.31.1-r19.trigger 16:37:11 OK: 167 MiB in 44 packages 16:37:11 Removing intermediate container b393947f3e54 16:37:11 ---> cda4c51e11a3 16:37:11 Step 6/8 : WORKDIR /build 16:37:12 ---> Running in 5cfbd6b3499d 16:37:12 Removing intermediate container 5cfbd6b3499d 16:37:12 ---> 83f05439e42e 16:37:12 Step 7/8 : COPY go.mod . 16:37:12 ---> 297929393746 16:37:12 Step 8/8 : RUN go mod download 16:37:12 ---> Running in 33b3c91b6bc5 16:37:34 Removing intermediate container 33b3c91b6bc5 16:37:34 ---> 8dc093baf07d 16:37:34 Successfully built 8dc093baf07d 16:37:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:37:35 + docker inspect -f . ci-base-image-x86_64 16:37:35 . [Pipeline] withDockerContainer 16:37:35 prd-centos7-docker-4c-2g-20532 does not seem to be running inside a container 16:37:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-x86_64 cat 16:37:36 $ docker top 3f434ade3a1b83b6e1229eb6f87fd217536025dafd8b7d9dac06ff13e446f4a3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:36 + go version 16:37:36 go version go1.15.5 linux/amd64 [Pipeline] } 16:37:36 $ docker stop --time=1 3f434ade3a1b83b6e1229eb6f87fd217536025dafd8b7d9dac06ff13e446f4a3 16:37:38 $ docker rm -f 3f434ade3a1b83b6e1229eb6f87fd217536025dafd8b7d9dac06ff13e446f4a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:37:38 + docker inspect -f . ci-base-image-x86_64 16:37:38 . [Pipeline] withDockerContainer 16:37:39 prd-centos7-docker-4c-2g-20532 does not seem to be running inside a container 16:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-x86_64 cat 16:37:39 $ docker top fd2fe326a46e39c7a4f10c2046299dc2e6f4a1ddfcf90c3f49ba84e5b423a199 -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:40 + make test 16:37:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:37:41 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:37:50 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.022s coverage: 81.0% of statements 16:37:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20538 in /w/workspace/ndry_app-functions-sdk-go_PR-634 [Pipeline] { [Pipeline] ws 16:37:56 Running in /w/workspace/app-functions-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:37:56 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.045s coverage: 48.6% of statements 16:37:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:37:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:37:56 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.037s coverage: 61.5% of statements 16:37:56 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:37:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.056s coverage: 67.7% of statements 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:37:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.017s coverage: 97.0% of statements 16:37:58 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:37:58 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.039s coverage: 8.8% of statements 16:38:01 using credential edgex-jenkins-ssh 16:38:01 Cloning the remote Git repository 16:38:02 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 16:38:02 > git init /w/workspace/app-functions-sdk-go/2 # timeout=10 16:38:02 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:38:02 > git --version # timeout=10 16:38:02 > git --version # 'git version 2.17.1' 16:38:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:38:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.236s coverage: 75.4% of statements 16:38:06 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.021s coverage: 87.9% of statements 16:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.014s coverage: 80.5% of statements 16:38:06 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.011s coverage: 71.7% of statements 16:38:14 Merging remotes/origin/master commit 32260fce1ebf405fc924284e9c557ee5720e11ee into PR head commit 3213525e07f46870baf82f0506f5c07381bf4745 16:38:14 Merge succeeded, producing 3213525e07f46870baf82f0506f5c07381bf4745 16:38:14 Checking out Revision 3213525e07f46870baf82f0506f5c07381bf4745 (PR-634) 16:38:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:38:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:38:13 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 16:38:13 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 16:38:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:38:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/634/head:refs/remotes/origin/PR-634 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:38:14 > git config core.sparsecheckout # timeout=10 16:38:14 > git checkout -f 3213525e07f46870baf82f0506f5c07381bf4745 # timeout=10 16:38:14 > git remote # timeout=10 16:38:14 > git config --get remote.origin.url # timeout=10 16:38:14 using GIT_SSH to set credentials SSH Credentials for GitHub 16:38:14 > git merge 32260fce1ebf405fc924284e9c557ee5720e11ee # timeout=10 16:38:14 > git rev-parse HEAD^{commit} # timeout=10 16:38:14 > git config core.sparsecheckout # timeout=10 16:38:14 > git checkout -f 3213525e07f46870baf82f0506f5c07381bf4745 # timeout=10 16:38:18 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 16:38:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:38:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:38:21 + sudo service docker restart 16:38:21 + true [Pipeline] unstash [Pipeline] echo 16:38:24 ========================================================= 16:38:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:38:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:38:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 16:38:24 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.055s coverage: 81.4% of statements 16:38:24 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.005s coverage: 94.4% of statements 16:38:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:38:25 Sending build context to Docker daemon 19.14MB 16:38:25 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:38:25 Step 2/8 : FROM ${BASE} 16:38:25 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:38:25 5f621e34cdf4: Pulling fs layer 16:38:25 a4357932f1b6: Pulling fs layer 16:38:25 18c013af1878: Pulling fs layer 16:38:25 00ac8860ef70: Pulling fs layer 16:38:25 63d7cb157983: Pulling fs layer 16:38:25 b116817d02f9: Pulling fs layer 16:38:25 745a02a5169b: Pulling fs layer 16:38:25 63d7cb157983: Waiting 16:38:25 00ac8860ef70: Waiting 16:38:25 745a02a5169b: Waiting 16:38:25 b116817d02f9: Waiting 16:38:25 18c013af1878: Verifying Checksum 16:38:25 18c013af1878: Download complete 16:38:25 a4357932f1b6: Download complete 16:38:25 63d7cb157983: Verifying Checksum 16:38:25 63d7cb157983: Download complete 16:38:25 b116817d02f9: Verifying Checksum 16:38:25 b116817d02f9: Download complete 16:38:25 5f621e34cdf4: Download complete 16:38:26 5f621e34cdf4: Pull complete 16:38:27 a4357932f1b6: Pull complete 16:38:27 18c013af1878: Pull complete 16:38:28 745a02a5169b: Verifying Checksum 16:38:28 745a02a5169b: Download complete 16:38:28 gofmt -l . 16:38:28 [ "`gofmt -l .`" = "" ] 16:38:28 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:38:29 $ docker stop --time=1 fd2fe326a46e39c7a4f10c2046299dc2e6f4a1ddfcf90c3f49ba84e5b423a199 16:38:29 00ac8860ef70: Download complete 16:38:31 $ docker rm -f fd2fe326a46e39c7a4f10c2046299dc2e6f4a1ddfcf90c3f49ba84e5b423a199 [Pipeline] // withDockerContainer [Pipeline] sh 16:38:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:38:32 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] } 16:38:39 00ac8860ef70: Pull complete 16:38:39 63d7cb157983: Pull complete 16:38:39 b116817d02f9: Pull complete 16:38:44 745a02a5169b: Pull complete 16:38:44 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:38:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:38:44 ---> b7e6874047d6 16:38:44 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 16:38:44 20.10.0: Pulling from library/docker 16:38:44 a3cc7d3b244e: Pulling fs layer 16:38:44 02a3295e0d61: Pulling fs layer 16:38:44 0f4f2e6d8100: Pulling fs layer 16:38:44 330b718f631f: Pulling fs layer 16:38:44 a93816041522: Pulling fs layer 16:38:44 bdb6da89ff94: Pulling fs layer 16:38:44 2a70c0c122f4: Pulling fs layer 16:38:44 330b718f631f: Waiting 16:38:44 a93816041522: Waiting 16:38:44 bdb6da89ff94: Waiting 16:38:44 2a70c0c122f4: Waiting 16:38:44 0f4f2e6d8100: Download complete 16:38:44 02a3295e0d61: Verifying Checksum 16:38:44 02a3295e0d61: Download complete 16:38:44 a93816041522: Verifying Checksum 16:38:44 a93816041522: Download complete 16:38:44 bdb6da89ff94: Verifying Checksum 16:38:44 bdb6da89ff94: Download complete 16:38:44 a3cc7d3b244e: Verifying Checksum 16:38:44 a3cc7d3b244e: Download complete 16:38:44 a3cc7d3b244e: Pull complete 16:38:45 02a3295e0d61: Pull complete 16:38:45 0f4f2e6d8100: Pull complete 16:38:48 330b718f631f: Verifying Checksum 16:38:48 330b718f631f: Download complete 16:38:51 330b718f631f: Pull complete 16:38:52 a93816041522: Pull complete 16:38:52 bdb6da89ff94: Pull complete 16:38:52 2a70c0c122f4: Pull complete 16:38:52 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 16:38:52 Status: Downloaded newer image for docker:20.10.0 16:38:59 ---> 36b600e39529 16:38:59 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:38:59 ---> Running in 013869f948de 16:38:59 Removing intermediate container 013869f948de 16:38:59 ---> 37d0a27e0172 16:38:59 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 16:38:59 ---> Running in 70dd09045b4c 16:39:00 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:39:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:39:04 (1/5) Installing libsodium (1.0.18-r0) 16:39:04 (2/5) Installing libzmq (4.3.3-r0) 16:39:05 (3/5) Installing pkgconf (1.7.2-r0) 16:39:05 (4/5) Installing libsodium-dev (1.0.18-r0) 16:39:05 (5/5) Installing zeromq-dev (4.3.3-r0) 16:39:05 Executing busybox-1.31.1-r19.trigger 16:39:05 OK: 144 MiB in 44 packages 16:39:06 Removing intermediate container 70dd09045b4c 16:39:06 ---> 797ca73d4311 16:39:06 Step 6/8 : WORKDIR /build 16:39:06 ---> Running in 99e1a9c76bb1 16:39:07 Removing intermediate container 99e1a9c76bb1 16:39:07 ---> b6bbbf8f40f1 16:39:07 Step 7/8 : COPY go.mod . 16:39:07 ---> 36485e3a90bc 16:39:07 Step 8/8 : RUN go mod download 16:39:08 ---> Running in d8ba1c19e82e 16:39:34 Removing intermediate container d8ba1c19e82e 16:39:34 ---> f248fca0da8b 16:39:34 Successfully built f248fca0da8b 16:39:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:39:35 + docker inspect -f . ci-base-image-arm64 16:39:35 . [Pipeline] withDockerContainer 16:39:35 prd-ubuntu18.04-docker-arm64-4c-16g-20538 does not seem to be running inside a container 16:39:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-arm64 cat 16:39:37 $ docker top 4b4aae4e0d1279b4fcf23b38958223540b754dc91e912b808f44ebab9422dae0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:38 + go version 16:39:38 go version go1.15.5 linux/arm64 [Pipeline] } 16:39:38 $ docker stop --time=1 4b4aae4e0d1279b4fcf23b38958223540b754dc91e912b808f44ebab9422dae0 16:39:40 $ docker rm -f 4b4aae4e0d1279b4fcf23b38958223540b754dc91e912b808f44ebab9422dae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:39:41 + docker inspect -f . ci-base-image-arm64 16:39:41 . [Pipeline] withDockerContainer 16:39:41 prd-ubuntu18.04-docker-arm64-4c-16g-20538 does not seem to be running inside a container 16:39:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/2 -v /w/workspace/app-functions-sdk-go/2:/w/workspace/app-functions-sdk-go/2:rw,z -v /w/workspace/app-functions-sdk-go/2@tmp:/w/workspace/app-functions-sdk-go/2@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-arm64 cat 16:39:43 $ docker top eb5a5b388999de66e5f0732ff9f8888627f6270de0d7d5bc8c56fe58567c862d -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:44 + make test 16:39:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:39:45 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 16:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.030s coverage: 81.0% of statements 16:40:29 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.059s coverage: 48.6% of statements 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 16:40:29 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.106s coverage: 61.5% of statements 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 16:40:29 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.064s coverage: 67.7% of statements 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 16:40:29 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.021s coverage: 97.0% of statements 16:40:29 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 16:40:29 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.050s coverage: 8.8% of statements 16:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 7.292s coverage: 75.4% of statements 16:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 16:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.047s coverage: 87.9% of statements 16:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.037s coverage: 80.5% of statements 16:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.022s coverage: 71.7% of statements 16:41:00 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 81.4% of statements 16:41:00 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.014s coverage: 94.4% of statements 16:41:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:41:09 gofmt -l . 16:41:09 [ "`gofmt -l .`" = "" ] 16:41:09 ./bin/test-go-mod-tidy.sh [Pipeline] } 16:41:10 $ docker stop --time=1 eb5a5b388999de66e5f0732ff9f8888627f6270de0d7d5bc8c56fe58567c862d 16:41:12 $ docker rm -f eb5a5b388999de66e5f0732ff9f8888627f6270de0d7d5bc8c56fe58567c862d [Pipeline] // withDockerContainer [Pipeline] sh 16:41:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:41:13 Warning: overwriting stash ‘coverage-report’ 16:41:14 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 16:41:15 provisioning config files... 16:41:15 copy managed file [app-functions-sdk-go-codecov-token] to file:/w/workspace/ndry_app-functions-sdk-go_PR-634@tmp/config867057708450874684tmp [Pipeline] { [Pipeline] sh 16:41:16 + set +x 16:41:16 + curl -s https://codecov.io/bash 16:41:16 + bash -s -- 16:41:16 16:41:16 _____ _ 16:41:16 / ____| | | 16:41:16 | | ___ __| | ___ ___ _____ __ 16:41:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:41:16 | |___| (_) | (_| | __/ (_| (_) \ V / 16:41:16 \_____\___/ \__,_|\___|\___\___/ \_/ 16:41:16 Bash-20210115-cec3c92 16:41:16 16:41:16 16:41:16 ==> git version 2.24.3 found 16:41:16 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 16:41:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:41:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:41:16 ==> Jenkins CI detected. 16:41:16 project root: . 16:41:16 --> token set from env 16:41:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:41:16 ==> Running gcov in . (disable via -X gcov) 16:41:16 ==> Python coveragepy not found 16:41:16 ==> Searching for coverage reports in: 16:41:16 + . 16:41:16 -> Found 1 reports 16:41:16 ==> Detecting git/mercurial file structure 16:41:16 ==> Reading reports 16:41:16 + ./coverage.out bytes=71696 16:41:16 ==> Appending adjustments 16:41:16 https://docs.codecov.io/docs/fixing-reports 16:41:16 + Found adjustments 16:41:16 ==> Gzipping contents 16:41:16 16K /tmp/codecov.LP2CnL.gz 16:41:16 ==> Uploading reports 16:41:16 url: https://codecov.io 16:41:16 query: branch=PR-634&commit=3213525e07f46870baf82f0506f5c07381bf4745&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-634%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=634&job=&cmd_args= 16:41:16 -> Pinging Codecov 16:41:16 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-634&commit=3213525e07f46870baf82f0506f5c07381bf4745&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-functions-sdk-go%2Fjob%2FPR-634%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-functions-sdk-go&service=jenkins&flags=&pr=634&job=&cmd_args= 16:41:17 -> Uploading to 16:41:17 https://storage.googleapis.com/codecov/v4/raw/2021-01-15/3D8B5DFFC46A037C893635FACE044666/3213525e07f46870baf82f0506f5c07381bf4745/009b5b67-85b5-496d-806f-0c0202781c91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T164117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6db9019cbaf73dfc0b89c99ee54d9877fa5fcb6223a3e1a4de9db410fef2e92c 16:41:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:41:17 Dload Upload Total Spent Left Speed 16:41:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 12771 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12771 0 0 100 12771 0 29965 --:--:-- --:--:-- --:--:-- 29978 16:41:18 -> View reports at https://codecov.io/github/edgexfoundry/app-functions-sdk-go/commit/3213525e07f46870baf82f0506f5c07381bf4745 [Pipeline] } 16:41:18 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 16:41:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:41:20 ---> package-listing.sh 16:41:20 ++ facter osfamily 16:41:20 ++ tr '[:upper:]' '[:lower:]' 16:41:20 + OS_FAMILY=redhat 16:41:20 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-634 16:41:20 + START_PACKAGES=/tmp/packages_start.txt 16:41:20 + END_PACKAGES=/tmp/packages_end.txt 16:41:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:41:20 + PACKAGES=/tmp/packages_start.txt 16:41:20 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-634 ']' 16:41:20 + PACKAGES=/tmp/packages_end.txt 16:41:20 + case "${OS_FAMILY}" in 16:41:20 + sort 16:41:20 + rpm -qa 16:41:26 + '[' -f /tmp/packages_start.txt ']' 16:41:26 + '[' -f /tmp/packages_end.txt ']' 16:41:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:41:26 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-634 ']' 16:41:26 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-634/archives/ 16:41:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-634/archives/ [Pipeline] echo 16:41:26 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-634/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:41:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:41:26 16:41:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:41:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:41:27 alpine: Pulling from edgex-lftools-log-publisher 16:41:27 df20fa9351a1: Pulling fs layer 16:41:27 36b3adc4ff6f: Pulling fs layer 16:41:27 8ad3a11d3b57: Pulling fs layer 16:41:27 46f8f816bc3b: Pulling fs layer 16:41:27 93b61091891f: Pulling fs layer 16:41:27 93b9cdb0e59b: Pulling fs layer 16:41:27 5e14af77c1be: Pulling fs layer 16:41:27 01666e4c0597: Pulling fs layer 16:41:27 aa168da1d23b: Pulling fs layer 16:41:27 46f8f816bc3b: Waiting 16:41:27 93b61091891f: Waiting 16:41:27 93b9cdb0e59b: Waiting 16:41:27 5e14af77c1be: Waiting 16:41:27 01666e4c0597: Waiting 16:41:27 aa168da1d23b: Waiting 16:41:27 36b3adc4ff6f: Verifying Checksum 16:41:27 36b3adc4ff6f: Download complete 16:41:27 46f8f816bc3b: Verifying Checksum 16:41:27 df20fa9351a1: Verifying Checksum 16:41:27 df20fa9351a1: Download complete 16:41:27 93b9cdb0e59b: Verifying Checksum 16:41:27 93b9cdb0e59b: Download complete 16:41:27 5e14af77c1be: Verifying Checksum 16:41:27 5e14af77c1be: Download complete 16:41:27 93b61091891f: Verifying Checksum 16:41:27 93b61091891f: Download complete 16:41:27 01666e4c0597: Verifying Checksum 16:41:27 01666e4c0597: Download complete 16:41:27 8ad3a11d3b57: Verifying Checksum 16:41:27 8ad3a11d3b57: Download complete 16:41:27 df20fa9351a1: Pull complete 16:41:27 36b3adc4ff6f: Pull complete 16:41:29 aa168da1d23b: Verifying Checksum 16:41:29 aa168da1d23b: Download complete 16:41:29 8ad3a11d3b57: Pull complete 16:41:29 46f8f816bc3b: Pull complete 16:41:30 93b61091891f: Pull complete 16:41:30 93b9cdb0e59b: Pull complete 16:41:30 5e14af77c1be: Pull complete 16:41:30 01666e4c0597: Pull complete 16:41:38 aa168da1d23b: Pull complete 16:41:38 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:41:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:41:38 prd-centos7-docker-4c-2g-20519 does not seem to be running inside a container 16:41:38 $ 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-634/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-634 -v /w/workspace/ndry_app-functions-sdk-go_PR-634:/w/workspace/ndry_app-functions-sdk-go_PR-634:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-634@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-634@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 16:41:42 $ docker top 362dc1ddfd49f89591206d4586363d98b3f8770289bc898f0170013c81f2ea69 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:43 + touch /tmp/pre-build-complete [Pipeline] sh 16:41:43 + mkdir -p /var/log/sa [Pipeline] sh 16:41:44 + ls /var/log/sa-host 16:41:44 + sadf -c /var/log/sa-host/sa15 16:41:44 file_magic: OK 16:41:44 HZ: Using current value: 100 16:41:44 file_header: OK 16:41:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:41:44 Statistics: 16:41:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:41:44 File successfully converted to sysstat format version 12.2.1 16:41:44 + sadf -c /var/log/sa-host/sa23 16:41:44 file_magic: OK 16:41:44 HZ: Using current value: 100 16:41:44 file_header: OK 16:41:44 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 16:41:44 Statistics: 16:41:44 Hnuu...uuuununununu... 16:41:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:44 provisioning config files... 16:41:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-634@tmp/config1914422328346917252tmp [Pipeline] { [Pipeline] echo 16:41:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:41:44 ---> create-netrc.sh [Pipeline] } 16:41:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:41:44 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:41:45 ---> python-tools-install.sh [Pipeline] echo 16:41:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:41:45 ---> sudo-logs.sh 16:41:45 Archiving 'sudo' log.. [Pipeline] echo 16:41:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:41:45 ---> job-cost.sh 16:41:45 lf-activate-venv: SKIPPING 16:41:45 INFO: No Stack... 16:41:47 INFO: Retrieving Pricing Info for: v1-standard-2 16:41:47 INFO: Archiving Costs [Pipeline] echo 16:41:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:41:47 ---> logs-deploy.sh 16:41:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-634/2 16:41:47 INFO: archiving workspace using pattern(s): 16:41:49 Archives upload complete. 16:41:49 INFO: archiving logs to Nexus 16:41:50 ---> uname -a: 16:41:50 Linux prd-centos7-docker-4c-2g-20519.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:41:50 16:41:50 16:41:50 ---> lscpu: 16:41:50 Architecture: x86_64 16:41:50 CPU op-mode(s): 32-bit, 64-bit 16:41:50 Byte Order: Little Endian 16:41:50 Address sizes: 40 bits physical, 48 bits virtual 16:41:50 CPU(s): 4 16:41:50 On-line CPU(s) list: 0-3 16:41:50 Thread(s) per core: 1 16:41:50 Core(s) per socket: 1 16:41:50 Socket(s): 4 16:41:50 NUMA node(s): 1 16:41:50 Vendor ID: GenuineIntel 16:41:50 CPU family: 6 16:41:50 Model: 44 16:41:50 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:41:50 Stepping: 1 16:41:50 CPU MHz: 2933.438 16:41:50 BogoMIPS: 5866.87 16:41:50 Virtualization: VT-x 16:41:50 Hypervisor vendor: KVM 16:41:50 Virtualization type: full 16:41:50 L1d cache: 128 KiB 16:41:50 L1i cache: 128 KiB 16:41:50 L2 cache: 16 MiB 16:41:50 L3 cache: 64 MiB 16:41:50 NUMA node0 CPU(s): 0-3 16:41:50 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:41:50 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:41:50 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:41:50 Vulnerability Meltdown: Mitigation; PTI 16:41:50 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:41:50 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:41:50 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:41:50 Vulnerability Srbds: Not affected 16:41:50 Vulnerability Tsx async abort: Not affected 16:41:50 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 16:41:50 16:41:50 16:41:50 ---> nproc: 16:41:50 4 16:41:50 16:41:50 16:41:50 ---> df -h: 16:41:50 Filesystem Size Used Available Use% Mounted on 16:41:50 overlay 50.0G 7.3G 42.7G 15% / 16:41:50 tmpfs 64.0M 0 64.0M 0% /dev 16:41:50 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 16:41:50 shm 64.0M 0 64.0M 0% /dev/shm 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-634 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/ndry_app-functions-sdk-go_PR-634@tmp 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 16:41:50 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 16:41:50 16:41:50 16:41:50 ---> free -m: 16:41:50 total used free shared buff/cache available 16:41:50 Mem: 1837 729 119 0 988 1002 16:41:50 Swap: 1023 1 1022 16:41:50 16:41:50 16:41:50 ---> ip addr: 16:41:50 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 16:41:50 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 16:41:50 inet 127.0.0.1/8 scope host lo 16:41:50 valid_lft forever preferred_lft forever 16:41:50 inet6 ::1/128 scope host 16:41:50 valid_lft forever preferred_lft forever 16:41:50 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 16:41:50 link/ether fa:16:3e:43:8c:24 brd ff:ff:ff:ff:ff:ff 16:41:50 inet 10.30.123.179/23 brd 10.30.123.255 scope global dynamic eth0 16:41:50 valid_lft 85936sec preferred_lft 85936sec 16:41:50 inet6 fe80::f816:3eff:fe43:8c24/64 scope link 16:41:50 valid_lft forever preferred_lft forever 16:41:50 3: docker0: mtu 1500 qdisc noqueue state DOWN 16:41:50 link/ether 02:42:80:07:b3:64 brd ff:ff:ff:ff:ff:ff 16:41:50 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 16:41:50 valid_lft forever preferred_lft forever 16:41:50 inet6 fe80::42:80ff:fe07:b364/64 scope link 16:41:50 valid_lft forever preferred_lft forever 16:41:50 16:41:50 16:41:50 ---> sar -b -r -n DEV: 16:41:50 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 16:41:50 16:41:50 16:33:53 LINUX RESTART (4 CPU) 16:41:50 16:41:50 16:35:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:41:50 16:36:01 5.85 3.13 2.71 0.00 209.03 62.76 0.00 16:41:50 16:37:01 0.42 0.00 0.42 0.00 0.00 5.61 0.00 16:41:50 16:38:01 0.25 0.00 0.25 0.00 0.00 2.85 0.00 16:41:50 16:39:01 0.23 0.00 0.23 0.00 0.00 3.06 0.00 16:41:50 16:40:02 0.28 0.00 0.28 0.00 0.00 4.00 0.00 16:41:50 16:41:01 0.32 0.00 0.32 0.00 0.00 3.56 0.00 16:41:50 Average: 1.23 0.52 0.70 0.00 34.94 13.67 0.00 16:41:50 16:41:50 16:35:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:41:50 16:36:01 218104 0 626740 33.31 2620 1034080 1105252 37.72 425220 1040580 8 16:41:50 16:37:01 222620 0 622220 33.07 2620 1034084 1089400 37.18 420636 1040912 0 16:41:50 16:38:01 220728 0 624104 33.17 2620 1034092 1089480 37.18 436464 1027496 8 16:41:50 16:39:01 221588 0 623244 33.12 2620 1034092 1087440 37.11 435420 1027776 16 16:41:50 16:40:02 220048 0 624776 33.21 2620 1034100 1087476 37.11 435332 1029768 8 16:41:50 16:41:01 220868 0 623952 33.16 2620 1034104 1078188 36.80 437856 1026272 12 16:41:50 Average: 220659 0 624173 33.17 2620 1034092 1089539 37.18 431821 1032134 9 16:41:50 16:41:50 16:35:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:41:50 16:36:01 eth0 11.29 6.44 8.31 6.53 0.00 0.00 0.00 0.00 16:41:50 16:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:37:01 eth0 7.11 0.98 1.58 0.75 0.00 0.00 0.00 0.00 16:41:50 16:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:38:01 eth0 4.25 1.23 1.30 0.80 0.00 0.00 0.00 0.00 16:41:50 16:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:39:01 eth0 1.43 0.42 0.38 0.24 0.00 0.00 0.00 0.00 16:41:50 16:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:40:02 eth0 1.22 0.68 0.67 0.46 0.00 0.00 0.00 0.00 16:41:50 16:40:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:40:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:41:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 16:41:50 16:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 Average: eth0 4.26 1.64 2.05 1.47 0.00 0.00 0.00 0.00 16:41:50 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:41:50 16:41:50 16:41:50 ---> sar -P ALL: 16:41:50 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/15/21 _x86_64_ (4 CPU) 16:41:50 16:41:50 16:33:53 LINUX RESTART (4 CPU) 16:41:50 16:41:50 16:35:01 CPU %user %nice %system %iowait %steal %idle 16:41:50 16:36:01 all 0.57 0.00 0.11 0.04 0.01 99.27 16:41:50 16:36:01 0 0.28 0.00 0.17 0.12 0.00 99.43 16:41:50 16:36:01 1 0.35 0.00 0.08 0.00 0.02 99.55 16:41:50 16:36:01 2 0.50 0.00 0.13 0.02 0.02 99.33 16:41:50 16:36:01 3 1.15 0.00 0.07 0.02 0.02 98.75 16:41:50 16:37:01 all 0.17 0.00 0.07 0.00 0.02 99.74 16:41:50 16:37:01 0 0.08 0.00 0.05 0.00 0.03 99.83 16:41:50 16:37:01 1 0.08 0.00 0.08 0.00 0.02 99.82 16:41:50 16:37:01 2 0.10 0.00 0.08 0.00 0.02 99.80 16:41:50 16:37:01 3 0.40 0.00 0.07 0.00 0.02 99.52 16:41:50 16:38:01 all 0.16 0.00 0.04 0.00 0.01 99.78 16:41:50 16:38:01 0 0.07 0.00 0.03 0.00 0.00 99.90 16:41:50 16:38:01 1 0.03 0.00 0.05 0.00 0.02 99.90 16:41:50 16:38:01 2 0.03 0.00 0.07 0.00 0.03 99.87 16:41:50 16:38:01 3 0.52 0.00 0.02 0.00 0.00 99.47 16:41:50 16:39:01 all 0.13 0.00 0.03 0.00 0.00 99.84 16:41:50 16:39:01 0 0.03 0.00 0.03 0.00 0.00 99.93 16:41:50 16:39:01 1 0.07 0.00 0.05 0.00 0.00 99.88 16:41:50 16:39:01 2 0.02 0.00 0.02 0.00 0.00 99.97 16:41:50 16:39:01 3 0.38 0.00 0.02 0.00 0.02 99.58 16:41:50 16:40:02 all 0.20 0.00 0.09 0.00 0.02 99.69 16:41:50 16:40:02 0 0.10 0.00 0.08 0.00 0.03 99.78 16:41:50 16:40:02 1 0.07 0.00 0.12 0.00 0.02 99.80 16:41:50 16:40:02 2 0.08 0.00 0.12 0.00 0.02 99.78 16:41:50 16:40:02 3 0.53 0.00 0.03 0.00 0.03 99.40 16:41:50 16:41:01 all 0.16 0.00 0.07 0.00 0.02 99.75 16:41:50 16:41:01 0 0.03 0.00 0.02 0.00 0.02 99.93 16:41:50 16:41:01 1 0.07 0.00 0.03 0.00 0.02 99.88 16:41:50 16:41:01 2 0.03 0.00 0.22 0.00 0.00 99.75 16:41:50 16:41:01 3 0.49 0.00 0.02 0.00 0.03 99.46 16:41:50 Average: all 0.23 0.00 0.07 0.01 0.02 99.68 16:41:50 Average: 0 0.10 0.00 0.06 0.02 0.01 99.80 16:41:50 Average: 1 0.11 0.00 0.07 0.00 0.01 99.81 16:41:50 Average: 2 0.13 0.00 0.11 0.00 0.01 99.75 16:41:50 Average: 3 0.58 0.00 0.04 0.00 0.02 99.36 16:41:50 16:41:50 16:41:50