Pull request #586 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 073cb9ec955bc2cedae16ce2963319f64d87104a+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (6e2eb9bb122c8e51ff898aba18fb30dbeff54229) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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: device-sdk-go-settings PROJECT: device-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: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-43248 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-586 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 073cb9ec955bc2cedae16ce2963319f64d87104a Merge succeeded, producing 073cb9ec955bc2cedae16ce2963319f64d87104a Checking out Revision 073cb9ec955bc2cedae16ce2963319f64d87104a (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 073cb9ec955bc2cedae16ce2963319f64d87104a # 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 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 073cb9ec955bc2cedae16ce2963319f64d87104a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:31:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:31:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:31:23 ========================================================= 06:31:23 EdgeX Global Pipelines Version Info 06:31:23 ========================================================= [Pipeline] libraryResource > git rev-list --no-walk 6f94a38b507b7fb64c9641ae4d7e7e7fe88a852c # timeout=10 [Pipeline] sh 06:31:25 ------------------- 06:31:25 stable info: 06:31:25 ------------------- 06:31:25 Commited By: Emilio Reyes emilio.reyes@intel.com 06:31:25 Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 06:31:25 Message: update stable to v1.0.119 06:31:26 ------------------- 06:31:26 experimental info: 06:31:26 ------------------- 06:31:26 Commited By: **** collab-it+edgex@linuxfoundation.org 06:31:26 Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 06:31:26 Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:31:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:31:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:31:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 073cb9ec955bc2cedae16ce2963319f64d87104a [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 073cb9e [Pipeline] echo 06:31:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:30 + git log --format=format:%s -1 073cb9ec955bc2cedae16ce2963319f64d87104a [Pipeline] echo 06:31:30 GIT_COMMIT: 073cb9ec955bc2cedae16ce2963319f64d87104a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry [Pipeline] echo 06:31:30 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:31 06:31:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:31:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:32 latest: Pulling from edgex-devops/git-semver 06:31:32 31603596830f: Pulling fs layer 06:31:32 2a8b12db71e7: Pulling fs layer 06:31:32 6ca5941a6612: Pulling fs layer 06:31:32 ecc8261a40a4: Pulling fs layer 06:31:32 ecc8261a40a4: Waiting 06:31:32 2a8b12db71e7: Verifying Checksum 06:31:32 2a8b12db71e7: Download complete 06:31:33 31603596830f: Verifying Checksum 06:31:33 31603596830f: Download complete 06:31:33 ecc8261a40a4: Verifying Checksum 06:31:33 ecc8261a40a4: Download complete 06:31:33 31603596830f: Pull complete 06:31:33 6ca5941a6612: Verifying Checksum 06:31:33 6ca5941a6612: Download complete 06:31:34 2a8b12db71e7: Pull complete 06:31:36 6ca5941a6612: Pull complete 06:31:36 ecc8261a40a4: Pull complete 06:31:36 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:31:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:31:36 prd-centos7-docker-4c-2g-43248 does not seem to be running inside a container 06:31:36 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:31:39 $ docker top 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:39 [ssh-agent] Looking for ssh-agent implementation... 06:31:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:40 $ docker exec 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 ssh-agent 06:31:40 SSH_AUTH_SOCK=/tmp/ssh-bf3Hz2bMGice/agent.12 06:31:40 SSH_AGENT_PID=18 06:31:40 Running ssh-add (command line suppressed) 06:31:40 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_200924330140515827.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_200924330140515827.key) 06:31:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:41 + git describe --exact-match --tags HEAD 06:31:41 fatal: No names found, cannot describe anything. [Pipeline] } 06:31:41 $ docker exec --env ******** --env ******** 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 ssh-agent -k 06:31:41 unset SSH_AUTH_SOCK; 06:31:41 unset SSH_AGENT_PID; 06:31:41 echo Agent pid 18 killed; 06:31:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:31:41 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:31:41 This usually means this commit has not been tagged. [Pipeline] sshagent 06:31:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:41 [ssh-agent] Looking for ssh-agent implementation... 06:31:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:41 $ docker exec 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 ssh-agent 06:31:42 SSH_AUTH_SOCK=/tmp/ssh-lr2qF5M62mKP/agent.48 06:31:42 SSH_AGENT_PID=53 06:31:42 Running ssh-add (command line suppressed) 06:31:42 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_1074238485046810444.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_1074238485046810444.key) 06:31:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:42 + git semver init 06:31:42 # -> Open(): unable to determine branch for HEAD 06:31:42 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git 06:31:42 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 06:31:42 # $SEMVER_REMOTE_NAME = origin 06:31:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:31:42 # $SEMVER_USER_NAME = edgex-jenkins 06:31:42 # $SEMVER_BRANCH = PR-586 06:31:42 # $SEMVER_TEMP = /tmp/semver-421168496 06:31:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:31:43 # '/tmp/semver-421168496' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' 06:31:43 # -> Force: false 06:31:43 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } 06:31:43 $ docker exec --env ******** --env ******** 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 ssh-agent -k 06:31:43 unset SSH_AUTH_SOCK; 06:31:43 unset SSH_AGENT_PID; 06:31:43 echo Agent pid 53 killed; 06:31:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:44 + git semver [Pipeline] } 06:31:44 $ docker stop --time=1 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 06:31:46 $ docker rm -f 2098ae9b07d6600201cfe632ccdaa0041ea8ccb4c5e6ea245d451163c3459e92 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:31:48 Stashed 34 file(s) [Pipeline] echo 06:31:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:31:48 Archived original 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 06:32:03 Still waiting to schedule task 06:32:03 ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43250’ is offline 06:32:03 Still waiting to schedule task 06:32:03 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:33:23 Running on prd-centos7-docker-4c-2g-43254 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 06:33:23 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:33:26 using credential edgex-jenkins-ssh 06:33:26 Cloning the remote Git repository 06:33:26 Cloning with configured refspecs honoured and without tags 06:33:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:33:26 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:33:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:26 > git --version # timeout=10 06:33:26 > git --version # 'git version 2.16.5' 06:33:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:26 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:33:27 Fetching without tags 06:33:27 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 073cb9ec955bc2cedae16ce2963319f64d87104a 06:33:28 Merge succeeded, producing 073cb9ec955bc2cedae16ce2963319f64d87104a 06:33:28 Checking out Revision 073cb9ec955bc2cedae16ce2963319f64d87104a (PR-586) 06:33:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:27 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 06:33:27 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:33:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:27 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:27 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:33:27 > git config core.sparsecheckout # timeout=10 06:33:27 > git checkout -f 073cb9ec955bc2cedae16ce2963319f64d87104a # timeout=10 06:33:28 > git remote # timeout=10 06:33:28 > git config --get remote.origin.url # timeout=10 06:33:28 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:28 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 06:33:28 > git rev-parse HEAD^{commit} # timeout=10 06:33:28 > git config core.sparsecheckout # timeout=10 06:33:28 > git checkout -f 073cb9ec955bc2cedae16ce2963319f64d87104a # timeout=10 06:33:31 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:33:32 ========================================================= 06:33:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:33:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:33:33 + 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 . 06:33:33 Sending build context to Docker daemon 3.15MB 06:33:33 Step 1/8 : ARG BASE=golang:1.15-alpine 06:33:33 Step 2/8 : FROM ${BASE} 06:33:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:33 df20fa9351a1: Pulling fs layer 06:33:33 ed8968b2872e: Pulling fs layer 06:33:33 a92cc7c5fd73: Pulling fs layer 06:33:33 e871e8e8d7a9: Pulling fs layer 06:33:33 e73272ec9a57: Pulling fs layer 06:33:33 1e910a182e73: Pulling fs layer 06:33:33 4e634b169226: Pulling fs layer 06:33:33 e871e8e8d7a9: Waiting 06:33:33 e73272ec9a57: Waiting 06:33:33 1e910a182e73: Waiting 06:33:33 a92cc7c5fd73: Download complete 06:33:33 ed8968b2872e: Download complete 06:33:33 e73272ec9a57: Verifying Checksum 06:33:33 e73272ec9a57: Download complete 06:33:34 df20fa9351a1: Verifying Checksum 06:33:34 df20fa9351a1: Download complete 06:33:34 1e910a182e73: Verifying Checksum 06:33:34 1e910a182e73: Download complete 06:33:34 df20fa9351a1: Pull complete 06:33:34 ed8968b2872e: Pull complete 06:33:34 a92cc7c5fd73: Pull complete 06:33:35 4e634b169226: Verifying Checksum 06:33:35 4e634b169226: Download complete 06:33:36 e871e8e8d7a9: Verifying Checksum 06:33:36 e871e8e8d7a9: Download complete 06:33:41 e871e8e8d7a9: Pull complete 06:33:41 e73272ec9a57: Pull complete 06:33:41 1e910a182e73: Pull complete 06:33:46 4e634b169226: Pull complete 06:33:46 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:33:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:33:46 ---> f7629b54cfaa 06:33:46 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:46 ---> Running in 753eb400ac14 06:33:46 Removing intermediate container 753eb400ac14 06:33:46 ---> 59680fb85cc8 06:33:46 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:46 ---> Running in 2766896d1778 06:33:48 Removing intermediate container 2766896d1778 06:33:48 ---> d93421cb2e03 06:33:48 Step 5/8 : RUN apk add --no-cache make git 06:33:48 ---> Running in 6e29ce8d31a1 06:33:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:33:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:33:49 OK: 166 MiB in 39 packages 06:33:50 Removing intermediate container 6e29ce8d31a1 06:33:50 ---> da532aed0f6d 06:33:50 Step 6/8 : WORKDIR /device-sdk-go 06:33:50 ---> Running in cadd12c82e49 06:33:50 Removing intermediate container cadd12c82e49 06:33:50 ---> 41cc151d7d25 06:33:50 Step 7/8 : COPY . . 06:33:51 ---> 9c5a954bbb48 06:33:51 Step 8/8 : RUN go mod download 06:33:51 ---> Running in 0e01eb8dd7a0 06:33:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-43253 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws 06:33:59 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 06:34:02 Removing intermediate container 0e01eb8dd7a0 06:34:02 ---> 21a508cc6a72 06:34:02 Successfully built 21a508cc6a72 06:34:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:03 + docker inspect -f . ci-base-image-x86_64 06:34:03 . [Pipeline] withDockerContainer 06:34:03 prd-centos7-docker-4c-2g-43254 does not seem to be running inside a container 06:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:34:04 $ docker top 8b1b01400d8e9f379ebf4cd891823ccc4ec1ef690d4f033b61a24f55495c81f5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:05 + go version 06:34:05 go version go1.15.2 linux/amd64 [Pipeline] sh 06:34:05 using credential edgex-jenkins-ssh 06:34:05 Cloning the remote Git repository 06:34:05 Cloning with configured refspecs honoured and without tags 06:34:05 + make test 06:34:05 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:34:06 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:34:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:34:05 > git init /w/workspace/device-sdk-go/3 # timeout=10 06:34:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:34:05 > git --version # timeout=10 06:34:05 > git --version # 'git version 2.17.1' 06:34:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:05 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:34:06 Fetching without tags 06:34:07 Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 073cb9ec955bc2cedae16ce2963319f64d87104a 06:34:07 Merge succeeded, producing 073cb9ec955bc2cedae16ce2963319f64d87104a 06:34:07 Checking out Revision 073cb9ec955bc2cedae16ce2963319f64d87104a (PR-586) 06:34:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:34:06 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 06:34:06 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 06:34:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:34:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:34:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:06 > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:34:07 > git config core.sparsecheckout # timeout=10 06:34:07 > git checkout -f 073cb9ec955bc2cedae16ce2963319f64d87104a # timeout=10 06:34:07 > git remote # timeout=10 06:34:07 > git config --get remote.origin.url # timeout=10 06:34:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:34:07 > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 06:34:07 > git rev-parse HEAD^{commit} # timeout=10 06:34:07 > git config core.sparsecheckout # timeout=10 06:34:07 > git checkout -f 073cb9ec955bc2cedae16ce2963319f64d87104a # timeout=10 06:34:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:34:13 ========================================================= 06:34:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:34:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:34:14 + 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 . 06:34:15 Sending build context to Docker daemon 3.148MB 06:34:15 Step 1/8 : ARG BASE=golang:1.15-alpine 06:34:15 Step 2/8 : FROM ${BASE} 06:34:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:34:15 b538f80385f9: Pulling fs layer 06:34:15 74f711af9a0d: Pulling fs layer 06:34:15 99f96fe45779: Pulling fs layer 06:34:15 8529a6b9a6be: Pulling fs layer 06:34:15 45590311c82a: Pulling fs layer 06:34:15 69ca0ff8b7b3: Pulling fs layer 06:34:15 209524e5b208: Pulling fs layer 06:34:15 45590311c82a: Waiting 06:34:15 69ca0ff8b7b3: Waiting 06:34:15 8529a6b9a6be: Waiting 06:34:15 209524e5b208: Waiting 06:34:15 99f96fe45779: Download complete 06:34:15 74f711af9a0d: Verifying Checksum 06:34:15 74f711af9a0d: Download complete 06:34:16 45590311c82a: Verifying Checksum 06:34:16 45590311c82a: Download complete 06:34:16 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:34:16 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:34:16 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:34:16 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.010s coverage: 21.0% of statements 06:34:16 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.074s coverage: 95.7% of statements 06:34:16 69ca0ff8b7b3: Download complete 06:34:16 b538f80385f9: Verifying Checksum 06:34:16 b538f80385f9: Download complete 06:34:17 b538f80385f9: Pull complete 06:34:17 74f711af9a0d: Pull complete 06:34:18 99f96fe45779: Pull complete 06:34:19 209524e5b208: Verifying Checksum 06:34:19 209524e5b208: Download complete 06:34:20 8529a6b9a6be: Verifying Checksum 06:34:20 8529a6b9a6be: Download complete 06:34:30 8529a6b9a6be: Pull complete 06:34:30 45590311c82a: Pull complete 06:34:31 69ca0ff8b7b3: Pull complete 06:34:35 209524e5b208: Pull complete 06:34:35 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:34:35 ---> 5bddaf1c2fca 06:34:35 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:38 ---> Running in bb3f47dfe708 06:34:38 Removing intermediate container bb3f47dfe708 06:34:38 ---> 63393c438bb7 06:34:38 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:38 ---> Running in f30fc238916f 06:34:41 Removing intermediate container f30fc238916f 06:34:41 ---> 3a350e635523 06:34:41 Step 5/8 : RUN apk add --no-cache make git 06:34:41 ---> Running in 34f3ba7434ad 06:34:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:34:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:34:45 OK: 142 MiB in 39 packages 06:34:46 Removing intermediate container 34f3ba7434ad 06:34:46 ---> 355c97277066 06:34:46 Step 6/8 : WORKDIR /device-sdk-go 06:34:46 ---> Running in 6476ef4d0c45 06:34:47 Removing intermediate container 6476ef4d0c45 06:34:47 ---> cb9fe76a2fd2 06:34:47 Step 7/8 : COPY . . 06:34:48 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.007s coverage: 8.6% of statements 06:34:48 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.017s coverage: 21.7% of statements 06:34:48 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:34:48 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.019s coverage: 37.0% of statements 06:34:48 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:34:48 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.026s coverage: 65.4% of statements 06:34:48 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:34:48 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:34:48 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:34:48 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.024s coverage: 52.6% of statements 06:34:48 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.080s coverage: 68.9% of statements 06:34:48 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:34:48 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:34:48 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:34:48 gofmt -l . 06:34:48 [ "`gofmt -l .`" = "" ] 06:34:48 ./bin/test-attribution-txt.sh 06:34:48 ./bin/test-go-mod-tidy.sh 06:34:48 ---> 4d91d751d136 06:34:48 Step 8/8 : RUN go mod download 06:34:48 ---> Running in 19e4641f0486 [Pipeline] stash 06:34:48 Stashed 1 file(s) [Pipeline] } 06:34:48 $ docker stop --time=1 8b1b01400d8e9f379ebf4cd891823ccc4ec1ef690d4f033b61a24f55495c81f5 06:34:50 $ docker rm -f 8b1b01400d8e9f379ebf4cd891823ccc4ec1ef690d4f033b61a24f55495c81f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:52 + ls -al . 06:34:52 total 188 06:34:52 drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 06:34 . 06:34:52 drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 06:33 .. 06:34:52 drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 06:33 bin 06:34:52 -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 06:34 coverage.out 06:34:52 -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 06:33 Dockerfile.build 06:34:52 -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 06:33 .dockerignore 06:34:52 drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 06:33 example 06:34:52 drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 06:33 .git 06:34:52 drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 06:33 .github 06:34:52 -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 06:33 .gitignore 06:34:52 -rw-r--r--. 1 jenkins jenkins 446 Sep 15 06:34 go.mod 06:34:52 -rw-r--r--. 1 jenkins jenkins 12179 Sep 15 06:34 go.sum 06:34:52 drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 06:33 internal 06:34:52 -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 06:33 Jenkinsfile 06:34:52 -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 06:33 LICENSE 06:34:52 -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 06:33 Makefile 06:34:52 drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 06:33 openapi 06:34:52 drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 06:33 pkg 06:34:52 -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 06:33 README.md 06:34:52 -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 06:33 RELEASE-NOTES.txt 06:34:52 drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 06:33 .semver 06:34:52 drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 06:33 snap 06:34:52 -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 06:31 VERSION 06:34:52 -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 06:33 version.go [Pipeline] isUnix [Pipeline] sh 06:34:52 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=073cb9ec955bc2cedae16ce2963319f64d87104a --label arch=amd64 --label version=0.0.0 . 06:34:52 Sending build context to Docker daemon 3.263MB 06:34:52 Step 1/24 : ARG BASE=golang:1.15-alpine 06:34:52 Step 2/24 : FROM ${BASE} AS builder 06:34:52 ---> 21a508cc6a72 06:34:52 Step 3/24 : ARG MAKE='make build' 06:34:53 ---> Running in f7ce8f8f4ef4 06:34:53 Removing intermediate container f7ce8f8f4ef4 06:34:53 ---> 04c268cb5e80 06:34:53 Step 4/24 : WORKDIR /device-sdk-go 06:34:53 ---> Running in f601cba9608d 06:34:53 Removing intermediate container f601cba9608d 06:34:53 ---> a7f906dba10a 06:34:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:53 ---> Running in 009f04a202b9 06:34:53 Removing intermediate container 009f04a202b9 06:34:53 ---> 895791f3baa8 06:34:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:53 ---> Running in 9863ed239793 06:34:54 Removing intermediate container 9863ed239793 06:34:54 ---> a2f7564a3686 06:34:54 Step 7/24 : RUN apk add --update --no-cache make git 06:34:54 ---> Running in d1ae94e4cb88 06:34:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:34:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:34:57 OK: 166 MiB in 39 packages 06:34:58 Removing intermediate container d1ae94e4cb88 06:34:58 ---> 56a15c5b5a72 06:34:58 Step 8/24 : COPY . . 06:34:58 ---> 81247a642c79 06:34:58 Step 9/24 : RUN ${MAKE} 06:34:58 ---> Running in 2930fc4bd32f 06:34:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:35:03 Removing intermediate container 19e4641f0486 06:35:03 ---> fbcc6b8394ec 06:35:03 Successfully built fbcc6b8394ec 06:35:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:35:04 + docker inspect -f . ci-base-image-arm64 06:35:04 . [Pipeline] withDockerContainer 06:35:04 prd-ubuntu18.04-docker-arm64-4c-16g-43253 does not seem to be running inside a container 06:35:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:35:06 $ docker top c7843332ead68806cdcfa9b0a91ec44c266ac706c1fb633a9ea3954496f54b63 -eo pid,comm [Pipeline] { [Pipeline] sh 06:35:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:35:08 + go version 06:35:08 go version go1.15.2 linux/arm64 [Pipeline] sh 06:35:09 + make test 06:35:09 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:35:09 Removing intermediate container 2930fc4bd32f 06:35:09 ---> 05c853c5f11c 06:35:09 Step 10/24 : FROM scratch 06:35:09 ---> 06:35:09 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:09 ---> Running in babff8b0221a 06:35:09 Removing intermediate container babff8b0221a 06:35:09 ---> 74e6e8e0d12a 06:35:09 Step 12/24 : ENV APP_PORT=49990 06:35:09 ---> Running in ba7147827df9 06:35:09 Removing intermediate container ba7147827df9 06:35:09 ---> 0d4ea7f9902e 06:35:09 Step 13/24 : EXPOSE $APP_PORT 06:35:09 ---> Running in c343fe4e9344 06:35:10 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:35:10 Removing intermediate container c343fe4e9344 06:35:10 ---> 265df700746a 06:35:10 Step 14/24 : WORKDIR / 06:35:10 ---> Running in c09cc772c9d4 06:35:10 Removing intermediate container c09cc772c9d4 06:35:10 ---> c1256db52204 06:35:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:35:10 ---> 9298a291f234 06:35:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:35:10 ---> 59e842d13376 06:35:10 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:35:11 ---> 8609a5f4bbbb 06:35:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:35:11 ---> 9ddf63739f57 06:35:11 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:35:11 ---> e666ab0d9580 06:35:11 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:35:11 ---> Running in c13d192cd9af 06:35:11 Removing intermediate container c13d192cd9af 06:35:11 ---> 005481aa6fa6 06:35:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:35:11 ---> Running in 70588a86e2dd 06:35:11 Removing intermediate container 70588a86e2dd 06:35:11 ---> 4ae67e872c6f 06:35:11 Step 22/24 : LABEL arch=amd64 06:35:12 ---> Running in aa7ed5ad8f32 06:35:12 Removing intermediate container aa7ed5ad8f32 06:35:12 ---> 02563ec8765f 06:35:12 Step 23/24 : LABEL git_sha=073cb9ec955bc2cedae16ce2963319f64d87104a 06:35:12 ---> Running in 8d2953cc5a2e 06:35:13 Removing intermediate container 8d2953cc5a2e 06:35:13 ---> 15e4544f3124 06:35:13 Step 24/24 : LABEL version=0.0.0 06:35:13 ---> Running in f0a50111b92f 06:35:13 Removing intermediate container f0a50111b92f 06:35:13 ---> f1bb391283c0 06:35:13 [Warning] One or more build-args [ARCH] were not consumed 06:35:13 Successfully built f1bb391283c0 06:35:13 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [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] } 06:35:42 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:35:42 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:35:42 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:35:42 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 21.0% of statements 06:35:42 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.150s coverage: 95.7% of statements 06:36:14 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 8.6% of statements 06:36:14 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.7% of statements 06:36:14 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:36:14 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.089s coverage: 37.0% of statements 06:36:14 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:36:14 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.114s coverage: 65.4% of statements 06:36:14 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:36:14 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:36:14 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:36:14 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements 06:36:14 ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.257s coverage: 68.9% of statements 06:36:14 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 06:36:14 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:36:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:36:20 gofmt -l . 06:36:20 [ "`gofmt -l .`" = "" ] 06:36:20 ./bin/test-attribution-txt.sh 06:36:20 ./bin/test-go-mod-tidy.sh [Pipeline] stash 06:36:21 Warning: overwriting stash ‘coverage-report’ 06:36:22 Stashed 1 file(s) [Pipeline] } 06:36:22 $ docker stop --time=1 c7843332ead68806cdcfa9b0a91ec44c266ac706c1fb633a9ea3954496f54b63 06:36:24 $ docker rm -f c7843332ead68806cdcfa9b0a91ec44c266ac706c1fb633a9ea3954496f54b63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:36:26 + ls -al . 06:36:26 total 228 06:36:26 drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 06:36 . 06:36:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:34 .. 06:36:26 -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 06:34 .dockerignore 06:36:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 06:34 .git 06:36:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 06:34 .github 06:36:26 -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 06:34 .gitignore 06:36:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 06:34 .semver 06:36:26 -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 06:34 Dockerfile.build 06:36:26 -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 06:34 Jenkinsfile 06:36:26 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 06:34 LICENSE 06:36:26 -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 06:34 Makefile 06:36:26 -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 06:34 README.md 06:36:26 -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 06:34 RELEASE-NOTES.txt 06:36:26 -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 06:31 VERSION 06:36:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 06:34 bin 06:36:26 -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 06:36 coverage.out 06:36:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:34 example 06:36:26 -rw-r--r-- 1 jenkins jenkins 446 Sep 15 06:36 go.mod 06:36:26 -rw-r--r-- 1 jenkins jenkins 12179 Sep 15 06:36 go.sum 06:36:26 drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 06:34 internal 06:36:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:34 openapi 06:36:26 drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 06:34 pkg 06:36:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 06:34 snap 06:36:26 -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 06:34 version.go [Pipeline] isUnix [Pipeline] sh 06:36:26 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=073cb9ec955bc2cedae16ce2963319f64d87104a --label arch=arm64 --label version=0.0.0 . 06:36:27 Sending build context to Docker daemon 3.262MB 06:36:27 Step 1/24 : ARG BASE=golang:1.15-alpine 06:36:27 Step 2/24 : FROM ${BASE} AS builder 06:36:27 ---> fbcc6b8394ec 06:36:27 Step 3/24 : ARG MAKE='make build' 06:36:27 ---> Running in 7bcef7ce9fd4 06:36:27 Removing intermediate container 7bcef7ce9fd4 06:36:27 ---> 97184866d3a9 06:36:27 Step 4/24 : WORKDIR /device-sdk-go 06:36:28 ---> Running in 793258e6d03b 06:36:28 Removing intermediate container 793258e6d03b 06:36:28 ---> 7492bbc4fa5d 06:36:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:36:28 ---> Running in b4f7a8dc8b7d 06:36:29 Removing intermediate container b4f7a8dc8b7d 06:36:29 ---> de9216d0ee48 06:36:29 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:29 ---> Running in aa86809ad93a 06:36:31 Removing intermediate container aa86809ad93a 06:36:31 ---> d0b57e851430 06:36:31 Step 7/24 : RUN apk add --update --no-cache make git 06:36:31 ---> Running in b5e4f51859c9 06:36:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:36:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:36:38 OK: 142 MiB in 39 packages 06:36:39 Removing intermediate container b5e4f51859c9 06:36:39 ---> 6ff0e852f7d5 06:36:39 Step 8/24 : COPY . . 06:36:40 ---> 66699eac32a1 06:36:40 Step 9/24 : RUN ${MAKE} 06:36:40 ---> Running in 09ca801a52d6 06:36:42 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:37:08 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:37:08 Removing intermediate container 09ca801a52d6 06:37:08 ---> 7b692b004696 06:37:08 Step 10/24 : FROM scratch 06:37:08 ---> 06:37:08 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:08 ---> Running in 468d472da404 06:37:09 Removing intermediate container 468d472da404 06:37:09 ---> eef3f911d334 06:37:09 Step 12/24 : ENV APP_PORT=49990 06:37:09 ---> Running in a374b4a633de 06:37:09 Removing intermediate container a374b4a633de 06:37:09 ---> 1ce686d07539 06:37:09 Step 13/24 : EXPOSE $APP_PORT 06:37:10 ---> Running in 5d0a9c4fea1b 06:37:10 Removing intermediate container 5d0a9c4fea1b 06:37:10 ---> d43c7e1a77c3 06:37:10 Step 14/24 : WORKDIR / 06:37:10 ---> Running in ea01b97f5601 06:37:10 Removing intermediate container ea01b97f5601 06:37:10 ---> 6c588af1d7c5 06:37:10 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:37:12 ---> d614bc73618d 06:37:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:37:12 ---> 77352e47a138 06:37:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:37:13 ---> 2e0eee156f2d 06:37:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:37:14 ---> 68f587b94410 06:37:14 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:37:15 ---> 80a0f9fc17c7 06:37:15 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:37:15 ---> Running in cf0138bafe3a 06:37:15 Removing intermediate container cf0138bafe3a 06:37:15 ---> 074f39999568 06:37:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:37:15 ---> Running in 901e4c102df2 06:37:16 Removing intermediate container 901e4c102df2 06:37:16 ---> 4d8debb35a8b 06:37:16 Step 22/24 : LABEL arch=arm64 06:37:16 ---> Running in ab6a4ab786b8 06:37:17 Removing intermediate container ab6a4ab786b8 06:37:17 ---> ff0044cd8f7c 06:37:17 Step 23/24 : LABEL git_sha=073cb9ec955bc2cedae16ce2963319f64d87104a 06:37:17 ---> Running in 5a465e9dedd8 06:37:17 Removing intermediate container 5a465e9dedd8 06:37:17 ---> 75dff5c31794 06:37:17 Step 24/24 : LABEL version=0.0.0 06:37:17 ---> Running in cd226f9ffc5e 06:37:18 Removing intermediate container cd226f9ffc5e 06:37:18 ---> 7433dc091a7f 06:37:18 [Warning] One or more build-args [ARCH] were not consumed 06:37:18 Successfully built 7433dc091a7f 06:37:18 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 06:37:20 provisioning config files... 06:37:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config1106972570495755467tmp [Pipeline] { [Pipeline] sh 06:37:20 + curl -s https://codecov.io/bash 06:37:20 + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config1106972570495755467tmp [Pipeline] } 06:37:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" 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 06:37:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:37:24 ---> package-listing.sh 06:37:24 ++ facter osfamily 06:37:24 ++ tr '[:upper:]' '[:lower:]' 06:37:24 + OS_FAMILY=redhat 06:37:24 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 06:37:24 + START_PACKAGES=/tmp/packages_start.txt 06:37:24 + END_PACKAGES=/tmp/packages_end.txt 06:37:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:37:24 + PACKAGES=/tmp/packages_start.txt 06:37:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 06:37:24 + PACKAGES=/tmp/packages_end.txt 06:37:24 + case "${OS_FAMILY}" in 06:37:24 + rpm -qa 06:37:24 + sort 06:37:29 + '[' -f /tmp/packages_start.txt ']' 06:37:29 + '[' -f /tmp/packages_end.txt ']' 06:37:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:37:29 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' 06:37:29 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ 06:37:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh 06:37:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:37:30 06:37:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:37:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:37:31 alpine: Pulling from edgex-lftools-log-publisher 06:37:31 df20fa9351a1: Pulling fs layer 06:37:31 36b3adc4ff6f: Pulling fs layer 06:37:31 8ad3a11d3b57: Pulling fs layer 06:37:31 46f8f816bc3b: Pulling fs layer 06:37:31 0dadc02b9964: Pulling fs layer 06:37:31 ce6a7cf60c04: Pulling fs layer 06:37:31 7a184a31f384: Pulling fs layer 06:37:31 0879bd2ef858: Pulling fs layer 06:37:31 46f8f816bc3b: Waiting 06:37:31 0dadc02b9964: Waiting 06:37:31 7a184a31f384: Waiting 06:37:31 0879bd2ef858: Waiting 06:37:31 ce6a7cf60c04: Waiting 06:37:31 36b3adc4ff6f: Verifying Checksum 06:37:31 36b3adc4ff6f: Download complete 06:37:31 46f8f816bc3b: Verifying Checksum 06:37:31 46f8f816bc3b: Download complete 06:37:31 df20fa9351a1: Verifying Checksum 06:37:31 df20fa9351a1: Download complete 06:37:31 ce6a7cf60c04: Verifying Checksum 06:37:31 ce6a7cf60c04: Download complete 06:37:31 7a184a31f384: Verifying Checksum 06:37:31 7a184a31f384: Download complete 06:37:31 0dadc02b9964: Verifying Checksum 06:37:31 0dadc02b9964: Download complete 06:37:32 8ad3a11d3b57: Verifying Checksum 06:37:32 8ad3a11d3b57: Download complete 06:37:32 df20fa9351a1: Pull complete 06:37:32 36b3adc4ff6f: Pull complete 06:37:33 0879bd2ef858: Verifying Checksum 06:37:33 0879bd2ef858: Download complete 06:37:34 8ad3a11d3b57: Pull complete 06:37:34 46f8f816bc3b: Pull complete 06:37:34 0dadc02b9964: Pull complete 06:37:34 ce6a7cf60c04: Pull complete 06:37:34 7a184a31f384: Pull complete 06:37:39 0879bd2ef858: Pull complete 06:37:39 Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 06:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:37:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:37:39 prd-centos7-docker-4c-2g-43248 does not seem to be running inside a container 06:37:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:37:42 $ docker top cd7f17d46557599f5446a8af828cf883f1d37b042cf7f7f41188a7d78161f3ac -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:43 + mkdir -p /var/log/sa [Pipeline] sh 06:37:43 + ls /var/log/sa-host 06:37:43 + sadf -c /var/log/sa-host/sa05 06:37:43 file_magic: OK 06:37:43 HZ: Using current value: 100 06:37:43 file_header: OK 06:37:43 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 06:37:43 Statistics: 06:37:43 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:37:43 File successfully converted to sysstat format version 12.2.1 06:37:43 + sadf -c /var/log/sa-host/sa15 06:37:43 file_magic: OK 06:37:43 HZ: Using current value: 100 06:37:43 file_header: OK 06:37:43 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 06:37:43 Statistics: 06:37:43 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:37:43 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:43 provisioning config files... 06:37:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config3570445963783236644tmp [Pipeline] { [Pipeline] echo 06:37:43 Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:37:44 ---> create-netrc.sh [Pipeline] echo 06:37:44 Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:37:44 ---> logs-deploy.sh 06:37:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/3 06:37:44 INFO: archiving workspace using pattern(s): 06:37:46 Archives upload complete. 06:37:46 INFO: archiving logs to Nexus 06:37:48 ---> uname -a: 06:37:48 Linux cd7f17d46557 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux 06:37:48 06:37:48 06:37:48 ---> lscpu: 06:37:48 Architecture: x86_64 06:37:48 CPU op-mode(s): 32-bit, 64-bit 06:37:48 Byte Order: Little Endian 06:37:48 Address sizes: 40 bits physical, 48 bits virtual 06:37:48 CPU(s): 4 06:37:48 On-line CPU(s) list: 0-3 06:37:48 Thread(s) per core: 1 06:37:48 Core(s) per socket: 1 06:37:48 Socket(s): 4 06:37:48 NUMA node(s): 1 06:37:48 Vendor ID: GenuineIntel 06:37:48 CPU family: 6 06:37:48 Model: 44 06:37:48 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:37:48 Stepping: 1 06:37:48 CPU MHz: 2933.438 06:37:48 BogoMIPS: 5866.87 06:37:48 Virtualization: VT-x 06:37:48 Hypervisor vendor: KVM 06:37:48 Virtualization type: full 06:37:48 L1d cache: 128 KiB 06:37:48 L1i cache: 128 KiB 06:37:48 L2 cache: 16 MiB 06:37:48 L3 cache: 64 MiB 06:37:48 NUMA node0 CPU(s): 0-3 06:37:48 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:37:48 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:37:48 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:37:48 Vulnerability Meltdown: Mitigation; PTI 06:37:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:37:48 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:37:48 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:37:48 Vulnerability Tsx async abort: Not affected 06:37:48 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 06:37:48 06:37:48 06:37:48 ---> nproc: 06:37:48 4 06:37:48 06:37:48 06:37:48 ---> df -h: 06:37:48 Filesystem Size Used Available Use% Mounted on 06:37:48 overlay 50.0G 7.0G 43.0G 14% / 06:37:48 tmpfs 64.0M 0 64.0M 0% /dev 06:37:48 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 06:37:48 shm 64.0M 0 64.0M 0% /dev/shm 06:37:48 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf 06:37:48 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname 06:37:48 /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts 06:37:48 /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host 06:37:48 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-586 06:37:48 /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp 06:37:48 06:37:48 06:37:48 ---> free -m: 06:37:48 total used free shared buff/cache available 06:37:48 Mem: 1837 640 135 0 1062 1090 06:37:48 Swap: 1023 1 1022 06:37:48 06:37:48 06:37:48 ---> ip addr: 06:37:48 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 06:37:48 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:37:48 inet 127.0.0.1/8 scope host lo 06:37:48 valid_lft forever preferred_lft forever 06:37:48 6: eth0@if7: mtu 1458 qdisc noqueue state UP 06:37:48 link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff 06:37:48 inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 06:37:48 valid_lft forever preferred_lft forever 06:37:48 06:37:48 06:37:48 ---> sar -b -r -n DEV: 06:37:48 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/15/20 _x86_64_ (4 CPU) 06:37:48 06:37:48 06:30:09 LINUX RESTART (4 CPU) 06:37:48 06:37:48 06:31:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:37:48 06:32:01 64.56 19.93 44.64 0.00 5418.67 5121.77 0.00 06:37:48 06:33:02 2.43 0.00 2.43 0.00 0.00 48.44 0.00 06:37:48 06:34:01 0.20 0.00 0.20 0.00 0.00 2.12 0.00 06:37:48 06:35:01 0.48 0.00 0.48 0.00 0.00 5.78 0.00 06:37:48 06:36:01 0.20 0.00 0.20 0.00 0.00 2.91 0.00 06:37:48 06:37:01 0.30 0.00 0.30 0.00 0.00 3.53 0.00 06:37:48 Average: 11.25 3.29 7.97 0.00 893.71 855.26 0.00 06:37:48 06:37:48 06:31:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:37:48 06:32:01 170196 0 565532 30.06 2620 1143208 1143560 39.03 427300 1122892 120 06:37:48 06:33:02 174104 0 561616 29.85 2620 1143216 1118284 38.17 426404 1120468 20 06:37:48 06:34:01 175116 0 560600 29.79 2620 1143220 1104944 37.71 425652 1120140 8 06:37:48 06:35:01 174648 0 561064 29.82 2620 1143224 1100896 37.57 429512 1117224 16 06:37:48 06:36:01 176388 0 559320 29.73 2620 1143228 1085552 37.05 428616 1116768 12 06:37:48 06:37:01 176052 0 559648 29.74 2620 1143236 1084868 37.02 446560 1098992 12 06:37:48 Average: 174417 0 561297 29.83 2620 1143222 1106351 37.76 430674 1116081 31 06:37:48 06:37:48 06:31:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:37:48 06:32:01 eth0 208.24 160.83 920.18 103.00 0.00 0.00 0.00 0.00 06:37:48 06:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:32:01 docker0 4.58 3.43 0.82 19.10 0.00 0.00 0.00 0.00 06:37:48 06:33:02 eth0 2.83 0.67 0.71 0.43 0.00 0.00 0.00 0.00 06:37:48 06:33:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:33:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:34:01 eth0 2.27 0.52 0.68 0.40 0.00 0.00 0.00 0.00 06:37:48 06:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:35:01 eth0 3.31 0.50 0.76 0.33 0.00 0.00 0.00 0.00 06:37:48 06:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:36:01 eth0 2.81 1.03 1.15 0.81 0.00 0.00 0.00 0.00 06:37:48 06:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:37:01 eth0 2.93 0.73 0.87 0.50 0.00 0.00 0.00 0.00 06:37:48 06:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 06:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 Average: eth0 36.71 27.10 152.46 17.40 0.00 0.00 0.00 0.00 06:37:48 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:37:48 Average: docker0 0.76 0.57 0.14 3.15 0.00 0.00 0.00 0.00 06:37:48 06:37:48 06:37:48 ---> sar -P ALL: 06:37:48 Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/15/20 _x86_64_ (4 CPU) 06:37:48 06:37:48 06:30:09 LINUX RESTART (4 CPU) 06:37:48 06:37:48 06:31:02 CPU %user %nice %system %iowait %steal %idle 06:37:48 06:32:01 all 11.04 0.00 4.17 1.95 13.59 69.24 06:37:48 06:32:01 0 10.77 0.00 4.70 1.26 14.44 68.84 06:37:48 06:32:01 1 9.62 0.00 3.30 1.01 14.47 71.61 06:37:48 06:32:01 2 12.03 0.00 4.81 3.36 13.73 66.07 06:37:48 06:32:01 3 11.78 0.00 3.92 2.21 11.71 70.37 06:37:48 06:33:02 all 0.11 0.00 0.05 0.00 0.45 99.39 06:37:48 06:33:02 0 0.03 0.00 0.03 0.00 0.28 99.65 06:37:48 06:33:02 1 0.08 0.00 0.07 0.00 0.60 99.25 06:37:48 06:33:02 2 0.32 0.00 0.05 0.00 0.58 99.05 06:37:48 06:33:02 3 0.02 0.00 0.03 0.00 0.33 99.62 06:37:48 06:34:01 all 0.08 0.00 0.03 0.00 0.44 99.45 06:37:48 06:34:01 0 0.02 0.00 0.03 0.00 0.59 99.36 06:37:48 06:34:01 1 0.25 0.00 0.03 0.00 0.66 99.05 06:37:48 06:34:01 2 0.03 0.00 0.03 0.00 0.41 99.53 06:37:48 06:34:01 3 0.03 0.00 0.03 0.00 0.08 99.85 06:37:48 06:35:01 all 0.12 0.00 0.03 0.00 0.59 99.26 06:37:48 06:35:01 0 0.02 0.00 0.02 0.00 0.43 99.54 06:37:48 06:35:01 1 0.35 0.00 0.03 0.00 0.78 98.84 06:37:48 06:35:01 2 0.10 0.00 0.07 0.00 0.99 98.84 06:37:48 06:35:01 3 0.02 0.00 0.00 0.00 0.17 99.82 06:37:48 06:36:01 all 0.10 0.00 0.05 0.00 0.22 99.63 06:37:48 06:36:01 0 0.05 0.00 0.05 0.00 0.07 99.83 06:37:48 06:36:01 1 0.28 0.00 0.03 0.00 0.37 99.32 06:37:48 06:36:01 2 0.07 0.00 0.07 0.00 0.35 99.52 06:37:48 06:36:01 3 0.02 0.00 0.03 0.00 0.08 99.87 06:37:48 06:37:01 all 0.11 0.00 0.07 0.00 0.24 99.58 06:37:48 06:37:01 0 0.03 0.00 0.03 0.00 0.10 99.83 06:37:48 06:37:01 1 0.37 0.00 0.08 0.00 0.60 98.95 06:37:48 06:37:01 2 0.02 0.00 0.15 0.00 0.18 99.65 06:37:48 06:37:01 3 0.03 0.00 0.02 0.00 0.08 99.87 06:37:48 Average: all 1.91 0.00 0.73 0.32 2.57 94.47 06:37:48 Average: 0 1.80 0.00 0.80 0.21 2.62 94.58 06:37:48 Average: 1 1.84 0.00 0.60 0.17 2.93 94.47 06:37:48 Average: 2 2.06 0.00 0.85 0.55 2.67 93.87 06:37:48 Average: 3 1.95 0.00 0.66 0.36 2.05 94.98 06:37:48 06:37:48 06:37:48